SAP Reports / Programs | Cross-Application Components | Joint Venture und Production Sharing Accounting(CA-JVA) SAP CA

RGPSA_CALC_PROCESS SAP ABAP Report - PSA Calculation







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


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 RGPSA_CALC_PROCESS. "Basic submit
SUBMIT RGPSA_CALC_PROCESS AND RETURN. "Return to original report after report execution complete
SUBMIT RGPSA_CALC_PROCESS 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_BUDAT = Posting date
Selection Text: P_BUKRS = Company code
Selection Text: P_CLC = Report layout: by calc. catgry
Selection Text: P_COMPL = Check for PSC group complete
Selection Text: P_CURT = Currency Type
Selection Text: P_EGP = Report layout: by equity group
Selection Text: P_KIND = Entitlement in Kind
Selection Text: P_PERIOD = Period
Selection Text: P_PR_DEC = Number of decimals
Selection Text: P_PR_SCL = Scale Unit
Selection Text: P_REV = Revenue
Selection Text: P_TEST = Test run/Print/Recalculation
Selection Text: P_VALKND = Entitl. in value and in kiND
Selection Text: S_VNAME = Venture
Selection Text: S_PSCGR = PSC group
Selection Text: S_PSC = PSC name
Selection Text: S_PROD = PSC product
Selection Text: S_ETYPE = Equity type
Selection Text: P_YEAR = Fiscal year
Selection Text: P_VOLUMS = Scale Unit
Selection Text: P_VOLUMD = Number of decimals
Selection Text: P_VOL = Volume
Selection Text: P_VALUES = Scale Unit
Selection Text: P_VALUED = Number of decimals
Selection Text: P_VALUE = Entitlement in Value
Title: PSA Calculation
Text Symbol: SS6 = Currency type / Decimals / Scaling / Other
Text Symbol: SS5 = Other
Text Symbol: SS4 = Value
Text Symbol: SS3 = Volume
Text Symbol: SS2 = Price
Text Symbol: SS1 = Currency
Text Symbol: SS0 = Layout options
Text Symbol: SLD = Sliding scale details
Text Symbol: SCR = Selection criteria
Text Symbol: RPT = Reporting
Text Symbol: ROY = Royalty
Text Symbol: REV = Revenue





Text Symbol: RAT = Rate
Text Symbol: PVL = Production volume
Text Symbol: PTO = to
Text Symbol: PSC = PSC
Text Symbol: PRO = Processing options
Text Symbol: PRD = Product
Text Symbol: STP = Step
Text Symbol: TAM = Total amt
Text Symbol: TBC = Company
Text Symbol: TEG = Total Equity Group
Text Symbol: TLP = Total Product
Text Symbol: TO1 = *** Totals ***
Text Symbol: TOT = ******* Totals ********
Text Symbol: TPR = Total production
Text Symbol: TST = Test run/Print/Recalculation
Text Symbol: TTP = Total Type
Text Symbol: TVL = Total vol
Text Symbol: TVN = Total Venture
Text Symbol: TXT = In Text Format
Text Symbol: TYP = Step Description
Text Symbol: UNT = Units
Text Symbol: UOM = UOM
Text Symbol: VNM = Venture
Text Symbol: VOL = Volume
Text Symbol: VTP = Volume type
Text Symbol: CTG = Report layout: by calc. catgry
Text Symbol: CST = Costs
Text Symbol: CMP = Check for PSC group complete
Text Symbol: CLC = Report Layout: by Calculation Type
Text Symbol: CFW = (cf)
Text Symbol: CCT = Cost Cap Total Production
Text Symbol: CCR = Cost Cap Remaining Production
Text Symbol: CAM = Contractor share
Text Symbol: BAS = Calculation basis
Text Symbol: AJT = Adjustments / Transfers
Text Symbol: 904 = Total
Text Symbol: 903 = Calculation Types
Text Symbol: 902 = Amount
Text Symbol: 901 = Calc. Type





