SAP Reports / Programs | Logistics - General | Additionals Management(LO-ADM) SAP LO

MAM_FORMS SAP ABAP INCLUDE - MAMFORMS







MAM_FORMS is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MAM_FORMS into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MAM_FORMS. "Basic submit
SUBMIT MAM_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT MAM_FORMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MAM_FORMS

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting * PERCENTAGE = 0 text = text-052.

REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting i_callback_program = repid i_callback_pf_status_set = 'REACT_ON_ALV_CODES_FOR_MAM' i_callback_user_command = 'ALV_CALLBACK_FOR_MAM' is_layout = pi_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = it_special_groups = gt_sp_group[] * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * i_default = g_default i_save = 'A' " g_save is_variant = isvariant * it_events = gt_events[] * IT_EVENT_EXIT = i_tabname_header = pi_tabname_header i_tabname_item = pi_tabname_item is_keyinfo = pi_keyinfo * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = tables t_outtab_header = gt_mamh t_outtab_item = gt_mami exceptions program_error = 1 others = 2.

WTAD_TWTFM_READ call function 'WTAD_TWTFM_READ' tables i_fb_twtfm = pet_twtfm exceptions not_found = 1 others = 2.

WTAD_TWTFMP_READ call function 'WTAD_TWTFMP_READ' tables i_fb_twtfmp = pet_twtfmp exceptions not_found = 1 others = 2.

WR20_READ_TWRF16 call function 'WR20_READ_TWRF16' exporting i_bgapp = addi_twrf16_application tables o_twrf16 = pet_twrf16 exceptions no_entries_found = 1 others = 2.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = isvariant i_save = 'A' * IT_DEFAULT_FIELDCAT = importing e_exit = tmp_exit es_variant = esvariant exceptions not_found = 2.

WTAD_READ_ADDI_4_MATNR * call function 'WTAD_READ_ADDI_4_MATNR' * exporting * matnr = pi_matnr * read_mamt = 'X' * tables * iwtaddi = iwtaddi * imamt = imamt * exceptions * wrong_call = 1 * db_error = 2 * others = 3.

WTAD_DESCRIBE_IWTADDI call function 'WTAD_DESCRIBE_IWTADDI' tables iwtaddi_edit = pet_wtaddi_edit.

WTAD_GET_NEXT_MTXID call function 'WTAD_GET_NEXT_MTXID' exporting current_mtxid = mtxid * MIN_MTXID = ADDI_ET_MTXID_MIN * MAX_MTXID = ADDI_ET_MTXID_MAX importing next_mtxid = mtxid tables iwtaddi_edit = iwtaddi_edit exceptions no_free_number = 1 others = 2.

MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting matnr = pi_matnr importing wmara = smara exceptions lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 others = 5.

MAKT_SINGLE_READ call function 'MAKT_SINGLE_READ' exporting matnr = pi_matnr spras = sy-langu importing wmakt = smakt exceptions wrong_call = 1 not_found = 2 others = 3.

MAKT_SINGLE_READ call function 'MAKT_SINGLE_READ' exporting matnr = pe_mamh-satnr spras = sy-langu importing wmakt = smakt exceptions wrong_call = 1 not_found = 2 others = 3.

DOMAIN_VALUE_GET call function 'DOMAIN_VALUE_GET' exporting i_domname = 'ATTYP' i_domvalue = dom_value_tmp importing e_ddtext = e_ddtxt exceptions not_exist = 1 others = 2.

WTAD_DESCRIBE_IWTADDI call function 'WTAD_DESCRIBE_IWTADDI' tables iwtaddi_edit = iwtaddi_edit.

MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting matnr = pi_matnr importing wmara = smara exceptions lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 others = 5.

MARM_GENERIC_READ_WITH_MATNR call function 'MARM_GENERIC_READ_WITH_MATNR' exporting matnr = pi_matnr tables marm_tab = imarm exceptions wrong_call = 1 not_found = 2 others = 3.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting * I_PROGRAM_NAME = i_internal_tabname = pi_mamh_name i_structure_name = 'WTAD_MAMH' * I_CLIENT_NEVER_DISPLAY = 'X' changing ct_fieldcat = ifieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting * I_PROGRAM_NAME = i_internal_tabname = pi_mami_name i_structure_name = 'WTAD_MAMI' * I_CLIENT_NEVER_DISPLAY = 'X' changing ct_fieldcat = ifieldcat[].

WTAD_GET_NEXT_MTXID





call function 'WTAD_GET_NEXT_MTXID' exporting current_mtxid = pi_mtxid importing next_mtxid = next_mtxid tables iwtaddi_edit = pit_wtaddi_db exceptions no_free_number = 1 others = 2.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = ratio text = display_text exceptions others = 1.

MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting * KZRFB = ' ' * MAXTZ = 0 matnr = pi_matnr * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * OUTPUT_NO_MESSAGE = importing wmara = smara exceptions lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 others = 5.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MAM_FORMS or its description.