SAP Reports / Programs

RPUPSCT0 SAP ABAP Report - documentation and ABAP source code







RPUPSCT0 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 RPUPSCT0 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 RPUPSCT0. "Basic submit
SUBMIT RPUPSCT0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUPSCT0 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: CRE_NEW = Save read records ?
Selection Text: DEL_OLD = Delete old records ?
Selection Text: FLD1_LN = Lenght for post name
Selection Text: FLD1_ST = Offset for post name
Selection Text: FLD2_LN = Lenght for PSÈ
Selection Text: FLD2_ST = Offset for PSÈ
Selection Text: SHORTPS = PSÈ in file on 6 places ?
Selection Text: SRC_FILE = Place for source file
Title: Read classifier PSC from local field (EXCEL exported to PRN)
Text Symbol: 001 = Tabulka T5T51 byla vymazána
Text Symbol: 002 = Zápis do tabulky T5T51
Text Symbol: 003 = ----------------------
Text Symbol: 004 = Data nebylo mo¾no naèíst
Text Symbol: 005 = Data ze souboru naètena, probìhe konverze
Text Symbol: 006 = Data ulo¾ena do tabulky T5T51
Text Symbol: 007 = Naètená data:
Text Symbol: 008 = -------------
Text Symbol: E01 = Nesoulad v uvedené délkce PSÈ


INCLUDES used within this REPORT RPUPSCT0

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:

WS_UPLOAD *CALL FUNCTION 'WS_UPLOAD' * EXPORTING * FILENAME = SRC_FILE * FILETYPE = ' ' * IMPORTING * FILELENGTH = DELKA * TABLES * DATA_TAB = INT_TABL * EXCEPTIONS * CONVERSION_ERROR = 1 * FILE_OPEN_ERROR = 2 * FILE_READ_ERROR = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = F_NAME * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * DAT_MODE = ' ' IMPORTING FILELENGTH = DELKA_I * HEADER = TABLES DATA_TAB = INT_TABL EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17.



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