SAP Reports / Programs

RGPSA_COST_ADJUSTMENT SAP ABAP Report - PSA Cost Adjustment







RGPSA_COST_ADJUSTMENT 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_COST_ADJUSTMENT 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

PSA58 - Cost Adjustments


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_COST_ADJUSTMENT. "Basic submit
SUBMIT RGPSA_COST_ADJUSTMENT AND RETURN. "Return to original report after report execution complete
SUBMIT RGPSA_COST_ADJUSTMENT 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_YEAR = Year
Selection Text: P_VNAME2 = Joint Venture
Selection Text: P_VNAME = Joint Venture
Selection Text: P_SGTXT = Adjustment Text
Selection Text: P_RVERS = Version
Selection Text: P_RRCTY = Record Type
Selection Text: P_RCODE = Reason Code
Selection Text: P_PSC2 = PSC Name
Selection Text: P_PSC = PSC Name
Selection Text: P_PRTNTO = Partner
Selection Text: P_PRTNFR = Partner
Selection Text: P_PROD2 = PSC Product
Selection Text: P_PROD = PSC Product
Selection Text: P_PER = Period
Selection Text: P_ETYPE2 = Equity Type
Selection Text: P_ETYPE = Equity Type
Selection Text: P_DATE = Posting Date
Selection Text: P_CURR = Currency Code
Selection Text: P_CLTYPE = Calculation Type
Selection Text: P_CLTYP2 = Calculation Type
Selection Text: P_BUKRS = Company Code
Selection Text: P_AMT = Transfer Amount
Title: PSA Cost Adjustment
Text Symbol: 012 = Reason for Adjustment
Text Symbol: 008 = Company
Text Symbol: 007 = Cross Flow Cost Recovery
Text Symbol: 006 = Transfer data TO
Text Symbol: 005 = Period, Year and Transfer Amount
Text Symbol: 004 = Transfer data FROM
Text Symbol: 003 = Direct Cost Adjustment
Text Symbol: 002 = Adjustment Type
Text Symbol: 001 = Record Type and Version


INCLUDES used within this REPORT RGPSA_COST_ADJUSTMENT

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:

PSA_CHECK_PROC_AUTHORITY CALL FUNCTION 'PSA_CHECK_PROC_AUTHORITY' "HJ200210 EXPORTING PROCESS_CODE = w_process_code BUKRS = p_bukrs PSC_NAME = x_psc ACTVT = w_actvt * IMPORTING * AUTH_RC = * EXCEPTIONS * NO_PROC_AUTH = 1 * ONLY_DISPLAY = 2 * NO_AUTHORITY = 3 * OTHERS = 4 .

G_POSTING_DATE_OF_PERIOD_GET call function 'G_POSTING_DATE_OF_PERIOD_GET' exporting period = p_per variant = t001-periv year = p_year importing * FROM_DATE = * LAST_NORMAL_PERIOD = to_date = w_budat * FROM_DATE_ORIG = exceptions period_not_defined = 1 variant_not_defined = 2 others = 3.

VALID_EQUITY_GROUP CALL FUNCTION 'VALID_EQUITY_GROUP' EXPORTING bldat = w_budat budat = w_budat bukrs = p_bukrs coobjtype = 'KS' etype = p_etype vname = p_vname * WARN = ' ' IMPORTING egrup = w_eqgrp EXCEPTIONS no_entry = 1 * OBJ_ART_UNKNOWN = 2 * WARNING = 3 * OTHERS = 4 .

VALID_EQUITY_GROUP CALL FUNCTION 'VALID_EQUITY_GROUP' EXPORTING bldat = w_budat budat = w_budat bukrs = p_bukrs coobjtype = 'KS' etype = p_etype2 vname = p_vname2 * WARN = ' ' IMPORTING egrup = w_eqgrp2 EXCEPTIONS no_entry = 1 * OBJ_ART_UNKNOWN = 2 * WARNING = 3 * OTHERS = 4 .

PSA_COST_ADJUSTMENT_CREATE CALL FUNCTION 'PSA_COST_ADJUSTMENT_CREATE' TABLES IT8PSA_COST_ADJ = i_costadj EXCEPTIONS NUMBER_GENERATION_FAILED = 1 POSTING_FAILED = 2 INCOMPLETE_DATA_PASSED = 3 OTHERS = 4.

PSA_GET_LEDGER_CURRENCY call function 'PSA_GET_LEDGER_CURRENCY' EXPORTING i_bukrs = p_bukrs TABLES t_ledger = i_ledger t_curr = i_curr EXCEPTIONS source_not_defined = 1 currency_not_defined = 2 others = 3.

FI_CURRENCIES_CONVERT call function 'FI_CURRENCIES_CONVERT' exporting i_icurr = intcurr importing e_icurr = intcurr exceptions others = 1.



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