SAP Function Modules

CO_RU_CLEAN_DIALOGTAB SAP Function module







CO_RU_CLEAN_DIALOGTAB 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 CO_RU_CLEAN_DIALOGTAB into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM CO_RU_CLEAN_DIALOGTAB - CO RU CLEAN DIALOGTAB





CALL FUNCTION 'CO_RU_CLEAN_DIALOGTAB' "
* EXPORTING
*   index_plpo = 0              " rclst-index_plpo  Index of the totals operation for SUB_OPER_FLAG active
*   sub_oper_flag = SPACE       " rc27x-flg_sel  Indicator: only dialog table for suboperations
*   is_coruf =                  " coruf         Input/output fields for order confirmations
  TABLES
    diatab_cnf =                " rulst         Dialog table of confirmations
    diatab_pos =                " rclst         Dialog table of the totals operations
    diatab_sop =                " rclst         Dialog table of suboperations
    .  "  CO_RU_CLEAN_DIALOGTAB

ABAP code example for Function Module CO_RU_CLEAN_DIALOGTAB





The ABAP code below is a full code listing to execute function module CO_RU_CLEAN_DIALOGTAB 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_diatab_cnf  TYPE STANDARD TABLE OF RULST,"TABLES PARAM
wa_diatab_cnf  LIKE LINE OF it_diatab_cnf ,
it_diatab_pos  TYPE STANDARD TABLE OF RCLST,"TABLES PARAM
wa_diatab_pos  LIKE LINE OF it_diatab_pos ,
it_diatab_sop  TYPE STANDARD TABLE OF RCLST,"TABLES PARAM
wa_diatab_sop  LIKE LINE OF it_diatab_sop .


DATA(ld_index_plpo) = 123

DATA(ld_sub_oper_flag) = some text here
DATA(ld_is_coruf) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_diatab_cnf to it_diatab_cnf.

"populate fields of struture and append to itab
append wa_diatab_pos to it_diatab_pos.

"populate fields of struture and append to itab
append wa_diatab_sop to it_diatab_sop. . CALL FUNCTION 'CO_RU_CLEAN_DIALOGTAB' * EXPORTING * index_plpo = ld_index_plpo * sub_oper_flag = ld_sub_oper_flag * is_coruf = ld_is_coruf TABLES diatab_cnf = it_diatab_cnf diatab_pos = it_diatab_pos diatab_sop = it_diatab_sop . " CO_RU_CLEAN_DIALOGTAB
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_index_plpo  TYPE RCLST-INDEX_PLPO ,
it_diatab_cnf  TYPE STANDARD TABLE OF RULST ,
wa_diatab_cnf  LIKE LINE OF it_diatab_cnf,
ld_sub_oper_flag  TYPE RC27X-FLG_SEL ,
it_diatab_pos  TYPE STANDARD TABLE OF RCLST ,
wa_diatab_pos  LIKE LINE OF it_diatab_pos,
ld_is_coruf  TYPE CORUF ,
it_diatab_sop  TYPE STANDARD TABLE OF RCLST ,
wa_diatab_sop  LIKE LINE OF it_diatab_sop.


ld_index_plpo = 123

"populate fields of struture and append to itab
append wa_diatab_cnf to it_diatab_cnf.

ld_sub_oper_flag = some text here

"populate fields of struture and append to itab
append wa_diatab_pos to it_diatab_pos.
ld_is_coruf = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_diatab_sop to it_diatab_sop.

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 CO_RU_CLEAN_DIALOGTAB or its description.