SAP /PLMI/PPE_CMP_GET_NODE Function Module for Get all relevant data for given PSM nodes
/PLMI/PPE_CMP_GET_NODE is a standard /plmi/ppe cmp get node SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get all relevant data for given PSM nodes 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 /plmi/ppe cmp get node FM, simply by entering the name /PLMI/PPE_CMP_GET_NODE into the relevant SAP transaction such as SE37 or SE38.
Function Group: /PLMI/PPE_CMP_SERVICE
Program Name: /PLMI/SAPLPPE_CMP_SERVICE
Main Program: /PLMI/SAPLPPE_CMP_SERVICE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function /PLMI/PPE_CMP_GET_NODE 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 '/PLMI/PPE_CMP_GET_NODE'"Get all relevant data for given PSM nodes.
EXPORTING
* IV_VARIANT_FLAG = ABAP_FALSE "Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
* IV_LONG_TEXT_FLAG = ABAP_FALSE "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IMPORTING
ES_RETURN = "Error Message
TABLES
IT_NODE_ID = "Structure for Object Identification
* ET_NODE_DATA = "Structure for PSM Object Data
* ET_NODE_SHORT_TEXT = "Structure to Store Short Text
* ET_NODE_LONG_TEXT = "Structure to Store Long Text
* ET_VARIANT_DATA = "Structure to Store PSM Variant Data
* ET_VARIANT_SHORT_TEXT = "Structure to Store Short Text
* ET_VARIANT_LONG_TEXT = "Structure to Store Long Text
* ET_MESSAGE = "Messages
* ET_RUNTIME = "Structure for Runtime
IMPORTING Parameters details for /PLMI/PPE_CMP_GET_NODE
IV_VARIANT_FLAG - Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_LONG_TEXT_FLAG - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for /PLMI/PPE_CMP_GET_NODE
ES_RETURN - Error Message
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for /PLMI/PPE_CMP_GET_NODE
IT_NODE_ID - Structure for Object Identification
Data type: /PLMI/S_PPE_OBJ_IDOptional: No
Call by Reference: Yes
ET_NODE_DATA - Structure for PSM Object Data
Data type: /PLMI/S_PPE_CMP_NODE_OBJ_DATAOptional: Yes
Call by Reference: Yes
ET_NODE_SHORT_TEXT - Structure to Store Short Text
Data type: /PLMI/S_PPE_SHORTTEXTOptional: Yes
Call by Reference: Yes
ET_NODE_LONG_TEXT - Structure to Store Long Text
Data type: /PLMI/S_PPE_LONGTEXTOptional: Yes
Call by Reference: Yes
ET_VARIANT_DATA - Structure to Store PSM Variant Data
Data type: /PLMI/S_PPE_CMP_VAR_OBJ_DATAOptional: Yes
Call by Reference: Yes
ET_VARIANT_SHORT_TEXT - Structure to Store Short Text
Data type: /PLMI/S_PPE_SHORTTEXTOptional: Yes
Call by Reference: Yes
ET_VARIANT_LONG_TEXT - Structure to Store Long Text
Data type: /PLMI/S_PPE_LONGTEXTOptional: Yes
Call by Reference: Yes
ET_MESSAGE - Messages
Data type: CDESK_SRV_S_MSG_ACTIONOptional: Yes
Call by Reference: Yes
ET_RUNTIME - Structure for Runtime
Data type: CDESK_SRV_S_RUNTIMEOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for /PLMI/PPE_CMP_GET_NODE 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_es_return | TYPE BAPIRET2, " | |||
| lt_it_node_id | TYPE STANDARD TABLE OF /PLMI/S_PPE_OBJ_ID, " | |||
| lv_iv_variant_flag | TYPE BOOLE_D, " ABAP_FALSE | |||
| lt_et_node_data | TYPE STANDARD TABLE OF /PLMI/S_PPE_CMP_NODE_OBJ_DATA, " | |||
| lv_iv_long_text_flag | TYPE BOOLE_D, " ABAP_FALSE | |||
| lt_et_node_short_text | TYPE STANDARD TABLE OF /PLMI/S_PPE_SHORTTEXT, " | |||
| lt_et_node_long_text | TYPE STANDARD TABLE OF /PLMI/S_PPE_LONGTEXT, " | |||
| lt_et_variant_data | TYPE STANDARD TABLE OF /PLMI/S_PPE_CMP_VAR_OBJ_DATA, " | |||
| lt_et_variant_short_text | TYPE STANDARD TABLE OF /PLMI/S_PPE_SHORTTEXT, " | |||
| lt_et_variant_long_text | TYPE STANDARD TABLE OF /PLMI/S_PPE_LONGTEXT, " | |||
| lt_et_message | TYPE STANDARD TABLE OF CDESK_SRV_S_MSG_ACTION, " | |||
| lt_et_runtime | TYPE STANDARD TABLE OF CDESK_SRV_S_RUNTIME. " |
|   CALL FUNCTION '/PLMI/PPE_CMP_GET_NODE' "Get all relevant data for given PSM nodes |
| EXPORTING | ||
| IV_VARIANT_FLAG | = lv_iv_variant_flag | |
| IV_LONG_TEXT_FLAG | = lv_iv_long_text_flag | |
| IMPORTING | ||
| ES_RETURN | = lv_es_return | |
| TABLES | ||
| IT_NODE_ID | = lt_it_node_id | |
| ET_NODE_DATA | = lt_et_node_data | |
| ET_NODE_SHORT_TEXT | = lt_et_node_short_text | |
| ET_NODE_LONG_TEXT | = lt_et_node_long_text | |
| ET_VARIANT_DATA | = lt_et_variant_data | |
| ET_VARIANT_SHORT_TEXT | = lt_et_variant_short_text | |
| ET_VARIANT_LONG_TEXT | = lt_et_variant_long_text | |
| ET_MESSAGE | = lt_et_message | |
| ET_RUNTIME | = lt_et_runtime | |
| . " /PLMI/PPE_CMP_GET_NODE | ||
ABAP code using 7.40 inline data declarations to call FM /PLMI/PPE_CMP_GET_NODE
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_iv_variant_flag) | = ABAP_FALSE. | |||
| DATA(ld_iv_long_text_flag) | = ABAP_FALSE. | |||
Search for further information about these or an SAP related objects