SAP Reports / Programs

EEWM_SL_MENU SAP ABAP Report - Shift Management







EEWM_SL_MENU is a standard Executable ABAP Report 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 EEWM_SL_MENU into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

EEWM_SHIFTLOG - shift management


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


Text pool values


Selection Text: PNSSEL = With Selection
Selection Text: PSNDAT = D .
Title: Shift Management
Text Symbol: 001 = Create
Text Symbol: 002 = Change
Text Symbol: 003 = Display
Text Symbol: 004 = Choose
Text Symbol: 005 = Transfer
Text Symbol: 006 = History
Text Symbol: 010 = Shift
Text Symbol: 011 = Shift Log
Text Symbol: 012 = Reporting
Text Symbol: 013 = Functional Location
Text Symbol: 020 = Notifications
Text Symbol: 021 = Orders
Text Symbol: 022 = Confirmations
Text Symbol: 023 = Measurement Documents


INCLUDES used within this REPORT EEWM_SL_MENU

INCLUDE: IEEWM_SL_F01.


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:

ISU_SL_SELECT_SHIFT CALL FUNCTION 'ISU_SL_SELECT_SHIFT' EXPORTING I_WARPL = WARPL IMPORTING * E_WPPOS = E_WAPOS = L_WAPOS EXCEPTIONS NO_SHIFTS = 1 PROCESS_CANCELED = 2 OTHERS = 3.

ISU_SL_MANUAL_CALL_MPLAN CALL FUNCTION 'ISU_SL_MANUAL_CALL_MPLAN' EXPORTING I_WARPL = WARPL * I_NPLDA = SY-DATUM I_WAPOS = L_WAPOS * I_PAKET = IMPORTING * E_WMPOSTAB = E_WMHISTAB = L_WMHISTAB E_WMHIOTAB = L_WMHIOTAB EXCEPTIONS MPLAN_NOT_EXIST = 1 MPLAN_LOCKED = 2 MPOS_NOT_EXIST = 3 NO_VALID_PACKAGE = 4 MULTI_NOT_SUPPORTED = 5 TASKLIST_WITHOUT_PACKAGE = 6 OTHERS = 7.

IQS1_FILL_WA_FROM_BUFFER CALL FUNCTION 'IQS1_FILL_WA_FROM_BUFFER' EXPORTING I_QMNUM = L_MHIOWA-QMNUM I_AKTYP = 'A' * I_BAPI = ' ' IMPORTING * E_WVIQMEL = E_VIQMEL = E_VIQMELWA * D_VIQMEL = * E_RIWO02 = * E_RIWO03 = * E_RIWO00 = * E_RQM00 = * E_T365 = * E_TQ80 = TABLES * E_IVIQMFE = * E_IVIQMMA = E_IVIQMSM = E_WQMSMTAB * E_FOACT = * E_IVIQMUR = * E_WORKPAPER = * D_IVIQMFE = * D_IVIQMUR = * D_IVIQMMA = * D_IVIQMSM = * E_RIWO020TAB = EXCEPTIONS NUMBER_INITIAL = 1 OTHERS = 2.

ENQUEUE_EIQMEL CALL FUNCTION 'ENQUEUE_EIQMEL' EXPORTING QMNUM = SHIFT-ACTUAL-VIQMELWA-QMNUM EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

STATUS_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH'.

STATUS_READ CALL FUNCTION 'STATUS_READ' EXPORTING OBJNR = SHIFT-ACTUAL-VIQMELWA-OBJNR ONLY_ACTIVE = EESL0_MARKED TABLES STATUS = L_JSTATTAB EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2.

ISU_SL_SELECT_SHIFT CALL FUNCTION 'ISU_SL_SELECT_SHIFT' EXPORTING I_WARPL = WARPL IMPORTING E_WPPOS = L_WPPOS EXCEPTIONS NO_SHIFTS = 1 PROCESS_CANCELED = 2 OTHERS = 3.

IQS1_REFRESH_ALL CALL FUNCTION 'IQS1_REFRESH_ALL'.

IQS0_CHANGE_NOTIFICATION CALL FUNCTION 'IQS0_CHANGE_NOTIFICATION' EXPORTING I_QMNUM = SHIFT-ACTUAL-VIQMELWA-QMNUM I_DISPL = 'V' I_INITIAL = EESL0_MARKED EXCEPTIONS INVALID_ENTRY = 1 NOTIFICATION_NOT_IN_BUFFER = 2 OTHERS = 3.

ISU_SL_COMPLETE_SHIFT CALL FUNCTION 'ISU_SL_COMPLETE_SHIFT' EXPORTING I_VIQMEL = SHIFT-ACTUAL-VIQMELWA.

IQS1_POST_NOTIFICATION CALL FUNCTION 'IQS1_POST_NOTIFICATION' EXPORTING I_COMMIT = EESL0_MARKED.

DEQUEUE_EIQMEL CALL FUNCTION 'DEQUEUE_EIQMEL' EXPORTING QMNUM = SHIFT-ACTUAL-VIQMELWA-QMNUM.

ISU_SL_GET_NEXT_SHIFT CALL FUNCTION 'ISU_SL_GET_NEXT_SHIFT' EXPORTING I_VIQMEL = SHIFT-ACTUAL-VIQMELWA.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = SHIFT-ACTUAL-VIQMELWA-QMNUM IMPORTING OUTPUT = T01.

CONVERSION_EXIT_TPLNR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT' EXPORTING INPUT = SHIFT-ACTUAL-VIQMELWA-TPLNR IMPORTING OUTPUT = T02.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = WARPL IMPORTING OUTPUT = T03.

ISU_SL_WARPL_CHECK CALL FUNCTION 'ISU_SL_WARPL_CHECK' EXPORTING I_WARPL = WARPL EXCEPTIONS WARPL_NOT_EXIST = 1 INVALID_WARPL = 2 OTHERS = 3.



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