Skip to content

/AWS1/CL_DOAASSETFILECONTENT

A single file with path and content

CONSTRUCTOR

IMPORTING

Required arguments:

iv_path TYPE /AWS1/DOAASSETFILEPATH /AWS1/DOAASSETFILEPATH

The path of the file within the asset

io_body TYPE REF TO /AWS1/CL_DOAASSETFILEBODY /AWS1/CL_DOAASSETFILEBODY

The file content

Optional arguments:

io_metadata TYPE REF TO /AWS1/CL_RT_DOCUMENT /AWS1/CL_RT_DOCUMENT

Optional metadata for this file


Queryable Attributes

path

The path of the file within the asset

Accessible with the following methods

Method Description
GET_PATH() Getter for PATH, with configurable default
ASK_PATH() Getter for PATH w/ exceptions if field has no value
HAS_PATH() Determine if PATH has a value

body

The file content

Accessible with the following methods

Method Description
GET_BODY() Getter for BODY

metadata

Optional metadata for this file

Accessible with the following methods

Method Description
GET_METADATA() Getter for METADATA, with configurable default
ASK_METADATA() Getter for METADATA w/ exceptions if field has no value
HAS_METADATA() Determine if METADATA has a value