SAP Reports / Programs | Payroll(PY) SAP PY

RPUTRXT0 SAP ABAP Report - Service routine for create medium ISCP TREXIMA







RPUTRXT0 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 RPUTRXT0 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 RPUTRXT0. "Basic submit
SUBMIT RPUTRXT0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUTRXT0 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: ROK = Year for file TREXIMA
Selection Text: P_XML = Output file XML
Selection Text: P_KVART = Quarter
Selection Text: P_DBF = Output file DBF
Selection Text: P_CODEP = Codepage for file
Selection Text: P_ASC = Output file TXT
Selection Text: FILE2 = Path for downloading file
Selection Text: FILE1 = File for application server
Title: Service routine for create medium ISCP TREXIMA
Text Symbol: ZRM = Auswertungszeitraum: tt.mm.jj bis tt.mm.jj
Text Symbol: STT = Stichtag: tt.mm.jj
Text Symbol: S02 = Education
Text Symbol: 013 = Evidenèní stav :
Text Symbol: 012 = Poèet záznamù :
Text Symbol: 011 = Prùmìry z období :
Text Symbol: 010 = Zpracováno období:
Text Symbol: 006 = Zvolte jiný název souboru!
Text Symbol: 005 = se nepodaøilo otevøít.
Text Symbol: 004 = Soubor
Text Symbol: 003 = Ostatní parametry
Text Symbol: 002 = Výbìr období
Text Symbol: 001 = DOWNLOAD dat do souboru/na disketu se nezdaøil !


INCLUDES used within this REPORT RPUTRXT0

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:

DOWNLOAD

GUI_DOWNLOAD * CALL FUNCTION 'DOWNLOAD' "DBE Uni CALL FUNCTION 'GUI_DOWNLOAD' "DBE Uni EXPORTING FILENAME = 'C:\mp.dbf'

DOWNLOAD

GUI_DOWNLOAD * CALL FUNCTION 'DOWNLOAD' "DBE Uni CALL FUNCTION 'GUI_DOWNLOAD' "DBE Uni EXPORTING FILENAME = 'C:\mi.dbf'

DOWNLOAD

GUI_DOWNLOAD * CALL FUNCTION 'DOWNLOAD' "DBE Uni CALL FUNCTION 'GUI_DOWNLOAD' "DBE Uni EXPORTING FILENAME = 'C:\mi.txt'

DOWNLOAD

GUI_DOWNLOAD * CALL FUNCTION 'DOWNLOAD' "DBE Uni CALL FUNCTION 'GUI_DOWNLOAD' "DBE Uni EXPORTING FILENAME = 'C:\mp.txt'

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'DBF' TABLES DATA_TAB = WORKTAB_2006 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'DBF' CODEPAGE = p_codep TABLES DATA_TAB = WORKTAB_2006 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' "DBE Uni EXPORTING FILENAME = i_filename FILETYPE = 'DBF' TABLES DATA_TAB = HDRTAB_2006 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' "DBE Uni EXPORTING FILENAME = i_filename FILETYPE = 'DBF' CODEPAGE = p_codep TABLES DATA_TAB = HDRTAB_2006 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' TABLES DATA_TAB = HT2_2006.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' TABLES DATA_TAB = WT2_2006.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' CODEPAGE = p_codep TABLES DATA_TAB = HT2_2006.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' CODEPAGE = p_codep TABLES DATA_TAB = WT2_2006.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'DBF' TABLES DATA_TAB = WORKTAB_2009 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'DBF' CODEPAGE = p_codep TABLES DATA_TAB = WORKTAB_2009 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' "DBE Uni EXPORTING FILENAME = i_filename FILETYPE = 'DBF' TABLES DATA_TAB = HDRTAB_2009 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' "DBE Uni EXPORTING FILENAME = i_filename FILETYPE = 'DBF' CODEPAGE = p_codep TABLES DATA_TAB = HDRTAB_2009 FIELDNAMES = IHEADER.

GUI_DOWNLOAD





CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' TABLES DATA_TAB = HT2_2009.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' TABLES DATA_TAB = WT2_2009.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' CODEPAGE = p_codep TABLES DATA_TAB = HT2_2009.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' CODEPAGE = p_codep TABLES DATA_TAB = WT2_2009.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'DBF' TABLES DATA_TAB = WORKTAB_2011 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'DBF' CODEPAGE = p_codep TABLES DATA_TAB = WORKTAB_2011 FIELDNAMES = IHEADER.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' TABLES DATA_TAB = HT2_2009.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' TABLES DATA_TAB = WT2_2011.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' CODEPAGE = p_codep TABLES DATA_TAB = HT2_2009.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = i_filename FILETYPE = 'ASC' CODEPAGE = p_codep TABLES DATA_TAB = WT2_2011.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_file1 filetype = 'BIN' bin_filesize = gv_length TABLES data_tab = gt_xml_table 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.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = file1 IMPORTING FILE_NAME = lv_asnam1 EXCEPTIONS FILE_NOT_FOUND = 1 OTHERS = 2 .

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = file1 changing physical_filename = lv_asnam1 EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 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 RPUTRXT0 or its description.