SAP Function Modules

MATERIAL_ARRAY_UPDATE_RETAIL_2 SAP Function module







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

Associated Function Group: MGUV
Released Date: Not Released
Processing type: Start update immediately (start immed)
update module start immediate settings


Pattern for FM MATERIAL_ARRAY_UPDATE_RETAIL_2 - MATERIAL ARRAY UPDATE RETAIL 2





CALL FUNCTION 'MATERIAL_ARRAY_UPDATE_RETAIL_2' "
* EXPORTING
*   flg_uebernahme = SPACE      " t130f-kzref
*   kz_aend = 'X'               " mdat1-kz_aend
*   kz_dispo = 'X'              " mdat1-kz_dispo
*   kz_kalk = 'X'               " mdat1-kz_dispo
*   sperrmodus = 'E'            " tvgvi-spera
*   p_call_mode2 = SPACE        " rmmg2-call_mode2
*   kz_classif_chg =            " mdat1-kz_aend
  TABLES
    tvartab =                   " svartab
    twerkstab =                 " werkstab
*   tvtltab =                   " svtltab
    changed_materials =         " chmaras
    mara_upd_tab =              " mara
    mara_ins_tab =              " mara
    omara =                     " mara
    marc_upd_tab =              " marc
    marc_ins_tab =              " marc
    omarc =                     " marc
    mard_upd_tab =              " mard
    mard_ins_tab =              " mard
    omard =                     " mard
    mvke_upd_tab =              " mvke
    mvke_ins_tab =              " mvke
    omvke =                     " mvke
    mbew_upd_tab =              " mbew
    mbew_ins_tab =              " mbew
    ombew =                     " mbew
    mlgn_upd_tab =              " mlgn
    mlgn_ins_tab =              " mlgn
    omlgn =                     " mlgn
    mlgt_upd_tab =              " mlgt
    mlgt_ins_tab =              " mlgt
    omlgt =                     " mlgt
    myms_upd_tab =              " myms
    myms_ins_tab =              " myms
    myms_del_tab =              " myms
    mpop_upd_tab =              " mpop
    mpop_ins_tab =              " mpop
    ompop =                     " mpop
    mfhm_upd_tab =              " mfhm
    mfhm_ins_tab =              " mfhm
    omfhm =                     " mfhm
    mpgd_upd_tab =              " mpgd
    mpgd_ins_tab =              " mpgd
    mpgd_del_tab =              " mpgd
    ompgd =                     " mpgd
    maw1_upd_tab =              " maw1
    maw1_ins_tab =              " maw1
    omaw1 =                     " maw1
    wlk2_upd_tab =              " wlk2
    wlk2_ins_tab =              " wlk2
    owlk2 =                     " wlk2
    marm_upd_tab =              " marm
    marm_ins_tab =              " marm
    marm_del_tab =              " marm
    omarm =                     " marm
    makt_upd_tab =              " makt
    makt_ins_tab =              " makt
    makt_del_tab =              " makt
    omakt =                     " makt
    mlea_upd_tab =              " mlea
    mlea_ins_tab =              " mlea
    mlea_del_tab =              " mlea
    omlea =                     " mlea
    mean_upd_tab =              " mean
    mean_ins_tab =              " mean
    mean_del_tab =              " mean
    omean =                     " mean
    isteuertab_f =              " msteuer_f
    osteuertab_f =              " msteuer_f
    isteummtab_f =              " msteumm_f
    osteummtab_f =              " msteumm_f
    malg_upd_tab =              " malg
    malg_ins_tab =              " malg
    malg_del_tab =              " malg
    omalg =                     " malg
    mamt_upd_tab =              " mamt
    mamt_ins_tab =              " mamt
    mamt_del_tab =              " mamt
    omamt =                     " mamt
    prgn_messages_upd_tab =     " prof
    prgn_messages_ins_tab =     " prof
    prgn_messages_del_tab =     " prof
    tprow_tab =                 " prowfa_f
    oprow_tab =                 " prowfa_f
    oges_verb_tab =             " sverbtab_f
    oung_verb_tab =             " sverbtab_f
    ges_verb_tab =              " sverbtab_f
    ung_verb_tab =              " sverbtab_f
    mver_upd_tab =              " mver
    mver_ins_tab =              " mver
    imabw =                     " mabw
    mabw_new =                  " mabw
    mabw_del =                  " mabw
    mabw_mat =                  " pre03
    wcdtxt_material =           " cdtxt
*   wrk_tab =                   " swrk_copy_from_eine  Plants Needing to Be Adapted to Changed Purchasing Info Rec.
*   container =                 " mwint_container
  EXCEPTIONS
    INTERNAL_ERROR = 1          "
    .  "  MATERIAL_ARRAY_UPDATE_RETAIL_2

ABAP code example for Function Module MATERIAL_ARRAY_UPDATE_RETAIL_2





