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

MWMFAF11 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

OUTBOUND_CALL_02000104_E CALL FUNCTION 'OUTBOUND_CALL_02000104_E' TABLES TI_CALP = G_T_XCALP_C.

ENQUEUE_EWWMFP CALL FUNCTION 'ENQUEUE_EWWMFP' EXPORTING MODE_WMFP = 'E' MANDT = SY-MANDT MFCNR = P_T_WMFPD-MFCNR POSNR = P_T_WMFPD-POSNR * X_MFCNR = ' ' * X_POSNR = ' ' _SCOPE = L_SCOPE * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DEQUEUE_EWWMFP CALL FUNCTION 'DEQUEUE_EWWMFP' EXPORTING MODE_WMFP = 'E' MANDT = SY-MANDT MFCNR = P_T_WMFPD-MFCNR POSNR = P_T_WMFPD-POSNR * X_MFCNR = ' ' * X_POSNR = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

ENQUEUE_EWWMFP_NA CALL FUNCTION 'ENQUEUE_EWWMFP_NA' EXPORTING MODE_WMATNRVKORGVTWEG = 'E' MANDT = SY-MANDT MFCNR = P_T_WMFPD-MFCNR ARTNR = P_T_WMFPD-ARTNR VKORG = P_T_WMFPD-VKORG VTWEG = P_T_WMFPD-VTWEG * X_MFCNR = ' ' * X_ARTNR = ' ' * X_VKORG = ' ' * X_VTWEG = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DEQUEUE_EWWMFP_NA CALL FUNCTION 'DEQUEUE_EWWMFP_NA' EXPORTING MODE_WMATNRVKORGVTWEG = 'E' MANDT = SY-MANDT MFCNR = P_T_WMFPD-MFCNR ARTNR = P_T_WMFPD-ARTNR VKORG = P_T_WMFPD-VKORG VTWEG = P_T_WMFPD-VTWEG * X_MFCNR = ' ' * X_ARTNR = ' ' * X_VKORG = ' ' * X_VTWEG = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING GROUP_NAME = PA_GROUP * IMPORTING * MAX_PBT_WPS = * FREE_PBT_WPS = EXCEPTIONS INVALID_GROUP_NAME = 1 INTERNAL_ERROR = 2 PBT_ENV_ALREADY_INITIALIZED = 3 CURRENTLY_NO_RESOURCES_AVAIL = 4 NO_PBT_RESOURCES_FOUND = 5 CANT_INIT_DIFFERENT_PBT_GROUPS = 6 OTHERS = 7.

SPBT_GET_CURR_RESOURCE_INFO CALL FUNCTION 'SPBT_GET_CURR_RESOURCE_INFO' * IMPORTING * MAX_PBT_WPS = L_MAX_TASKS * FREE_PBT_WPS = L_FREE_TASKS * EXCEPTIONS * INTERNAL_ERROR = 1 * PBT_ENV_NOT_INITIALIZED_YET = 2 * OTHERS = 3 .

MD_CALCULATE_POSTING_RFC CALL FUNCTION 'MD_CALCULATE_POSTING_RFC' STARTING NEW TASK L_TASKNAME DESTINATION IN GROUP PA_GROUP PERFORMING COME_BACK ON END OF TASK EXPORTING PI_FEHLP = ' ' PI_DRUKZ = ' ' PI_REFRS = 'X' PI_TEST = PA_TEST PI_MFCNR = P_I_WMFHD-MFCNR TABLES PX_T_CALP_C = WA_WORKITEMS-CALP PE_T_CALP = L_T_CALP PE_T_ERRO = L_T_ERRO PE_T_ERRO1 = L_T_ERRO EXCEPTIONS RESOURCE_FAILURE = 1 SYSTEM_FAILURE = 2 MESSAGE MSG_TXT COMMUNICATION_FAILURE = 3 MESSAGE MSG_TXT OTHERS = 4.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = L_VERARBEITET TEXT = PROGRESS_TEXT.



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