RGPSC_RPTDC 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_RPTDC into the relevant SAP transactions such as SE38 or SE80
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.
Title: PSC documents by period
Text Symbol: PDT = Posting period
Text Symbol: SCR = Selection criteria
INCLUDE RGPSC_RPTDCTOP.
INCLUDE RGPSC_RPTDCSCR.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_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_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_TABNAME_HEADER = TN_HEADER I_TABNAME_ITEM = TN_ITEM * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = IS_KEYINFO = IS_KEY_INFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB_HEADER = IPSCHD T_OUTTAB_ITEM = IPSCDC 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 = 'PSCHD' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = CHANGING CT_FIELDCAT = IT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
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 = IT_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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.