SAP REYC_GUI_CHANGE_COSTS_POOL Function Module for Ruft den Anzeigedialog
REYC_GUI_CHANGE_COSTS_POOL is a standard reyc gui change costs pool SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Ruft den Anzeigedialog 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 reyc gui change costs pool FM, simply by entering the name REYC_GUI_CHANGE_COSTS_POOL into the relevant SAP transaction such as SE37 or SE38.
Function Group: REYC_GUI_CHANGE_COSTS_CN
Program Name: SAPLREYC_GUI_CHANGE_COSTS_CN
Main Program: SAPLREYC_GUI_CHANGE_COSTS_CN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function REYC_GUI_CHANGE_COSTS_POOL 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 'REYC_GUI_CHANGE_COSTS_POOL'"Ruft den Anzeigedialog.
EXPORTING
IO_PREPARE_RESULTS = "Prepare Settlement Results for Display
IS_REPORT = "Reports For CAM and Additional Fields (for ALV)
IF_GRID = "
* ID_STATUS = "Status of Process Step
* ID_SETTL_STEP = "Internal Name of Process Step
* ID_SETTLMODE = "Settlement Method
* IS_SETTLPERIOD = "Settlement Period
IMPORTING
ED_STATUS = "Status of Process Step
IMPORTING Parameters details for REYC_GUI_CHANGE_COSTS_POOL
IO_PREPARE_RESULTS - Prepare Settlement Results for Display
Data type: IF_REYC_PREPARE_RESULTSOptional: No
Call by Reference: Yes
IS_REPORT - Reports For CAM and Additional Fields (for ALV)
Data type: REYCISREPORTS_LOptional: No
Call by Reference: Yes
IF_GRID -
Data type: RECAUSEGRIDCTRLOptional: No
Call by Reference: Yes
ID_STATUS - Status of Process Step
Data type: RECASTEPSTATUSOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_SETTL_STEP - Internal Name of Process Step
Data type: RECASTEPOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_SETTLMODE - Settlement Method
Data type: RECASETTLMODEOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_SETTLPERIOD - Settlement Period
Data type: RECASETTLPERIODOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for REYC_GUI_CHANGE_COSTS_POOL
ED_STATUS - Status of Process Step
Data type: RECASTEPSTATUSOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for REYC_GUI_CHANGE_COSTS_POOL 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_ed_status | TYPE RECASTEPSTATUS, " | |||
| lv_io_prepare_results | TYPE IF_REYC_PREPARE_RESULTS, " | |||
| lv_is_report | TYPE REYCISREPORTS_L, " | |||
| lv_if_grid | TYPE RECAUSEGRIDCTRL, " | |||
| lv_id_status | TYPE RECASTEPSTATUS, " | |||
| lv_id_settl_step | TYPE RECASTEP, " | |||
| lv_id_settlmode | TYPE RECASETTLMODE, " | |||
| lv_is_settlperiod | TYPE RECASETTLPERIOD. " |
|   CALL FUNCTION 'REYC_GUI_CHANGE_COSTS_POOL' "Ruft den Anzeigedialog |
| EXPORTING | ||
| IO_PREPARE_RESULTS | = lv_io_prepare_results | |
| IS_REPORT | = lv_is_report | |
| IF_GRID | = lv_if_grid | |
| ID_STATUS | = lv_id_status | |
| ID_SETTL_STEP | = lv_id_settl_step | |
| ID_SETTLMODE | = lv_id_settlmode | |
| IS_SETTLPERIOD | = lv_is_settlperiod | |
| IMPORTING | ||
| ED_STATUS | = lv_ed_status | |
| . " REYC_GUI_CHANGE_COSTS_POOL | ||
ABAP code using 7.40 inline data declarations to call FM REYC_GUI_CHANGE_COSTS_POOL
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.Search for further information about these or an SAP related objects