SAP Reports / Programs

RGPSA_DISP_DOC SAP ABAP Report - PSA documents by period







RGPSA_DISP_DOC 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_DISP_DOC 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

PSARP1 - PSA document display


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_DISP_DOC. "Basic submit
SUBMIT RGPSA_DISP_DOC AND RETURN. "Return to original report after report execution complete
SUBMIT RGPSA_DISP_DOC 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: S_VNAME = Joint Venture
Selection Text: S_PSCGR = PSC group
Selection Text: S_PSC = Production sharing contract
Selection Text: S_PROD = PSC product
Selection Text: S_EQGRP = Equity Group
Selection Text: P_YEAR = Fiscal year
Selection Text: P_VAR = Profile
Selection Text: P_TSFR = Include Transfer Documents
Selection Text: P_REV = Include Reversed Documents
Selection Text: P_PERIOD = Period
Selection Text: P_BUKRS = Company code
Title: PSA documents by period
Text Symbol: VAR = Display variant
Text Symbol: SCR = Selection criteria
Text Symbol: REV = Reversal Doc
Text Symbol: PSC = PSC
Text Symbol: PRD = Product
Text Symbol: PGR = PSC group
Text Symbol: PDT = Posting period
Text Symbol: OPT = Display options
Text Symbol: JVA = Joint Venture
Text Symbol: EQG = Equity Group
Text Symbol: BUK = Company code
Text Symbol: 001 = Ipsahd


INCLUDES used within this REPORT RGPSA_DISP_DOC

INCLUDE RGPSA_DISP_DOCTOP.
INCLUDE RGPSA_DISP_DOCSCR.


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:

CHECK_ERP_JVA_LIST CALL FUNCTION 'CHECK_ERP_JVA_LIST' IMPORTING EV_CHECK_SWITCH_FLAG = LV_SWITCH_FLAG EXCEPTIONS INVALID_SWITCH = 1 OTHERS = 2 .

PSA_CHECK_REP_AUTHORITY CALL FUNCTION 'PSA_CHECK_REP_AUTHORITY' EXPORTING BUKRS = ipsahd-bukrs PSC_NAME = ipsahd-psc_name ACTVT = 'A5' PRODUCT = ipsahd-psc_product RLDNR = ipsahd-rldnr "FV200211 RRCTY = ipsahd-rrcty "FV200211 RVERS = ipsahd-rvers "FV200211 * TERM = "FV200211 * IMPORTING * AUTH_RC = * EXCEPTIONS * NO_AUTHORITY = 1 * OTHERS = 2 .

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = L_REPID * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' IS_LAYOUT = IS_LAYOUT IT_FIELDCAT = IT_FIELDCAT IT_EXCLUDING = IT_EXCLUDE * IT_SPECIAL_GROUPS = IT_SORT = IT_SORT * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' IT_EVENTS = IT_EVENTS * IT_EVENT_EXIT = * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = IPSaDC EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = L_REPID * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' IS_LAYOUT = IS_LAYOUT IT_FIELDCAT = IT_FIELDCAT IT_EXCLUDING = IT_EXCLUDE * IT_SPECIAL_GROUPS = IT_SORT = IT_SORT * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' IT_EVENTS = IT_EVENTS * IT_EVENT_EXIT = * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = IPSaDH EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = I_INTERNAL_TABNAME = LS_TABNAME I_STRUCTURE_NAME = 'PSC_DISP' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = CHANGING CT_FIELDCAT = LT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = IT_EVENTS.



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