Text Symbol: 017 = total w/out CF
Text Symbol: 016 = in billions
Text Symbol: 015 = in 100's of mill
Text Symbol: 014 = in 10's of mill
Text Symbol: 013 = in millions
Text Symbol: 012 = in 100's of thous
Text Symbol: 011 = in 10's of thous
Text Symbol: 010 = in thousands
Text Symbol: 009 = in hundreds
Text Symbol: 008 = in tens
Text Symbol: 007 = Consider the need for adjustment
Text Symbol: 006 = Equity Group
Text Symbol: 005 = Joint Venture
Text Symbol: 004 = PSC Product
Text Symbol: 003 = PSC Name
Text Symbol: 002 = PSC/Product/Vname/Egroup combination(s).
Text Symbol: 001 = Carry Forward position does not exist in the following
Text Symbol: CUR = Currency
Text Symbol: PR1 = Production
Text Symbol: PPU = Price per unit
Text Symbol: PLA = PLAN CALCULATION
Text Symbol: PIN = Profit Including Excess Profit
Text Symbol: PEX = Profit Excluding Excess Profit
Text Symbol: PER = Period
Text Symbol: PDT = Posting details
Text Symbol: PD1 = Production
Text Symbol: OLD = b/f
Text Symbol: OCS = Other Costs
Text Symbol: NSS = Sl/scale not displayed
Text Symbol: NDL = No Download
Text Symbol: HPR = Distribution of production
Text Symbol: HCF = Cost to be carried forward
Text Symbol: HCC = Cost cap
Text Symbol: GRP = PSC group
Text Symbol: GAM = Government share
Text Symbol: FWD = Cost carry over
Text Symbol: FRO = fr
Text Symbol: FRM = from
Text Symbol: EXN = Excess Net



Text Symbol: EXL = In Excel Format
Text Symbol: EVK = Entitlement in value and in kind
Text Symbol: EQG = Report layout: by equity group
Text Symbol: EQ2 = EGrp
Text Symbol: EPR = Excess Profit
Text Symbol: ENV = Entitlement in Value
Text Symbol: ENT = Entitlement Percentage
Text Symbol: ENK = Entitlement in Kind
Text Symbol: EGR = Equity Grp
Text Symbol: DLD = Download to File


INCLUDES used within this REPORT RGPSA_CALC_PROCESS

INCLUDE RGPSA_CALC_TOP. "DATA DECLARATION
INCLUDE RGPSA_CALC_PROCESS_MAIN_ALV.
INCLUDE RGPSA_CALC_FORMS. "FORMS USED ONLY IN THIS PROGRAM
INCLUDE RGPSA_GLOBAL_FORMS. "FORMS USED IN PROGRAM & FG
INCLUDE RGPSA_CALC_PRINT_FORMS_ALV. "FORMS FOR PRINT
INCLUDE RGPSA_CALC_PSA_FORMS. "FORMS USED IN PSA DEVELOPMENT
INCLUDE RGPSA_CALC_CREATE_LEDGER.


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:

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat1 it_events = lt_evts_1 is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' "1508898 TABLES t_outtab = gt_temp_first EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV4' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV2' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV1' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = ct_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV2' is_keyinfo = ls_key is_print = ls_prnt it_except_qinfo = gt_exc I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_second_temp t_outtab_item = gt_temp_second EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt it_except_qinfo = gt_exc I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_third t_outtab_item = gt_temp_third EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_four t_outtab_item = gt_temp_four EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_five t_outtab_item = gt_temp_five EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_six t_outtab_item = gt_temp_six EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_seven t_outtab_item = gt_temp_seven EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_eight t_outtab_item = gt_temp_eight EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_nine t_outtab_item = gt_temp_nine EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_ten t_outtab_item = gt_temp_ten EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV4' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV3' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat1 it_events = lt_evts_1 is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab = gt_temp_last EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV5' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo11 it_fieldcat = lt_fcat11 it_events = lt_evts_11 is_print = ls_prnt11 it_except_qinfo = gt_exc I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab = gt_temp_outtab1 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV6' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV7' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = ct_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo11 it_fieldcat = lt_fcat11 it_sort = lt_sort it_events = lt_evts_11 is_print = ls_prnt11 it_except_qinfo = gt_exc TABLES t_outtab = gt_temp_outtab2 EXCEPTIONS program_error = 1 OTHERS = 2.



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