Show TOC

 Implementation Interface

You define the interface for the integration of new object links in BAdI DOCUMENT_OBJ . For further information see the BAdI builder; call under Start of the navigation path Tools Next navigation step ABAP Workbench Next navigation step Utilities Next navigation step Business Add-Ins Next navigation step Definition End of the navigation path (transaction SE18). Enter DOCUMENT_OBJ (interface for connection of object links – document) as the name of the definition.

Methods and Parameters

The following overview contains all the methods and the corresponding parameters that you can process in implementation with reference to the BAdI DOCUMENT_OBJ .

Method

Parameter

Use

GET_FUNCTION_CODE

Gets function code

FUNCTION_CODE

Transfers function code

FLT_VAL

Filters each implementation

PUT_FUNCTION_CODE

 

Writes the function code

FUNCTION_CODE

Transfers function code

FLT_VAL

Filters each implementation

GET_DATA

Gets application data

TABLE_DRAD_WORK

Work area: transfer of document data. This table contains data that is to be processed by the application program.

StructureDMS_TBL_DRAD_BADI_WORK

TABLE_DRAD_DB

Data that has been read from the database. This may not be changed.

FLT_VAL

Filters each implementation

ACTIVITY

3=Display, 2=Change, 1=Create

DRAW

Document key

PUT_DATA

Writes application data

TABLE_DRAD_WORK

Work area: transfer of document data. This table contains data that is to be processed by the application program.

StructureDMS_TBL_DRAD_BADI_WORK

TABLE_DRAD_DB

Data that has been read from the database. This may not be changed.

FLT_VAL

Filters each implementation

ACTIVITY

3=Display, 2=Change, 1=Create

DRAW

Contains the document key

OBJECT_CHECK

Replaces function module object_check_[object]

FLT_VAL

Filters each implementation

LS_OBTAB

Transfers object

RUN_NO_ACTION

X

Suppresses further checks

Use under exceptional circumstances, for example, if an object can not be found.Parameter LS_OBTAB

OBJECT_NOT_FOUND

 

JUMP_TO_SCREEN

Jumps to object

 

FLT_VAL

Filters each implementation

 

RUN_NO_ACTION

X

Suppresses further functions.

Use under normal circumstances.

BEFORE_EXECUTE_FUNCTION

 
 

FLT_VAL

Filters each implementation

 

RUN_NO_ACTION

X

Suppresses further checks.

Use only under exceptional circumstances.

 

FUNCTION_CODE

Transfers function code

 

SEARCH_MODE

Is set if you call from transaction CV04N.

Structure DMS_TBL_DRAD_BADI_WORK

This structure contains fields for informational purposes, as well as for controlling the communication between Screen Container 1500 and the customer-specific subscreen.

Fields for Informational Purposes

Field

Use

Fields for structure DRAD

Fields of the table contain information about links (document-object)

SET_TYPE

Value 1 :

Prevents deletion of link

SET_TEXT

Value X :

Makes long text for link available

SET_AUTH

This field contains the report of the authorization check for object C_DRAD_OBJ.

gf_auth+0(1) = X (no authorization to be created)

gf_auth+3(1) = X (no authorization to be deleted)

gf_auth+1(1) = X (no authorization to be changed)

SET_CLASS

Value X :

Makes class entry for link available

Field for Communication

This structure contains the field that controls the communication between the subscreen (customer program) and the document processing program (R/3).

The subscreen contains a table control that can be used to process the object link data. The functions that are used to process the object link data are part of the program for Screen Container 1500 . This field contains information about which link records are processed with the chosen function.

Field

Use

TAB_MARK

Value :

Each line in the table control is selected