SAP Function Modules

MASS_CHANGE_DATA_DIALOG SAP Function module







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

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


Pattern for FM MASS_CHANGE_DATA_DIALOG - MASS CHANGE DATA DIALOG





CALL FUNCTION 'MASS_CHANGE_DATA_DIALOG' "
* EXPORTING
*   i_flg_no_dialog =           " xfeld
*   i_flg_maintain_tables =     " xfeld
*   i_flg_commit =              " xfeld
*   i_flg_test =                " xfeld
*   i_flg_online =              " xfeld
*   i_flg_batch =               " xfeld
*   i_flg_save =                " xfeld
*   i_flg_copy =                " xfeld
*   i_flg_store_settings =      " xfeld
*   i_flg_refresh =             " xfeld
*   i_flg_skip_to_tables =      " xfeld
*   i_flg_save_variant =        " xfeld
*   i_flg_shrink =              " xfeld
*   i_object_name =             " massfunc-object
*   i_current_tabname =         " tabname
*   i_flg_old_titles =          " xfeld
*   i_flg_old_status =          " xfeld
*   i_flg_no_popup =            " xfeld
*   i_flg_pass_okcode =         " xfeld
*   i_flg_pass_displ_fields =   " xfeld
  IMPORTING
    e_flg_test =                " xfeld
    e_flg_online =              " xfeld
    e_flg_batch =               " xfeld
    e_flg_save =                " xfeld
    e_flg_copy =                " xfeld
    e_flg_refresh =             " xfeld
    e_flg_save_variant =        " xfeld
    e_current_tabname =         " tabname
    e_okcode =                  " sy-ucomm
  TABLES
    t_tabinfos =                " masstabinfos
*   t_textinfos =               " mass_textinfos
*   t_changes =                 " mass_changes
*   t_appexits =                " mass_appexits
*   t_newentries =              " mass_newentries
*   t_table_1 =                 "
*   t_table_2 =                 "
*   t_table_3 =                 "
*   t_table_4 =                 "
*   t_table_5 =                 "
*   t_table_6 =                 "
*   t_table_7 =                 "
*   t_table_8 =                 "
*   t_table_9 =                 "
*   t_table_10 =                "
*   t_mod_table_1 =             "
*   t_mod_table_2 =             "
*   t_mod_table_3 =             "
*   t_mod_table_4 =             "
*   t_mod_table_5 =             "
*   t_mod_table_6 =             "
*   t_mod_table_7 =             "
*   t_mod_table_8 =             "
*   t_mod_table_9 =             "
*   t_mod_table_10 =            "
*   t_text_table_1 =            "
*   t_text_table_2 =            "
*   t_text_table_3 =            "
*   t_text_table_4 =            "
*   t_text_table_5 =            "
*   t_text_table_6 =            "
*   t_text_table_7 =            "
*   t_text_table_8 =            "
*   t_text_table_9 =            "
*   t_text_table_10 =           "
  CHANGING
    c_struc_1 =                 "
*   c_struc_2 =                 "
*   c_struc_3 =                 "
*   c_struc_4 =                 "
*   c_struc_5 =                 "
*   c_struc_6 =                 "
*   c_struc_7 =                 "
*   c_struc_8 =                 "
*   c_struc_9 =                 "
*   c_struc_10 =                "
    c_mod_struc_1 =             "
*   c_mod_struc_2 =             "
*   c_mod_struc_3 =             "
*   c_mod_struc_4 =             "
*   c_mod_struc_5 =             "
*   c_mod_struc_6 =             "
*   c_mod_struc_7 =             "
*   c_mod_struc_8 =             "
*   c_mod_struc_9 =             "
*   c_mod_struc_10 =            "
    c_cmp_struc_1 =             "
