SAP PPEWICMP_VARIANT_READ Function Module for NOTRANSL: Lesen Information zu Variante









PPEWICMP_VARIANT_READ is a standard ppewicmp variant read 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: Lesen Information zu Variante 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 ppewicmp variant read FM, simply by entering the name PPEWICMP_VARIANT_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: PPEWICMP
Program Name: SAPLPPEWICMP
Main Program: SAPLPPEWICMP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function PPEWICMP_VARIANT_READ 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 'PPEWICMP_VARIANT_READ'"NOTRANSL: Lesen Information zu Variante
EXPORTING
IM_OBJECT_ID = "Identification of iPPE Objects for PD WEB UI
* IM_NO_DETAIL = PPET_FALSE "Single-Character Flag
* IM_LANGU = SY-LANGU "ABAP System Field: Language Key of Text Environment

IMPORTING
EX_OBJECT_ID_DATA = "Information on the ID of the iPPE Object
EX_CHILDREN_TAB = "Detailed Information in iPPE Relationships
EX_ASSIGNMENT_TAB = "Detailed Information in iPPE Relationships
EX_MSG_LOG = "Return parameter table
EX_PRTYPE_DATA_TAB = "Customizing Names from iPPE for PD Web UI
EX_PVSMDL_DATA_TAB = "Customizing Names from iPPE for PD Web UI
EX_ASSIGNMENT_DATA_TAB = "Customizing Names from iPPE for PD Web UI
EX_ALL_PARENTS_TAB = "Detailed Information in iPPE Relationships
EX_USER_INFO_TAB = "Table of Information on Users
EX_VARIANT_DATA = "Detailed Information on iPPE Variants
EX_VARIANT_DATA_DETAIL = "Structure for Recording Detailed Data for the Material
EX_DEP_DATA_TAB = "Table for Basic Data for Object Dependency
EX_ADV_DEPSOURCE = "Case-Sensitive Length 1024
EX_CONFIG_TAB = "Table of Data for Variant Configuration
EX_CONFIG_VALUE_TAB = "Table of Characteristics for Variant Configuration
EX_ALTERNATIVE_TAB = "For Detailed Information for iPPE Alternatives
EX_PARENT_TAB = "Detailed Information in iPPE Relationships
.



IMPORTING Parameters details for PPEWICMP_VARIANT_READ

IM_OBJECT_ID - Identification of iPPE Objects for PD WEB UI

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

IM_NO_DETAIL - Single-Character Flag

Data type: CHAR1
Default: PPET_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_LANGU - ABAP System Field: Language Key of Text Environment

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for PPEWICMP_VARIANT_READ

EX_OBJECT_ID_DATA - Information on the ID of the iPPE Object

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

EX_CHILDREN_TAB - Detailed Information in iPPE Relationships

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

EX_ASSIGNMENT_TAB - Detailed Information in iPPE Relationships

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

EX_MSG_LOG - Return parameter table

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

EX_PRTYPE_DATA_TAB - Customizing Names from iPPE for PD Web UI

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

EX_PVSMDL_DATA_TAB - Customizing Names from iPPE for PD Web UI

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

EX_ASSIGNMENT_DATA_TAB - Customizing Names from iPPE for PD Web UI

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

EX_ALL_PARENTS_TAB - Detailed Information in iPPE Relationships

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

EX_USER_INFO_TAB - Table of Information on Users

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

EX_VARIANT_DATA - Detailed Information on iPPE Variants

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

EX_VARIANT_DATA_DETAIL - Structure for Recording Detailed Data for the Material

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

EX_DEP_DATA_TAB - Table for Basic Data for Object Dependency

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

EX_ADV_DEPSOURCE - Case-Sensitive Length 1024

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

EX_CONFIG_TAB - Table of Data for Variant Configuration

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

EX_CONFIG_VALUE_TAB - Table of Characteristics for Variant Configuration

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

EX_ALTERNATIVE_TAB - For Detailed Information for iPPE Alternatives

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