The ABAP code below is a full code listing to execute function module MATERIAL_ARRAY_UPDATE_RETAIL_2 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_tvartab  TYPE STANDARD TABLE OF SVARTAB,"TABLES PARAM
wa_tvartab  LIKE LINE OF it_tvartab ,
it_twerkstab  TYPE STANDARD TABLE OF WERKSTAB,"TABLES PARAM
wa_twerkstab  LIKE LINE OF it_twerkstab ,
it_tvtltab  TYPE STANDARD TABLE OF SVTLTAB,"TABLES PARAM
wa_tvtltab  LIKE LINE OF it_tvtltab ,
it_changed_materials  TYPE STANDARD TABLE OF CHMARAS,"TABLES PARAM
wa_changed_materials  LIKE LINE OF it_changed_materials ,
it_mara_upd_tab  TYPE STANDARD TABLE OF MARA,"TABLES PARAM
wa_mara_upd_tab  LIKE LINE OF it_mara_upd_tab ,
it_mara_ins_tab  TYPE STANDARD TABLE OF MARA,"TABLES PARAM
wa_mara_ins_tab  LIKE LINE OF it_mara_ins_tab ,
it_omara  TYPE STANDARD TABLE OF MARA,"TABLES PARAM
wa_omara  LIKE LINE OF it_omara ,
it_marc_upd_tab  TYPE STANDARD TABLE OF MARC,"TABLES PARAM
wa_marc_upd_tab  LIKE LINE OF it_marc_upd_tab ,
it_marc_ins_tab  TYPE STANDARD TABLE OF MARC,"TABLES PARAM
wa_marc_ins_tab  LIKE LINE OF it_marc_ins_tab ,
it_omarc  TYPE STANDARD TABLE OF MARC,"TABLES PARAM
wa_omarc  LIKE LINE OF it_omarc ,
it_mard_upd_tab  TYPE STANDARD TABLE OF MARD,"TABLES PARAM
wa_mard_upd_tab  LIKE LINE OF it_mard_upd_tab ,
it_mard_ins_tab  TYPE STANDARD TABLE OF MARD,"TABLES PARAM
wa_mard_ins_tab  LIKE LINE OF it_mard_ins_tab ,
it_omard  TYPE STANDARD TABLE OF MARD,"TABLES PARAM
wa_omard  LIKE LINE OF it_omard ,
it_mvke_upd_tab  TYPE STANDARD TABLE OF MVKE,"TABLES PARAM
wa_mvke_upd_tab  LIKE LINE OF it_mvke_upd_tab ,
it_mvke_ins_tab  TYPE STANDARD TABLE OF MVKE,"TABLES PARAM
wa_mvke_ins_tab  LIKE LINE OF it_mvke_ins_tab ,
it_omvke  TYPE STANDARD TABLE OF MVKE,"TABLES PARAM
wa_omvke  LIKE LINE OF it_omvke ,
it_mbew_upd_tab  TYPE STANDARD TABLE OF MBEW,"TABLES PARAM
wa_mbew_upd_tab  LIKE LINE OF it_mbew_upd_tab ,
it_mbew_ins_tab  TYPE STANDARD TABLE OF MBEW,"TABLES PARAM
wa_mbew_ins_tab  LIKE LINE OF it_mbew_ins_tab ,
it_ombew  TYPE STANDARD TABLE OF MBEW,"TABLES PARAM
wa_ombew  LIKE LINE OF it_ombew ,
it_mlgn_upd_tab  TYPE STANDARD TABLE OF MLGN,"TABLES PARAM
wa_mlgn_upd_tab  LIKE LINE OF it_mlgn_upd_tab ,
it_mlgn_ins_tab  TYPE STANDARD TABLE OF MLGN,"TABLES PARAM
wa_mlgn_ins_tab  LIKE LINE OF it_mlgn_ins_tab ,
it_omlgn  TYPE STANDARD TABLE OF MLGN,"TABLES PARAM
wa_omlgn  LIKE LINE OF it_omlgn ,
it_mlgt_upd_tab  TYPE STANDARD TABLE OF MLGT,"TABLES PARAM
wa_mlgt_upd_tab  LIKE LINE OF it_mlgt_upd_tab ,
it_mlgt_ins_tab  TYPE STANDARD TABLE OF MLGT,"TABLES PARAM
wa_mlgt_ins_tab  LIKE LINE OF it_mlgt_ins_tab ,
it_omlgt  TYPE STANDARD TABLE OF MLGT,"TABLES PARAM
wa_omlgt  LIKE LINE OF it_omlgt ,
it_myms_upd_tab  TYPE STANDARD TABLE OF MYMS,"TABLES PARAM
wa_myms_upd_tab  LIKE LINE OF it_myms_upd_tab ,
it_myms_ins_tab  TYPE STANDARD TABLE OF MYMS,"TABLES PARAM
wa_myms_ins_tab  LIKE LINE OF it_myms_ins_tab ,
it_myms_del_tab  TYPE STANDARD TABLE OF MYMS,"TABLES PARAM
wa_myms_del_tab  LIKE LINE OF it_myms_del_tab ,
it_mpop_upd_tab  TYPE STANDARD TABLE OF MPOP,"TABLES PARAM
wa_mpop_upd_tab  LIKE LINE OF it_mpop_upd_tab ,
it_mpop_ins_tab  TYPE STANDARD TABLE OF MPOP,"TABLES PARAM
wa_mpop_ins_tab  LIKE LINE OF it_mpop_ins_tab ,
it_ompop  TYPE STANDARD TABLE OF MPOP,"TABLES PARAM
wa_ompop  LIKE LINE OF it_ompop ,
it_mfhm_upd_tab  TYPE STANDARD TABLE OF MFHM,"TABLES PARAM
wa_mfhm_upd_tab  LIKE LINE OF it_mfhm_upd_tab ,
it_mfhm_ins_tab  TYPE STANDARD TABLE OF MFHM,"TABLES PARAM
wa_mfhm_ins_tab  LIKE LINE OF it_mfhm_ins_tab ,
it_omfhm  TYPE STANDARD TABLE OF MFHM,"TABLES PARAM
wa_omfhm  LIKE LINE OF it_omfhm ,
it_mpgd_upd_tab  TYPE STANDARD TABLE OF MPGD,"TABLES PARAM
wa_mpgd_upd_tab  LIKE LINE OF it_mpgd_upd_tab ,
it_mpgd_ins_tab  TYPE STANDARD TABLE OF MPGD,"TABLES PARAM
wa_mpgd_ins_tab  LIKE LINE OF it_mpgd_ins_tab ,
it_mpgd_del_tab  TYPE STANDARD TABLE OF MPGD,"TABLES PARAM
wa_mpgd_del_tab  LIKE LINE OF it_mpgd_del_tab ,
it_ompgd  TYPE STANDARD TABLE OF MPGD,"TABLES PARAM
wa_ompgd  LIKE LINE OF it_ompgd ,
it_maw1_upd_tab  TYPE STANDARD TABLE OF MAW1,"TABLES PARAM
wa_maw1_upd_tab  LIKE LINE OF it_maw1_upd_tab ,
it_maw1_ins_tab  TYPE STANDARD TABLE OF MAW1,"TABLES PARAM
wa_maw1_ins_tab  LIKE LINE OF it_maw1_ins_tab ,
it_omaw1  TYPE STANDARD TABLE OF MAW1,"TABLES PARAM
wa_omaw1  LIKE LINE OF it_omaw1 ,
it_wlk2_upd_tab  TYPE STANDARD TABLE OF WLK2,"TABLES PARAM
wa_wlk2_upd_tab  LIKE LINE OF it_wlk2_upd_tab ,
it_wlk2_ins_tab  TYPE STANDARD TABLE OF WLK2,"TABLES PARAM
wa_wlk2_ins_tab  LIKE LINE OF it_wlk2_ins_tab ,
it_owlk2  TYPE STANDARD TABLE OF WLK2,"TABLES PARAM
wa_owlk2  LIKE LINE OF it_owlk2 ,
it_marm_upd_tab  TYPE STANDARD TABLE OF MARM,"TABLES PARAM
wa_marm_upd_tab  LIKE LINE OF it_marm_upd_tab ,
it_marm_ins_tab  TYPE STANDARD TABLE OF MARM,"TABLES PARAM
wa_marm_ins_tab  LIKE LINE OF it_marm_ins_tab ,
it_marm_del_tab  TYPE STANDARD TABLE OF MARM,"TABLES PARAM
wa_marm_del_tab  LIKE LINE OF it_marm_del_tab ,
it_omarm  TYPE STANDARD TABLE OF MARM,"TABLES PARAM
wa_omarm  LIKE LINE OF it_omarm ,
it_makt_upd_tab  TYPE STANDARD TABLE OF MAKT,"TABLES PARAM
wa_makt_upd_tab  LIKE LINE OF it_makt_upd_tab ,
it_makt_ins_tab  TYPE STANDARD TABLE OF MAKT,"TABLES PARAM
wa_makt_ins_tab  LIKE LINE OF it_makt_ins_tab ,
it_makt_del_tab  TYPE STANDARD TABLE OF MAKT,"TABLES PARAM
wa_makt_del_tab  LIKE LINE OF it_makt_del_tab ,
it_omakt  TYPE STANDARD TABLE OF MAKT,"TABLES PARAM
wa_omakt  LIKE LINE OF it_omakt ,
it_mlea_upd_tab  TYPE STANDARD TABLE OF MLEA,"TABLES PARAM
wa_mlea_upd_tab  LIKE LINE OF it_mlea_upd_tab ,
it_mlea_ins_tab  TYPE STANDARD TABLE OF MLEA,"TABLES PARAM
wa_mlea_ins_tab  LIKE LINE OF it_mlea_ins_tab ,
it_mlea_del_tab  TYPE STANDARD TABLE OF MLEA,"TABLES PARAM
wa_mlea_del_tab  LIKE LINE OF it_mlea_del_tab ,
it_omlea  TYPE STANDARD TABLE OF MLEA,"TABLES PARAM
wa_omlea  LIKE LINE OF it_omlea ,
it_mean_upd_tab  TYPE STANDARD TABLE OF MEAN,"TABLES PARAM
wa_mean_upd_tab  LIKE LINE OF it_mean_upd_tab ,
it_mean_ins_tab  TYPE STANDARD TABLE OF MEAN,"TABLES PARAM
wa_mean_ins_tab  LIKE LINE OF it_mean_ins_tab ,
it_mean_del_tab  TYPE STANDARD TABLE OF MEAN,"TABLES PARAM
wa_mean_del_tab  LIKE LINE OF it_mean_del_tab ,
it_omean  TYPE STANDARD TABLE OF MEAN,"TABLES PARAM
wa_omean  LIKE LINE OF it_omean ,
it_isteuertab_f  TYPE STANDARD TABLE OF MSTEUER_F,"TABLES PARAM
wa_isteuertab_f  LIKE LINE OF it_isteuertab_f ,
it_osteuertab_f  TYPE STANDARD TABLE OF MSTEUER_F,"TABLES PARAM
wa_osteuertab_f  LIKE LINE OF it_osteuertab_f ,
it_isteummtab_f  TYPE STANDARD TABLE OF MSTEUMM_F,"TABLES PARAM
wa_isteummtab_f  LIKE LINE OF it_isteummtab_f ,
it_osteummtab_f  TYPE STANDARD TABLE OF MSTEUMM_F,"TABLES PARAM
wa_osteummtab_f  LIKE LINE OF it_osteummtab_f ,
it_malg_upd_tab  TYPE STANDARD TABLE OF MALG,"TABLES PARAM
wa_malg_upd_tab  LIKE LINE OF it_malg_upd_tab ,
it_malg_ins_tab  TYPE STANDARD TABLE OF MALG,"TABLES PARAM
wa_malg_ins_tab  LIKE LINE OF it_malg_ins_tab ,
it_malg_del_tab  TYPE STANDARD TABLE OF MALG,"TABLES PARAM
wa_malg_del_tab  LIKE LINE OF it_malg_del_tab ,
it_omalg  TYPE STANDARD TABLE OF MALG,"TABLES PARAM
wa_omalg  LIKE LINE OF it_omalg ,
it_mamt_upd_tab  TYPE STANDARD TABLE OF MAMT,"TABLES PARAM
wa_mamt_upd_tab  LIKE LINE OF it_mamt_upd_tab ,
it_mamt_ins_tab  TYPE STANDARD TABLE OF MAMT,"TABLES PARAM
wa_mamt_ins_tab  LIKE LINE OF it_mamt_ins_tab ,
it_mamt_del_tab  TYPE STANDARD TABLE OF MAMT,"TABLES PARAM
wa_mamt_del_tab  LIKE LINE OF it_mamt_del_tab ,
it_omamt  TYPE STANDARD TABLE OF MAMT,"TABLES PARAM
wa_omamt  LIKE LINE OF it_omamt ,
it_prgn_messages_upd_tab  TYPE STANDARD TABLE OF PROF,"TABLES PARAM
wa_prgn_messages_upd_tab  LIKE LINE OF it_prgn_messages_upd_tab ,
it_prgn_messages_ins_tab  TYPE STANDARD TABLE OF PROF,"TABLES PARAM
wa_prgn_messages_ins_tab  LIKE LINE OF it_prgn_messages_ins_tab ,
it_prgn_messages_del_tab  TYPE STANDARD TABLE OF PROF,"TABLES PARAM
wa_prgn_messages_del_tab  LIKE LINE OF it_prgn_messages_del_tab ,
it_tprow_tab  TYPE STANDARD TABLE OF PROWFA_F,"TABLES PARAM
wa_tprow_tab  LIKE LINE OF it_tprow_tab ,
it_oprow_tab  TYPE STANDARD TABLE OF PROWFA_F,"TABLES PARAM
wa_oprow_tab  LIKE LINE OF it_oprow_tab ,
it_oges_verb_tab  TYPE STANDARD TABLE OF SVERBTAB_F,"TABLES PARAM
wa_oges_verb_tab  LIKE LINE OF it_oges_verb_tab ,
it_oung_verb_tab  TYPE STANDARD TABLE OF SVERBTAB_F,"TABLES PARAM
wa_oung_verb_tab  LIKE LINE OF it_oung_verb_tab ,
it_ges_verb_tab  TYPE STANDARD TABLE OF SVERBTAB_F,"TABLES PARAM
wa_ges_verb_tab  LIKE LINE OF it_ges_verb_tab ,
it_ung_verb_tab  TYPE STANDARD TABLE OF SVERBTAB_F,"TABLES PARAM
wa_ung_verb_tab  LIKE LINE OF it_ung_verb_tab ,
it_mver_upd_tab  TYPE STANDARD TABLE OF MVER,"TABLES PARAM
wa_mver_upd_tab  LIKE LINE OF it_mver_upd_tab ,
it_mver_ins_tab  TYPE STANDARD TABLE OF MVER,"TABLES PARAM
wa_mver_ins_tab  LIKE LINE OF it_mver_ins_tab ,
it_imabw  TYPE STANDARD TABLE OF MABW,"TABLES PARAM
wa_imabw  LIKE LINE OF it_imabw ,
it_mabw_new  TYPE STANDARD TABLE OF MABW,"TABLES PARAM
wa_mabw_new  LIKE LINE OF it_mabw_new ,
it_mabw_del  TYPE STANDARD TABLE OF MABW,"TABLES PARAM
wa_mabw_del  LIKE LINE OF it_mabw_del ,
it_mabw_mat  TYPE STANDARD TABLE OF PRE03,"TABLES PARAM
wa_mabw_mat  LIKE LINE OF it_mabw_mat ,
it_wcdtxt_material  TYPE STANDARD TABLE OF CDTXT,"TABLES PARAM
wa_wcdtxt_material  LIKE LINE OF it_wcdtxt_material ,
it_wrk_tab  TYPE STANDARD TABLE OF SWRK_COPY_FROM_EINE,"TABLES PARAM
wa_wrk_tab  LIKE LINE OF it_wrk_tab ,
it_container  TYPE STANDARD TABLE OF MWINT_CONTAINER,"TABLES PARAM
wa_container  LIKE LINE OF it_container .


