SAP Reports / Programs | Financial Accounting | Travel Management(FI-TV) SAP FI

RPR_TEST_REQUEST_F01 SAP ABAP INCLUDE - Form routines Test report request







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


Text pool values


Title: Form routines Test report request


INCLUDES used within this REPORT RPR_TEST_REQUEST_F01

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:

PTRM_TEST_MESSAGES_SHOW_PAI CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PAI' CHANGING it_return = et_return.

PTRM_REQUEST_SUBMIT CALL FUNCTION 'PTRM_REQUEST_SUBMIT' DESTINATION g_rfc_destination EXPORTING i_employeenumber = g_employeenumber i_tripnumber = g_tripnumber i_language = sy-langu i_general_data = g_general_data it_cost_dist_trip = it_costdist_trip_check IMPORTING e_tripnumber = g_tripnumber e_general_data = g_general_data et_cost_dist_trip = gt_costdist_trip et_return = et_return. "#EC ENHOK

PTRM_TEST_MESSAGES_SHOW_PAI CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PAI' CHANGING it_return = et_return.

PTRA_WEB_EXPENSE_REPORT_CHECK CALL FUNCTION 'PTRA_WEB_EXPENSE_REPORT_CHECK' DESTINATION g_rfc_destination EXPORTING i_employeenumber = g_employeenumber i_tripnumber = g_tripnumber i_periodnumber = g_periodnumber i_periodversion = g_periodversion i_trip_action = g_trip_action i_trip_component = g_trip_component i_language = g_language i_general_data = g_general_data it_costdist_trip = it_costdist_trip_check IMPORTING et_costdist_trip = gt_costdist_trip * et_amounts = et_amounts * et_cost_alloc = et_cost_alloc * et_cost_alloc_text = et_cost_alloc_text TABLES et_return = et_return.

PTRM_TEST_MESSAGES_SHOW_PAI CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PAI' CHANGING it_return = et_return.

PTRM_TEST_MESSAGES_SHOW_PAI CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PAI' CHANGING it_return = et_return.

PTRA_WEB_EXPENSE_REPORT_SAVE CALL FUNCTION 'PTRA_WEB_EXPENSE_REPORT_SAVE' DESTINATION g_rfc_destination EXPORTING i_employeenumber = g_employeenumber i_tripnumber = g_tripnumber i_periodnumber = g_periodnumber i_periodversion = g_periodversion i_trip_action = 'INS' i_trip_component = g_trip_component i_language = g_language i_general_data = g_general_data "#EC ENHOK it_costdist_trip = it_costdist_trip_check IMPORTING e_general_data = g_general_data "#EC ENHOK e_tripnumber = g_tripnumber et_costdist_trip = gt_costdist_trip TABLES et_return = et_return.

PTRM_TEST_MESSAGES_SHOW_PAI CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PAI' CHANGING it_return = et_return.

PTRA_WEB_EXPENSE_REPORT_EXIT CALL FUNCTION 'PTRA_WEB_EXPENSE_REPORT_EXIT' DESTINATION g_rfc_destination EXPORTING i_employeenumber = g_employeenumber i_language = g_language TABLES et_return = et_return. "#EC ENHOK

PTRM_TEST_MESSAGES_SHOW_PAI CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PAI' CHANGING it_return = et_return.

PTRM_TEST_MESSAGES_SHOW_PAI CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PAI' CHANGING it_return = et_return.

PTRA_WEB_GENERAL_DATA_CHECK CALL FUNCTION 'PTRA_WEB_GENERAL_DATA_CHECK' DESTINATION g_rfc_destination EXPORTING i_employeenumber = g_employeenumber i_tripnumber = g_tripnumber i_periodnumber = g_periodnumber i_periodversion = g_periodversion i_trip_action = g_trip_action "'INS' i_trip_component = g_trip_component i_language = g_language i_general_data = i_general_data "#EC ENHOK IMPORTING e_general_data = g_general_data "#EC ENHOK e_cost_dist_text = g_cost_dist_text * et_advances_sums = gt_advances_sums TABLES et_return = et_return. "#EC ENHOK

PTRM_TEST_MESSAGES_SHOW_PAI CALL FUNCTION 'PTRM_TEST_MESSAGES_SHOW_PAI' CHANGING it_return = et_return.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'ADDRESSES' values = t_values_adr.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'COUNTRIES' values = t_values_ctr.

VRM_SET_VALUES * CALL FUNCTION 'VRM_SET_VALUES' * EXPORTING * id = 'PTRV_WEB_GENERAL_DATA_EXT-LOCATION' * values = t_values_destinations.

VRM_SET_VALUES * CALL FUNCTION 'VRM_SET_VALUES' * EXPORTING * id = 'PTRV_WEB_GENERAL_DATA_EXT-CUSTOMER' * values = t_values_reasons.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'PTRV_WEB_GENERAL_DATA_EXT-PLAN_ACTIVITY_TYPE' values = t_values_activity.

PTRM_WEB_PREDEF_ADDRS_GET_LIST





CALL FUNCTION 'PTRM_WEB_PREDEF_ADDRS_GET_LIST' EXPORTING i_category_id = space i_country = ptrv_web_general_data_ext-country i_city = space i_address_name = space i_language = sy-langu TABLES et_predef_adrs = lt_vh_destination_addresses.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'ADDRESS_NAME' dynpprog = l_repid_addr dynpnr = l_dynnr_addr * dynprofield = 'PTRV_WEB_GENERAL_DATA_EXT-CUSTOMER' value_org = 'S' TABLES value_tab = lt_vh_destination_addresses field_tab = lt_field_addr return_tab = lt_return_tab_addr EXCEPTIONS parameter_error = 1 no_values_found = 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 RPR_TEST_REQUEST_F01 or its description.