EX_PARENT_TAB - Detailed Information in iPPE Relationships

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

Copy and paste ABAP code example for PPEWICMP_VARIANT_READ 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_im_object_id  TYPE PPEWEB_OBJECT_ID, "   
lv_ex_object_id_data  TYPE PPEWEB_OBJECT_ID_DATA, "   
lv_ex_children_tab  TYPE PPEWEB_RELATION_TAB, "   
lv_ex_assignment_tab  TYPE PPEWEB_RELATION_TAB, "   
lv_ex_msg_log  TYPE BAPIRET2_T, "   
lv_ex_prtype_data_tab  TYPE PPEWEB_CUST_NAME_TAB, "   
lv_ex_pvsmdl_data_tab  TYPE PPEWEB_CUST_NAME_TAB, "   
lv_ex_assignment_data_tab  TYPE PPEWEB_CUST_NAME_TAB, "   
lv_ex_all_parents_tab  TYPE PPEWEB_RELATION_TAB, "   
lv_ex_user_info_tab  TYPE PPEWEB_USER_INFO_TAB, "   
lv_im_no_detail  TYPE CHAR1, "   PPET_FALSE
lv_ex_variant_data  TYPE PPEWEB_VARIANT, "   
lv_im_langu  TYPE SY-LANGU, "   SY-LANGU
lv_ex_variant_data_detail  TYPE PPEWEB_MAT_DETAIL, "   
lv_ex_dep_data_tab  TYPE PPEWEB_DEP_DATA_TAB, "   
lv_ex_adv_depsource  TYPE TEXT1024, "   
lv_ex_config_tab  TYPE PPEWEB_CONFIG_TAB, "   
lv_ex_config_value_tab  TYPE PPEWEB_CONFIG_VALUE_TAB, "   
lv_ex_alternative_tab  TYPE PPEWEB_ALTERNATIVE_TAB, "   
lv_ex_parent_tab  TYPE PPEWEB_RELATION_TAB. "   

  CALL FUNCTION 'PPEWICMP_VARIANT_READ'  "NOTRANSL: Lesen Information zu Variante
    EXPORTING
         IM_OBJECT_ID = lv_im_object_id
         IM_NO_DETAIL = lv_im_no_detail
         IM_LANGU = lv_im_langu
    IMPORTING
         EX_OBJECT_ID_DATA = lv_ex_object_id_data
         EX_CHILDREN_TAB = lv_ex_children_tab
         EX_ASSIGNMENT_TAB = lv_ex_assignment_tab
         EX_MSG_LOG = lv_ex_msg_log
         EX_PRTYPE_DATA_TAB = lv_ex_prtype_data_tab
         EX_PVSMDL_DATA_TAB = lv_ex_pvsmdl_data_tab
         EX_ASSIGNMENT_DATA_TAB = lv_ex_assignment_data_tab
         EX_ALL_PARENTS_TAB = lv_ex_all_parents_tab
         EX_USER_INFO_TAB = lv_ex_user_info_tab
         EX_VARIANT_DATA = lv_ex_variant_data
         EX_VARIANT_DATA_DETAIL = lv_ex_variant_data_detail
         EX_DEP_DATA_TAB = lv_ex_dep_data_tab
         EX_ADV_DEPSOURCE = lv_ex_adv_depsource
         EX_CONFIG_TAB = lv_ex_config_tab
         EX_CONFIG_VALUE_TAB = lv_ex_config_value_tab
         EX_ALTERNATIVE_TAB = lv_ex_alternative_tab
         EX_PARENT_TAB = lv_ex_parent_tab
. " PPEWICMP_VARIANT_READ




ABAP code using 7.40 inline data declarations to call FM PPEWICMP_VARIANT_READ

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.

 
 
 
 
 
 
 
 
 
 
DATA(ld_im_no_detail) = PPET_FALSE.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_im_langu).
DATA(ld_im_langu) = SY-LANGU.
 
 
 
 
 
 
 
 


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!