SELECT single KZREF
FROM T130F
INTO @DATA(ld_flg_uebernahme).


DATA(ld_kz_aend) = some text here

DATA(ld_kz_dispo) = some text here

DATA(ld_kz_kalk) = some text here

SELECT single SPERA
FROM TVGVI
INTO @DATA(ld_sperrmodus).


DATA(ld_p_call_mode2) = some text here

DATA(ld_kz_classif_chg) = some text here

"populate fields of struture and append to itab
append wa_tvartab to it_tvartab.

"populate fields of struture and append to itab
append wa_twerkstab to it_twerkstab.

"populate fields of struture and append to itab
append wa_tvtltab to it_tvtltab.

"populate fields of struture and append to itab
append wa_changed_materials to it_changed_materials.

"populate fields of struture and append to itab
append wa_mara_upd_tab to it_mara_upd_tab.

"populate fields of struture and append to itab
append wa_mara_ins_tab to it_mara_ins_tab.

"populate fields of struture and append to itab
append wa_omara to it_omara.

"populate fields of struture and append to itab
append wa_marc_upd_tab to it_marc_upd_tab.

"populate fields of struture and append to itab
append wa_marc_ins_tab to it_marc_ins_tab.

"populate fields of struture and append to itab
append wa_omarc to it_omarc.

