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.
Function Module | DOCUMENT_ASSIGNMENT |
Short Text | Allocate documents to object from application |
Function Group | CVOB |
Package | CV |
Module Type | Normal Module |
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 |
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 |
This function module does not define any CHANGING 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 |
This function module does not define any Exceptions.