SAP Reports / Programs

RM06C020 SAP ABAP Report - Report RM06C020







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


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





Text Symbol: E03 = E3: Schedule Lines with Reservation That Does Not Reference a Schedule Line
Text Symbol: E04 = E4: Schedule Lines with Reservation That References Another Schedule Line
Text Symbol: E05 = E5: Schedule Lines for Which Delivery is Complete with Open Reservation
Text Symbol: E06 = E6: Deleted Items with Open Reservation
Text Symbol: E07 = E7: Items with "Delivery Completed" Indicator and Open Reservation
Text Symbol: IB2 = --> Requisition Corrected
Text Symbol: IE1 = --> Bill of Material Re-Exploded
Text Symbol: IE2 = --> Schedule Line Corrected
Text Symbol: IE3 = --> Bill of Material Could Not Be Exploded
Text Symbol: IR1 = --> Reservation Deleted
Text Symbol: IR2 = --> Reservation Corrected
Text Symbol: IR3 = --> Reservation Closed
Text Symbol: R01 = R1: Reservations with No Reference to a Planned Order, a Requisition or a Schedule Line
Text Symbol: R02 = R2: Reservations with Reference to a Non-Existent Schedule Line
Text Symbol: R03 = R3: Reservations with Reference to a Schedule Line Without a Reservation Number
Text Symbol: R04 = R4: Reservations with Reference to a Schedule Line that References Another Reservation
Text Symbol: R05 = R5: Reservations with Reference to a Non-Existent Requisition
Text Symbol: R06 = R6: Reservations with Reference to a Requisition Without a Reservation Number


INCLUDES used within this REPORT RM06C020

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:

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.



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