SAP PPEEXPL_EXPLOSION_EXTR Function Module for NOTRANSL: Mehrstufige Auflösung mit Einstiegsfindung auf jeder Stufe (auch









PPEEXPL_EXPLOSION_EXTR is a standard ppeexpl explosion extr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Mehrstufige Auflösung mit Einstiegsfindung auf jeder Stufe (auch processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ppeexpl explosion extr FM, simply by entering the name PPEEXPL_EXPLOSION_EXTR into the relevant SAP transaction such as SE37 or SE38.

Function Group: PPEEXPL
Program Name: SAPLPPEEXPL
Main Program: SAPLPPEEXPL
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function PPEEXPL_EXPLOSION_EXTR pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'PPEEXPL_EXPLOSION_EXTR'"NOTRANSL: Mehrstufige Auflösung mit Einstiegsfindung auf jeder Stufe (auch
EXPORTING
* IV_PPEGUID = "Internal Identification for PVS Objects
* IV_NAME = "Name of iPPE Access Object
* IV_CLINT = "Internal Class Number
* IV_CCODE = "Color Supplement Key
* IV_QUANT = "Quantity (in Component Variant)
* IV_QUNIT = "Unit of Measure
* IV_EXPL_ONLY_PRODVER = PPET_TRUE "Generic Type
* IV_INCL_OUTPUTS = PPET_FALSE "Generic Type
* IV_MSG_HANDLING = 'N' "Parameter for Error Handling
* IV_MSG_CONTEXT = "Application Context of Message
* IV_USE_MEMORY = PPET_TRUE "Generic Type
* IV_FOCUSID = "Internal Identification for Focus Record
* IV_USE_RTO = PPET_FALSE "Generic Type
* IV_INIT_ECM = PPET_FALSE "Generic Type
* IV_LEVEL = ' ' "
* IV_WITH_INST_QUANT = PPET_FALSE "Generic Type
* IV_WITH_ASS_STRUCT = PPET_FALSE "Generic Type
* IV_USE_SIDE_ENTRY = PPET_TRUE "Generic Type
* IV_MAX_LEVEL = ' ' "
* IV_HANDLE_SCRAP = PPET_FALSE "Generic Type
* IV_ROUND_QUANT = PPET_FALSE "Generic Type
* IV_CHK_CLASS_ALLOC = PPET_TRUE "Generic Type
* IV_OBJID = "Internal Identification of an iPPE Object
* IV_CHK_ECM = PPET_TRUE "Generic Type
* IV_CHK_CONFIG = PPET_TRUE "Generic Type
* IV_MULT_LEV_ECM = PPET_FALSE "Generic Type
* IV_WITH_ACT = PPET_FALSE "Generic Type
* IV_WITH_FLO = PPET_FALSE "Generic Type
* IV_ECM_STATUS_ACTIVE = PPET_FALSE "Generic Type
* IV_ECM_STATUS_PLAN = PPET_FALSE "Release for planning
* IV_ECM_STATUS_PROD = PPET_FALSE "Release for production
* IV_ECM_STATUS_SIMU = PPET_FALSE "Release for simulation
* IV_ECM_STATUS_CALC = PPET_FALSE "Release for costing
* IV_CUOBJ = "Configuration (Internal Object Number)
* IV_TECHS = "Parameter Variant/Standard Variant
* IV_DATE = SY-DATUM "ABAP System Field: Current Date of Application Server
* IV_LOCID = "Plant/Location in iPPE
* IV_PPEUSE = "Usage in iPPE
* IV_PPETYPE = "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
ET_PVCMPHD = "DE-EN-LANG-SWITCH-NO-TRANSLATION
ET_RESULT = "
ET_STRUCT = "
ET_HEAD_POS = "
ET_OP = "

CHANGING
* CT_MEM = "
* CH_ECM_PARAM_TAB = "Table of Effectivity Parameters
* CV_ROOT_INST = "Internal Counter for iPPE Objects

EXCEPTIONS
NO_ENTRY_FOUND = 1 ECM_PROCESSOR_INIT = 2 VALIDITY_CHECK_ERROR = 3
.



IMPORTING Parameters details for PPEEXPL_EXPLOSION_EXTR

IV_PPEGUID - Internal Identification for PVS Objects

Data type: PPET4_PPEHDR-PPEGUID
Optional: Yes
Call by Reference: Yes

IV_NAME - Name of iPPE Access Object

Data type: PPET4_PPEHDR-PPENAME
Optional: Yes
Call by Reference: Yes

IV_CLINT - Internal Class Number

Data type: PPE_CLINT
Optional: Yes
Call by Reference: Yes

IV_CCODE - Color Supplement Key

Data type: PVCOL-CCODE
Optional: Yes
Call by Reference: Yes

IV_QUANT - Quantity (in Component Variant)

Data type: PVCMPD-QUANT
Optional: Yes
Call by Reference: Yes

IV_QUNIT - Unit of Measure

Data type: PVCMPD-QUNIT
Optional: Yes
Call by Reference: Yes

IV_EXPL_ONLY_PRODVER - Generic Type

Data type: C
Default: PPET_TRUE
Optional: Yes
Call by Reference: Yes

IV_INCL_OUTPUTS - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_MSG_HANDLING - Parameter for Error Handling

Data type: PPET_MSG_OPT
Default: 'N'
Optional: Yes
Call by Reference: Yes

IV_MSG_CONTEXT - Application Context of Message

Data type: PPE_MSG_CONTEXT
Optional: Yes
Call by Reference: Yes

IV_USE_MEMORY - Generic Type

Data type: C
Default: PPET_TRUE
Optional: Yes
Call by Reference: Yes

IV_FOCUSID - Internal Identification for Focus Record

Data type: PPFOC_PFOCID-PFGUID
Optional: Yes
Call by Reference: Yes

IV_USE_RTO - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_INIT_ECM - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_LEVEL -

Data type: PPET_STRUCT_LI-PLEVEL
Default: SPACE
Optional: No
Call by Reference: Yes

IV_WITH_INST_QUANT - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_WITH_ASS_STRUCT - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_USE_SIDE_ENTRY - Generic Type

Data type: C
Default: PPET_TRUE
Optional: No
Call by Reference: Yes

IV_MAX_LEVEL -

Data type: PPET_STRUCT_LI-PLEVEL
Default: SPACE
Optional: No
Call by Reference: Yes

IV_HANDLE_SCRAP - Generic Type

Data type: C
Default: PPET_FALSE
Optional: No
Call by Reference: Yes

IV_ROUND_QUANT - Generic Type

Data type: C
Default: PPET_FALSE
Optional: No
Call by Reference: Yes

IV_CHK_CLASS_ALLOC - Generic Type

Data type: C
Default: PPET_TRUE
Optional: No
Call by Reference: Yes

IV_OBJID - Internal Identification of an iPPE Object

Data type: PPET4_PPEHDR-OBJID
Optional: Yes
Call by Reference: Yes

IV_CHK_ECM - Generic Type

Data type: C
Default: PPET_TRUE
Optional: No
Call by Reference: Yes

IV_CHK_CONFIG - Generic Type

Data type: C
Default: PPET_TRUE
Optional: No
Call by Reference: Yes

IV_MULT_LEV_ECM - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_WITH_ACT - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_WITH_FLO - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_ECM_STATUS_ACTIVE - Generic Type

Data type: C
Default: PPET_FALSE
Optional: No
Call by Reference: Yes

IV_ECM_STATUS_PLAN - Release for planning

Data type: TCC10-AEFRP
Default: PPET_FALSE
Optional: No
Call by Reference: Yes

IV_ECM_STATUS_PROD - Release for production

Data type: TCC10-AEFRF
Default: PPET_FALSE
Optional: No
Call by Reference: Yes

IV_ECM_STATUS_SIMU - Release for simulation

Data type: TCC10-AEFRS
Default: PPET_FALSE
Optional: No
Call by Reference: Yes

IV_ECM_STATUS_CALC - Release for costing

Data type: TCC10-AEFRK
Default: PPET_FALSE
Optional: No
Call by Reference: Yes

IV_CUOBJ - Configuration (Internal Object Number)

Data type: PPET1_PVCMPR-CUOBJ
Optional: Yes
Call by Reference: Yes

IV_TECHS - Parameter Variant/Standard Variant

Data type: PPE_TECHS
Optional: Yes
Call by Reference: Yes

IV_DATE - ABAP System Field: Current Date of Application Server

Data type: SY-DATUM
Default: SY-DATUM
Optional: Yes
Call by Reference: Yes

IV_LOCID - Plant/Location in iPPE

Data type: PPET4_PPEHDR-LOCID
Optional: Yes
Call by Reference: Yes

IV_PPEUSE - Usage in iPPE

Data type: PPET4_PPEHDR-PPEUSE
Optional: Yes
Call by Reference: Yes

IV_PPETYPE - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PPET4_PPEHDR-PPETYPE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for PPEEXPL_EXPLOSION_EXTR

ET_PVCMPHD - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PPET8_PVCMPHD_TAB
Optional: No
Call by Reference: Yes

ET_RESULT -

Data type: PPET8_RESULT_TAB
Optional: No
Call by Reference: Yes

ET_STRUCT -

Data type: PPET_STRUCT_LI_TAB
Optional: No
Call by Reference: Yes

ET_HEAD_POS -

Data type: PPET8_HEAD_POS_TAB
Optional: No
Call by Reference: Yes

ET_OP -

Data type: PPET8_ADD_RESULT_TAB
Optional: No
Call by Reference: Yes

CHANGING Parameters details for PPEEXPL_EXPLOSION_EXTR

CT_MEM -

Data type: PPET8_MEM_TAB
Optional: Yes
Call by Reference: Yes

CH_ECM_PARAM_TAB - Table of Effectivity Parameters

Data type: TFILT_EFF
Optional: Yes
Call by Reference: Yes

CV_ROOT_INST - Internal Counter for iPPE Objects

Data type: PVS_COUNT
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_ENTRY_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ECM_PROCESSOR_INIT - An error occurred when initializing engineering change management

Data type:
Optional: No
Call by Reference: Yes

VALIDITY_CHECK_ERROR - Error Evaluating Header

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PPEEXPL_EXPLOSION_EXTR Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_ct_mem  TYPE PPET8_MEM_TAB, "   
lv_et_pvcmphd  TYPE PPET8_PVCMPHD_TAB, "   
lv_iv_ppeguid  TYPE PPET4_PPEHDR-PPEGUID, "   
lv_no_entry_found  TYPE PPET4_PPEHDR, "   
lv_iv_name  TYPE PPET4_PPEHDR-PPENAME, "   
lv_iv_clint  TYPE PPE_CLINT, "   
lv_iv_ccode  TYPE PVCOL-CCODE, "   
lv_iv_quant  TYPE PVCMPD-QUANT, "   
lv_iv_qunit  TYPE PVCMPD-QUNIT, "   
lv_iv_expl_only_prodver  TYPE C, "   PPET_TRUE
lv_iv_incl_outputs  TYPE C, "   PPET_FALSE
lv_iv_msg_handling  TYPE PPET_MSG_OPT, "   'N'
lv_iv_msg_context  TYPE PPE_MSG_CONTEXT, "   
lv_iv_use_memory  TYPE C, "   PPET_TRUE
lv_et_result  TYPE PPET8_RESULT_TAB, "   
lv_iv_focusid  TYPE PPFOC_PFOCID-PFGUID, "   
lv_ch_ecm_param_tab  TYPE TFILT_EFF, "   
lv_ecm_processor_init  TYPE TFILT_EFF, "   
lv_iv_use_rto  TYPE C, "   PPET_FALSE
lv_iv_init_ecm  TYPE C, "   PPET_FALSE
lv_iv_level  TYPE PPET_STRUCT_LI-PLEVEL, "   SPACE
lv_iv_with_inst_quant  TYPE C, "   PPET_FALSE
lv_iv_with_ass_struct  TYPE C, "   PPET_FALSE
lv_iv_use_side_entry  TYPE C, "   PPET_TRUE
lv_iv_max_level  TYPE PPET_STRUCT_LI-PLEVEL, "   SPACE
lv_iv_handle_scrap  TYPE C, "   PPET_FALSE
lv_iv_round_quant  TYPE C, "   PPET_FALSE
lv_iv_chk_class_alloc  TYPE C, "   PPET_TRUE
lv_iv_objid  TYPE PPET4_PPEHDR-OBJID, "   
lv_et_struct  TYPE PPET_STRUCT_LI_TAB, "   
lv_cv_root_inst  TYPE PVS_COUNT, "   
lv_validity_check_error  TYPE PVS_COUNT, "   
lv_iv_chk_ecm  TYPE C, "   PPET_TRUE
lv_iv_chk_config  TYPE C, "   PPET_TRUE
lv_iv_mult_lev_ecm  TYPE C, "   PPET_FALSE
lv_iv_with_act  TYPE C, "   PPET_FALSE
lv_iv_with_flo  TYPE C, "   PPET_FALSE
lv_iv_ecm_status_active  TYPE C, "   PPET_FALSE
lv_iv_ecm_status_plan  TYPE TCC10-AEFRP, "   PPET_FALSE
lv_iv_ecm_status_prod  TYPE TCC10-AEFRF, "   PPET_FALSE
lv_iv_ecm_status_simu  TYPE TCC10-AEFRS, "   PPET_FALSE
lv_iv_ecm_status_calc  TYPE TCC10-AEFRK, "   PPET_FALSE
lv_iv_cuobj  TYPE PPET1_PVCMPR-CUOBJ, "   
lv_et_head_pos  TYPE PPET8_HEAD_POS_TAB, "   
lv_et_op  TYPE PPET8_ADD_RESULT_TAB, "   
lv_iv_techs  TYPE PPE_TECHS, "   
lv_iv_date  TYPE SY-DATUM, "   SY-DATUM
lv_iv_locid  TYPE PPET4_PPEHDR-LOCID, "   
lv_iv_ppeuse  TYPE PPET4_PPEHDR-PPEUSE, "   
lv_iv_ppetype  TYPE PPET4_PPEHDR-PPETYPE. "   

  CALL FUNCTION 'PPEEXPL_EXPLOSION_EXTR'  "NOTRANSL: Mehrstufige Auflösung mit Einstiegsfindung auf jeder Stufe (auch
    EXPORTING
         IV_PPEGUID = lv_iv_ppeguid
         IV_NAME = lv_iv_name
         IV_CLINT = lv_iv_clint
         IV_CCODE = lv_iv_ccode
         IV_QUANT = lv_iv_quant
         IV_QUNIT = lv_iv_qunit
         IV_EXPL_ONLY_PRODVER = lv_iv_expl_only_prodver
         IV_INCL_OUTPUTS = lv_iv_incl_outputs
         IV_MSG_HANDLING = lv_iv_msg_handling
         IV_MSG_CONTEXT = lv_iv_msg_context
         IV_USE_MEMORY = lv_iv_use_memory
         IV_FOCUSID = lv_iv_focusid
         IV_USE_RTO = lv_iv_use_rto
         IV_INIT_ECM = lv_iv_init_ecm
         IV_LEVEL = lv_iv_level
         IV_WITH_INST_QUANT = lv_iv_with_inst_quant
         IV_WITH_ASS_STRUCT = lv_iv_with_ass_struct
         IV_USE_SIDE_ENTRY = lv_iv_use_side_entry
         IV_MAX_LEVEL = lv_iv_max_level
         IV_HANDLE_SCRAP = lv_iv_handle_scrap
         IV_ROUND_QUANT = lv_iv_round_quant
         IV_CHK_CLASS_ALLOC = lv_iv_chk_class_alloc
         IV_OBJID = lv_iv_objid
         IV_CHK_ECM = lv_iv_chk_ecm
         IV_CHK_CONFIG = lv_iv_chk_config
         IV_MULT_LEV_ECM = lv_iv_mult_lev_ecm
         IV_WITH_ACT = lv_iv_with_act
         IV_WITH_FLO = lv_iv_with_flo
         IV_ECM_STATUS_ACTIVE = lv_iv_ecm_status_active
         IV_ECM_STATUS_PLAN = lv_iv_ecm_status_plan
         IV_ECM_STATUS_PROD = lv_iv_ecm_status_prod
         IV_ECM_STATUS_SIMU = lv_iv_ecm_status_simu
         IV_ECM_STATUS_CALC = lv_iv_ecm_status_calc
         IV_CUOBJ = lv_iv_cuobj
         IV_TECHS = lv_iv_techs
         IV_DATE = lv_iv_date
         IV_LOCID = lv_iv_locid
         IV_PPEUSE = lv_iv_ppeuse
         IV_PPETYPE = lv_iv_ppetype
    IMPORTING
         ET_PVCMPHD = lv_et_pvcmphd
         ET_RESULT = lv_et_result
         ET_STRUCT = lv_et_struct
         ET_HEAD_POS = lv_et_head_pos
         ET_OP = lv_et_op
    CHANGING
         CT_MEM = lv_ct_mem
         CH_ECM_PARAM_TAB = lv_ch_ecm_param_tab
         CV_ROOT_INST = lv_cv_root_inst
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
        ECM_PROCESSOR_INIT = 2
        VALIDITY_CHECK_ERROR = 3
. " PPEEXPL_EXPLOSION_EXTR




ABAP code using 7.40 inline data declarations to call FM PPEEXPL_EXPLOSION_EXTR

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
"SELECT single PPEGUID FROM PPET4_PPEHDR INTO @DATA(ld_iv_ppeguid).
 
 
"SELECT single PPENAME FROM PPET4_PPEHDR INTO @DATA(ld_iv_name).
 
 
"SELECT single CCODE FROM PVCOL INTO @DATA(ld_iv_ccode).
 
"SELECT single QUANT FROM PVCMPD INTO @DATA(ld_iv_quant).
 
"SELECT single QUNIT FROM PVCMPD INTO @DATA(ld_iv_qunit).
 
DATA(ld_iv_expl_only_prodver) = PPET_TRUE.
 
DATA(ld_iv_incl_outputs) = PPET_FALSE.
 
DATA(ld_iv_msg_handling) = 'N'.
 
 
DATA(ld_iv_use_memory) = PPET_TRUE.
 
 
"SELECT single PFGUID FROM PPFOC_PFOCID INTO @DATA(ld_iv_focusid).
 
 
 
DATA(ld_iv_use_rto) = PPET_FALSE.
 
DATA(ld_iv_init_ecm) = PPET_FALSE.
 
"SELECT single PLEVEL FROM PPET_STRUCT_LI INTO @DATA(ld_iv_level).
DATA(ld_iv_level) = ' '.
 
DATA(ld_iv_with_inst_quant) = PPET_FALSE.
 
DATA(ld_iv_with_ass_struct) = PPET_FALSE.
 
DATA(ld_iv_use_side_entry) = PPET_TRUE.
 
"SELECT single PLEVEL FROM PPET_STRUCT_LI INTO @DATA(ld_iv_max_level).
DATA(ld_iv_max_level) = ' '.
 
DATA(ld_iv_handle_scrap) = PPET_FALSE.
 
DATA(ld_iv_round_quant) = PPET_FALSE.
 
DATA(ld_iv_chk_class_alloc) = PPET_TRUE.
 
"SELECT single OBJID FROM PPET4_PPEHDR INTO @DATA(ld_iv_objid).
 
 
 
 
DATA(ld_iv_chk_ecm) = PPET_TRUE.
 
DATA(ld_iv_chk_config) = PPET_TRUE.
 
DATA(ld_iv_mult_lev_ecm) = PPET_FALSE.
 
DATA(ld_iv_with_act) = PPET_FALSE.
 
DATA(ld_iv_with_flo) = PPET_FALSE.
 
DATA(ld_iv_ecm_status_active) = PPET_FALSE.
 
"SELECT single AEFRP FROM TCC10 INTO @DATA(ld_iv_ecm_status_plan).
DATA(ld_iv_ecm_status_plan) = PPET_FALSE.
 
"SELECT single AEFRF FROM TCC10 INTO @DATA(ld_iv_ecm_status_prod).
DATA(ld_iv_ecm_status_prod) = PPET_FALSE.
 
"SELECT single AEFRS FROM TCC10 INTO @DATA(ld_iv_ecm_status_simu).
DATA(ld_iv_ecm_status_simu) = PPET_FALSE.
 
"SELECT single AEFRK FROM TCC10 INTO @DATA(ld_iv_ecm_status_calc).
DATA(ld_iv_ecm_status_calc) = PPET_FALSE.
 
"SELECT single CUOBJ FROM PPET1_PVCMPR INTO @DATA(ld_iv_cuobj).
 
 
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_iv_date).
DATA(ld_iv_date) = SY-DATUM.
 
"SELECT single LOCID FROM PPET4_PPEHDR INTO @DATA(ld_iv_locid).
 
"SELECT single PPEUSE FROM PPET4_PPEHDR INTO @DATA(ld_iv_ppeuse).
 
"SELECT single PPETYPE FROM PPET4_PPEHDR INTO @DATA(ld_iv_ppetype).
 


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!