RPUTIRFC 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 RPUTIRFC 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: Lunch Coupon Function (Ticket Restaurant)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = '06' * begda = sy-datum * endda = sy-datum begda = t549q-begda endda = t549q-endda IMPORTING waers = prog_waers return = return.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING * pernr = pernr-pernr arbgb = '5F' msgty = 'E' msgno = '502' msgv1 = ' ' msgv2 = ' ' * MSGV3 = ' ' * MSGV4 = ' ' EXCEPTIONS OTHERS = 1.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING * pernr = pernr-pernr arbgb = '5F' msgty = 'E' msgno = '503' msgv1 = ' ' msgv2 = ' ' * MSGV3 = ' ' * MSGV4 = ' ' EXCEPTIONS OTHERS = 1.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING * DEF_FILENAME = ' ' * DEF_PATH = ' ' mask = my_mask mode = file_mode title = 'Nom fichier'(020) IMPORTING filename = long_path rc = not_used EXCEPTIONS inv_winsys = 1 no_batch = 2 selection_cancel = 3 selection_error = 4 OTHERS = 5.
HR_99S_DOWNLOAD CALL FUNCTION 'HR_99S_DOWNLOAD' EXPORTING p_filename = file_down p_filetype = 'ASC' p_write_lf = pfru0_yes IMPORTING p_fullpath = lv_filepath_final TABLES data_tab = it_data EXCEPTIONS file_write_error = 6 OTHERS = 10.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING arbgb = '5F' msgty = 'E' msgno = 023 msgv1 = iv_filename.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING arbgb = '5F' msgty = 'I' msgno = '516' * msgv1 = file_down msgv1 = lv_filepath_final msgv2 = temp EXCEPTIONS OTHERS = 1.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = '5F' msgty = 'I' msgno = '517' * msgv1 = numb * MSGV2 = ' ' * MSGV3 = ' ' * MSGV4 = ' ' EXCEPTIONS OTHERS = 1.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = ld_repname i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_LIST ' is_layout = ls_layout it_fieldcat = lt_fieldcat[] i_save = pfru0_yes TABLES t_outtab = disp_table EXCEPTIONS program_error = 1 OTHERS = 2.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' * exporting NO_POPUP = ' ' * NO_PRINT = 'X' * NO_IMG = ' ' * LINESIZE = SY-LINSZ * tables ERROR = EXCEPTIONS invalid_linesize = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = list_header * I_LOGO = * I_END_OF_LIST_GRID = .
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = 'RP' msgty = 'E' msgno = '050' msgv1 = '0006' msgv2 = pernr-pernr msgv3 = pn-begda msgv4 = pn-endda EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPUTIRFC - Lunch Coupon Function (Ticket Restaurant) RPUTIRFB - Lunch Coupon Function ('Chèque Restaurant') RPUTIRFA - Definition for Intermediate Format RPUTIRF2 - Generate lunch coupon file ('chèque déjeuner') RPUTIRF2 - Generate lunch coupon file ('chèque déjeuner') RPUTIRF1 - Generate Lunch Coupon File ('Ticket Restaurant')