RM06ELAB 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 RM06ELAB 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_NLABD = With Next Transmission Date
Selection Text: P_PROTO = Log Faulty Ones Only
Selection Text: P_TEST = Test Run
Selection Text: S_EBELN = Document Number
Selection Text: S_LIFNR = Vendor
Selection Text: S_MATNR = Material Number
Selection Text: S_WERKS = Plant
Title: Generation of Forecast Delivery Schedules
Text Symbol: 001 = 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'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'ME' msgty = 'E' msgv1 = xekko-ebeln txtnr = '390'.
ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' "neu EXPORTING ebeln = xekko-ebeln EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'ME' msgty = 'E' msgv1 = 'EKKO' msgv2 = xekko-ebeln txtnr = '007'.
RV_MESSAGES_READ CALL FUNCTION 'RV_MESSAGES_READ' EXPORTING msg_kappl = 'EL' msg_objky = xobjky.
RV_MESSAGES_GET CALL FUNCTION 'RV_MESSAGES_GET' EXPORTING msg_kappl = 'EL' msg_objky_from = xobjky msg_objky_to = xobjky TABLES tab_xnast = xnast tab_ynast = ynast.
ME_INIT_GLOBAL_DATA CALL FUNCTION 'ME_INIT_GLOBAL_DATA'.
ME_CREATE_SCHEDULE_DOC CALL FUNCTION 'ME_CREATE_SCHEDULE_DOC' EXPORTING i_ebeln = xekko-ebeln i_ekko = xekko TABLES yekek = yekek yekeh = yekeh i_pot = pot i_eket = ett i_ekek = eke i_ekeh = ekh EXCEPTIONS no_outputmessage_found = 2 OTHERS = 3.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '06' msgty = 'I' msgv1 = xekko-ebeln msgv2 = h_subrc txtnr = '857'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '06' msgty = 'I' msgv1 = abruf_info txtnr = '847'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '06' msgty = 'I' msgv1 = xekko-ebeln msgv2 = h_subrc txtnr = '857'.
ME_UPDATE_SCHEDULE_DOC CALL FUNCTION 'ME_UPDATE_SCHEDULE_DOC' TABLES xekeh = xekeh xekek = xekek yekek = yekek EXCEPTIONS OTHERS = 1.
RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING msg_kappl = 'EL' msg_no_update_task = 'X'.
RV_MESSAGES_REFRESH CALL FUNCTION 'RV_MESSAGES_REFRESH'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
ME_UPDATE_SCHEDULE_DOC CALL FUNCTION 'ME_UPDATE_SCHEDULE_DOC' TABLES xekeh = xekeh xekek = xekek yekek = yekek EXCEPTIONS OTHERS = 1.
RV_MESSAGES_UPDATE CALL FUNCTION 'RV_MESSAGES_UPDATE' EXPORTING msg_kappl = 'EL' msg_no_update_task = 'X'.
CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-001 show_linno = space batch_list_type = 'B' EXCEPTIONS inconsistent_range no_messages.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = text-001 show_linno = space batch_list_type = 'B' EXCEPTIONS inconsistent_range no_messages.
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 RM06ELAB or its description.