WRITE SAP Method Writes changes to the active document
Below is documentation, parameters and attributes of ABAP Method WRITE within SAP class /BOBF/IF_LIB_ACTIVE_DOCUMENT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOBF/IF_LIB_ACTIVE_DOCUMENT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method WRITE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method WRITE
.| Name | Type | Data Type | Description | Default Value |
| IT_CREATE | Importing | TYPE TT_ACTIVE_DOC_CREATE | Data to create a node of the active document | |
| IT_DELETE | Importing | TYPE TT_ACTIVE_DOC_DELETE | Data to delete a node of the active document | |
| IT_UPDATE | Importing | TYPE TT_ACTIVE_DOC_UPDATE | Data to update a node of the active document |
Exceptions of Method WRITE
/BOBF/CX_DAC -Example ABAP coding
DATA: lo_class TYPE REF TO /BOBF/IF_LIB_ACTIVE_DOCUMENT.
DATA: lv_IT_CREATE TYPE TT_ACTIVE_DOC_CREATE,
lv_IT_DELETE TYPE TT_ACTIVE_DOC_DELETE,
lv_IT_UPDATE TYPE TT_ACTIVE_DOC_UPDATE,
lv_other TYPE c.
CALL METHOD lo_class=>WRITE(
EXPORTING
IT_CREATE = lv_IT_CREATE
IT_DELETE = lv_IT_DELETE
IT_UPDATE = lv_IT_UPDATE ).
Links to Related Class(s)
/BOBF/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects