SAP Reports / Programs

RGCSKO00 SAP ABAP Report - Intercompany Elimination







RGCSKO00 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 RGCSKO00 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

OC89 - Intercompany Elimination


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 RGCSKO00. "Basic submit
SUBMIT RGCSKO00 AND RETURN. "Return to original report after report execution complete
SUBMIT RGCSKO00 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: PBDC = Generate postings
Selection Text: PEILKONZ = Subgroup
Selection Text: PELEGART = Document type
Selection Text: PERIOD = Period
Selection Text: PGES1 = 1st company of pair
Selection Text: PGES2 = 2nd company of pair
Selection Text: PGJAHR = Fiscal year
Selection Text: PLEVEL1 = With standardizing entries
Selection Text: PLEVEL2 = With own document type entries
Selection Text: PLISTART = List type
Selection Text: PTOLERAN = Tolerance
Selection Text: PVERSION = Version
Selection Text: WAEHRUNG = List type 1 w/currency totals
Title: Intercompany Elimination
Text Symbol: 009 = |FS item |Text |CoID |TrPtr |TTy| Debit | Credit | Trans currency |
Text Symbol: 008 = Proport.consolidation
Text Symbol: 007 = Other curr.
Text Symbol: 006 = ExRt
Text Symbol: 005 = Rpt date:
Text Symbol: 004 = Diff.item in T865
Text Symbol: 003 = |CoID |TrPtr | Co balance | TrPtr balance | Differences | Elimination set
Text Symbol: 002 = |CoID Partner| Co balance |Partner balance | Other diff | Translation diff|from TC| Elimination set |
Text Symbol: 001 = Subgroup:
Text Symbol: 017 = Doc type :
Text Symbol: 018 = UnitOfMeasure:
Text Symbol: 020 = Batch input session
Text Symbol: 021 = has been generated !
Text Symbol: 022 = Document(s) posted directly !
Text Symbol: 023 = Version:
Text Symbol: 030 = PAIRS
Text Symbol: 031 = ITMSET
Text Symbol: 032 = ITMNo
Text Symbol: 033 = COID
Text Symbol: 034 = INTCURR
Text Symbol: 050 = Elimination set:
Text Symbol: 051 = SET:
Text Symbol: 054 = Differences
Text Symbol: 053 = Rate:





Text Symbol: 052 = Bal. in
Text Symbol: 010 = |FS item |DT | Company | TrPtr | Transaction currency | in group currency |FS item text |
Text Symbol: 071 = |FS item |TTy| Company | Partner | Quantity: Company | Partner |Text |
Text Symbol: 070 = |FS item |TTy| Company | Partner |Text |
Text Symbol: 069 = |FS item |Text |Co. |T.Prtn|TTy| Debit | Credit | Quantity |
Text Symbol: 068 = |FS item |Text |Co. |T.Prtn|TTy|Add.Fld.1 |Add.Fld.2 |Add.Fld.3 | Debit | Credit | Quantity |
Text Symbol: 067 = |FS item |Text |Co. |T.Prtn|TTy|Add.Fld.1 |Add.Fld.2 |Add.Fld.3 | Debit | Credit | |
Text Symbol: 066 = |FS item |Text |Co. |TrPart|TTy|Add.fld 1 |Add.fld 2 |Add.fld 3 | Debit | Credit | T.Curr |
Text Symbol: 065 = Add. field 3 :
Text Symbol: 064 = Add. field 2 :
Text Symbol: 063 = Add. field 1 :
Text Symbol: 062 = Tolerance value:
Text Symbol: 061 = Balance
Text Symbol: 060 = |Group differences | Debit | Credit | |
Text Symbol: 059 = for company:
Text Symbol: 058 = No IC eliminations defined in subgroup
Text Symbol: 057 = Due to currency
Text Symbol: 056 = Other
Text Symbol: 999 = Intercompany Elimination
Text Symbol: 075 = Quantity
Text Symbol: 055 = Total
Text Symbol: 016 = |FS item |Text |Co. |TrPart|TTy| Debit | Credit | |
Text Symbol: 015 = Group differences credit:
Text Symbol: 014 = Group differences debit:
Text Symbol: 013 = Trans. type :
Text Symbol: 012 = Doc. currency :
Text Symbol: 011 = Posting document


INCLUDES used within this REPORT RGCSKO00

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:

LC_GET_SET_INFO * CALL FUNCTION 'LC_GET_SET_INFO' "vhs008992 * EXPORTING "vhs008992 * E_SETNR = T865-ELGRP "vhs008992 * E_TABLE = GD-DBNAME "vhs008992 * IMPORTING "vhs008992 * I_SETINFO = LD_A_SET "vhs008992 * EXCEPTIONS "vhs008992 * SET_NOT_FOUND = 1 "vhs008992 * OTHERS = 2. "vhs008992

G_POSTING_DATE_OF_PERIOD_GET * CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' * EXPORTING * PERIOD = PARAMS-PERID * VARIANT = G-PERIV * YEAR = PARAMS-RYEAR * IMPORTING * FROM_DATE = LD_FROM_DATE * TO_DATE = LD_TO_DATE.

DB_COMMIT * CALL FUNCTION 'DB_COMMIT'. "VWS70463

CONVERT_TO_LOCAL_CURRENCY * CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' * EXPORTING * DATE = C-DATE * FOREIGN_AMOUNT = C-TC * FOREIGN_CURRENCY = C-RTCUR * LOCAL_CURRENCY = GD-TKCURR * TYPE_OF_RATE = LD-KURST * RATE = LD-UKURS * IMPORTING * EXCHANGE_RATE = LD-UKURS * FOREIGN_FACTOR = LD-FROM-FACTOR * LOCAL_AMOUNT = C-GC * LOCAL_FACTOR = LD-TO-FACTOR * EXCEPTIONS * NO_RATE_FOUND = 1.

READ_EXCHANGE_RATE





* CALL FUNCTION 'READ_EXCHANGE_RATE' * EXPORTING * DATE = TK-DATE * FOREIGN_CURRENCY = USEDCURR-FCURR * LOCAL_CURRENCY = GD-TKCURR * TYPE_OF_RATE = LD-KURST * IMPORTING * EXCHANGE_RATE = LD-UKURS * FOREIGN_FACTOR = LD-FROM-FACTOR * LOCAL_FACTOR = LD-TO-FACTOR * VALID_FROM_DATE = LD-DATUM * EXCEPTIONS * NO_RATE_FOUND = 4.

RSTI_APPL_STACK_POP * CALL FUNCTION 'RSTI_APPL_STACK_POP' * IMPORTING * I_REC = A_REC * EXCEPTIONS * APPL_STACK_NOT_INITIALIZED = 1 * OTHERS = 2.

RSTI_APPL_STACK_INITIALIZE * CALL FUNCTION 'RSTI_APPL_STACK_INITIALIZE' * EXPORTING * E_TOOL = CON_TOOL * E_ONAM = CON_ONAM * EXCEPTIONS * OTHERS = 1.

RSTI_REPORT_FIELDS_FIND * CALL FUNCTION 'RSTI_REPORT_FIELDS_FIND' * EXPORTING * E_REPID = LD_REPID * TABLES * IT_SEL = IT_SEL * IT_FIELDS = IT_FIELDS * EXCEPTIONS * OTHERS = 1.

PERIOD_DAY_DETERMINE * CALL FUNCTION 'PERIOD_DAY_DETERMINE' * EXPORTING * I_GJAHR = PGJAHR * I_MONAT = LD_MONTH * I_PERIV = TK-PERIV * IMPORTING ** E_FDAY = * E_LDAY = LD_DATE ** E_SPERIOD = * EXCEPTIONS * ERROR_PERIOD = 1 * ERROR_PERIOD_VERSION = 2 * FIRSTDAY_NOT_DEFINED = 3 * PERIOD_NOT_DEFINED = 4 * OTHERS = 5.

RSTI_SELECTION_EXPORT * CALL FUNCTION 'RSTI_SELECTION_EXPORT' * TABLES * IT_SEL = IT_SEL * IT_FIELDS = IT_FIELDS * EXCEPTIONS * OTHERS = 1.

RSTI_COMMUNICATION_HANDLER * CALL FUNCTION 'RSTI_COMMUNICATION_HANDLER' * EXPORTING * E_FCCLS = '9' * E_REC = A_REC * EXCEPTIONS * APPL_STACK_NOT_INITIALIZED = 1 * NO_LINES = 2 * NO_LINE_PICKED = 3 * OTHERS = 4.

RSTI_REPORT_FIELDS_FIND * CALL FUNCTION 'RSTI_REPORT_FIELDS_FIND' * EXPORTING * E_REPID = L_REPID * E_TYPE = 'R' * TABLES * IT_FIELDS = LT_FIELDR.

RSTI_SELECTION_TRANSFORMATION * CALL FUNCTION 'RSTI_SELECTION_TRANSFORMATION' * TABLES * IT_FIELDR = LT_FIELDR.



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