You can write and transfer data with the following applications:
Transaction Code |
Description |
CV01N |
|
CV02N |
|
CV03N |
|
CV04N |
|
The method GET_DATA makes the subscreen of the application program transfer and check the data that you have entered.
You can find further information on these methods and the corresponding parameters under: Implementation Interface .
You can find further information on data transfer between the subscreen container and the customer-specific subscreen under: Screen Containers and Customer-Specific Subscreens .
When programming the application program, consider the following:
The application program must create a reference to the instance of the BAdI object:
data object type ref to IF_EX_DOCUMENT_OBJ.
You can access the object via the class method:
CALL METHOD CL_EXITHANDLER=>GET_INSTANCE_FOR_SUBSCREENS
The application program can determine the interface data with the method GET_DATA.
Write the data in the class attribute. You denote the class attributes using the same methods as with interface parameters: PUT_DATA and GET_DATA.
Create the following source text:
put_data:
IF_EX_DOCUMENT_OBJ~TABLE_DRAD_WORK[] = TABLE_DRAD_WORK[].
IF_EX_DOCUMENT_OBJ~TABLE_DRAD_DB[] = TABLE_DRAD_DB[].
IF_EX_DOCUMENT_OBJ~ACTIVITY = ACTIVITY.
IF_EX_DOCUMENT_OBJ~DRAW = DRAW.
get_data:
TABLE_DRAD_WORK[] = IF_EX_DOCUMENT_OBJ~TABLE_DRAD_WORK[].