SAP REFSETOFOPERATIONS_DISPLAY Function Module for NOTRANSL: Anzeigen eines Standardarbeitsplanes









REFSETOFOPERATIONS_DISPLAY is a standard refsetofoperations display 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: Anzeigen eines Standardarbeitsplanes 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 refsetofoperations display FM, simply by entering the name REFSETOFOPERATIONS_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

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



Function REFSETOFOPERATIONS_DISPLAY 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 'REFSETOFOPERATIONS_DISPLAY'"NOTRANSL: Anzeigen eines Standardarbeitsplanes
EXPORTING
GROUP = "Key for Task List Group
GROUPCOUNTER = "Group Counter
* MATERIAL = "Material Number
* MATERIALPLANT = "Plant
* KEY_DATE = "Valid-From Date

TABLES
* RETURN = "Return Parameter
.



IMPORTING Parameters details for REFSETOFOPERATIONS_DISPLAY

GROUP - Key for Task List Group

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

GROUPCOUNTER - Group Counter

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

MATERIAL - Material Number

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

MATERIALPLANT - Plant

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

KEY_DATE - Valid-From Date

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

TABLES Parameters details for REFSETOFOPERATIONS_DISPLAY

RETURN - Return Parameter

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

Copy and paste ABAP code example for REFSETOFOPERATIONS_DISPLAY 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_group  TYPE TSK_CLASS_DATA-PLNNR, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_groupcounter  TYPE TSK_CLASS_DATA-PLNAL, "   
lv_material  TYPE MTK_CLASS_DATA-MATNR, "   
lv_materialplant  TYPE MTK_CLASS_DATA-WERKS, "   
lv_key_date  TYPE MTK_CLASS_DATA-DATUV. "   

  CALL FUNCTION 'REFSETOFOPERATIONS_DISPLAY'  "NOTRANSL: Anzeigen eines Standardarbeitsplanes
    EXPORTING
         GROUP = lv_group
         GROUPCOUNTER = lv_groupcounter
         MATERIAL = lv_material
         MATERIALPLANT = lv_materialplant
         KEY_DATE = lv_key_date
    TABLES
         RETURN = lt_return
. " REFSETOFOPERATIONS_DISPLAY




ABAP code using 7.40 inline data declarations to call FM REFSETOFOPERATIONS_DISPLAY

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 PLNNR FROM TSK_CLASS_DATA INTO @DATA(ld_group).
 
 
"SELECT single PLNAL FROM TSK_CLASS_DATA INTO @DATA(ld_groupcounter).
 
"SELECT single MATNR FROM MTK_CLASS_DATA INTO @DATA(ld_material).
 
"SELECT single WERKS FROM MTK_CLASS_DATA INTO @DATA(ld_materialplant).
 
"SELECT single DATUV FROM MTK_CLASS_DATA INTO @DATA(ld_key_date).
 


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!