SAP Reports / Programs | Logistics - General | Merchandise Distribution | Allocation(LO-MDS-AL) SAP LO

ML01AFRMA SAP ABAP INCLUDE - documentation and ABAP source code







ML01AFRMA 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 ML01AFRMA 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 ML01AFRMA. "Basic submit
SUBMIT ML01AFRMA AND RETURN. "Return to original report after report execution complete
SUBMIT ML01AFRMA 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 ML01AFRMA

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:

MATERIAL_READ_CLASSIFIC_RT CALL FUNCTION 'MATERIAL_READ_CLASSIFIC_RT' EXPORTING p_matnr = ref_mat_sel-lot_sa_mat * kz_mara_read = 'X' * P_MARA = * kz_makt_read = 'X' * KZRFB = ' ' * MAXTZ = 0 * SPERRMODUS = ' ' IMPORTING p_class = h_p_class p_mara = h_p_mara p_makt = h_p_makt TABLES exp_var_tab = ht_var_tab * EXP_CHAR = * EXP_VALU = exp_char_vari = ht_char_vari exp_valu_vari = ht_valu_vari * EXP_VALU_ASSIGNED = EXCEPTIONS wrong_call = 1 mara_not_exist = 2 no_class = 3 no_char = 4 no_valu_vari = 5 OTHERS = 6.

MGW0_WHERE_USED_COMPONENTS CALL FUNCTION 'MGW0_WHERE_USED_COMPONENTS' EXPORTING mgw0_matnr = ht_var_tab-varnr * MGW0_DATUV = SY-DATUM * MGW0_DATUB = '99991231' * MGW0_STLAN = ' ' * MGW0_WERKS = ' ' * MGW0_POSTP = ' ' TABLES structured_articles = ht_stru.

MGW0_WHERE_USED_COMPONENTS CALL FUNCTION 'MGW0_WHERE_USED_COMPONENTS' EXPORTING mgw0_matnr = ref_mat_sel-stru_kom_mat * MGW0_DATUV = SY-DATUM * MGW0_DATUB = '99991231' * MGW0_STLAN = ' ' * MGW0_WERKS = ' ' * MGW0_POSTP = ' ' TABLES structured_articles = ht_stru.

WALL_MERCHANDISE_CAT_FROM_MCHL CALL FUNCTION 'WALL_MERCHANDISE_CAT_FROM_MCHL' EXPORTING fbi_class_no = klah-class TABLES fbt_merch_cat = ht_matkl.

MGW0_COMPONENTS CALL FUNCTION 'MGW0_COMPONENTS' EXPORTING mgw0_article = ref_mat_sel-kom_stru_mat * MGW0_DATE_FROM = SY-DATUM * MGW0_DATE_TO = SY-DATUM * MGW0_PLANT = ' ' mgw0_structure_type = h_structure_type TABLES mgw0_components = ht_komp EXCEPTIONS not_found = 1 OTHERS = 2.

WLMV_SINGLE_READ CALL FUNCTION 'WLMV_SINGLE_READ' EXPORTING pi_laygr = malg-laygr pi_date = sy-datum IMPORTING pe_wlmv = h_wlmv EXCEPTIONS not_found = 1 wrong_layoutmodule = 2 OTHERS = 3.

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = ht_mara-matnr spras = sy-langu IMPORTING wmakt = h_makt EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

WALL_TC_RESET CALL FUNCTION 'WALL_TC_RESET' EXPORTING fbi_tc_lines = tc_0207_anz_lines_ref_mat CHANGING fbc_tc_lines = tc_0207-lines fbc_tc_top_line = tc_0207-top_line.

WAUF_T621_LESEN CALL FUNCTION 'WAUF_T621_LESEN' EXPORTING im_apstp = vaupo-apstp IMPORTING ex_t621 = t621 ex_t621t = t621t EXCEPTIONS no_record_found = 1 OTHERS = 2.

WALL_TC_RESET CALL FUNCTION 'WALL_TC_RESET' EXPORTING fbi_tc_lines = tc_0122_anz_lines_aupo CHANGING fbc_tc_lines = tc_0122-lines fbc_tc_top_line = tc_0122-top_line.



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