SAP Function Modules

DETERMINE_LIST_03 SAP Function module - Creates the list for cash flow evaluation







DETERMINE_LIST_03 is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name DETERMINE_LIST_03 into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RMG3_A
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM DETERMINE_LIST_03 - DETERMINE LIST 03





CALL FUNCTION 'DETERMINE_LIST_03' "Creates the list for cash flow evaluation
  EXPORTING
    is_gap_parameter =          " jbrgapparameter  Gap: Structure for Parameters
    is_list_controls =          " alm99_controls_typ  Control Settings of the List Output
    is_list_settings =          " alm99_settings_typ  User Settings of the Output List
  TABLES
    it_gap_outcome =            " jbrrepgap     Gap/Actaul Results
*   it_sim_outcome =            " jbrrepgap     Results of the Online Evaluation
*   et_actual_list =            " jbrgapcash    List Output Only Actual Data
*   et_act_sim_list =           " jbralmcash    List Output Is Actual Data + Actual+Simulated Data
*   it_simvorginfo =            " almsimvorginfo  Table of Relevant Simulation Processes
    .  "  DETERMINE_LIST_03

ABAP code example for Function Module DETERMINE_LIST_03





The ABAP code below is a full code listing to execute function module DETERMINE_LIST_03 including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
it_it_gap_outcome  TYPE STANDARD TABLE OF JBRREPGAP,"TABLES PARAM
wa_it_gap_outcome  LIKE LINE OF it_it_gap_outcome ,
it_it_sim_outcome  TYPE STANDARD TABLE OF JBRREPGAP,"TABLES PARAM
wa_it_sim_outcome  LIKE LINE OF it_it_sim_outcome ,
it_et_actual_list  TYPE STANDARD TABLE OF JBRGAPCASH,"TABLES PARAM
wa_et_actual_list  LIKE LINE OF it_et_actual_list ,
it_et_act_sim_list  TYPE STANDARD TABLE OF JBRALMCASH,"TABLES PARAM
wa_et_act_sim_list  LIKE LINE OF it_et_act_sim_list ,
it_it_simvorginfo  TYPE STANDARD TABLE OF ALMSIMVORGINFO,"TABLES PARAM
wa_it_simvorginfo  LIKE LINE OF it_it_simvorginfo .

DATA(ld_is_gap_parameter) = 'Check type of data required'.
DATA(ld_is_list_controls) = 'Check type of data required'.
DATA(ld_is_list_settings) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_gap_outcome to it_it_gap_outcome.

"populate fields of struture and append to itab
append wa_it_sim_outcome to it_it_sim_outcome.

"populate fields of struture and append to itab
append wa_et_actual_list to it_et_actual_list.

"populate fields of struture and append to itab
append wa_et_act_sim_list to it_et_act_sim_list.

"populate fields of struture and append to itab
append wa_it_simvorginfo to it_it_simvorginfo. . CALL FUNCTION 'DETERMINE_LIST_03' EXPORTING is_gap_parameter = ld_is_gap_parameter is_list_controls = ld_is_list_controls is_list_settings = ld_is_list_settings TABLES it_gap_outcome = it_it_gap_outcome * it_sim_outcome = it_it_sim_outcome * et_actual_list = it_et_actual_list * et_act_sim_list = it_et_act_sim_list * it_simvorginfo = it_it_simvorginfo . " DETERMINE_LIST_03
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_is_gap_parameter  TYPE JBRGAPPARAMETER ,
it_it_gap_outcome  TYPE STANDARD TABLE OF JBRREPGAP ,
wa_it_gap_outcome  LIKE LINE OF it_it_gap_outcome,
ld_is_list_controls  TYPE ALM99_CONTROLS_TYP ,
it_it_sim_outcome  TYPE STANDARD TABLE OF JBRREPGAP ,
wa_it_sim_outcome  LIKE LINE OF it_it_sim_outcome,
ld_is_list_settings  TYPE ALM99_SETTINGS_TYP ,
it_et_actual_list  TYPE STANDARD TABLE OF JBRGAPCASH ,
wa_et_actual_list  LIKE LINE OF it_et_actual_list,
it_et_act_sim_list  TYPE STANDARD TABLE OF JBRALMCASH ,
wa_et_act_sim_list  LIKE LINE OF it_et_act_sim_list,
it_it_simvorginfo  TYPE STANDARD TABLE OF ALMSIMVORGINFO ,
wa_it_simvorginfo  LIKE LINE OF it_it_simvorginfo.

ld_is_gap_parameter = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_gap_outcome to it_it_gap_outcome.
ld_is_list_controls = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_sim_outcome to it_it_sim_outcome.
ld_is_list_settings = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_actual_list to it_et_actual_list.

"populate fields of struture and append to itab
append wa_et_act_sim_list to it_et_act_sim_list.

"populate fields of struture and append to itab
append wa_it_simvorginfo to it_it_simvorginfo.

SAP Documentation for FM DETERMINE_LIST_03


General module. Calls the actual list filling module. Is used for the generic call of the filling modules, based on the gap analysis selected. ...See here for full SAP fm documentation








Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name DETERMINE_LIST_03 or its description.