"populate fields of struture and append to itab
append wa_mard_upd_tab to it_mard_upd_tab.

"populate fields of struture and append to itab
append wa_mard_ins_tab to it_mard_ins_tab.

"populate fields of struture and append to itab
append wa_omard to it_omard.

"populate fields of struture and append to itab
append wa_mvke_upd_tab to it_mvke_upd_tab.

"populate fields of struture and append to itab
append wa_mvke_ins_tab to it_mvke_ins_tab.

"populate fields of struture and append to itab
append wa_omvke to it_omvke.

"populate fields of struture and append to itab
append wa_mbew_upd_tab to it_mbew_upd_tab.

"populate fields of struture and append to itab
append wa_mbew_ins_tab to it_mbew_ins_tab.

"populate fields of struture and append to itab
append wa_ombew to it_ombew.

"populate fields of struture and append to itab
append wa_mlgn_upd_tab to it_mlgn_upd_tab.

"populate fields of struture and append to itab
append wa_mlgn_ins_tab to it_mlgn_ins_tab.

"populate fields of struture and append to itab
append wa_omlgn to it_omlgn.

"populate fields of struture and append to itab
append wa_mlgt_upd_tab to it_mlgt_upd_tab.

"populate fields of struture and append to itab
append wa_mlgt_ins_tab to it_mlgt_ins_tab.

"populate fields of struture and append to itab
append wa_omlgt to it_omlgt.

"populate fields of struture and append to itab
append wa_myms_upd_tab to it_myms_upd_tab.

"populate fields of struture and append to itab
append wa_myms_ins_tab to it_myms_ins_tab.

"populate fields of struture and append to itab
append wa_myms_del_tab to it_myms_del_tab.

"populate fields of struture and append to itab
append wa_mpop_upd_tab to it_mpop_upd_tab.

"populate fields of struture and append to itab
append wa_mpop_ins_tab to it_mpop_ins_tab.

"populate fields of struture and append to itab
append wa_ompop to it_ompop.

"populate fields of struture and append to itab
append wa_mfhm_upd_tab to it_mfhm_upd_tab.

"populate fields of struture and append to itab
append wa_mfhm_ins_tab to it_mfhm_ins_tab.

"populate fields of struture and append to itab
append wa_omfhm to it_omfhm.

"populate fields of struture and append to itab
append wa_mpgd_upd_tab to it_mpgd_upd_tab.

"populate fields of struture and append to itab
append wa_mpgd_ins_tab to it_mpgd_ins_tab.

"populate fields of struture and append to itab
append wa_mpgd_del_tab to it_mpgd_del_tab.

"populate fields of struture and append to itab
append wa_ompgd to it_ompgd.

"populate fields of struture and append to itab
append wa_maw1_upd_tab to it_maw1_upd_tab.

"populate fields of struture and append to itab
append wa_maw1_ins_tab to it_maw1_ins_tab.

"populate fields of struture and append to itab
append wa_omaw1 to it_omaw1.

"populate fields of struture and append to itab
append wa_wlk2_upd_tab to it_wlk2_upd_tab.

"populate fields of struture and append to itab
append wa_wlk2_ins_tab to it_wlk2_ins_tab.

"populate fields of struture and append to itab
append wa_owlk2 to it_owlk2.

"populate fields of struture and append to itab
append wa_marm_upd_tab to it_marm_upd_tab.

"populate fields of struture and append to itab
append wa_marm_ins_tab to it_marm_ins_tab.

"populate fields of struture and append to itab
append wa_marm_del_tab to it_marm_del_tab.

"populate fields of struture and append to itab
append wa_omarm to it_omarm.

"populate fields of struture and append to itab
append wa_makt_upd_tab to it_makt_upd_tab.

"populate fields of struture and append to itab
append wa_makt_ins_tab to it_makt_ins_tab.

"populate fields of struture and append to itab
append wa_makt_del_tab to it_makt_del_tab.

"populate fields of struture and append to itab
append wa_omakt to it_omakt.

"populate fields of struture and append to itab
append wa_mlea_upd_tab to it_mlea_upd_tab.

"populate fields of struture and append to itab
append wa_mlea_ins_tab to it_mlea_ins_tab.

"populate fields of struture and append to itab
append wa_mlea_del_tab to it_mlea_del_tab.

"populate fields of struture and append to itab
append wa_omlea to it_omlea.

"populate fields of struture and append to itab
append wa_mean_upd_tab to it_mean_upd_tab.

"populate fields of struture and append to itab
append wa_mean_ins_tab to it_mean_ins_tab.

"populate fields of struture and append to itab
append wa_mean_del_tab to it_mean_del_tab.

"populate fields of struture and append to itab
append wa_omean to it_omean.

"populate fields of struture and append to itab
append wa_isteuertab_f to it_isteuertab_f.

"populate fields of struture and append to itab
append wa_osteuertab_f to it_osteuertab_f.

"populate fields of struture and append to itab
append wa_isteummtab_f to it_isteummtab_f.

"populate fields of struture and append to itab
append wa_osteummtab_f to it_osteummtab_f.

"populate fields of struture and append to itab
append wa_malg_upd_tab to it_malg_upd_tab.

"populate fields of struture and append to itab
append wa_malg_ins_tab to it_malg_ins_tab.

"populate fields of struture and append to itab
append wa_malg_del_tab to it_malg_del_tab.

"populate fields of struture and append to itab
append wa_omalg to it_omalg.

"populate fields of struture and append to itab
append wa_mamt_upd_tab to it_mamt_upd_tab.

"populate fields of struture and append to itab
append wa_mamt_ins_tab to it_mamt_ins_tab.

"populate fields of struture and append to itab
append wa_mamt_del_tab to it_mamt_del_tab.

"populate fields of struture and append to itab
append wa_omamt to it_omamt.

"populate fields of struture and append to itab
append wa_prgn_messages_upd_tab to it_prgn_messages_upd_tab.

"populate fields of struture and append to itab
append wa_prgn_messages_ins_tab to it_prgn_messages_ins_tab.

"populate fields of struture and append to itab
append wa_prgn_messages_del_tab to it_prgn_messages_del_tab.

"populate fields of struture and append to itab
append wa_tprow_tab to it_tprow_tab.

"populate fields of struture and append to itab
append wa_oprow_tab to it_oprow_tab.

"populate fields of struture and append to itab
append wa_oges_verb_tab to it_oges_verb_tab.

