GET_PRODUCT_STRUCTURE SAP Method Delivers the Navigation Structure for the MPL









Below is documentation, parameters and attributes of ABAP Method GET_PRODUCT_STRUCTURE within SAP class IF_EX_BADI_MPL_IWB. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_MPL_IWB into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method GET_PRODUCT_STRUCTURE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_PRODUCT_STRUCTURE

.

NameTypeData TypeDescriptionDefault Value
CONF_AS_MAINTAINEDImportingTYPE
TT_CCM_TARGET_CONFIG_DETAIL
CCM: table of configuration data from as maintained
EXPL_GUIDImportingTYPE
PVS_GUID
Internal identification for ppe filter
GET_VALID_PARTSImportingTYPE
XFELD
Checkbox: get valid parts for each node
LEVELImportingTYPE
BALLEVEL
Application Log: Level of detail
LOCIDImportingTYPE
PPEHDR-LOCID
Plant/Location in PPE
LOG_HANDLEImportingTYPE
BALLOGHNDL
Application Log: Log handle
PARTIAL_CHECKImportingTYPE
XFELD
Checkbox: stop explosion by class change
PFGUIDImportingTYPE
FOC_GUID
Internal Identification of Focus Record
PNGUIDImportingTYPE
PVS_PNGUID
Node guid(whose Structure is required)
PPEGUIDImportingTYPE
PVS_GUID
Internal Identification for PVS Objects
PPEUSEImportingTYPE
PPEHDR-PPEUSE
Use of iPPE
PROBCLASSImportingTYPE
BALPROBCL
Application log: Message problem class
ROOT_CUOBJImportingTYPE
CUOBJ
Configuration (internal object number)
TECHSImportingTYPE
TECHS
Parameter variant/standard variant
ALL_PARTSExportingTYPE
TAB_MPL_MATERIALS_FOR_NODE
Table of Material details for a given PVS Node
PNODID_TABExportingTYPE
PPET_PNODID_LI_TAB
Attributes of iPPE nodes
PNODTX_TABExportingTYPE
PPET_PNODTX_LI_TAB
Text attributes of iPPE nodes
PPE_STRUCTUREExportingTYPE
TAB_MPL_TREE_STRUCTURE
Tree structure output
VALID_PARTSExportingTYPE
TAB_MPL_MATERIALS_FOR_NODE
Table of Material details for a given PVS Node



Exceptions of Method GET_PRODUCT_STRUCTURE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_MPL_IWB.
DATA: lv_ALL_PARTS TYPE TAB_MPL_MATERIALS_FOR_NODE,
lv_CONF_AS_MAINTAINED TYPE TT_CCM_TARGET_CONFIG_DETAIL,
lv_EXPL_GUID TYPE PVS_GUID,
lv_GET_VALID_PARTS TYPE XFELD,
lv_LEVEL TYPE BALLEVEL,
lv_LOCID TYPE PPEHDR-LOCID,
lv_LOG_HANDLE TYPE BALLOGHNDL,
lv_PARTIAL_CHECK TYPE XFELD,
lv_PFGUID TYPE FOC_GUID,
lv_PNGUID TYPE PVS_PNGUID,
lv_PNODID_TAB TYPE PPET_PNODID_LI_TAB,
lv_PNODTX_TAB TYPE PPET_PNODTX_LI_TAB,
lv_PPEGUID TYPE PVS_GUID,
lv_PPEUSE TYPE PPEHDR-PPEUSE,
lv_PPE_STRUCTURE TYPE TAB_MPL_TREE_STRUCTURE,
lv_PROBCLASS TYPE BALPROBCL,
lv_ROOT_CUOBJ TYPE CUOBJ,
lv_TECHS TYPE TECHS,
lv_VALID_PARTS TYPE TAB_MPL_MATERIALS_FOR_NODE,
lv_other TYPE c.

CALL METHOD lo_class=>GET_PRODUCT_STRUCTURE(
EXPORTING
CONF_AS_MAINTAINED = lv_CONF_AS_MAINTAINED
EXPL_GUID = lv_EXPL_GUID
GET_VALID_PARTS = lv_GET_VALID_PARTS
LEVEL = lv_LEVEL
LOCID = lv_LOCID
LOG_HANDLE = lv_LOG_HANDLE
PARTIAL_CHECK = lv_PARTIAL_CHECK
PFGUID = lv_PFGUID
PNGUID = lv_PNGUID
PPEGUID = lv_PPEGUID
PPEUSE = lv_PPEUSE
PROBCLASS = lv_PROBCLASS
ROOT_CUOBJ = lv_ROOT_CUOBJ
TECHS = lv_TECHS
IMPORTING
ALL_PARTS = lv_ALL_PARTS
PNODID_TAB = lv_PNODID_TAB
PNODTX_TAB = lv_PNODTX_TAB
PPE_STRUCTURE = lv_PPE_STRUCTURE
VALID_PARTS = lv_VALID_PARTS ).

Links to Related Class(s)

IF_EX_BA...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!