SAP REEX_PLAN_COLLECT_INFO_FOR_DIM Function Module for
REEX_PLAN_COLLECT_INFO_FOR_DIM is a standard reex plan collect info for dim SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 reex plan collect info for dim FM, simply by entering the name REEX_PLAN_COLLECT_INFO_FOR_DIM into the relevant SAP transaction such as SE37 or SE38.
Function Group: REEX_CALLBACK_COPLANNING
Program Name: SAPLREEX_CALLBACK_COPLANNING
Main Program: SAPLREEX_CALLBACK_COPLANNING
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function REEX_PLAN_COLLECT_INFO_FOR_DIM 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 'REEX_PLAN_COLLECT_INFO_FOR_DIM'".
EXPORTING
I_FIELDNAME = "
I_PGEBIET = "
I_KOKRS = "
TABLES
T_CCSS = "Structure for General CO Fields
T_PERIODS = "
T_COIOB = "
T_COO0A = "
* T_LSTAR = "
* T_KSTAR = "
IMPORTING Parameters details for REEX_PLAN_COLLECT_INFO_FOR_DIM
I_FIELDNAME -
Data type: KPP0D-FIELDNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_PGEBIET -
Data type: KPPT-PGEBIETOptional: No
Call by Reference: No ( called with pass by value option)
I_KOKRS -
Data type: TKA01-KOKRSOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for REEX_PLAN_COLLECT_INFO_FOR_DIM
T_CCSS - Structure for General CO Fields
Data type: CCSSOptional: No
Call by Reference: No ( called with pass by value option)
T_PERIODS -
Data type: PERIODSOptional: No
Call by Reference: No ( called with pass by value option)
T_COIOB -
Data type: COIOBOptional: No
Call by Reference: No ( called with pass by value option)
T_COO0A -
Data type: COO0AOptional: No
Call by Reference: No ( called with pass by value option)
T_LSTAR -
Data type: COO_LSTAROptional: Yes
Call by Reference: No ( called with pass by value option)
T_KSTAR -
Data type: COO_KSTAROptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for REEX_PLAN_COLLECT_INFO_FOR_DIM 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_t_ccss | TYPE STANDARD TABLE OF CCSS, " | |||
| lv_i_fieldname | TYPE KPP0D-FIELDNAME, " | |||
| lv_i_pgebiet | TYPE KPPT-PGEBIET, " | |||
| lt_t_periods | TYPE STANDARD TABLE OF PERIODS, " | |||
| lv_i_kokrs | TYPE TKA01-KOKRS, " | |||
| lt_t_coiob | TYPE STANDARD TABLE OF COIOB, " | |||
| lt_t_coo0a | TYPE STANDARD TABLE OF COO0A, " | |||
| lt_t_lstar | TYPE STANDARD TABLE OF COO_LSTAR, " | |||
| lt_t_kstar | TYPE STANDARD TABLE OF COO_KSTAR. " |
|   CALL FUNCTION 'REEX_PLAN_COLLECT_INFO_FOR_DIM' " |
| EXPORTING | ||
| I_FIELDNAME | = lv_i_fieldname | |
| I_PGEBIET | = lv_i_pgebiet | |
| I_KOKRS | = lv_i_kokrs | |
| TABLES | ||
| T_CCSS | = lt_t_ccss | |
| T_PERIODS | = lt_t_periods | |
| T_COIOB | = lt_t_coiob | |
| T_COO0A | = lt_t_coo0a | |
| T_LSTAR | = lt_t_lstar | |
| T_KSTAR | = lt_t_kstar | |
| . " REEX_PLAN_COLLECT_INFO_FOR_DIM | ||
ABAP code using 7.40 inline data declarations to call FM REEX_PLAN_COLLECT_INFO_FOR_DIM
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 FIELDNAME FROM KPP0D INTO @DATA(ld_i_fieldname). | ||||
| "SELECT single PGEBIET FROM KPPT INTO @DATA(ld_i_pgebiet). | ||||
| "SELECT single KOKRS FROM TKA01 INTO @DATA(ld_i_kokrs). | ||||
Search for further information about these or an SAP related objects