Menu

SAP Function Module DOCUMENT_ASSIGNMENT

Allocate documents to object from application

Unsere Literaturempfehlung

Kundeneigene Erweiterungen mit ABAP: User-Exits, klassische und neue BAdIs, Switch und Enhancement Framework

Alle Technologien in einem Band! Ob Sie zukunftssichere Erweiterungen programmieren oder mit den Modifikationen in Ihren SAP-Systemen aufräumen möchten – hier erhalten Sie das erforderliche Wissen. Jede Methode wird ausführlich und mit Codebeispielen erläutert: User-Exits, klassische und neue BAdIs, Business Transaction Events, implizite und explizite Erweiterungspunkte u. v. m.

Bei amazon.de ansehen →

The Function Module DOCUMENT_ASSIGNMENT (Allocate documents to object from application) is a standard Function Module in SAP ERP and is part of the function group CVOB within the package CV.

Technical Information

Function Module DOCUMENT_ASSIGNMENT
Short Text Allocate documents to object from application
Function Group CVOB
Package CV
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CHECK_EXIST LIKE MCDOK-CVHIER 'X' X-Link for existing documents only
DOKOB LIKE DRAD-DOKOB ' ' Table name
DOKOB_VORLAGE LIKE DRAD-DOKOB ' ' Object reference
FB_CHECK_ASSIGNMENT LIKE RS38L-NAME ' ' FM for checking document link
FB_VALUE_REQUEST LIKE RS38L-NAME ' ' FM for F4 on document fields
INCLUDE_DYNPRO LIKE SY-DYNNR ' ' Number of object key sub-screen
OBJKY LIKE DRAD-OBJKY ' ' Object key as a string
OBJKY_VORLAGE LIKE DRAD-OBJKY ' ' Key reference
OBJTXT LIKE ' '
OPCODE LIKE 1-Create 2-Change 3-Display
PREV_NEXT LIKE MCDOK-CVHIER ' ' Functions PREVIOUS/NEXT active
PROGRAM_NAME LIKE SY-REPID ' ' Program name for sub-screen
REFRESH_FLAG LIKE ' ' If 'X' then work area becomes initial during the call.
VORSCHLAG_DOKAR LIKE DRAW-DOKAR ' ' Default document type

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CAD_LEAVE LIKE SY-SUBRC
RETURN_CODE LIKE Return code
VB_FLAG LIKE MCDOK-CVHIER X-Update required

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
TABDRAD LIKE DRAD Table of links

Exceptions

This function module does not define any Exceptions.