BAPI DOCUMENT CHANGE2 function module introduction & syntax details
BAPI DOCUMENT CHANGE2
Function Module:
BAPI_DOCUMENT_CHANGE2
Functionality
You can change documents with this function module. It can also be used to check in original application files into the SAP database, vault, or archive simultaneously. Restrictions:
- Mass check in is not supported.
- Additional files are supported only as interface parameter 'COMPONENTS'
- for future development.
- Using table DocumentStructure, an available document structure can be expanded or a new one created.
Objects for engineering change management (DOCBOMCHANGENUMBER, DOCBOMVALIDFROM, or DOCBOMREVISONLEVEL) relate only to the processing of the document structure. When you specify a change number, the following steps take place:
- An available BOM is exploded for the corresponding validity date.
- The existing items are compared to those that were specified using DocumentStructure. In this way the actual changes can be
determined. If no additional information is given for the change object, the items in table DocumentStructure apply as the new status of the BOM (for the current date). To delete all items in a BOM, a document structure with exactly one entry can be transferred (deletion flag is set; document number contains *). Restrictions: The document key fields are equally keys for the BOM items, which means that a document may not be used for several items.
CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
EXPORTING
DOCUMENTTYPE =
DOCUMENTNUMBER =
DOCUMENTPART =
DOCUMENTVERSION =
DOCUMENTDATA =
DOCUMENTDATAX =
" HOSTNAME =
" DOCBOMCHANGENUMBER =
" DOCBOMVALIDFROM =
" DOCBOMREVISIONLEVEL =
" SENDCOMPLETEBOM = ' '
" PF_FTP_DEST = ' '
" PF_HTTP_DEST = ' '
" CAD_MODE = ' '
" ACCEPT_EMPTY_BOM = ' '
" IMPORTING
" RETURN =
" TABLES
" CHARACTERISTICVALUES =
" CLASSALLOCATIONS =
" DOCUMENTDESCRIPTIONS =
" OBJECTLINKS =
" DOCUMENTSTRUCTURE =
" DOCUMENTFILES =
" LONGTEXTS =
" COMPONENTS =
Related 10 BAPI Tutorials
- BAPI_ACC_INVOICE_RECEIPT_POST ( BAPI Function Module )
- BAPI_DISPUTE_STATUS_CHANGED ( BAPI Function Module )
- BAPI_RECORD_CHANGEPROPERTIES ( BAPI Function Module )
- BAPI_LAWCONSENG_GETLIST | BAPI Function Module
- BAPI_DOCUMENT_GETDETAIL ( BAPI Function Modules)
- BAPI_GL_GETGLACCBALANCE ( BAPI Function Module )
- BAPI_PO_RESET_RELEASE ( BAPI Function Module )
- BAPI_ACC_STAT_KEY_FIG_CHECK ( BAPI FUNCTION MODULE )
- BAPI_COMPANYCODE_EXISTENCECHK ( BAPI Function Module )
- BAPI_FLCONN_GETDETAIL | BAPI Function Module
Most readed SAP Tutorials
- WRITE - Output to a list ( SAP ABAP Keyword)
WRITE ( Output to a list ) is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details. - List of SAP HR TABLES and Infotypes tables
Detailed full list of tables and infotypes used in SAP HR module. - List of SAP MM Transaction codes
This documentation covers the details of SAP MM Transaction codes - SELECT-OPTIONS ( SAP ABAP Keyword)
SELECT-OPTIONS is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details. - FI Accounts Receivable and Accounts Payable | SAP FI PDF manual
The following topics are an introduction to the Accounts Receivable and Accounts Payable application components. - SAP MM Process Flow
The typical procurement cycle for a service or material consists of the following phases: - SELECT clause ( SAP ABAP Keyword)
SELECT clause is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details.
Latest Added SAP documents
- 9KE9 Transaction code
Details about SAP transaction code 9KE9 - 9KE8 Transaction code
Details about SAP transaction code 9KE8 - 9KE7 Transaction code
Details about SAP transaction code 9KE7 - 9KE6 Transaction code
Details about SAP transaction code 9KE6 - 9KE5 Transaction code
Details about SAP transaction code 9KE5 - 9KE4 Transaction code
Details about SAP transaction code 9KE4 - 9KE3 Transaction code
Details about SAP transaction code 9KE3 - 9KE2 Transaction code
Details about SAP transaction code 9KE2 - 9KE1 Transaction code
Details about SAP transaction code 9KE1 - 9KE0 Transaction code
Details about SAP transaction code 9KE0