BAPI_DOCUMENT_CHANGE2 ( BAPI FUNCTION MODULE)

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.


PATTERN

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 =

Most readed SAP Tutorials

Latest Added SAP documents

Custom Search
ABAP Tutorials ABAP Syntax BAPI SAP Jobs SAP Glossary SAP Netweaver SAP XI SAP Download SAP Interview questions

Complete SAP Study materials | SAP JOBS | PDF Tutorials   List of SAP Companies India

Google-Translate-Chinese (Simplified) BETA Google-Translate-English to French Google-Translate-English to German Google-Translate-English to Italian Google-Translate-English to Japanese BETA Google-Translate-English to Korean BETA Google-Translate-English to Russian BETA Google-Translate-English to Spanish

All of the product names here are trademarks of their respective companies. The site sapbrainsonline.com no way affiliated with SAP AG. Use information on this site at your own risk. Information furnished in the site is collected from various sites and posts from users. This site does not host any files on its server. If any compliants about the posts please contact us at sapbrain.support@gmail.com

Sitemap
web counter