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

MWAKAF13 SAP ABAP INCLUDE - Forms for copying promotion







MWAKAF13 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 MWAKAF13 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 MWAKAF13. "Basic submit
SUBMIT MWAKAF13 AND RETURN. "Return to original report after report execution complete
SUBMIT MWAKAF13 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Forms for copying promotion


INCLUDES used within this REPORT MWAKAF13

INCLUDE MWAKAF13_TOP_PROMOTION_COPY . " TOP_PROMOTION_COPY
INCLUDE MWAKAF13_COP_REFR_XWAKPD_XWAZT . " COP_REFR_XWAKPD_XWAZTD
INCLUDE MWAKAF13_COP_SET_XWAKHD_WAELA_ . " COP_SET_XWAKHD_WAELA_DATES
INCLUDE MWAKAF13_COP_C_COPYING_PROMOTI . " COP_C_COPYING_PROMOTION_WA
INCLUDE MWAKAF13_COP_BUILD_XWAZTD_OF_C . " COP_BUILD_XWAZTD_OF_CWAZTD
INCLUDE MWAKAF13_COP_COMP_XWAKHD_PDANZ . " COP_COMP_XWAKHD_PDANZ_UA
INCLUDE MWAKAF13_COM_CONVERT_VALUE_ON_ . " COM_CONVERT_VALUE_ON_CURR
INCLUDE MWAKAF13_COP_BUILD_XWAKPD_OF_C . " COP_BUILD_XWAKPD_OF_CWAKPD
INCLUDE MWAKAF13_SET_LOOP_XWAKPD_PLEKP . " SET_LOOP_XWAKPD_PLEKP_VARI
INCLUDE MWAKAF13_COP_CHECK_CWAKPD . " COP_CHECK_CWAKPD
INCLUDE MWAKAF13_COP_CWAKPD_TO_XWAKP0A . " COP_CWAKPD_TO_XWAKPD_COMMO
INCLUDE MWAKAF13_COP_CWAKPD_TO_XWAKPD_ . " COP_CWAKPD_TO_XWAKPD_CHOOS
INCLUDE MWAKAF13_COP_COMP_XWAKPD_PABLM . " COP_COMP_XWAKPD_PABLM
INCLUDE MWAKAF13_COP_C_CWAKPD_WAELA_PL . " COP_C_CWAKPD_WAELA_PLVKP_P
INCLUDE MWAKAF13_COP_C_CWAKPD_MARA . " COP_C_CWAKPD_MARA
INCLUDE MWAKAF13_COP_C_CWAKPD_MARM . " COP_C_CWAKPD_MARM
INCLUDE MWAKAF13_COP_C_CWAKPD_EKINFO_E . " COP_C_CWAKPD_EKINFO_EINA
INCLUDE MWAKAF13_COP_AUTHORITY_CHECK . " COP_AUTHORITY_CHECK
INCLUDE MWAKAF13_COP_CLEAR_ITABS_AND_F . " COP_CLEAR_ITABS_AND_FIELDS
INCLUDE MWAKAF13_COP_SELE_PATTERN_WAKP . " COP_SELE_PATTERN_WAKPD_WAZ
INCLUDE MWAKAF13_COP_ERROR_HANDLING . " COP_ERROR_HANDLING
INCLUDE MWAKAF13_COP_C_KAKTNR_WAELA_ME . " COP_C_KAKTNR_WAELA_MELAK
INCLUDE MWAKAF13_COP_C_VKDAB_VKDBI_KFI . " COP_C_VKDAB_VKDBI_KFILGR
INCLUDE MWAKAF13_COP_COUNT_XWAZTD_NART . " COP_COUNT_XWAZTD_NARTZ
INCLUDE MWAKAF13_COP_SET_XWAZTD-AKTTT . " COP_SET_XWAZTD-AKTTT
INCLUDE MWAKAF13_APPE_MESSAGE_THEMA_NO . " APPE_MESSAGE_THEMA_NOT_FOU
INCLUDE MWAKAF13_COP_SET_WAELA_MELAK_A . " COP_SET_WAELA_MELAK_AKTKT_
INCLUDE MWAKAF13_FB_SWU_OBJECT_PUBLISH . " FB_SWU_OBJECT_PUBLISH
INCLUDE MWAKAF13_GET_ME_CONVERSION_FAC . " GET_ME_CONVERSION_FACTOR
INCLUDE MWAKAF13_COP_BUILD_XWAGUD_OF_C . " COP_BUILD_XWAGUD_OF_CWAGUD
INCLUDE MWAKAF13_COP_CWAGUD_TO_XWAGUD . " COP_CWAGUD_TO_XWAGUD
INCLUDE MWAKAF13_DB_READ_FILGR_TEXT . " DB_READ_FILGR_TEXT
INCLUDE MWAKAF13_COP_CWAGUD_VTLINIE_TO . " COP_CWAGUD_VTLINIE_TO_XWAG
INCLUDE MWAKAF13_COP_CWAGUD_VLGNR_TO_X . " COP_CWAGUD_VLGNR_TO_XWAGUD
INCLUDE MWAKAF13_COP_MESSAGES_SHOW . " COP_MESSAGES_SHOW
INCLUDE MWAKAF13_CLEAR_EK_LIST . " CLEAR_EK_LIST
INCLUDE MWAKAF13_COP_CONV_SALES_PRICE . " COP_CONV_SALES_PRICE




INCLUDE MWAKAF13_COP_CONV_PURCHASE_PRI . " COP_CONV_PURCHASE_PRI


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:

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING ID = '*' LANGUAGE = '*' NAME = L_TDNAME OBJECT = 'WAKH' DATABASE_ONLY = 'X' * IMPORTING * ENTRIES = L_ENTRIES TABLES SELECTIONS = L_T_THEAD_K EXCEPTIONS WRONG_ACCESS_TO_ARCHIVE = 01.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING ID = '*' LANGUAGE = '*' NAME = L_TDNAME OBJECT = 'WAKP' DATABASE_ONLY = 'X' * IMPORTING * ENTRIES = L_ENTRIES TABLES SELECTIONS = L_T_THEAD_P EXCEPTIONS WRONG_ACCESS_TO_ARCHIVE = 01.

READ_TEXT call function 'READ_TEXT' exporting * CLIENT = SY-MANDT id = L_T_THEAD-TDID language = L_T_THEAD-TDSPRAS name = L_T_THEAD-TDNAME object = L_T_THEAD-TDOBJECT * ARCHIVE_HANDLE = 0 * LOCAL_CAT = ' ' * IMPORTING * HEADER = tables lines = l_t_lines EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 NOT_FOUND = 4 OBJECT = 5 REFERENCE_CHECK = 6 WRONG_ACCESS_TO_ARCHIVE = 7 OTHERS = 8.

SAVE_TEXT call function 'SAVE_TEXT' exporting * CLIENT = SY-MANDT header = L_T_THEAD INSERT = 'X' " Text ist neu * SAVEMODE_DIRECT = ' ' * OWNER_SPECIFIED = ' ' * LOCAL_CAT = ' ' * IMPORTING * FUNCTION = * NEWHEADER = tables lines = l_t_lines EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 OBJECT = 4 OTHERS = 5.

MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting matnr = g_t_cwakcd-coupnr EXCEPTIONS LOCK_ON_MATERIAL = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.

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.



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