*   c_cmp_struc_2 =             "
*   c_cmp_struc_3 =             "
*   c_cmp_struc_4 =             "
*   c_cmp_struc_5 =             "
*   c_cmp_struc_6 =             "
*   c_cmp_struc_7 =             "
*   c_cmp_struc_8 =             "
*   c_cmp_struc_9 =             "
*   c_cmp_struc_10 =            "
  EXCEPTIONS
    CANCEL = 1                  "               Cancel
    TOO_MANY_TABLES_IN_TABLEDEF = 2  "
    TOO_MANY_FIELDS_IN_TABLEDEF = 3  "
    .  "  MASS_CHANGE_DATA_DIALOG

ABAP code example for Function Module MASS_CHANGE_DATA_DIALOG





The ABAP code below is a full code listing to execute function module MASS_CHANGE_DATA_DIALOG 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:
ld_e_flg_test  TYPE XFELD ,
ld_e_flg_online  TYPE XFELD ,
ld_e_flg_batch  TYPE XFELD ,
ld_e_flg_save  TYPE XFELD ,
ld_e_flg_copy  TYPE XFELD ,
ld_e_flg_refresh  TYPE XFELD ,
ld_e_flg_save_variant  TYPE XFELD ,
ld_e_current_tabname  TYPE TABNAME ,
ld_e_okcode  TYPE SY-UCOMM ,
it_t_tabinfos  TYPE STANDARD TABLE OF MASSTABINFOS,"TABLES PARAM
wa_t_tabinfos  LIKE LINE OF it_t_tabinfos ,
it_t_textinfos  TYPE STANDARD TABLE OF MASS_TEXTINFOS,"TABLES PARAM
wa_t_textinfos  LIKE LINE OF it_t_textinfos ,
it_t_changes  TYPE STANDARD TABLE OF MASS_CHANGES,"TABLES PARAM
wa_t_changes  LIKE LINE OF it_t_changes ,
it_t_appexits  TYPE STANDARD TABLE OF MASS_APPEXITS,"TABLES PARAM
wa_t_appexits  LIKE LINE OF it_t_appexits ,
it_t_newentries  TYPE STANDARD TABLE OF MASS_NEWENTRIES,"TABLES PARAM
wa_t_newentries  LIKE LINE OF it_t_newentries ,
it_t_table_1  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_1  LIKE LINE OF it_t_table_1 ,
it_t_table_2  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_2  LIKE LINE OF it_t_table_2 ,
it_t_table_3  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_3  LIKE LINE OF it_t_table_3 ,
it_t_table_4  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_4  LIKE LINE OF it_t_table_4 ,
it_t_table_5  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_5  LIKE LINE OF it_t_table_5 ,
it_t_table_6  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_6  LIKE LINE OF it_t_table_6 ,
it_t_table_7  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_7  LIKE LINE OF it_t_table_7 ,
it_t_table_8  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_8  LIKE LINE OF it_t_table_8 ,
it_t_table_9  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_9  LIKE LINE OF it_t_table_9 ,
it_t_table_10  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_table_10  LIKE LINE OF it_t_table_10 ,
it_t_mod_table_1  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_1  LIKE LINE OF it_t_mod_table_1 ,
it_t_mod_table_2  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_2  LIKE LINE OF it_t_mod_table_2 ,
it_t_mod_table_3  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_3  LIKE LINE OF it_t_mod_table_3 ,
it_t_mod_table_4  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_4  LIKE LINE OF it_t_mod_table_4 ,
it_t_mod_table_5  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_5  LIKE LINE OF it_t_mod_table_5 ,
it_t_mod_table_6  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_6  LIKE LINE OF it_t_mod_table_6 ,
it_t_mod_table_7  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_7  LIKE LINE OF it_t_mod_table_7 ,
it_t_mod_table_8  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_8  LIKE LINE OF it_t_mod_table_8 ,
it_t_mod_table_9  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_9  LIKE LINE OF it_t_mod_table_9 ,
it_t_mod_table_10  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_mod_table_10  LIKE LINE OF it_t_mod_table_10 ,
it_t_text_table_1  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_1  LIKE LINE OF it_t_text_table_1 ,
it_t_text_table_2  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_2  LIKE LINE OF it_t_text_table_2 ,
it_t_text_table_3  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_3  LIKE LINE OF it_t_text_table_3 ,
it_t_text_table_4  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_4  LIKE LINE OF it_t_text_table_4 ,
it_t_text_table_5  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_5  LIKE LINE OF it_t_text_table_5 ,
it_t_text_table_6  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_6  LIKE LINE OF it_t_text_table_6 ,
it_t_text_table_7  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_7  LIKE LINE OF it_t_text_table_7 ,
it_t_text_table_8  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_8  LIKE LINE OF it_t_text_table_8 ,
it_t_text_table_9  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_9  LIKE LINE OF it_t_text_table_9 ,
it_t_text_table_10  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_t_text_table_10  LIKE LINE OF it_t_text_table_10 .