"populate fields of struture and append to itab
append wa_oung_verb_tab to it_oung_verb_tab.

"populate fields of struture and append to itab
append wa_ges_verb_tab to it_ges_verb_tab.

"populate fields of struture and append to itab
append wa_ung_verb_tab to it_ung_verb_tab.

"populate fields of struture and append to itab
append wa_mver_upd_tab to it_mver_upd_tab.

"populate fields of struture and append to itab
append wa_mver_ins_tab to it_mver_ins_tab.

"populate fields of struture and append to itab
append wa_imabw to it_imabw.

"populate fields of struture and append to itab
append wa_mabw_new to it_mabw_new.

"populate fields of struture and append to itab
append wa_mabw_del to it_mabw_del.

"populate fields of struture and append to itab
append wa_mabw_mat to it_mabw_mat.

"populate fields of struture and append to itab
append wa_wcdtxt_material to it_wcdtxt_material.

"populate fields of struture and append to itab
append wa_wrk_tab to it_wrk_tab.

"populate fields of struture and append to itab
append wa_container to it_container. . CALL FUNCTION 'MATERIAL_ARRAY_UPDATE_RETAIL_2' * EXPORTING * flg_uebernahme = ld_flg_uebernahme * kz_aend = ld_kz_aend * kz_dispo = ld_kz_dispo * kz_kalk = ld_kz_kalk * sperrmodus = ld_sperrmodus * p_call_mode2 = ld_p_call_mode2 * kz_classif_chg = ld_kz_classif_chg TABLES tvartab = it_tvartab twerkstab = it_twerkstab * tvtltab = it_tvtltab changed_materials = it_changed_materials mara_upd_tab = it_mara_upd_tab mara_ins_tab = it_mara_ins_tab omara = it_omara marc_upd_tab = it_marc_upd_tab marc_ins_tab = it_marc_ins_tab omarc = it_omarc mard_upd_tab = it_mard_upd_tab mard_ins_tab = it_mard_ins_tab omard = it_omard mvke_upd_tab = it_mvke_upd_tab mvke_ins_tab = it_mvke_ins_tab omvke = it_omvke mbew_upd_tab = it_mbew_upd_tab mbew_ins_tab = it_mbew_ins_tab ombew = it_ombew mlgn_upd_tab = it_mlgn_upd_tab mlgn_ins_tab = it_mlgn_ins_tab omlgn = it_omlgn mlgt_upd_tab = it_mlgt_upd_tab mlgt_ins_tab = it_mlgt_ins_tab omlgt = it_omlgt myms_upd_tab = it_myms_upd_tab myms_ins_tab = it_myms_ins_tab myms_del_tab = it_myms_del_tab mpop_upd_tab = it_mpop_upd_tab mpop_ins_tab = it_mpop_ins_tab ompop = it_ompop mfhm_upd_tab = it_mfhm_upd_tab mfhm_ins_tab = it_mfhm_ins_tab omfhm = it_omfhm mpgd_upd_tab = it_mpgd_upd_tab mpgd_ins_tab = it_mpgd_ins_tab mpgd_del_tab = it_mpgd_del_tab ompgd = it_ompgd maw1_upd_tab = it_maw1_upd_tab maw1_ins_tab = it_maw1_ins_tab omaw1 = it_omaw1 wlk2_upd_tab = it_wlk2_upd_tab wlk2_ins_tab = it_wlk2_ins_tab owlk2 = it_owlk2 marm_upd_tab = it_marm_upd_tab marm_ins_tab = it_marm_ins_tab marm_del_tab = it_marm_del_tab omarm = it_omarm makt_upd_tab = it_makt_upd_tab makt_ins_tab = it_makt_ins_tab makt_del_tab = it_makt_del_tab omakt = it_omakt mlea_upd_tab = it_mlea_upd_tab mlea_ins_tab = it_mlea_ins_tab mlea_del_tab = it_mlea_del_tab omlea = it_omlea mean_upd_tab = it_mean_upd_tab mean_ins_tab = it_mean_ins_tab mean_del_tab = it_mean_del_tab omean = it_omean isteuertab_f = it_isteuertab_f osteuertab_f = it_osteuertab_f isteummtab_f = it_isteummtab_f osteummtab_f = it_osteummtab_f malg_upd_tab = it_malg_upd_tab malg_ins_tab = it_malg_ins_tab malg_del_tab = it_malg_del_tab omalg = it_omalg mamt_upd_tab = it_mamt_upd_tab mamt_ins_tab = it_mamt_ins_tab mamt_del_tab = it_mamt_del_tab omamt = it_omamt prgn_messages_upd_tab = it_prgn_messages_upd_tab prgn_messages_ins_tab = it_prgn_messages_ins_tab prgn_messages_del_tab = it_prgn_messages_del_tab tprow_tab = it_tprow_tab oprow_tab = it_oprow_tab oges_verb_tab = it_oges_verb_tab oung_verb_tab = it_oung_verb_tab ges_verb_tab = it_ges_verb_tab ung_verb_tab = it_ung_verb_tab mver_upd_tab = it_mver_upd_tab mver_ins_tab = it_mver_ins_tab imabw = it_imabw mabw_new = it_mabw_new mabw_del = it_mabw_del mabw_mat = it_mabw_mat wcdtxt_material = it_wcdtxt_material * wrk_tab = it_wrk_tab * container = it_container EXCEPTIONS INTERNAL_ERROR = 1 . " MATERIAL_ARRAY_UPDATE_RETAIL_2
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "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_flg_uebernahme  TYPE T130F-KZREF ,
it_tvartab  TYPE STANDARD TABLE OF SVARTAB ,
wa_tvartab  LIKE LINE OF it_tvartab,
ld_kz_aend  TYPE MDAT1-KZ_AEND ,
it_twerkstab  TYPE STANDARD TABLE OF WERKSTAB ,
wa_twerkstab  LIKE LINE OF it_twerkstab,
ld_kz_dispo  TYPE MDAT1-KZ_DISPO ,
it_tvtltab  TYPE STANDARD TABLE OF SVTLTAB ,
wa_tvtltab  LIKE LINE OF it_tvtltab,
ld_kz_kalk  TYPE MDAT1-KZ_DISPO ,
it_changed_materials  TYPE STANDARD TABLE OF CHMARAS ,
wa_changed_materials  LIKE LINE OF it_changed_materials,
ld_sperrmodus  TYPE TVGVI-SPERA ,
it_mara_upd_tab  TYPE STANDARD TABLE OF MARA ,
wa_mara_upd_tab  LIKE LINE OF it_mara_upd_tab,
it_mara_ins_tab  TYPE STANDARD TABLE OF MARA ,
wa_mara_ins_tab  LIKE LINE OF it_mara_ins_tab,
ld_p_call_mode2  TYPE RMMG2-CALL_MODE2 ,
ld_kz_classif_chg  TYPE MDAT1-KZ_AEND ,
it_omara  TYPE STANDARD TABLE OF MARA ,
wa_omara  LIKE LINE OF it_omara,
it_marc_upd_tab  TYPE STANDARD TABLE OF MARC ,
wa_marc_upd_tab  LIKE LINE OF it_marc_upd_tab,
it_marc_ins_tab  TYPE STANDARD TABLE OF MARC ,
wa_marc_ins_tab  LIKE LINE OF it_marc_ins_tab,
it_omarc  TYPE STANDARD TABLE OF MARC ,
wa_omarc  LIKE LINE OF it_omarc,
it_mard_upd_tab  TYPE STANDARD TABLE OF MARD ,
wa_mard_upd_tab  LIKE LINE OF it_mard_upd_tab,
it_mard_ins_tab  TYPE STANDARD TABLE OF MARD ,
wa_mard_ins_tab  LIKE LINE OF it_mard_ins_tab,
it_omard  TYPE STANDARD TABLE OF MARD ,
wa_omard  LIKE LINE OF it_omard,
it_mvke_upd_tab  TYPE STANDARD TABLE OF MVKE ,
wa_mvke_upd_tab  LIKE LINE OF it_mvke_upd_tab,
it_mvke_ins_tab  TYPE STANDARD TABLE OF MVKE ,
wa_mvke_ins_tab  LIKE LINE OF it_mvke_ins_tab,
it_omvke  TYPE STANDARD TABLE OF MVKE ,
wa_omvke  LIKE LINE OF it_omvke,
it_mbew_upd_tab  TYPE STANDARD TABLE OF MBEW ,
wa_mbew_upd_tab  LIKE LINE OF it_mbew_upd_tab,
it_mbew_ins_tab  TYPE STANDARD TABLE OF MBEW ,
wa_mbew_ins_tab  LIKE LINE OF it_mbew_ins_tab,
it_ombew  TYPE STANDARD TABLE OF MBEW ,
wa_ombew  LIKE LINE OF it_ombew,
it_mlgn_upd_tab  TYPE STANDARD TABLE OF MLGN ,
wa_mlgn_upd_tab  LIKE LINE OF it_mlgn_upd_tab,
it_mlgn_ins_tab  TYPE STANDARD TABLE OF MLGN ,
wa_mlgn_ins_tab  LIKE LINE OF it_mlgn_ins_tab,
it_omlgn  TYPE STANDARD TABLE OF MLGN ,
wa_omlgn  LIKE LINE OF it_omlgn,
it_mlgt_upd_tab  TYPE STANDARD TABLE OF MLGT ,
wa_mlgt_upd_tab  LIKE LINE OF it_mlgt_upd_tab,
it_mlgt_ins_tab  TYPE STANDARD TABLE OF MLGT ,
wa_mlgt_ins_tab  LIKE LINE OF it_mlgt_ins_tab,
it_omlgt  TYPE STANDARD TABLE OF MLGT ,
wa_omlgt  LIKE LINE OF it_omlgt,
it_myms_upd_tab  TYPE STANDARD TABLE OF MYMS ,
wa_myms_upd_tab  LIKE LINE OF it_myms_upd_tab,
it_myms_ins_tab  TYPE STANDARD TABLE OF MYMS ,
wa_myms_ins_tab  LIKE LINE OF it_myms_ins_tab,
it_myms_del_tab  TYPE STANDARD TABLE OF MYMS ,
wa_myms_del_tab  LIKE LINE OF it_myms_del_tab,
it_mpop_upd_tab  TYPE STANDARD TABLE OF MPOP ,
wa_mpop_upd_tab  LIKE LINE OF it_mpop_upd_tab,
it_mpop_ins_tab  TYPE STANDARD TABLE OF MPOP ,
wa_mpop_ins_tab  LIKE LINE OF it_mpop_ins_tab,
it_ompop  TYPE STANDARD TABLE OF MPOP ,
wa_ompop  LIKE LINE OF it_ompop,
it_mfhm_upd_tab  TYPE STANDARD TABLE OF MFHM ,
wa_mfhm_upd_tab  LIKE LINE OF it_mfhm_upd_tab,
it_mfhm_ins_tab  TYPE STANDARD TABLE OF MFHM ,
wa_mfhm_ins_tab  LIKE LINE OF it_mfhm_ins_tab,
it_omfhm  TYPE STANDARD TABLE OF MFHM ,
wa_omfhm  LIKE LINE OF it_omfhm,
it_mpgd_upd_tab  TYPE STANDARD TABLE OF MPGD ,
wa_mpgd_upd_tab  LIKE LINE OF it_mpgd_upd_tab,
it_mpgd_ins_tab  TYPE STANDARD TABLE OF MPGD ,
wa_mpgd_ins_tab  LIKE LINE OF it_mpgd_ins_tab,
it_mpgd_del_tab  TYPE STANDARD TABLE OF MPGD ,
wa_mpgd_del_tab  LIKE LINE OF it_mpgd_del_tab,
it_ompgd  TYPE STANDARD TABLE OF MPGD ,
wa_ompgd  LIKE LINE OF it_ompgd,
it_maw1_upd_tab  TYPE STANDARD TABLE OF MAW1 ,
wa_maw1_upd_tab  LIKE LINE OF it_maw1_upd_tab,
it_maw1_ins_tab  TYPE STANDARD TABLE OF MAW1 ,
wa_maw1_ins_tab  LIKE LINE OF it_maw1_ins_tab,
it_omaw1  TYPE STANDARD TABLE OF MAW1 ,
wa_omaw1  LIKE LINE OF it_omaw1,
it_wlk2_upd_tab  TYPE STANDARD TABLE OF WLK2 ,
wa_wlk2_upd_tab  LIKE LINE OF it_wlk2_upd_tab,
it_wlk2_ins_tab  TYPE STANDARD TABLE OF WLK2 ,
wa_wlk2_ins_tab  LIKE LINE OF it_wlk2_ins_tab,
it_owlk2  TYPE STANDARD TABLE OF WLK2 ,
wa_owlk2  LIKE LINE OF it_owlk2,
it_marm_upd_tab  TYPE STANDARD TABLE OF MARM ,
wa_marm_upd_tab  LIKE LINE OF it_marm_upd_tab,
it_marm_ins_tab  TYPE STANDARD TABLE OF MARM ,
wa_marm_ins_tab  LIKE LINE OF it_marm_ins_tab,
it_marm_del_tab  TYPE STANDARD TABLE OF MARM ,
wa_marm_del_tab  LIKE LINE OF it_marm_del_tab,
it_omarm  TYPE STANDARD TABLE OF MARM ,
wa_omarm  LIKE LINE OF it_omarm,
it_makt_upd_tab  TYPE STANDARD TABLE OF MAKT ,
wa_makt_upd_tab  LIKE LINE OF it_makt_upd_tab,
it_makt_ins_tab  TYPE STANDARD TABLE OF MAKT ,
wa_makt_ins_tab  LIKE LINE OF it_makt_ins_tab,
it_makt_del_tab  TYPE STANDARD TABLE OF MAKT ,
wa_makt_del_tab  LIKE LINE OF it_makt_del_tab,
it_omakt  TYPE STANDARD TABLE OF MAKT ,
wa_omakt  LIKE LINE OF it_omakt,
it_mlea_upd_tab  TYPE STANDARD TABLE OF MLEA ,
wa_mlea_upd_tab  LIKE LINE OF it_mlea_upd_tab,
it_mlea_ins_tab  TYPE STANDARD TABLE OF MLEA ,
wa_mlea_ins_tab  LIKE LINE OF it_mlea_ins_tab,
it_mlea_del_tab  TYPE STANDARD TABLE OF MLEA ,
wa_mlea_del_tab  LIKE LINE OF it_mlea_del_tab,
it_omlea  TYPE STANDARD TABLE OF MLEA ,
wa_omlea  LIKE LINE OF it_omlea,
it_mean_upd_tab  TYPE STANDARD TABLE OF MEAN ,
wa_mean_upd_tab  LIKE LINE OF it_mean_upd_tab,
it_mean_ins_tab  TYPE STANDARD TABLE OF MEAN ,
wa_mean_ins_tab  LIKE LINE OF it_mean_ins_tab,
it_mean_del_tab  TYPE STANDARD TABLE OF MEAN ,
wa_mean_del_tab  LIKE LINE OF it_mean_del_tab,
it_omean  TYPE STANDARD TABLE OF MEAN ,
wa_omean  LIKE LINE OF it_omean,
it_isteuertab_f  TYPE STANDARD TABLE OF MSTEUER_F ,
wa_isteuertab_f  LIKE LINE OF it_isteuertab_f,
it_osteuertab_f  TYPE STANDARD TABLE OF MSTEUER_F ,
wa_osteuertab_f  LIKE LINE OF it_osteuertab_f,
it_isteummtab_f  TYPE STANDARD TABLE OF MSTEUMM_F ,
wa_isteummtab_f  LIKE LINE OF it_isteummtab_f,
it_osteummtab_f  TYPE STANDARD TABLE OF MSTEUMM_F ,
wa_osteummtab_f  LIKE LINE OF it_osteummtab_f,
it_malg_upd_tab  TYPE STANDARD TABLE OF MALG ,
wa_malg_upd_tab  LIKE LINE OF it_malg_upd_tab,
it_malg_ins_tab  TYPE STANDARD TABLE OF MALG ,
wa_malg_ins_tab  LIKE LINE OF it_malg_ins_tab,
it_malg_del_tab  TYPE STANDARD TABLE OF MALG ,
wa_malg_del_tab  LIKE LINE OF it_malg_del_tab,
it_omalg  TYPE STANDARD TABLE OF MALG ,
wa_omalg  LIKE LINE OF it_omalg,
it_mamt_upd_tab  TYPE STANDARD TABLE OF MAMT ,
wa_mamt_upd_tab  LIKE LINE OF it_mamt_upd_tab,
it_mamt_ins_tab  TYPE STANDARD TABLE OF MAMT ,
wa_mamt_ins_tab  LIKE LINE OF it_mamt_ins_tab,
it_mamt_del_tab  TYPE STANDARD TABLE OF MAMT ,
wa_mamt_del_tab  LIKE LINE OF it_mamt_del_tab,
it_omamt  TYPE STANDARD TABLE OF MAMT ,
wa_omamt  LIKE LINE OF it_omamt,
it_prgn_messages_upd_tab  TYPE STANDARD TABLE OF PROF ,
wa_prgn_messages_upd_tab  LIKE LINE OF it_prgn_messages_upd_tab,
it_prgn_messages_ins_tab  TYPE STANDARD TABLE OF PROF ,
wa_prgn_messages_ins_tab  LIKE LINE OF it_prgn_messages_ins_tab,
it_prgn_messages_del_tab  TYPE STANDARD TABLE OF PROF ,
wa_prgn_messages_del_tab  LIKE LINE OF it_prgn_messages_del_tab,
it_tprow_tab  TYPE STANDARD TABLE OF PROWFA_F ,
wa_tprow_tab  LIKE LINE OF it_tprow_tab,
it_oprow_tab  TYPE STANDARD TABLE OF PROWFA_F ,
wa_oprow_tab  LIKE LINE OF it_oprow_tab,
it_oges_verb_tab  TYPE STANDARD TABLE OF SVERBTAB_F ,
wa_oges_verb_tab  LIKE LINE OF it_oges_verb_tab,
it_oung_verb_tab  TYPE STANDARD TABLE OF SVERBTAB_F ,
wa_oung_verb_tab  LIKE LINE OF it_oung_verb_tab,
it_ges_verb_tab  TYPE STANDARD TABLE OF SVERBTAB_F ,
wa_ges_verb_tab  LIKE LINE OF it_ges_verb_tab,
it_ung_verb_tab  TYPE STANDARD TABLE OF SVERBTAB_F ,
wa_ung_verb_tab  LIKE LINE OF it_ung_verb_tab,
it_mver_upd_tab  TYPE STANDARD TABLE OF MVER ,
wa_mver_upd_tab  LIKE LINE OF it_mver_upd_tab,
it_mver_ins_tab  TYPE STANDARD TABLE OF MVER ,
wa_mver_ins_tab  LIKE LINE OF it_mver_ins_tab,
it_imabw  TYPE STANDARD TABLE OF MABW ,
wa_imabw  LIKE LINE OF it_imabw,
it_mabw_new  TYPE STANDARD TABLE OF MABW ,
wa_mabw_new  LIKE LINE OF it_mabw_new,
it_mabw_del  TYPE STANDARD TABLE OF MABW ,
wa_mabw_del  LIKE LINE OF it_mabw_del,
it_mabw_mat  TYPE STANDARD TABLE OF PRE03 ,
wa_mabw_mat  LIKE LINE OF it_mabw_mat,
it_wcdtxt_material  TYPE STANDARD TABLE OF CDTXT ,
wa_wcdtxt_material  LIKE LINE OF it_wcdtxt_material,
it_wrk_tab  TYPE STANDARD TABLE OF SWRK_COPY_FROM_EINE ,
wa_wrk_tab  LIKE LINE OF it_wrk_tab,
it_container  TYPE STANDARD TABLE OF MWINT_CONTAINER ,
wa_container  LIKE LINE OF it_container.


