SAP Reports / Programs

RGCZGE00 SAP ABAP Report - Elimination of Intercompany Profit/Loss







RGCZGE00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used for the elimination of intercompany profit and loss in the current assets based on deliveries and services among group companies...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RGCZGE00 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

OC94 - Elim.of Intercompany Profit/Loss


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 RGCZGE00. "Basic submit
SUBMIT RGCZGE00 AND RETURN. "Return to original report after report execution complete
SUBMIT RGCZGE00 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_VJBART = Doc type: prev period posting
Selection Text: P_VJANT = Post P/L from previous period
Selection Text: P_VERS = Version
Selection Text: P_TKONZ = Subgroup
Selection Text: P_PERID = Period
Selection Text: P_NURGES = Only inventory managing co.
Selection Text: P_NURASC = Supplying company
Selection Text: P_LART = List type
Selection Text: P_ILPOS = No posting of interco. losses
Selection Text: P_GJAHR = Fiscal year
Selection Text: P_GEGB = Offset to inventory manag. co.
Selection Text: P_CUTYP = Exchange rate indicator
Selection Text: P_BELART = Document type
Selection Text: P_BDC = Generate postings
Title: Elimination of Intercompany Profit/Loss
Text Symbol: 116 = Long text
Text Symbol: 115 = Messages
Text Symbol: 114 = FS item Item text TTy Debit Credit
Text Symbol: 113 = Grand total of deferred taxes:
Text Symbol: 112 = The values of the following suppliers originate from prior periods:
Text Symbol: 111 = Balance
Text Symbol: 110 = Inv.co Sup.co Invoice amount Current prd Prior prd Diff.
Text Symbol: 109 = Prod Product group - Initial value - ................Interco profit/loss............
Text Symbol: 108 = FS item Item text - Initial value - ................Interco profit/loss............
Text Symbol: 107 = GRAND TOTAL:
Text Symbol: 106 = Company Invoiced amount Current period Prior period Diff.
Text Symbol: 105 = InvMgt/Supp. Company names - Initial value .................Interco profit/loss............
Text Symbol: 104 = Supplying company:
Text Symbol: 103 = Inventory managing co.:
Text Symbol: 102 = Subgroup: Version: Rpt date:
Text Symbol: 101 = BS val. Grp cur. Incid.costs Reporting cur. Group currency Group APC Curr. period Prior period Diff.
Text Symbol: 100 = BS value Loc.curr. Value adjust. Inventory value Invoice amount IP % rate ...............Interco. profit/loss.............
Text Symbol: 014 = No documents were posted
Text Symbol: 013 = |FS item |Item text |Co.ID |TrPtr |TTy|Add.fld 1 |Add.fld 2 |Add.fld 3 | Debit | Credit
Text Symbol: 012 = Document(s) posted directly !
Text Symbol: 011 = has been generated !
Text Symbol: 010 = Batch input session
Text Symbol: 009 = |FS Item |Item text |Co.ID |TrPtr |TTy| Debit | Credit





Text Symbol: 008 = P O S T I N G D O C U M E N T
Text Symbol: 001 = Elimination of intercompany profit/loss


INCLUDES used within this REPORT RGCZGE00

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:

MESSAGES_INITIALIZE * CALL FUNCTION 'MESSAGES_INITIALIZE' "QBE000774a * EXCEPTIONS "QBE000774a * OTHERS = 1. "QBE000774a

DB_COMMIT * CALL FUNCTION 'DB_COMMIT'.

CHECK_COMBINATION_OF_ADDFIELDS ** call function 'CHECK_COMBINATION_OF_ADDFIELDS' "xhe080198 ** exporting "xhe080198 ** e_aftyp = gd_aftyp "xhe080198 ** e_item = listtab-ritem "xhe080198 ** e_adfld1 = it_t866z-adfld1 "xhe080198 ** e_adfld2 = it_t866z-adfld2 "xhe080198 ** e_adfld3 = it_t866z-adfld3 "xhe080198 ** e_flgerr = space "xhe080198 ** importing "xhe080198 ** i_subrc = gd_subrc. "xhe080198

MESSAGES_GIVE * CALL FUNCTION 'MESSAGES_GIVE' "xhe071197 * TABLES "xhe071197 * T_MESG = IT_MSG_OUT "xhe071197 * EXCEPTIONS "xhe071197 * OTHERS = 1. "xhe071197

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * ARBGB = CM_MSGID * MSGTY = CM_MSGTY * MSGV1 = CM_MSGV1 * MSGV2 = CM_MSGV2 * MSGV3 = CM_MSGV3 * MSGV4 = CM_MSGV4 * TXTNR = CM_MSGNO.

HELPSCREEN_NA_CREATE * CALL FUNCTION 'HELPSCREEN_NA_CREATE' "QBE000774a * EXPORTING "QBE000774a * LANGU = SY-LANGU "QBE000774a * MELD_ID = IT_MSG_OUT-ARBGB "QBE000774a * MELD_NR = H_MSGNO "QBE000774a * MSGV1 = IT_MSG_OUT-MSGV1 "QBE000774a * MSGV2 = IT_MSG_OUT-MSGV2 "QBE000774a * MSGV3 = IT_MSG_OUT-MSGV3 "QBE000774a * MSGV4 = IT_MSG_OUT-MSGV4 "QBE000774a * TITEL = TEXT-116 "QBE000774a * EXCEPTIONS "QBE000774a * OTHERS = 1. "QBE000774a

MESSAGES_GIVE * CALL FUNCTION 'MESSAGES_GIVE' "QBE000774a * TABLES "QBE000774a * T_MESG = IT_MSG_OUT "QBE000774a * EXCEPTIONS "QBE000774a * OTHERS = 1. "QBE000774a



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