DATA(ld_c_struc_1) = 'some text here'.
DATA(ld_c_struc_2) = 'some text here'.
DATA(ld_c_struc_3) = 'some text here'.
DATA(ld_c_struc_4) = 'some text here'.
DATA(ld_c_struc_5) = 'some text here'.
DATA(ld_c_struc_6) = 'some text here'.
DATA(ld_c_struc_7) = 'some text here'.
DATA(ld_c_struc_8) = 'some text here'.
DATA(ld_c_struc_9) = 'some text here'.
DATA(ld_c_struc_10) = 'some text here'.
DATA(ld_c_mod_struc_1) = 'some text here'.
DATA(ld_c_mod_struc_2) = 'some text here'.
DATA(ld_c_mod_struc_3) = 'some text here'.
DATA(ld_c_mod_struc_4) = 'some text here'.
DATA(ld_c_mod_struc_5) = 'some text here'.
DATA(ld_c_mod_struc_6) = 'some text here'.
DATA(ld_c_mod_struc_7) = 'some text here'.
DATA(ld_c_mod_struc_8) = 'some text here'.
DATA(ld_c_mod_struc_9) = 'some text here'.
DATA(ld_c_mod_struc_10) = 'some text here'.
DATA(ld_c_cmp_struc_1) = 'some text here'.
DATA(ld_c_cmp_struc_2) = 'some text here'.
DATA(ld_c_cmp_struc_3) = 'some text here'.
DATA(ld_c_cmp_struc_4) = 'some text here'.
DATA(ld_c_cmp_struc_5) = 'some text here'.
DATA(ld_c_cmp_struc_6) = 'some text here'.
DATA(ld_c_cmp_struc_7) = 'some text here'.
DATA(ld_c_cmp_struc_8) = 'some text here'.
DATA(ld_c_cmp_struc_9) = 'some text here'.
DATA(ld_c_cmp_struc_10) = 'some text here'.
DATA(ld_i_flg_no_dialog) = 'Check type of data required'.
DATA(ld_i_flg_maintain_tables) = 'Check type of data required'.
DATA(ld_i_flg_commit) = 'Check type of data required'.
DATA(ld_i_flg_test) = 'Check type of data required'.
DATA(ld_i_flg_online) = 'Check type of data required'.
DATA(ld_i_flg_batch) = 'Check type of data required'.
DATA(ld_i_flg_save) = 'Check type of data required'.
DATA(ld_i_flg_copy) = 'Check type of data required'.
DATA(ld_i_flg_store_settings) = 'Check type of data required'.
DATA(ld_i_flg_refresh) = 'Check type of data required'.
DATA(ld_i_flg_skip_to_tables) = 'Check type of data required'.
DATA(ld_i_flg_save_variant) = 'Check type of data required'.
DATA(ld_i_flg_shrink) = 'Check type of data required'.

SELECT single OBJECT
FROM MASSFUNC
INTO @DATA(ld_i_object_name).

DATA(ld_i_current_tabname) = 'Check type of data required'.
DATA(ld_i_flg_old_titles) = 'Check type of data required'.
DATA(ld_i_flg_old_status) = 'Check type of data required'.
DATA(ld_i_flg_no_popup) = 'Check type of data required'.
DATA(ld_i_flg_pass_okcode) = 'Check type of data required'.
DATA(ld_i_flg_pass_displ_fields) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_tabinfos to it_t_tabinfos.

