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

RGPSA_EXIT SAP ABAP Report - Maintain rollup exit program for PSC







RGPSA_EXIT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This function is needed to activate the rollup for PSC...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 RGPSA_EXIT 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

PSA01 - Activate Rollup for PSC


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_EXIT. "Basic submit
SUBMIT RGPSA_EXIT AND RETURN. "Return to original report after report execution complete
SUBMIT RGPSA_EXIT 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_BEXIT = Exit number for exit type B
Selection Text: P_CEXIT = Exit number for exit type C
Selection Text: P_CORR = Create correction Request
Selection Text: P_NEXT = Search for free exit numbers
Selection Text: P_TEST = Testrun
Title: Maintain rollup exit program for PSC
Text Symbol: 001 = Production Sharing Accounting (PSA) is subject to a separate license
Text Symbol: 002 = from SAP which involves additional costs.
Text Symbol: 003 = Have you licensed PSA?
Text Symbol: 004 = Yes
Text Symbol: 005 = No
Text Symbol: 006 = License flag pop-up
Text Symbol: 010 = Define the exit numbers
Text Symbol: 020 = Exit numbers are only needed if the search parameter is not marked
Text Symbol: 030 = Parameters
Text Symbol: 040 = Testrun and transport request


INCLUDES used within this REPORT RGPSA_EXIT

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:

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING * DEFAULTOPTION = '1' TEXTLINE1 = text-001 TEXTLINE2 = text-002 TEXTLINE3 = text-003 TEXT_OPTION1 = text-004 TEXT_OPTION2 = text-005 * ICON_TEXT_OPTION1 = ' ' * ICON_TEXT_OPTION2 = ' ' TITEL = text-006 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING ANSWER = ANTWORT.

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

RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING OBJECT = AC_OBJECT OBJECT_CLASS = 'ABAP' * MODE = ' ' "blank=existing object * GLOBAL_LOCK = ' ' "Blank=LIMU * DEVCLASS = ' ' KORRNUM = W-KORRNUM AUTHOR = SY-UNAME * MASTER_LANGUAGE = sy-langu * GENFLAG = ' ' "blank=no generation * PROGRAM = ' ' IMPORTING * DEVCLASS = KORRNUM = W-KORRNUM * NEW_CORR_ENTRY = * AUTHOR = * TRANSPORT_KEY = EXCEPTIONS CANCELLED = 1 PERMISSION_FAILURE = 2 UNKNOWN_OBJECTCLASS = 3 OTHERS = 4.

RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING OPERATION = 'DOCS' OBJECT_NAME = OBJ_NAME OBJECT_TYPE = 'PROG' * ENCLOSING_OBJECT = * POSITION = ' ' * DEVCLASS = * INCLUDE = * MONITOR_ACTIVATION = 'X' * IMPORTING * NEW_NAME = * TABLES * OBJLIST = EXCEPTIONS NOT_EXECUTED = 1 INVALID_OBJECT_TYPE = 2 OTHERS = 3.



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