SELECT single KZREF
FROM T130F
INTO ld_flg_uebernahme.


"populate fields of struture and append to itab
append wa_tvartab to it_tvartab.

ld_kz_aend = some text here

"populate fields of struture and append to itab
append wa_twerkstab to it_twerkstab.

ld_kz_dispo = some text here

"populate fields of struture and append to itab
append wa_tvtltab to it_tvtltab.

ld_kz_kalk = some text here

"populate fields of struture and append to itab
append wa_changed_materials to it_changed_materials.

SELECT single SPERA
FROM TVGVI
INTO ld_sperrmodus.


"populate fields of struture and append to itab
append wa_mara_upd_tab to it_mara_upd_tab.

"populate fields of struture and append to itab
append wa_mara_ins_tab to it_mara_ins_tab.

ld_p_call_mode2 = some text here

ld_kz_classif_chg = some text here

"populate fields of struture and append to itab
append wa_omara to it_omara.

"populate fields of struture and append to itab
append wa_marc_upd_tab to it_marc_upd_tab.

"populate fields of struture and append to itab
append wa_marc_ins_tab to it_marc_ins_tab.

"populate fields of struture and append to itab
append wa_omarc to it_omarc.

"populate fields of struture and append to itab
append wa_mard_upd_tab to it_mard_upd_tab.