"populate fields of struture and append to itab
append wa_t_textinfos to it_t_textinfos.

"populate fields of struture and append to itab
append wa_t_changes to it_t_changes.

"populate fields of struture and append to itab
append wa_t_appexits to it_t_appexits.

"populate fields of struture and append to itab
append wa_t_newentries to it_t_newentries.

"populate fields of struture and append to itab
append wa_t_table_1 to it_t_table_1.

"populate fields of struture and append to itab
append wa_t_table_2 to it_t_table_2.

"populate fields of struture and append to itab
append wa_t_table_3 to it_t_table_3.

"populate fields of struture and append to itab
append wa_t_table_4 to it_t_table_4.

"populate fields of struture and append to itab
append wa_t_table_5 to it_t_table_5.

"populate fields of struture and append to itab
append wa_t_table_6 to it_t_table_6.

"populate fields of struture and append to itab
append wa_t_table_7 to it_t_table_7.

"populate fields of struture and append to itab
append wa_t_table_8 to it_t_table_8.

"populate fields of struture and append to itab
append wa_t_table_9 to it_t_table_9.

"populate fields of struture and append to itab
append wa_t_table_10 to it_t_table_10.

"populate fields of struture and append to itab
append wa_t_mod_table_1 to it_t_mod_table_1.

"populate fields of struture and append to itab
append wa_t_mod_table_2 to it_t_mod_table_2.

"populate fields of struture and append to itab
append wa_t_mod_table_3 to it_t_mod_table_3.

"populate fields of struture and append to itab
append wa_t_mod_table_4 to it_t_mod_table_4.

"populate fields of struture and append to itab
append wa_t_mod_table_5 to it_t_mod_table_5.

"populate fields of struture and append to itab
append wa_t_mod_table_6 to it_t_mod_table_6.

"populate fields of struture and append to itab
append wa_t_mod_table_7 to it_t_mod_table_7.

"populate fields of struture and append to itab
append wa_t_mod_table_8 to it_t_mod_table_8.

"populate fields of struture and append to itab
append wa_t_mod_table_9 to it_t_mod_table_9.

"populate fields of struture and append to itab
append wa_t_mod_table_10 to it_t_mod_table_10.

"populate fields of struture and append to itab
append wa_t_text_table_1 to it_t_text_table_1.

"populate fields of struture and append to itab
append wa_t_text_table_2 to it_t_text_table_2.

"populate fields of struture and append to itab
append wa_t_text_table_3 to it_t_text_table_3.

"populate fields of struture and append to itab
append wa_t_text_table_4 to it_t_text_table_4.

"populate fields of struture and append to itab
append wa_t_text_table_5 to it_t_text_table_5.

"populate fields of struture and append to itab
append wa_t_text_table_6 to it_t_text_table_6.

"populate fields of struture and append to itab
append wa_t_text_table_7 to it_t_text_table_7.

"populate fields of struture and append to itab
append wa_t_text_table_8 to it_t_text_table_8.

"populate fields of struture and append to itab
append wa_t_text_table_9 to it_t_text_table_9.

