Entering content frameBackground documentation Reading and Transferring PBO Data Locate the document in its SAP Library structure

Application

You can read and transfer data with the following applications:

Transaction Code

Description

CV01N

Creates document

CV02N

Changes document

CV03N

Displays document

CV04N

Finds document

Using the method PUT_DATA you can transfer the data to the subscreen. You need to include the names for each program and subscreen in the implementation for the BAdI.

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.

Application Program for Subscreen

When programming the application program, consider the following:

data object type ref to IF_EX_DOCUMENT_OBJ.

CALL METHOD CL_EXITHANDLER=>GET_INSTANCE_FOR_SUBSCREENS

Implementation

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[].

Leaving content frame