SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Repository Browser(BC-DWB-UTL-BRR) SAP BC

REPTRAN SAP ABAP Report - Report and modul pool transporter







REPTRAN 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 REPTRAN 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 REPTRAN. "Basic submit
SUBMIT REPTRAN AND RETURN. "Return to original report after report execution complete
SUBMIT REPTRAN 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: ALLFILES = Load all files at dir path
Selection Text: CDAT = D .
Selection Text: CNAM = D .
Selection Text: CODEONLY = ABAP code only
Selection Text: DEVCLASS = D .
Selection Text: DISPLAY = Display
Selection Text: D_FILES = Display files
Selection Text: LD_FILES = Load files and display
Selection Text: L_FILES = Load files
Selection Text: PATH = Directory path
Selection Text: REPORT = D .
Selection Text: RSTAT = D .
Selection Text: SAVE = Save in files
Selection Text: SAVEDSPL = Save in files and display
Selection Text: SUBC = D .
Selection Text: SUFFIX = File name suffix
Selection Text: UDAT = D .
Selection Text: UNAM = D .
Title: Report and modul pool transporter
Text Symbol: 070 = BSP Application Texts
Text Symbol: 069 = BSP Application List
Text Symbol: 068 = Class Sub Components Descriptions
Text Symbol: 067 = Class Sub Components Remote Infos
Text Symbol: 066 = Class Sub Components Definitions
Text Symbol: 065 = Class Sub Components
Text Symbol: 064 = Class Type-Pools
Text Symbol: 063 = Class Friends
Text Symbol: 062 = Class Redefinitions
Text Symbol: 061 = Class Mapping Classes
Text Symbol: 060 = Class Mapping Attributes
Text Symbol: 059 = Class Components Relation Types
Text Symbol: 058 = Class Components Descriptions
Text Symbol: 057 = Class Components Remote Infos
Text Symbol: 056 = Class Components Definitions
Text Symbol: 055 = Class Components
Text Symbol: 054 = Class Meta Relations
Text Symbol: 071 = BSP Navigation Graph
Text Symbol: 072 = BSP Navigation Map





Text Symbol: 073 = BSP Page Directory
Text Symbol: 074 = BSP Page Texts
Text Symbol: 075 = BSP Eventhandler List
Text Symbol: 076 = BSP Page Include List
Text Symbol: 077 = BSP Page Parameter List
Text Symbol: 078 = BSP Page Parameter Texts
Text Symbol: 079 = BSP Page Source
Text Symbol: 080 = BSP Page Eventhandler Source
Text Symbol: 081 = BSP Page Type Source
Text Symbol: 082 = The program/function name entered does not exist!
Text Symbol: 083 = Program
Text Symbol: 084 = Local directory path for saving:
Text Symbol: 085 = Note: Only the ABAP code was saved.
Text Symbol: 086 = Note: Only the ABAP code is displayed.
Text Symbol: 087 = DETAILS:
Text Symbol: 026 = Dynamic Function Texts
Text Symbol: 025 = Status Attributes
Text Symbol: 024 = Status Short Texts
Text Symbol: 023 = Status Texts
Text Symbol: 022 = Last used Numbers
Text Symbol: 021 = Include Menus
Text Symbol: 020 = Function Sets
Text Symbol: 019 = PF Keys
Text Symbol: 018 = Push Buttons
Text Symbol: 017 = Action Bars
Text Symbol: 016 = Menu Texts
Text Symbol: 015 = Menus
Text Symbol: 014 = Function Texts
Text Symbol: 013 = GUI Status
Text Symbol: 012 = doesn't contain valid program source
Text Symbol: 011 = Enter report/BSP application or enter path
Text Symbol: 010 = successfully saved
Text Symbol: 009 = Report/BSP application was also identified
Text Symbol: 008 = not saved, RC =
Text Symbol: 007 = successfully saved
Text Symbol: 006 = not uploaded, RC =
Text Symbol: 005 = successfully uploaded
Text Symbol: 004 = Text elements
Text Symbol: 003 = Source





