RM06K010 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 RM06K010 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.
Title: Display Result of Price Simulation in Purchasing
Text Symbol: 425 = Best Price
Text Symbol: 424 = Date
Text Symbol: 423 = Quantity
Text Symbol: 422 = Material Group
Text Symbol: 421 = Material
Text Symbol: 420 = on ;;
Text Symbol: 419 = in mater. group;;
Text Symbol: 418 = of material ;;
Text Symbol: 417 = for purchase of;;
Text Symbol: 416 = Calculation of ;;
Text Symbol: 415 = Calculated Value
Text Symbol: 414 = Delivery Costs
Text Symbol: 413 = Cash Disc.
Text Symbol: 412 = Net Value Inclusive
Text Symbol: 411 = Effective Value
Text Symbol: 410 = Net Value
Text Symbol: 406 = a lower price applies
Text Symbol: 405 = Upwards of a qty of
Text Symbol: 404 = and
Text Symbol: 402 = Scales
Text Symbol: 401 = Fixed Costs
Text Symbol: 400 = Price changes with quantity
Text Symbol: 300 = Best price in this comparison
Text Symbol: 150 = Pipeline ;;
Text Symbol: 140 = Date ;;
Text Symbol: 130 = Vendor ;;
Text Symbol: 120 = Sched.Agmt;;
Text Symbol: 112 = Item Category ;;
Text Symbol: 111 = Item
Text Symbol: 110 = Contract ;;
Text Symbol: 104 = Order Unit ;;
Text Symbol: 103 = Info Category ;;
Text Symbol: 102 = Plant
Text Symbol: 101 = POrg.
Text Symbol: 100 = Info Rec. ;;
Text Symbol: 003 = Price could not be determined due to differing units of measure
Text Symbol: 002 = ---- ----------------- --------------- ----- ----- --- -------------------
INCLUDE FMMEXDIR.
No SAP DATABASE tables are accessed within this REPORT code!
ME_ITEM_CATEGORY_OUTPUT CALL FUNCTION 'ME_ITEM_CATEGORY_OUTPUT' EXPORTING pstyp = esokz IMPORTING epstp = t163y-epstp ptext = t163y-ptext EXCEPTIONS not_found = 1 OTHERS = 2.
RV_CONDITION_RESET CALL FUNCTION 'RV_CONDITION_RESET'.
RV_CONDITION_RECORD CALL FUNCTION 'RV_CONDITION_RECORD' EXPORTING condition_number = ekomv-knumh item_number = ekomv-kopos.
ME_READ_INFORECORD CALL FUNCTION 'ME_READ_INFORECORD' EXPORTING incom = l_incom IMPORTING einadaten = l_eina EXCEPTIONS bad_comin = 1 bad_material = 2 bad_materialclass = 3 bad_supplier = 4 not_found = 5 OTHERS = 6.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datlo foreign_amount = ct_komv_ind-netwr foreign_currency = ct_komv_ind-waerk local_currency = ct_komv_ind-waerh IMPORTING exchange_rate = ct_komv_ind-wkurs local_amount = ct_komv_ind-hetwr EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = sy-datlo foreign_amount = ct_komv_ind-netpr foreign_currency = ct_komv_ind-waerk local_currency = ct_komv_ind-waerh IMPORTING local_amount = ct_komv_ind-hetpr EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_repid is_layout = ls_layout i_grid_title = l_grid_title it_fieldcat = lt_fieldcat i_default = 'X' i_save = 'A' is_variant = ls_variant it_events = lt_events IMPORTING e_exit_caused_by_caller = l_exit_caused_by_caller es_exit_caused_by_user = ls_exit_caused_by_user TABLES t_outtab =
EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = rt_events.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_structure_name = 'MERE_OUTTAB_PREISSIMU' CHANGING ct_fieldcat = cht_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_green_light info = text-425 IMPORTING RESULT = l_icon_green_light EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.