SAP Function BAPI_DOCUMENT_GETSTRUCTURE - Determine Document-Based Structure

Parameter Reference Type Length Default Optional Text
DOCBOMCHANGENUMBER BAPI_DOC_DRAW2-ECNUMBER C 12 X Change number
DOCBOMREVISIONLEVEL BAPI_DOC_DRAW2-REVLEVEL C 2 X Revision Level
DOCBOMVALIDFROM BAPI_DOC_DRAW2-VALIDFROMDATE D 8 X Valid-From Date
DOCUMENTNUMBER BAPI_DOC_AUX-DOCNUMBER C 25 Document Number
DOCUMENTPART BAPI_DOC_AUX-DOCPART C 3 Document Part
DOCUMENTTYPE BAPI_DOC_AUX-DOCTYPE C 3 Document Type
DOCUMENTVERSION BAPI_DOC_AUX-DOCVERSION C 2 Document Version
MULTILEVELEXPLOSION BAPI_DOC_AUX-FLAG C 1 '' X Multilevel Explosion

Parameter Reference Type Length Text
RETURN BAPIRET2 u 548 BAPI Return

Parameter Reference Length Optional Text
DOCUMENTSTRUCTURE BAPI_DOC_STRUCTURE 64 X Document-Based Structure

Functionality
You can use this method to determine the document structure for anexisting document.
By specifying one of the following objects of engineering changemanagement, you can explode the BOM from a validity date that isderived from it.

  • DOCBOMCHANGENUMBER (1)

  • DOCBOMVALIDFROM (3)

  • DOCBOMREVISONLEVEL (2)

  • If you get several amounts of additional information simultaneously,the validity date is determined according to the sequence.

    Description
    Return structure for messages

    Description
    Multi-level BOM explosion

    Description
    Document structure for the header document