Text Symbol: 002 = not downloaded, RC =
Text Symbol: 001 = successfully downloaded
Text Symbol: 027 = Dynamic Menu Texts
Text Symbol: 053 = Class Description
Text Symbol: 052 = Class Remote Info
Text Symbol: 051 = Class Definition
Text Symbol: 050 = Class Entry
Text Symbol: 049 = Function List
Text Symbol: 048 = Methods List
Text Symbol: 047 = Menu Bars
Text Symbol: 046 = includes another Dynpro
Text Symbol: 045 = Object Codes
Text Symbol: 044 = Includes were renamed if required, please check!
Text Symbol: 043 = Management Information
Text Symbol: 042 = Title Codes
Text Symbol: 041 = Dynpro
Text Symbol: 040 = Dynpro List
Text Symbol: 039 = Include exists already!
Text Symbol: 038 = Dynpro Matchcodes
Text Symbol: 037 = Dynpro Source
Text Symbol: 036 = Field List
Text Symbol: 035 = Dynpro Attributes
Text Symbol: 034 = Do you want to overwrite the include?
Text Symbol: 033 = Include List
Text Symbol: 032 = Include Source
Text Symbol: 031 = GUI Status ...
Text Symbol: 030 = Title Bars
Text Symbol: 029 = Icons
Text Symbol: 028 = Symbol Bars


INCLUDES used within this REPORT REPTRAN

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_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING * ENVIRONMENT = ' ' * FILENAME = ' ' query = 'OS' * WINID = ' ' IMPORTING return = os EXCEPTIONS inv_query = 1 no_batch = 2 frontend_error = 3 OTHERS = 4.

RS_CUA_INTERNAL_FETCH CALL FUNCTION 'RS_CUA_INTERNAL_FETCH' EXPORTING program = reports * LANGUAGE = * STATE = 'A' IMPORTING adm = adm4 * LANGU = * AUTHOR = * DATE = * TIME = * CAUTHOR = * CDATE = * CTIME = * GDATE = * GTIME = TABLES sta = sta4 fun = fun4 men = men4 mtx = mtx4 act = act4 but = but4 pfk = pfk4 set = set4 doc = doc4 tit = tit4 biv = biv46c EXCEPTIONS not_found = 1 unknown_version = 2 OTHERS = 3.

RS_SCRP_UPGRADE_DYNPRO CALL FUNCTION 'RS_SCRP_UPGRADE_DYNPRO' TABLES f = fld m = mat CHANGING h = hdr.

RS_SCRP_GET_SCREEN_INFOS



CALL FUNCTION 'RS_SCRP_GET_SCREEN_INFOS' EXPORTING dynnr = hdr-dnum progname = hdr-prog with_fieldlist = 'X' IMPORTING lines = lines columns = rows TABLES fieldlist = fld EXCEPTIONS dynpro_does_not_exist = 01 no_field_list = 02.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = tabelle EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING * DEF_FILENAME = ' ' def_path = path mask = ',*.txt,*.txt.'

WS_EXECUTE CALL FUNCTION 'WS_EXECUTE' EXPORTING * DOCUMENT = ' ' cd = path commandline = command * INFORM = ' ' program = shell * STAT = ' ' * WINID = ' ' * OSMAC_SCRIPT = ' ' * OSMAC_CREATOR = ' ' * WIN16_EXT = ' ' * EXEC_RC = ' ' * IMPORTING * RBUFF = EXCEPTIONS frontend_error = 1 no_batch = 2 prog_not_found = 3 illegal_option = 4 OTHERS = 5.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = datei * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = dirtab 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.

RS_SCRP_FIELDS_RAW_TO_CHAR CALL FUNCTION 'RS_SCRP_FIELDS_RAW_TO_CHAR' TABLES fields_int = fld fields_char = fields_char EXCEPTIONS OTHERS = 1.

RS_SCRP_HEADER_RAW_TO_CHAR CALL FUNCTION 'RS_SCRP_HEADER_RAW_TO_CHAR' EXPORTING header_int = hdr IMPORTING header_char = header_char EXCEPTIONS OTHERS = 1.

RS_SCRP_FIELDS_RAW_TO_CHAR CALL FUNCTION 'RS_SCRP_FIELDS_RAW_TO_CHAR' TABLES fields_int = fld fields_char = fields_char 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 REPTRAN or its description.