"populate fields of struture and append to itab
append wa_mard_ins_tab to it_mard_ins_tab.

"populate fields of struture and append to itab
append wa_omard to it_omard.

"populate fields of struture and append to itab
append wa_mvke_upd_tab to it_mvke_upd_tab.

"populate fields of struture and append to itab
append wa_mvke_ins_tab to it_mvke_ins_tab.

"populate fields of struture and append to itab
append wa_omvke to it_omvke.

"populate fields of struture and append to itab
append wa_mbew_upd_tab to it_mbew_upd_tab.

"populate fields of struture and append to itab
append wa_mbew_ins_tab to it_mbew_ins_tab.

"populate fields of struture and append to itab
append wa_ombew to it_ombew.

"populate fields of struture and append to itab
append wa_mlgn_upd_tab to it_mlgn_upd_tab.

"populate fields of struture and append to itab
append wa_mlgn_ins_tab to it_mlgn_ins_tab.

"populate fields of struture and append to itab
append wa_omlgn to it_omlgn.

"populate fields of struture and append to itab
append wa_mlgt_upd_tab to it_mlgt_upd_tab.

"populate fields of struture and append to itab
append wa_mlgt_ins_tab to it_mlgt_ins_tab.

"populate fields of struture and append to itab
append wa_omlgt to it_omlgt.

