BAPI DOCUMENT CREATE2 function module introduction & syntax details
BAPI DOCUMENT CREATE2
Function Module:
BAPI_DOCUMENT_CREATE2
Functionality
You can use this function module to create documents and all data that belongs to it. You can create a document info record with the following data:
- Langauge dependent short and long texts
- Any number of originals
- Object links
You can also check in the original application files into the SAP database, vault, or archive.
- Classification characteristics
- Document structures; can be created using table DocumentStructure.
The objects of engineering change management (DOC_BOM_CHANGE_NUMBER DOC_BOM_VALID_FROM oder DOC_BOM_REVISON_LEVEL) relate only to the processing of the document structure. If no additional information for the change object is given, the items in the table document structure apply as the new status of the structure for the current date........... Restrictions: The document key fields are equally keys for the BOM items, which means that a document may not be used for several items. Restrictions:
- Additional files supported only as interface parameters COMPONENTS for future development.
- Valuations of object links are not supported.
Pattern:
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
DOCUMENTDATA =
" HOSTNAME =
" DOCBOMCHANGENUMBER =
" DOCBOMVALIDFROM =
" DOCBOMREVISIONLEVEL =
" CAD_MODE = ' '
" PF_FTP_DEST = ' '
" PF_HTTP_DEST = ' '
" IMPORTING
" DOCUMENTTYPE =
" DOCUMENTNUMBER =
" DOCUMENTPART =
" DOCUMENTVERSION =
" RETURN =
" TABLES
" CHARACTERISTICVALUES =
" CLASSALLOCATIONS =
" DOCUMENTDESCRIPTIONS =
" OBJECTLINKS =
" DOCUMENTSTRUCTURE =
" DOCUMENTFILES =
" LONGTEXTS =
" COMPONENTS =
.
Related 10 BAPI Tutorials
- BAPI Programming Guide CA-BFA | SAP BAPI PDF Study material
- BAPI_GL_GETGLACCCURRENTBALANCE ( BAPI Function Module )
- BAPI_AP_ACC_GETCURRENTBALANCE ( BAPI Function Module )
- BAPI_APPRAISAL_GETDETAIL ( BAPI Function Module)
- BAPI_ACC_PURCHASE_REQUI_POST ( BAPI Function Module )
- BAPI_USER_EXISTENCE_CHECK | BAPI Function Module
- BAPI_RECORD_GETLIST ( BAPI Function Module )
- BAPI_OIW_GET_DATA ( BAPI Function Module )
- BAPI_GL_ACC_GETLIST ( BAPI Function Module )
- BAPI_ACC_EMPLOYEE_PAY_CHECK ( 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