Example: Connection of an Object and Implementation
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
For this example you need to enter the following data:
Object
DMS_TESTObject desc.
Test ObjectScreen (Screen number)
500Enter 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
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[].
OBJECT_CHECK
RUN_NO_ACTION =
JUMP_TO_SCREEN
call transaction
You can find further information on BAdI implementation under:
Implementation Interface.