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

MWAKAF04_FCODE_PRICE SAP ABAP INCLUDE - MWAKAF04FCODEPRICE







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

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:

PROMOTION_READ CALL FUNCTION 'PROMOTION_READ' EXPORTING FAKTNR = G_I_XWAKHD-AKTNR * FAKTYP = A * FLANGU = * F_NO_AUTHCHECK = F_NO_WALEREAD = 'X' IMPORTING FWAKHD = G_I_XWAKHD * FTWPA = TABLES FXWAGUD = G_T_XWAGUD FXWAKPD = G_T_XWAKPD FXWAKTD = G_T_XWAKTD FXWAZBD = G_T_XWAZBD FXWAZTD = G_T_XWAZTD FXWAZWD = G_T_XWAZWD FXWALED = G_T_XWALED FXWWMITD = G_T_XWWMITD * FXWAKCD = * FXWAKRD = * FXWAKRWD = EXCEPTIONS AUTHORITY_CHECK_ERROR = 1 NO_AUTHORITY = 2 PROMOTION_NOT_FOUND = 3 NO_PROMOTION_SUPPLIED = 4 OTHERS = 5 .

PROMOTION_UPDATE CALL FUNCTION 'PROMOTION_UPDATE' EXPORTING FXWAKHD = G_I_XWAKHD FXWAFLGBEARB = WAFLGBEARB * TABLES * FXWAGUD = g_t_xwagud * FXWAKPD = g_t_xwakpd * FXWAKTD = g_t_xwaktd * FXWAZBD = g_t_twazbd * FXWAZTD = g_t_xwaztd * F_DB_WAGU = g_t_db_wagu * F_DB_WAKT = g_t_db_wakt * F_DB_WAZB = g_t_db_wazb * F_DB_WAZT = g_t_db_wazt EXCEPTIONS PROMOTION_NOT_FOUND = 1 ASSORTMENT_HEAD_ALREADY_EXISTS = 2 ASSORTMENT_HEAD_NOT_FOUND = 3 NEW_TIME_RANGE_TOO_LONG = 4 NEW_TIME_RANGE_TOO_SMALL = 5 WRONG_FUNCTION = 6 RANGEMODULE_NUMBER_CONFLICT = 7 ASSORTMENT_POS_ALREADY_EXISTS = 8 ASSORTMENT_POS_NOT_FOUND = 9 NEW_TIME_RANGE_POS_TOO_LONG = 10 NEW_TIME_RANGE_POS_TOO_SMALL = 11 WALE_INSERT_ERROR = 12 WALE_UPDATE_ERROR = 13 ALLOCATION_TABLE_ERROR = 14 OTHERS = 15 .



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