Skip to content

/AWS1/CL_BDABYTECONTENTDOC

Contains information about content defined inline in bytes.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_mimetype TYPE /AWS1/BDASTRING /AWS1/BDASTRING

The MIME type of the content. For a list of MIME types, see Media Types. The following MIME types are supported:

  • text/plain

  • text/html

  • text/csv

  • text/vtt

  • message/rfc822

  • application/xhtml+xml

  • application/pdf

  • application/msword

  • application/vnd.ms-word.document.macroenabled.12

  • application/vnd.ms-word.template.macroenabled.12

  • application/vnd.ms-excel

  • application/vnd.ms-excel.addin.macroenabled.12

  • application/vnd.ms-excel.sheet.macroenabled.12

  • application/vnd.ms-excel.template.macroenabled.12

  • application/vnd.ms-excel.sheet.binary.macroenabled.12

  • application/vnd.ms-spreadsheetml

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

  • application/vnd.openxmlformats-officedocument.spreadsheetml.template

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document

  • application/vnd.openxmlformats-officedocument.wordprocessingml.template

iv_data TYPE /AWS1/BDABYTECONTENTBLOB /AWS1/BDABYTECONTENTBLOB

The base64-encoded string of the content.


Queryable Attributes

mimeType

The MIME type of the content. For a list of MIME types, see Media Types. The following MIME types are supported:

  • text/plain

  • text/html

  • text/csv

  • text/vtt

  • message/rfc822

  • application/xhtml+xml

  • application/pdf

  • application/msword

  • application/vnd.ms-word.document.macroenabled.12

  • application/vnd.ms-word.template.macroenabled.12

  • application/vnd.ms-excel

  • application/vnd.ms-excel.addin.macroenabled.12

  • application/vnd.ms-excel.sheet.macroenabled.12

  • application/vnd.ms-excel.template.macroenabled.12

  • application/vnd.ms-excel.sheet.binary.macroenabled.12

  • application/vnd.ms-spreadsheetml

  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

  • application/vnd.openxmlformats-officedocument.spreadsheetml.template

  • application/vnd.openxmlformats-officedocument.wordprocessingml.document

  • application/vnd.openxmlformats-officedocument.wordprocessingml.template

Accessible with the following methods

Method Description
GET_MIMETYPE() Getter for MIMETYPE, with configurable default
ASK_MIMETYPE() Getter for MIMETYPE w/ exceptions if field has no value
HAS_MIMETYPE() Determine if MIMETYPE has a value

data

The base64-encoded string of the content.

Accessible with the following methods

Method Description
GET_DATA() Getter for DATA, with configurable default
ASK_DATA() Getter for DATA w/ exceptions if field has no value
HAS_DATA() Determine if DATA has a value