RGPSC_CALC_REV 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 RGPSC_CALC_REV into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PSCREV - PSC calculation reversal
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.
Selection Text: P_BUKRS = Company code
Selection Text: P_PERIOD = Period
Selection Text: P_TEST = Test run
Selection Text: P_YEAR = Fiscal year
Selection Text: S_EQGRP = Equity Group
Selection Text: S_PROD = PSC product
Selection Text: S_PSC = Production sharing contract
Selection Text: S_PSCGR = PSC group
Selection Text: S_VNAME = Venture
Title: PSC calculation reversal
Text Symbol: CCD = Company code
Text Symbol: HDR = Reversal of PSC documents
Text Symbol: PDT =
Text Symbol: PER = Period
Text Symbol: PRD = Product
Text Symbol: PRO =
Text Symbol: PSC = PSC
Text Symbol: SCR =
INCLUDE RGPSC_CALC_REVTOP .
INCLUDE RGPSC_CALC_REVSCR .
No SAP DATABASE tables are accessed within this REPORT code!
G_PERIODS_OF_YEAR_GET CALL FUNCTION 'G_PERIODS_OF_YEAR_GET' EXPORTING VARIANT = T001-PERIV YEAR = P_YEAR IMPORTING LAST_NORMAL_PERIOD = NEXT_PERIOD TABLES I_PERIODS = I_PERIODS EXCEPTIONS VARIANT_NOT_DEFINED = 1 YEAR_NOT_DEFINED = 2 OTHERS = 3.
PSC_DOCUMENT_POST CALL FUNCTION 'PSC_DOCUMENT_POST' EXPORTING REVERSAL = 'X' TABLES TPSCHD = TPSCHD TPSCHD_REV = TPSCHD_REV2 EXCEPTIONS NO_DOCUMENT_HEADER = 1 MULTIPLE_DOCUMENT_HEADERS = 2 NUMBER_NOT_FOUND = 3 OTHERS = 4.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = L_REPID I_STRUCTURE_NAME = L_STRUC * IS_LAYOUT = * IT_FIELDCAT = * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' IT_EVENTS = IT_EVENTS * IT_EVENT_EXIT = * IS_PRINT = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = TPSCHD_REV EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.