SAP Reports / Programs

RPUTPSPF SAP ABAP INCLUDE - HR-PT-PS: TemSe Display/Download Utility Pub. Sector - Form Routines







RPUTPSPF is a standard ABAP INCLUDE 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 RPUTPSPF 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 RPUTPSPF. "Basic submit
SUBMIT RPUTPSPF AND RETURN. "Return to original report after report execution complete
SUBMIT RPUTPSPF VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: HR-PT-PS: TemSe Display/Download Utility Pub. Sector - Form Routines


INCLUDES used within this REPORT RPUTPSPF

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:

SCMS_BINARY_TO_XSTRING CALL FUNCTION 'SCMS_BINARY_TO_XSTRING' EXPORTING input_length = l_size IMPORTING buffer = pv_bdap_xml TABLES binary_tab = pt_cbdap0 EXCEPTIONS OTHERS = 99.

RP_TS_OPEN CALL FUNCTION 'RP_TS_OPEN' EXPORTING tsobj = tsobj empfg = empfg EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 no_object = 5 no_permission = 6 no_hr_application_file = 7 invalid_version_number = 8 wrong_report = 9 OTHERS = 10.

RSTS_READ CALL FUNCTION 'RSTS_READ' TABLES datatab = gt_cbdap0 EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.

RSTS_READ CALL FUNCTION 'RSTS_READ' TABLES datatab = gt_ccgap0 EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.

RSTS_READ CALL FUNCTION 'RSTS_READ' TABLES datatab = gt_ccgap1 EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.

RSTS_READ CALL FUNCTION 'RSTS_READ' TABLES datatab = gt_adse_rp EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.

SCMS_XSTRING_TO_BINARY CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING BUFFER = l_buffer TABLES BINARY_TAB = g_xtab.

RSTS_READ CALL FUNCTION 'RSTS_READ' TABLES datatab = gt_sioe_rp EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_noconv = 3 fb_rsts_other = 4 OTHERS = 5.

SCMS_XSTRING_TO_BINARY CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING BUFFER = l_buffer TABLES BINARY_TAB = g_xtab.

RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXCEPTIONS fb_call_handle = 1 fb_error = 2 fb_rsts_other = 3 OTHERS = 4.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING i_categ_id = l_category i_structure_name = p_structure is_layout = l_layout EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD CALL FUNCTION 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = p_node_text i_icon = icon_read_file i_categ_id = l_category IMPORTING e_node_key = l_temse_node EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_NODE_ADD_ROW CALL FUNCTION 'HR_PAL_NODE_ADD_ROW' EXPORTING i_node_key = l_temse_node i_row_data = EXCEPTIONS program_error = 1 OTHERS = 2.

HR_99S_DOWNLOAD CALL FUNCTION 'HR_99S_DOWNLOAD' EXPORTING p_write_lf = 'X' TABLES data_tab = gt_ccgap0 EXCEPTIONS file_save_dialog = 1 file_write_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 unknown_error = 6 wrong_tab_format = 7 OTHERS = 8.

HR_99S_DOWNLOAD CALL FUNCTION 'HR_99S_DOWNLOAD' EXPORTING p_write_lf = '' p_filename = '.xml'

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = p_size i_msgty = l_msgty i_msgid = 'HRPBSPT_PBPS' i_msgno = '210' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_99S_DOWNLOAD CALL FUNCTION 'HR_99S_DOWNLOAD' EXPORTING p_write_lf = 'X' TABLES data_tab = gt_ccgap1 EXCEPTIONS file_save_dialog = 1 file_write_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 unknown_error = 6 wrong_tab_format = 7 OTHERS = 8.

SCMS_BINARY_TO_XSTRING CALL FUNCTION 'SCMS_BINARY_TO_XSTRING' EXPORTING input_length = lv_size IMPORTING buffer = cv_adse_rp_xml TABLES binary_tab = ct_adse_rp EXCEPTIONS OTHERS = 99.

HR_PAL_STATS_MSG_ADD





CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = pv_size i_msgty = lv_msgty i_msgid = 'HRPBSPT_PBPS' i_msgno = '024' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_99S_DOWNLOAD CALL FUNCTION 'HR_99S_DOWNLOAD' EXPORTING p_write_lf = '' p_filename = '.xml'

SCMS_BINARY_TO_XSTRING CALL FUNCTION 'SCMS_BINARY_TO_XSTRING' EXPORTING input_length = lv_size IMPORTING buffer = cv_sioe_rp_xml TABLES binary_tab = ct_sioe_rp EXCEPTIONS OTHERS = 99.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = pv_size i_msgty = lv_msgty i_msgid = 'HRPBSPT_PBPS' i_msgno = '026' EXCEPTIONS program_error = 1 OTHERS = 2.

HR_99S_DOWNLOAD CALL FUNCTION 'HR_99S_DOWNLOAD' EXPORTING p_write_lf = '' p_filename = '.xml'



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