"populate fields of struture and append to itab
append wa_t_text_table_10 to it_t_text_table_10. . CALL FUNCTION 'MASS_CHANGE_DATA_DIALOG' * EXPORTING * i_flg_no_dialog = ld_i_flg_no_dialog * i_flg_maintain_tables = ld_i_flg_maintain_tables * i_flg_commit = ld_i_flg_commit * i_flg_test = ld_i_flg_test * i_flg_online = ld_i_flg_online * i_flg_batch = ld_i_flg_batch * i_flg_save = ld_i_flg_save * i_flg_copy = ld_i_flg_copy * i_flg_store_settings = ld_i_flg_store_settings * i_flg_refresh = ld_i_flg_refresh * i_flg_skip_to_tables = ld_i_flg_skip_to_tables * i_flg_save_variant = ld_i_flg_save_variant * i_flg_shrink = ld_i_flg_shrink * i_object_name = ld_i_object_name * i_current_tabname = ld_i_current_tabname * i_flg_old_titles = ld_i_flg_old_titles * i_flg_old_status = ld_i_flg_old_status * i_flg_no_popup = ld_i_flg_no_popup * i_flg_pass_okcode = ld_i_flg_pass_okcode * i_flg_pass_displ_fields = ld_i_flg_pass_displ_fields IMPORTING e_flg_test = ld_e_flg_test e_flg_online = ld_e_flg_online e_flg_batch = ld_e_flg_batch e_flg_save = ld_e_flg_save e_flg_copy = ld_e_flg_copy e_flg_refresh = ld_e_flg_refresh e_flg_save_variant = ld_e_flg_save_variant e_current_tabname = ld_e_current_tabname e_okcode = ld_e_okcode TABLES t_tabinfos = it_t_tabinfos * t_textinfos = it_t_textinfos * t_changes = it_t_changes * t_appexits = it_t_appexits * t_newentries = it_t_newentries * t_table_1 = it_t_table_1 * t_table_2 = it_t_table_2 * t_table_3 = it_t_table_3 * t_table_4 = it_t_table_4 * t_table_5 = it_t_table_5 * t_table_6 = it_t_table_6 * t_table_7 = it_t_table_7 * t_table_8 = it_t_table_8 * t_table_9 = it_t_table_9 * t_table_10 = it_t_table_10 * t_mod_table_1 = it_t_mod_table_1 * t_mod_table_2 = it_t_mod_table_2 * t_mod_table_3 = it_t_mod_table_3 * t_mod_table_4 = it_t_mod_table_4 * t_mod_table_5 = it_t_mod_table_5 * t_mod_table_6 = it_t_mod_table_6 * t_mod_table_7 = it_t_mod_table_7 * t_mod_table_8 = it_t_mod_table_8 * t_mod_table_9 = it_t_mod_table_9 * t_mod_table_10 = it_t_mod_table_10 * t_text_table_1 = it_t_text_table_1 * t_text_table_2 = it_t_text_table_2 * t_text_table_3 = it_t_text_table_3 * t_text_table_4 = it_t_text_table_4 * t_text_table_5 = it_t_text_table_5 * t_text_table_6 = it_t_text_table_6 * t_text_table_7 = it_t_text_table_7 * t_text_table_8 = it_t_text_table_8 * t_text_table_9 = it_t_text_table_9 * t_text_table_10 = it_t_text_table_10 CHANGING c_struc_1 = ld_c_struc_1 * c_struc_2 = ld_c_struc_2 * c_struc_3 = ld_c_struc_3 * c_struc_4 = ld_c_struc_4 * c_struc_5 = ld_c_struc_5 * c_struc_6 = ld_c_struc_6 * c_struc_7 = ld_c_struc_7 * c_struc_8 = ld_c_struc_8 * c_struc_9 = ld_c_struc_9 * c_struc_10 = ld_c_struc_10 c_mod_struc_1 = ld_c_mod_struc_1 * c_mod_struc_2 = ld_c_mod_struc_2 * c_mod_struc_3 = ld_c_mod_struc_3 * c_mod_struc_4 = ld_c_mod_struc_4 * c_mod_struc_5 = ld_c_mod_struc_5 * c_mod_struc_6 = ld_c_mod_struc_6 * c_mod_struc_7 = ld_c_mod_struc_7 * c_mod_struc_8 = ld_c_mod_struc_8 * c_mod_struc_9 = ld_c_mod_struc_9 * c_mod_struc_10 = ld_c_mod_struc_10 c_cmp_struc_1 = ld_c_cmp_struc_1 * c_cmp_struc_2 = ld_c_cmp_struc_2 * c_cmp_struc_3 = ld_c_cmp_struc_3 * c_cmp_struc_4 = ld_c_cmp_struc_4 * c_cmp_struc_5 = ld_c_cmp_struc_5 * c_cmp_struc_6 = ld_c_cmp_struc_6 * c_cmp_struc_7 = ld_c_cmp_struc_7 * c_cmp_struc_8 = ld_c_cmp_struc_8 * c_cmp_struc_9 = ld_c_cmp_struc_9 * c_cmp_struc_10 = ld_c_cmp_struc_10 EXCEPTIONS CANCEL = 1 TOO_MANY_TABLES_IN_TABLEDEF = 2 TOO_MANY_FIELDS_IN_TABLEDEF = 3 . " MASS_CHANGE_DATA_DIALOG
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here 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_c_struc_1  TYPE STRING ,
ld_i_flg_no_dialog  TYPE XFELD ,
ld_e_flg_test  TYPE XFELD ,
it_t_tabinfos  TYPE STANDARD TABLE OF MASSTABINFOS ,
wa_t_tabinfos  LIKE LINE OF it_t_tabinfos,
ld_i_flg_maintain_tables  TYPE XFELD ,
ld_e_flg_online  TYPE XFELD ,
it_t_textinfos  TYPE STANDARD TABLE OF MASS_TEXTINFOS ,
wa_t_textinfos  LIKE LINE OF it_t_textinfos,
ld_c_struc_2  TYPE STRING ,
ld_c_struc_3  TYPE STRING ,
ld_i_flg_commit  TYPE XFELD ,
it_t_changes  TYPE STANDARD TABLE OF MASS_CHANGES ,
wa_t_changes  LIKE LINE OF it_t_changes,
ld_e_flg_batch  TYPE XFELD ,
ld_c_struc_4  TYPE STRING ,
it_t_appexits  TYPE STANDARD TABLE OF MASS_APPEXITS ,
wa_t_appexits  LIKE LINE OF it_t_appexits,
ld_i_flg_test  TYPE XFELD ,
ld_e_flg_save  TYPE XFELD ,
ld_c_struc_5  TYPE STRING ,
it_t_newentries  TYPE STANDARD TABLE OF MASS_NEWENTRIES ,
wa_t_newentries  LIKE LINE OF it_t_newentries,
ld_e_flg_copy  TYPE XFELD ,
ld_i_flg_online  TYPE XFELD ,
ld_e_flg_refresh  TYPE XFELD ,
it_t_table_1  TYPE STANDARD TABLE OF STRING ,
wa_t_table_1  LIKE LINE OF it_t_table_1,
ld_c_struc_6  TYPE STRING ,
ld_i_flg_batch  TYPE XFELD ,
ld_i_flg_save  TYPE XFELD ,
ld_c_struc_7  TYPE STRING ,
it_t_table_2  TYPE STANDARD TABLE OF STRING ,
wa_t_table_2  LIKE LINE OF it_t_table_2,
ld_e_flg_save_variant  TYPE XFELD ,
ld_e_current_tabname  TYPE TABNAME ,
ld_i_flg_copy  TYPE XFELD ,
it_t_table_3  TYPE STANDARD TABLE OF STRING ,
wa_t_table_3  LIKE LINE OF it_t_table_3,
ld_c_struc_8  TYPE STRING ,
ld_i_flg_store_settings  TYPE XFELD ,
it_t_table_4  TYPE STANDARD TABLE OF STRING ,
wa_t_table_4  LIKE LINE OF it_t_table_4,
ld_e_okcode  TYPE SY-UCOMM ,
ld_c_struc_9  TYPE STRING ,
ld_i_flg_refresh  TYPE XFELD ,
it_t_table_5  TYPE STANDARD TABLE OF STRING ,
wa_t_table_5  LIKE LINE OF it_t_table_5,
ld_c_struc_10  TYPE STRING ,
ld_c_mod_struc_1  TYPE STRING ,
it_t_table_6  TYPE STANDARD TABLE OF STRING ,
wa_t_table_6  LIKE LINE OF it_t_table_6,
ld_i_flg_skip_to_tables  TYPE XFELD ,
ld_c_mod_struc_2  TYPE STRING ,
it_t_table_7  TYPE STANDARD TABLE OF STRING ,
wa_t_table_7  LIKE LINE OF it_t_table_7,
ld_i_flg_save_variant  TYPE XFELD ,
it_t_table_8  TYPE STANDARD TABLE OF STRING ,
wa_t_table_8  LIKE LINE OF it_t_table_8,
ld_c_mod_struc_3  TYPE STRING ,
ld_i_flg_shrink  TYPE XFELD ,
ld_i_object_name  TYPE MASSFUNC-OBJECT ,
it_t_table_9  TYPE STANDARD TABLE OF STRING ,
wa_t_table_9  LIKE LINE OF it_t_table_9,
ld_c_mod_struc_4  TYPE STRING ,
it_t_table_10  TYPE STANDARD TABLE OF STRING ,
wa_t_table_10  LIKE LINE OF it_t_table_10,
ld_c_mod_struc_5  TYPE STRING ,
ld_i_current_tabname  TYPE TABNAME ,
it_t_mod_table_1  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_1  LIKE LINE OF it_t_mod_table_1,
ld_i_flg_old_titles  TYPE XFELD ,
ld_c_mod_struc_6  TYPE STRING ,
it_t_mod_table_2  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_2  LIKE LINE OF it_t_mod_table_2,
ld_i_flg_old_status  TYPE XFELD ,
ld_c_mod_struc_7  TYPE STRING ,
it_t_mod_table_3  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_3  LIKE LINE OF it_t_mod_table_3,
ld_c_mod_struc_8  TYPE STRING ,
ld_i_flg_no_popup  TYPE XFELD ,
ld_c_mod_struc_9  TYPE STRING ,
it_t_mod_table_4  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_4  LIKE LINE OF it_t_mod_table_4,
ld_i_flg_pass_okcode  TYPE XFELD ,
ld_c_mod_struc_10  TYPE STRING ,
it_t_mod_table_5  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_5  LIKE LINE OF it_t_mod_table_5,
ld_i_flg_pass_displ_fields  TYPE XFELD ,
ld_c_cmp_struc_1  TYPE STRING ,
it_t_mod_table_6  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_6  LIKE LINE OF it_t_mod_table_6,
it_t_mod_table_7  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_7  LIKE LINE OF it_t_mod_table_7,
ld_c_cmp_struc_2  TYPE STRING ,
ld_c_cmp_struc_3  TYPE STRING ,
it_t_mod_table_8  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_8  LIKE LINE OF it_t_mod_table_8,
ld_c_cmp_struc_4  TYPE STRING ,
it_t_mod_table_9  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_9  LIKE LINE OF it_t_mod_table_9,
ld_c_cmp_struc_5  TYPE STRING ,
it_t_mod_table_10  TYPE STANDARD TABLE OF STRING ,
wa_t_mod_table_10  LIKE LINE OF it_t_mod_table_10,
ld_c_cmp_struc_6  TYPE STRING ,
it_t_text_table_1  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_1  LIKE LINE OF it_t_text_table_1,
it_t_text_table_2  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_2  LIKE LINE OF it_t_text_table_2,
ld_c_cmp_struc_7  TYPE STRING ,
it_t_text_table_3  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_3  LIKE LINE OF it_t_text_table_3,
ld_c_cmp_struc_8  TYPE STRING ,
it_t_text_table_4  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_4  LIKE LINE OF it_t_text_table_4,
ld_c_cmp_struc_9  TYPE STRING ,
it_t_text_table_5  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_5  LIKE LINE OF it_t_text_table_5,
ld_c_cmp_struc_10  TYPE STRING ,
it_t_text_table_6  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_6  LIKE LINE OF it_t_text_table_6,
it_t_text_table_7  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_7  LIKE LINE OF it_t_text_table_7,
it_t_text_table_8  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_8  LIKE LINE OF it_t_text_table_8,
it_t_text_table_9  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_9  LIKE LINE OF it_t_text_table_9,
it_t_text_table_10  TYPE STANDARD TABLE OF STRING ,
wa_t_text_table_10  LIKE LINE OF it_t_text_table_10.

