Skip to content

/AWS1/CL_BDCCONTENTBLOCK

A block of content in a response.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/BDCCONTENTBLOCKTYPE /AWS1/BDCCONTENTBLOCKTYPE

The type of content in the block.

Optional arguments:

iv_text TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The text content of the block.

iv_data TYPE /AWS1/BDCBLOB /AWS1/BDCBLOB

The binary data content of the block.

iv_mimetype TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The MIME type of the content.

iv_uri TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The URI of the content.

iv_name TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The name of the content block.

iv_description TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The description of the content block.

iv_size TYPE /AWS1/BDCLONG /AWS1/BDCLONG

The size of the content in bytes.

io_resource TYPE REF TO /AWS1/CL_BDCRESOURCECONTENT /AWS1/CL_BDCRESOURCECONTENT

The resource associated with the content block.


Queryable Attributes

type

The type of content in the block.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

text

The text content of the block.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

data

The binary data content of the block.

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

mimeType

The MIME type of the content.

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

uri

The URI of the content.

Accessible with the following methods

Method Description
GET_URI() Getter for URI, with configurable default
ASK_URI() Getter for URI w/ exceptions if field has no value
HAS_URI() Determine if URI has a value

name

The name of the content block.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

description

The description of the content block.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

size

The size of the content in bytes.

Accessible with the following methods

Method Description
GET_SIZE() Getter for SIZE, with configurable default
ASK_SIZE() Getter for SIZE w/ exceptions if field has no value
HAS_SIZE() Determine if SIZE has a value

resource

The resource associated with the content block.

Accessible with the following methods

Method Description
GET_RESOURCE() Getter for RESOURCE

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CONTENTBLOCKLIST

TYPES TT_CONTENTBLOCKLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_BDCCONTENTBLOCK WITH DEFAULT KEY
.