Entering content frameThis graphic is explained in the accompanying text Example: Connection of an Object and Implementation Locate the document in its SAP Library structure

Connection of an Object

The function group CV130 (Object Link Document -> Object) contains the screen 1501. This screen contains all functions; exceptions are the object text and the value assignment display. You can use this screen as a template for its own object connection (for example, DMS_TEST Test Object).

Prerequisites

You need to do the following in Customizing for Document Management:

In the field Table enter the object DMS_TEST. You do not need to make any other settings.

 

For this example you need to enter the following data:

Object DMS_TEST

Object desc. Test Object

Screen (Screen number) 500

Enter the object link for the document type that you want to link with the object DMS_TEST.
You make these settings under Control Data ® Define Document Types ® Maintain Object Link Descriptions and Define Object Links.

Implementation

Implement the program to process the subscreen with reference to BAdI definition DOCUMENT_OBJ. Use the following function: Tools ® ABAP Workbench ® Utilities ® Business Add-Ins ® Implementation (Transaction SE19).

Program SAPLCV100; Screen 1501 (Find Document)

Program SAPLCV130; Screen 1501 (Edit Object Link)

GET_DATA

TABLE_DRAD_WORK[] = IF_EX_DOCUMENT_OBJ~TABLE_DRAD_WORK[].
activity = IF_EX_DOCUMENT_OBJ~activity.

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.

OBJECT_CHECK

RUN_NO_ACTION = X.

JUMP_TO_SCREEN

call transaction MM02.
run_no_action =
X.

You can find further information on BAdI implementation under: Implementation Interface.

Leaving content frame