ld_c_struc_1 = 'some text here'.
ld_i_flg_no_dialog = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_tabinfos to it_t_tabinfos.
ld_i_flg_maintain_tables = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_textinfos to it_t_textinfos.
ld_c_struc_2 = 'some text here'.
ld_c_struc_3 = 'some text here'.
ld_i_flg_commit = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_changes to it_t_changes.
ld_c_struc_4 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_appexits to it_t_appexits.
ld_i_flg_test = 'Check type of data required'.
ld_c_struc_5 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_newentries to it_t_newentries.
ld_i_flg_online = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_table_1 to it_t_table_1.
ld_c_struc_6 = 'some text here'.
ld_i_flg_batch = 'Check type of data required'.
ld_i_flg_save = 'Check type of data required'.
ld_c_struc_7 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_table_2 to it_t_table_2.
ld_i_flg_copy = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_table_3 to it_t_table_3.
ld_c_struc_8 = 'some text here'.
ld_i_flg_store_settings = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_table_4 to it_t_table_4.
ld_c_struc_9 = 'some text here'.
ld_i_flg_refresh = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_table_5 to it_t_table_5.
ld_c_struc_10 = 'some text here'.
ld_c_mod_struc_1 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_table_6 to it_t_table_6.
ld_i_flg_skip_to_tables = 'Check type of data required'.
ld_c_mod_struc_2 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_table_7 to it_t_table_7.
ld_i_flg_save_variant = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_table_8 to it_t_table_8.
ld_c_mod_struc_3 = 'some text here'.
ld_i_flg_shrink = 'Check type of data required'.

