SAP PPEBAPITOOLS_GET_CHNG_RES_DATA Function Module for NOTRANSL: iPPE: Daten zum geänderten Fabriklayout lesen









PPEBAPITOOLS_GET_CHNG_RES_DATA is a standard ppebapitools get chng res data 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: iPPE: Daten zum geänderten Fabriklayout lesen 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 ppebapitools get chng res data FM, simply by entering the name PPEBAPITOOLS_GET_CHNG_RES_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function PPEBAPITOOLS_GET_CHNG_RES_DATA 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 'PPEBAPITOOLS_GET_CHNG_RES_DATA'"NOTRANSL: iPPE: Daten zum geänderten Fabriklayout lesen
EXPORTING
* I_MODE_ALL = 'X' "Checkbox
* I_MSG_HANDLING = 'A' "Single-Character Flag
* I_DELTA_FLG = ' ' "Checkbox
* APO_CIF = ' ' "Checkbox
* I_NO_LONGTEXT = ' ' "Checkbox

TABLES
CHNG_OBJ = "iPPE: Changed Objects
* RESOURCENODEDATA = "iPPE / BAPI: Attributes of the Resource Node
* RESOURCENODETEXT = "iPPE / BAPI: Text for the Resource Node
* RESOURCENODELONGTEXTHEADER = "iPPE/BAPI: Header Long Text for Node
* RESOURCENODELONGTEXT = "iPPE/BAPI: Long Text for Node
* RESOURCENODEEXTENSION = "Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
* RESOURCENODEEXTENSION_API = "iPPE/BAPI: Customer Enhancements - Mode of Activity
* ADMINDATA = "Administrative data for iPPE objects
* RETURN = "Return Parameter
.



IMPORTING Parameters details for PPEBAPITOOLS_GET_CHNG_RES_DATA

I_MODE_ALL - Checkbox

Data type: XFELD
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MSG_HANDLING - Single-Character Flag

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

I_DELTA_FLG - Checkbox

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

APO_CIF - Checkbox

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

I_NO_LONGTEXT - Checkbox

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

TABLES Parameters details for PPEBAPITOOLS_GET_CHNG_RES_DATA

CHNG_OBJ - iPPE: Changed Objects

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

RESOURCENODEDATA - iPPE / BAPI: Attributes of the Resource Node

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

RESOURCENODETEXT - iPPE / BAPI: Text for the Resource Node

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

RESOURCENODELONGTEXTHEADER - iPPE/BAPI: Header Long Text for Node

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

RESOURCENODELONGTEXT - iPPE/BAPI: Long Text for Node

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

RESOURCENODEEXTENSION - Ref. structure for BAPI parameter ExtensionIn/ExtensionOut

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

RESOURCENODEEXTENSION_API - iPPE/BAPI: Customer Enhancements - Mode of Activity

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

ADMINDATA - Administrative data for iPPE objects

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

RETURN - Return Parameter

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

Copy and paste ABAP code example for PPEBAPITOOLS_GET_CHNG_RES_DATA 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:
lt_chng_obj  TYPE STANDARD TABLE OF PPE_CHANGED_OBJECTS, "   
lv_i_mode_all  TYPE XFELD, "   'X'
lv_i_msg_handling  TYPE CHAR1, "   'A'
lt_resourcenodedata  TYPE STANDARD TABLE OF BAPI1193_RES_NODEDATA, "   
lv_i_delta_flg  TYPE XFELD, "   SPACE
lt_resourcenodetext  TYPE STANDARD TABLE OF BAPI1193_RES_NODETEXT, "   
lv_apo_cif  TYPE XFELD, "   SPACE
lt_resourcenodelongtextheader  TYPE STANDARD TABLE OF BAPI_PPE_NODE_LONGTEXT_HD, "   
lv_i_no_longtext  TYPE XFELD, "   SPACE
lt_resourcenodelongtext  TYPE STANDARD TABLE OF BAPI_PPE_NODE_LONGTEXT, "   
lt_resourcenodeextension  TYPE STANDARD TABLE OF BAPIPAREX, "   
lt_resourcenodeextension_api  TYPE STANDARD TABLE OF BAPI_TE_PNRES, "   
lt_admindata  TYPE STANDARD TABLE OF PVSHI_ADMINDATA, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2. "   

  CALL FUNCTION 'PPEBAPITOOLS_GET_CHNG_RES_DATA'  "NOTRANSL: iPPE: Daten zum geänderten Fabriklayout lesen
    EXPORTING
         I_MODE_ALL = lv_i_mode_all
         I_MSG_HANDLING = lv_i_msg_handling
         I_DELTA_FLG = lv_i_delta_flg
         APO_CIF = lv_apo_cif
         I_NO_LONGTEXT = lv_i_no_longtext
    TABLES
         CHNG_OBJ = lt_chng_obj
         RESOURCENODEDATA = lt_resourcenodedata
         RESOURCENODETEXT = lt_resourcenodetext
         RESOURCENODELONGTEXTHEADER = lt_resourcenodelongtextheader
         RESOURCENODELONGTEXT = lt_resourcenodelongtext
         RESOURCENODEEXTENSION = lt_resourcenodeextension
         RESOURCENODEEXTENSION_API = lt_resourcenodeextension_api
         ADMINDATA = lt_admindata
         RETURN = lt_return
. " PPEBAPITOOLS_GET_CHNG_RES_DATA




ABAP code using 7.40 inline data declarations to call FM PPEBAPITOOLS_GET_CHNG_RES_DATA

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_i_mode_all) = 'X'.
 
DATA(ld_i_msg_handling) = 'A'.
 
 
DATA(ld_i_delta_flg) = ' '.
 
 
DATA(ld_apo_cif) = ' '.
 
 
DATA(ld_i_no_longtext) = ' '.
 
 
 
 
 
 


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!