SAP Reports / Programs | Logistics - General | Logistics Basic Data | Promotion(LO-MD-PR) SAP LO

MWAKAF20_A SAP ABAP INCLUDE - MWAKAF20A







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

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:

CLMA_CLASS_READ_INTERNAL CALL FUNCTION 'CLMA_CLASS_READ_INTERNAL' EXPORTING classname = l_class classtype = '026' * LANGUAGE = SY-LANGU * BUFFER = ' ' * WITH_DESCRIPTION = 'X' * IMPORTING * CLASSNUMBER = * DESCRIPTION = * LANGUAGE = EXCEPTIONS class_not_found = 1 OTHERS = 2.

CLHI_STRUCTURE_CLASSES CALL FUNCTION 'CLHI_STRUCTURE_CLASSES' EXPORTING i_klart = '026' i_class = pi_wghier * I_CLINT = * I_BUP = ' ' i_tdwn = 'X' i_batch = 'X' * I_OBJECT = ' ' * I_OBJ_ID = ' ' * I_ENQUEUE = ' ' * I_GRAPHIC = ' ' * I_HEREDITABLE = ' ' * I_INCLUDING_TEXT = 'X' i_language = sy-langu i_no_classification = 'X' * I_VIEW = 'K' * I_DATE = SY-DATUM * I_CHANGE_NUMBER = ' ' i_no_objects = 'X' * I_SORT_BY_CLASS = 'X' * I_EXCLUDE_CLINT = * I_CALLED_BY_CLASSIFY = ' ' * I_STRUCTURED_LIST = 'X' * I_ONE_STEP = ' ' TABLES daten = l_t_ghcl * INDEX = exp_klah = l_t_klah EXCEPTIONS class_not_valid = 1 classtype_not_valid = 2 OTHERS = 3.

CLMA_CLASS_TEXT CALL FUNCTION 'CLMA_CLASS_TEXT' EXPORTING classtype = '026' language = sy-langu mode = 'E' "externe Klassennummer vorgegeben * KEY_DATE = SY-DATUM TABLES tklas = l_t_tklas EXCEPTIONS classtype_missing = 1 OTHERS = 2.

PROMOTION_SEARCH_MATKL CALL FUNCTION 'PROMOTION_SEARCH_MATKL' IMPORTING pe_matkl = l_matkl.

PROMOTION_SEARCH_WGHIER CALL FUNCTION 'PROMOTION_SEARCH_WGHIER' IMPORTING pe_wghier = l_wghier.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'WG24' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'CLWO' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.

PROMOTION_POSITION_SELECT CALL FUNCTION 'PROMOTION_POSITION_SELECT' TABLES fwakpd = l_t_xwakpd EXCEPTIONS promotion_not_found = 1 no_items_found = 2 OTHERS = 3.

PROMOTION_SEARCH_ARTICLES CALL FUNCTION 'PROMOTION_SEARCH_ARTICLES' IMPORTING pe_artnr = l_artnr pe_mebme = l_mebme.

WB2_READ_CURRENCY_TEXT CALL FUNCTION 'WB2_READ_CURRENCY_TEXT' EXPORTING currency = wakrd-reb_curr CHANGING currency_text_long = tcurt-ltext EXCEPTIONS short_text_not_found = 1 long_text_not_found = 2 OTHERS = 3.

T006A_SINGLE_READ CALL FUNCTION 'T006A_SINGLE_READ' "ME-Bezeichnung lesen EXPORTING pi_spras = sy-langu pi_msehi = wakrd-reb_unit IMPORTING pe_i_t006a = l_t006a EXCEPTIONS no_entry_found = 1 OTHERS = 2.

PROMOTION_REB_KSCHL_READ CALL FUNCTION 'PROMOTION_REB_KSCHL_READ' EXPORTING pi_krech = 'A' pi_show_flag = ' ' TABLES pe_t_t685 = l_t_t685.

PROMOTION_REB_KSCHL_READ CALL FUNCTION 'PROMOTION_REB_KSCHL_READ' EXPORTING pi_krech = 'C' pi_show_flag = ' ' TABLES pe_t_t685 = l_t_t685.

PROMOTION_REB_KSCHL_READ CALL FUNCTION 'PROMOTION_REB_KSCHL_READ' EXPORTING pi_krech = 'A' pi_show_flag = 'X' * TABLES * PE_T_T685 = .

PROMOTION_REB_KSCHL_READ CALL FUNCTION 'PROMOTION_REB_KSCHL_READ' EXPORTING pi_krech = 'C' pi_show_flag = 'X' * TABLES * PE_T_T685 = .

ARTICLE_GET_FOR_HIERARCHY CALL FUNCTION 'ARTICLE_GET_FOR_HIERARCHY' EXPORTING i_klasse = l_klasse i_langu = sy-langu max_select = 99999999 IMPORTING o_dbcnt = l_dbcnt o_kschl = l_kschl o_not_all = l_not_all TABLES o_wmgma = l_t_wmgma EXCEPTIONS no_material = 1 no_class = 2 no_input = 3 OTHERS = 4.

SALES_CONDITIONS_TABLE_DISPLAY CALL FUNCTION 'SALES_CONDITIONS_TABLE_DISPLAY' EXPORTING pi_i_scd = l_wpiscd iv_switch_to_alv = g_alv_display " Usability Improvement TABLES * SO_WERKS = * SO_PLTYP = * SO_MATNR = pi_t_arfi = l_arfi EXCEPTIONS no_materials_selected = 1 no_plants_selected = 2 no_condition_types_found = 3 no_conditions_found = 4 too_many_materials = 5 OTHERS = 6.



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