"populate fields of struture and append to itab
append wa_myms_upd_tab to it_myms_upd_tab.

"populate fields of struture and append to itab
append wa_myms_ins_tab to it_myms_ins_tab.

"populate fields of struture and append to itab
append wa_myms_del_tab to it_myms_del_tab.

"populate fields of struture and append to itab
append wa_mpop_upd_tab to it_mpop_upd_tab.

"populate fields of struture and append to itab
append wa_mpop_ins_tab to it_mpop_ins_tab.

"populate fields of struture and append to itab
append wa_ompop to it_ompop.

"populate fields of struture and append to itab
append wa_mfhm_upd_tab to it_mfhm_upd_tab.

"populate fields of struture and append to itab
append wa_mfhm_ins_tab to it_mfhm_ins_tab.

"populate fields of struture and append to itab
append wa_omfhm to it_omfhm.

"populate fields of struture and append to itab
append wa_mpgd_upd_tab to it_mpgd_upd_tab.

"populate fields of struture and append to itab
append wa_mpgd_ins_tab to it_mpgd_ins_tab.

"populate fields of struture and append to itab
append wa_mpgd_del_tab to it_mpgd_del_tab.

"populate fields of struture and append to itab
append wa_ompgd to it_ompgd.

"populate fields of struture and append to itab
append wa_maw1_upd_tab to it_maw1_upd_tab.

"populate fields of struture and append to itab
append wa_maw1_ins_tab to it_maw1_ins_tab.

"populate fields of struture and append to itab
append wa_omaw1 to it_omaw1.

"populate fields of struture and append to itab
append wa_wlk2_upd_tab to it_wlk2_upd_tab.

"populate fields of struture and append to itab
append wa_wlk2_ins_tab to it_wlk2_ins_tab.

"populate fields of struture and append to itab
append wa_owlk2 to it_owlk2.

"populate fields of struture and append to itab
append wa_marm_upd_tab to it_marm_upd_tab.

"populate fields of struture and append to itab
append wa_marm_ins_tab to it_marm_ins_tab.

"populate fields of struture and append to itab
append wa_marm_del_tab to it_marm_del_tab.

"populate fields of struture and append to itab
append wa_omarm to it_omarm.

"populate fields of struture and append to itab
append wa_makt_upd_tab to it_makt_upd_tab.

"populate fields of struture and append to itab
append wa_makt_ins_tab to it_makt_ins_tab.

"populate fields of struture and append to itab
append wa_makt_del_tab to it_makt_del_tab.

"populate fields of struture and append to itab
append wa_omakt to it_omakt.

"populate fields of struture and append to itab
append wa_mlea_upd_tab to it_mlea_upd_tab.

"populate fields of struture and append to itab
append wa_mlea_ins_tab to it_mlea_ins_tab.

"populate fields of struture and append to itab
append wa_mlea_del_tab to it_mlea_del_tab.

"populate fields of struture and append to itab
append wa_omlea to it_omlea.

"populate fields of struture and append to itab
append wa_mean_upd_tab to it_mean_upd_tab.

"populate fields of struture and append to itab
append wa_mean_ins_tab to it_mean_ins_tab.

"populate fields of struture and append to itab
append wa_mean_del_tab to it_mean_del_tab.

"populate fields of struture and append to itab
append wa_omean to it_omean.

"populate fields of struture and append to itab
append wa_isteuertab_f to it_isteuertab_f.

"populate fields of struture and append to itab
append wa_osteuertab_f to it_osteuertab_f.

"populate fields of struture and append to itab
append wa_isteummtab_f to it_isteummtab_f.

"populate fields of struture and append to itab
append wa_osteummtab_f to it_osteummtab_f.

"populate fields of struture and append to itab
append wa_malg_upd_tab to it_malg_upd_tab.

"populate fields of struture and append to itab
append wa_malg_ins_tab to it_malg_ins_tab.

"populate fields of struture and append to itab
append wa_malg_del_tab to it_malg_del_tab.

"populate fields of struture and append to itab
append wa_omalg to it_omalg.

"populate fields of struture and append to itab
append wa_mamt_upd_tab to it_mamt_upd_tab.

"populate fields of struture and append to itab
append wa_mamt_ins_tab to it_mamt_ins_tab.

"populate fields of struture and append to itab
append wa_mamt_del_tab to it_mamt_del_tab.

"populate fields of struture and append to itab
append wa_omamt to it_omamt.

"populate fields of struture and append to itab
append wa_prgn_messages_upd_tab to it_prgn_messages_upd_tab.

"populate fields of struture and append to itab
append wa_prgn_messages_ins_tab to it_prgn_messages_ins_tab.

"populate fields of struture and append to itab
append wa_prgn_messages_del_tab to it_prgn_messages_del_tab.

"populate fields of struture and append to itab
append wa_tprow_tab to it_tprow_tab.

"populate fields of struture and append to itab
append wa_oprow_tab to it_oprow_tab.

"populate fields of struture and append to itab
append wa_oges_verb_tab to it_oges_verb_tab.

"populate fields of struture and append to itab
append wa_oung_verb_tab to it_oung_verb_tab.

"populate fields of struture and append to itab
append wa_ges_verb_tab to it_ges_verb_tab.

"populate fields of struture and append to itab
append wa_ung_verb_tab to it_ung_verb_tab.

"populate fields of struture and append to itab
append wa_mver_upd_tab to it_mver_upd_tab.

"populate fields of struture and append to itab
append wa_mver_ins_tab to it_mver_ins_tab.

"populate fields of struture and append to itab
append wa_imabw to it_imabw.

"populate fields of struture and append to itab
append wa_mabw_new to it_mabw_new.

"populate fields of struture and append to itab
append wa_mabw_del to it_mabw_del.

"populate fields of struture and append to itab
append wa_mabw_mat to it_mabw_mat.

"populate fields of struture and append to itab
append wa_wcdtxt_material to it_wcdtxt_material.

"populate fields of struture and append to itab
append wa_wrk_tab to it_wrk_tab.

"populate fields of struture and append to itab
append wa_container to it_container.

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