RM06EFAB 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 RM06EFAB into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_AENDE = Only Changed Sched. Agreements
Selection Text: P_FAB = Generate JIT Schedules
Selection Text: P_LAB = Generate Forecast Schedules
Selection Text: P_NLABD = With Next Creation Date
Selection Text: P_PROTO = Log Faulty Ones Only
Selection Text: P_TEST = Test Run
Selection Text: S_EBELN = Document Number
Selection Text: S_EBELP = Document Item
Selection Text: S_LIFNR = Vendor
Selection Text: S_MATNR = Material Number
Selection Text: S_WERKS = Plant
Title: Generation of Scheduling Agreement Releases
Text Symbol: 001 = Choose Release Type
Text Symbol: 002 = Select Scheduling Agreements
Text Symbol: 003 = Additional Functions
Text Symbol: 004 = Plant
Text Symbol: 005 = Change
Text Symbol: 006 = Scheduling Agreement Schedule Lines
Text Symbol: 007 = Log of Release Generation
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH'.
RV_MESSAGES_READ * CALL FUNCTION 'RV_MESSAGES_READ' * EXPORTING * MSG_KAPPL = 'EL' * MSG_OBJKY = XOBJKY.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = '06' MSGTY = 'E' MSGV1 = XOBJTXT MSGV2 = XACTXT MSGV3 = XFLDTXT MSGV4 = VEKPO-EBELN TXTNR = '199'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'ME' MSGTY = 'E' MSGV1 = VEKPO-EBELN TXTNR = '390'.
ENQUEUE_EMEKPOE CALL FUNCTION 'ENQUEUE_EMEKPOE' EXPORTING EBELN = VEKPO-EBELN EBELP = VEKPO-EBELP EXCEPTIONS OTHERS = 1.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'ME' MSGTY = 'E' MSGV1 = 'EKPO' MSGV2 = VEKPO-EBELN TXTNR = '007'.
ME_INIT_GLOBAL_DATA CALL FUNCTION 'ME_INIT_GLOBAL_DATA'.
ME_CREATE_SCHEDULE_DOC CALL FUNCTION 'ME_CREATE_SCHEDULE_DOC' EXPORTING I_EBELN = VEKPO-EBELN I_EBELP = VEKPO-EBELP I_ABART = ABART STAAB = '1' TABLES YEKEK = YEKEK YEKEH = YEKEH I_EKET = ETT I_POT = POT I_EKEK = EKE I_EKEH = EKH EXCEPTIONS NO_OUTPUTMESSAGE_FOUND = 2 OTHERS = 3.
DEQUEUE_EMEKPOE CALL FUNCTION 'DEQUEUE_EMEKPOE' EXPORTING EBELN = VEKPO-EBELN EBELP = VEKPO-EBELP EXCEPTIONS OTHERS = 1.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = '06' MSGTY = 'I' MSGV1 = VEKPO-EBELN MSGV2 = SY-SUBRC TXTNR = '857'.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting ARBGB = '06' msgty = 'I' MSGV1 = EKE-ABRUF MSGV2 = ABRUF_INFO TXTNR = '847'.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting ARBGB = '06' msgty = 'I' MSGV1 = EKE-ABRUF MSGV2 = ABRUF_INFO TXTNR = '858'.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting ARBGB = '06' msgty = 'I' MSGV1 = VEKPO-EBELN MSGV2 = SY-SUBRC TXTNR = '857'.
ME_UPDATE_SCHEDULE_DOC CALL FUNCTION 'ME_UPDATE_SCHEDULE_DOC' TABLES XEKEH = XEKEH XEKEK = XEKEK YEKEK = YEKEK YEKEH = YEKEH EXCEPTIONS OTHERS = 1.
RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING MSG_KAPPL = 'EL' MSG_NO_UPDATE_TASK = 'X'.
ME_UPDATE_SCHEDULE_EKPO CALL FUNCTION 'ME_UPDATE_SCHEDULE_EKPO' EXPORTING I_ABART = ABART TABLES XEKPO = UPOT.
DEQUEUE_EMEKPOE CALL FUNCTION 'DEQUEUE_EMEKPOE' EXPORTING EBELN = EKPO-EBELN EBELP = EKPO-EBELP EXCEPTIONS OTHERS = 1.
CALL FUNCTION 'DB_COMMIT'.
RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH'.
ME_UPDATE_SCHEDULE_DOC CALL FUNCTION 'ME_UPDATE_SCHEDULE_DOC' TABLES XEKEH = XEKEH XEKEK = XEKEK YEKEK = YEKEK YEKEH = YEKEH EXCEPTIONS OTHERS = 1.
RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING MSG_KAPPL = 'EL' MSG_NO_UPDATE_TASK = 'X'.
ME_UPDATE_SCHEDULE_EKPO CALL FUNCTION 'ME_UPDATE_SCHEDULE_EKPO' EXPORTING I_ABART = ABART TABLES XEKPO = UPOT.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting ARBGB = 'ME' msgty = 'I' MSGV1 = COUNT_ABRUF TXTNR = '846'.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING OBJECT = TEXT-007 SHOW_LINNO = SPACE EXCEPTIONS OTHERS = 1.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting ARBGB = 'ME' msgty = 'I' MSGV1 = COUNT_ABRUF TXTNR = '846'.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING OBJECT = TEXT-007 SHOW_LINNO = SPACE BATCH_LIST_TYPE = 'B' EXCEPTIONS OTHERS = 1.
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 RM06EFAB or its description.
RM06EFAB - Generation of Scheduling Agreement Releases RM06EFAB - Generation of Scheduling Agreement Releases RM06EF00 - Release (Approve) Purchasing Documents RM06EF00 - Release (Approve) Purchasing Documents RM06EET1 - Program for Exporting PO Texts in ITF Format to a Dataset RM06EET1 - Program for Exporting PO Texts in ITF Format to a Dataset