SAP Reports / Programs

RIPMCO00 SAP ABAP Report - Regenerate order costs: File PMCO







RIPMCO00 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 RIPMCO00 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OLI5 - PMIS Statistical Setup


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 RIPMCO00. "Basic submit
SUBMIT RIPMCO00 AND RETURN. "Return to original report after report execution complete
SUBMIT RIPMCO00 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: P_DETAIL = Create control list
Selection Text: P_TEST = Test run
Selection Text: SAUART = D .
Selection Text: SAUFNR = D .
Title: Regenerate order costs: File PMCO
Text Symbol: 001 = Costs
Text Symbol: 002 = Revenues
Text Symbol: 003 = Actual
Text Symbol: 004 = Planned
Text Symbol: 005 = Program selection criteria
Text Symbol: 006 = Orders that could not be processed:
Text Symbol: 007 = Settlement
Text Symbol: 009 = Services
Text Symbol: 010 = InOut
Text Symbol: 011 = Value Type
Text Symbol: 012 = Value


INCLUDES used within this REPORT RIPMCO00

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:

K_COSPA_READ_MULTI CALL FUNCTION 'K_COSPA_READ_MULTI' EXPORTING von_periode = 001 bis_periode = 016 modus = 1 TABLES t_cosel = pt_cosel t_cospa = pt_cospa EXCEPTIONS OTHERS = 1.

K_COSSA_READ_MULTI CALL FUNCTION 'K_COSSA_READ_MULTI' EXPORTING von_periode = 001 bis_periode = 016 modus = 1 TABLES t_cosel = pt_cosel t_cossa = pt_cossa EXCEPTIONS OTHERS = 1.

PS_FILL_RPSCO_KEY CALL FUNCTION 'PS_FILL_RPSCO_KEY' EXPORTING objnr = gt_cospa-objnr appl = con_pm kokrs = gt_order-kokrs wrttp = gt_cospa-wrttp gjahr = gt_cospa-gjahr kstar = gt_cospa-kstar vorga = gt_cospa-vrgng versn = gt_cospa-versn owaer = gt_order-waers twaer = gt_cospa-twaer perio = con_perio_1 beknz = gt_cospa-beknz beltp = gt_cospa-beltp auart = gt_order-auart autyp = gt_order-autyp hrkft = gt_cospa-hrkft trgkz = '9' IMPORTING e_rpsco_key = ls_rpsco_key e_linex = p_katex e_lednr_k = p_lednr_k e_lednr_o = p_lednr_o EXCEPTIONS input_error = 1 not_valid = 2.

HF_FIND_WAERS_FROM_LEDGER CALL FUNCTION 'HF_FIND_WAERS_FROM_LEDGER' EXPORTING lednr = p_lednr_k IMPORTING waers = gt_pmco-cocur.

HF_FIND_WAERS_FROM_LEDGER CALL FUNCTION 'HF_FIND_WAERS_FROM_LEDGER' EXPORTING lednr = p_lednr_o IMPORTING waers = gt_pmco-cocur.

PS_CONVERT_QUANTITY_ALL_PERIOD CALL FUNCTION 'PS_CONVERT_QUANTITY_ALL_PERIOD' EXPORTING is_rpsqt = ls_rpsqt CHANGING cs_rpsqt = x_rpsqt EXCEPTIONS no_output_unit = 1 quantity_incomplete = 2 zero_quantity = 3.

PS_FILL_RPSCO_KEY CALL FUNCTION 'PS_FILL_RPSCO_KEY' EXPORTING objnr = gt_cossa-objnr parob = gt_cossa-parob appl = con_pm kokrs = gt_order-kokrs wrttp = gt_cossa-wrttp gjahr = gt_cossa-gjahr kstar = gt_cossa-kstar vorga = gt_cossa-vrgng versn = gt_cossa-versn owaer = gt_order-waers twaer = gt_cossa-twaer perio = con_perio_1 beknz = gt_cossa-beknz beltp = gt_cossa-beltp auart = gt_order-auart autyp = gt_order-autyp hrkft = gt_cossa-hrkft trgkz = '9' IMPORTING e_rpsco_key = ls_rpsco_key e_linex = p_katex e_lednr_k = p_lednr_k e_lednr_o = p_lednr_o EXCEPTIONS input_error = 1 not_valid = 2.

HF_FIND_WAERS_FROM_LEDGER CALL FUNCTION 'HF_FIND_WAERS_FROM_LEDGER' EXPORTING lednr = p_lednr_k IMPORTING waers = gt_pmco-cocur.

HF_FIND_WAERS_FROM_LEDGER CALL FUNCTION 'HF_FIND_WAERS_FROM_LEDGER' EXPORTING lednr = p_lednr_o IMPORTING waers = gt_pmco-cocur.

PS_CONVERT_QUANTITY_ALL_PERIOD CALL FUNCTION 'PS_CONVERT_QUANTITY_ALL_PERIOD' EXPORTING is_rpsqt = ls_rpsqt CHANGING cs_rpsqt = x_rpsqt EXCEPTIONS no_output_unit = 1 quantity_incomplete = 2 zero_quantity = 3.



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