RM06C020 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 RM06C020 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: S_RSNUM = Reservation
Selection Text: S_EBELN = PO/Scheduling Agreement
Selection Text: S_BANFN = Purchase Requisition
Selection Text: P_RSNUM = Selected Reservations
Selection Text: P_EBELN = Selected POs/Sched. Agreements
Selection Text: P_BANFN = Selected Purchase Requisitions
Selection Text: MAXCOUNT = Max. Size of Internal Tables
Selection Text: DB_UPD = Direct Database Update
Title: Report RM06C020
Text Symbol: R07 = R7: Reservations with Reference to a Requisition That References Another Reservation
Text Symbol: R08 = R8: Reservations Relating to Outline Agreement Requisitions
Text Symbol: R09 = R9: Reservations with Reference to a Non-Existent Planned Order
Text Symbol: R10 = R10:Reservations with Reference to a Planned Order Without a Reservation Number
Text Symbol: R11 = R11:Reservations with Reference to a Planned Order that References Another Reservation
Text Symbol: R12 = R12:Reservations with Reference to More Than One Element
Text Symbol: R13 = R13:Reservations with Reference to a Non-Existent Production Order
Text Symbol: R14 = R14:Reservations with Reference to a Production Order Without a Reservation
Text Symbol: R15 = R15:Reservations with Reference to a Production Order That References Another Reservation
Text Symbol: UB1 = PReq. Item
Text Symbol: UB2 = PReq. Item Reservation
Text Symbol: UE1 = Doc. Item SchL
Text Symbol: UE2 = Doc. Item SchL Reservation
Text Symbol: UR1 = Reserv. Item
Text Symbol: UR2 = Reserv. Item Doc. Item Sched. Line
Text Symbol: UR3 = Reserv. Item PReq. Item
Text Symbol: UR4 = Reserv. Item Planned Order
Text Symbol: UR5 = Reserv. Item Production Order
Text Symbol: UR6 = Reserv. Item Doc. Item SchL PReq Itemt Plan. Ord. Production Order
Text Symbol: 001 = Selection Parameters
Text Symbol: B01 = B1: Requisitions Without a Reservation Number
Text Symbol: B02 = B2: Requisitions with Non-Existent Reservation
Text Symbol: B03 = B3: Requisitions with Reservation That Does Not Reference a Requisition
Text Symbol: B04 = B4: Requisitions with Reservation That References Another Requisition
Text Symbol: B05 = B5: Fully Ordered Requisitions with Open Reservation
Text Symbol: B06 = B6: Deleted Reservations with Open Reservation
Text Symbol: B07 = B7: Requisitions with "Closed" Indicator and Open Reservation
Text Symbol: E01 = E1: Schedule Lines Without Reservation Number
Text Symbol: E02 = E2: Schedule Lines with Non-Existent Reservation
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ME_READ_MT06E CALL FUNCTION 'ME_READ_MT06E' EXPORTING i_matnr = l_eban-matnr i_werks = l_eban-werks IMPORTING e_mt06e = l_mt06e.
ME_READ_MT06E CALL FUNCTION 'ME_READ_MT06E' EXPORTING i_matnr = l_ekpo-matnr i_werks = l_ekpo-werks IMPORTING e_mt06e = l_mt06e.
DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING correct_option = '-' date = l_datum factory_calendar_id = l_t001w-fabkl IMPORTING date = l_datum EXCEPTIONS OTHERS = 1.
MD_AUFLOESEN_MDBA CALL FUNCTION 'MD_AUFLOESEN_MDBA' EXPORTING emdba = l_mdba emt61d = l_mt61d eselid = ' ' IMPORTING imdba = l_mdba TABLES mdpmx = lt_mdpmx.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = l_t460d-numrs object = 'RESB' IMPORTING number = l_rsnum EXCEPTIONS OTHERS = 1.
MD_HINZUFUEGEN_KOMPONENTEN CALL FUNCTION 'MD_HINZUFUEGEN_KOMPONENTEN' EXPORTING emdlb = l_mdlb rsnum = l_rsnum TABLES mdpmx = lt_mdpmx.
MD_KOMPONENTEN_ANPASSEN_ENMNG CALL FUNCTION 'MD_KOMPONENTEN_ANPASSEN_ENMNG' EXPORTING emdlb = l_mdlb gsmng_alt = l_menge gsmng_neu = l_wemng rsnum = l_rsnum 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.