SELECT single OBJECT
FROM MASSFUNC
INTO ld_i_object_name.


"populate fields of struture and append to itab
append wa_t_table_9 to it_t_table_9.
ld_c_mod_struc_4 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_table_10 to it_t_table_10.
ld_c_mod_struc_5 = 'some text here'.
ld_i_current_tabname = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_mod_table_1 to it_t_mod_table_1.
ld_i_flg_old_titles = 'Check type of data required'.
ld_c_mod_struc_6 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_mod_table_2 to it_t_mod_table_2.
ld_i_flg_old_status = 'Check type of data required'.
ld_c_mod_struc_7 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_mod_table_3 to it_t_mod_table_3.
ld_c_mod_struc_8 = 'some text here'.
ld_i_flg_no_popup = 'Check type of data required'.
ld_c_mod_struc_9 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_mod_table_4 to it_t_mod_table_4.
ld_i_flg_pass_okcode = 'Check type of data required'.
ld_c_mod_struc_10 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_mod_table_5 to it_t_mod_table_5.
ld_i_flg_pass_displ_fields = 'Check type of data required'.
ld_c_cmp_struc_1 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_mod_table_6 to it_t_mod_table_6.

"populate fields of struture and append to itab
append wa_t_mod_table_7 to it_t_mod_table_7.
ld_c_cmp_struc_2 = 'some text here'.
ld_c_cmp_struc_3 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_mod_table_8 to it_t_mod_table_8.
ld_c_cmp_struc_4 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_mod_table_9 to it_t_mod_table_9.
ld_c_cmp_struc_5 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_mod_table_10 to it_t_mod_table_10.
ld_c_cmp_struc_6 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_text_table_1 to it_t_text_table_1.

"populate fields of struture and append to itab
append wa_t_text_table_2 to it_t_text_table_2.
ld_c_cmp_struc_7 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_text_table_3 to it_t_text_table_3.
ld_c_cmp_struc_8 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_text_table_4 to it_t_text_table_4.
ld_c_cmp_struc_9 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_text_table_5 to it_t_text_table_5.
ld_c_cmp_struc_10 = 'some text here'.

"populate fields of struture and append to itab
append wa_t_text_table_6 to it_t_text_table_6.

"populate fields of struture and append to itab
append wa_t_text_table_7 to it_t_text_table_7.

"populate fields of struture and append to itab
append wa_t_text_table_8 to it_t_text_table_8.

"populate fields of struture and append to itab
append wa_t_text_table_9 to it_t_text_table_9.

"populate fields of struture and append to itab
append wa_t_text_table_10 to it_t_text_table_10.

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