PTRA_WEB_MAINF01 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 PTRA_WEB_MAINF01 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HRTRV_IF_MODIFY_TRIP CALL FUNCTION 'HRTRV_IF_MODIFY_TRIP' EXPORTING employeenumber = p_i_employeenumber tripno = p_i_tripnumber framedata = l_framedata status = l_status * USERDATA = * CHANGED_AT = * IMPORTING * TRIPNUMBER = TABLES receipts = lt_receipts addinfo = lt_addinfo advances = lt_advances text = lt_text mileage = lt_mileage stopover = lt_stopover deductions = lt_deductions * HOJ_CEE_PL - Public Transport, Approaching Destination transport = lt_transport * HOJ_CEE_PL costdist_trip = lt_costdist_trip costdist_stop = lt_costdist_stop costdist_rece = lt_costdist_rece costdist_mile = lt_costdist_mile return = et_return CHANGING fcode = l_trip_action.
PTRM_UTIL_MESSAGE_APPEND CALL FUNCTION 'PTRM_UTIL_MESSAGE_APPEND' EXPORTING i_msgtype = et_return-type i_msgid = et_return-id i_msgnumber = et_return-number i_msgv1 = et_return-message_v1 i_msgv2 = et_return-message_v2 i_msgv3 = et_return-message_v3 i_msgv4 = et_return-message_v3.
BAPI_CURRENCY_CONV_TO_INTERNAL * CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' * EXPORTING * currency = lwa_pit_amounts-currency * amount_external = lwa_pit_amounts-sum_reimbu * max_number_of_digits = 13 * IMPORTING * amount_internal = lwa_pet_amounts-sum_reimbu * return = lwa_return_old.
BAPI_CURRENCY_CONV_TO_INTERNAL * CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' * EXPORTING * currency = lwa_pit_amounts-currency * amount_external = lwa_pit_amounts-sum_advanc * max_number_of_digits = 13 * IMPORTING * amount_internal = lwa_pet_amounts-sum_advanc * return = lwa_return_old.
BAPI_CURRENCY_CONV_TO_INTERNAL * CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' * EXPORTING * currency = lwa_pit_amounts-currency * amount_external = lwa_pit_amounts-sum_payout * max_number_of_digits = 13 * IMPORTING * amount_internal = lwa_pet_amounts-sum_payout * return = lwa_return_old.
BAPI_CURRENCY_CONV_TO_INTERNAL * CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' * EXPORTING * currency = lwa_pit_amounts-currency * amount_external = lwa_pit_amounts-sum_paidco * max_number_of_digits = 13 * IMPORTING * amount_internal = lwa_pet_amounts-sum_paidco * return = lwa_return_old.
BAPI_CURRENCY_CONV_TO_INTERNAL * CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' * EXPORTING * currency = lwa_pit_amounts-currency * amount_external = lwa_pit_amounts-trip_total * max_number_of_digits = 13 * IMPORTING * amount_internal = lwa_pet_amounts-trip_total * return = lwa_return_old.
BAPI_CURRENCY_CONV_TO_INTERNAL * CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' * EXPORTING * currency = lwa_pit_amounts-currency * amount_external = lwa_pit_amounts-pd_food * max_number_of_digits = 13 * IMPORTING * amount_internal = lwa_pet_amounts-pd_food * return = lwa_return_old.
BAPI_CURRENCY_CONV_TO_INTERNAL * CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' * EXPORTING * currency = lwa_pit_amounts-currency * amount_external = lwa_pit_amounts-pd_housing * max_number_of_digits = 13 * IMPORTING * amount_internal = lwa_pet_amounts-pd_housing * return = lwa_return_old.
BAPI_CURRENCY_CONV_TO_INTERNAL * CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' * EXPORTING * currency = lwa_pit_amounts-currency * amount_external = lwa_pit_amounts-pd_mileage * max_number_of_digits = 13 * IMPORTING * amount_internal = lwa_pet_amounts-pd_mileage * return = lwa_return_old.
PTRA_WEB_CUSTOMIZING_GET * CALL FUNCTION 'PTRA_WEB_CUSTOMIZING_GET' * EXPORTING * i_employeenumber = p_employeenumber * i_date = p_date * i_language = p_language * IMPORTING * et_field_selection_trip_ca = lt_field_selection_trip_ca.
DDIF_FIELDINFO_GET * CALL FUNCTION 'DDIF_FIELDINFO_GET' * EXPORTING * tabname = 'PTP81' * langu = p_language * TABLES * dfies_tab = lt_costdist_rslts_dfies_tab * EXCEPTIONS * not_found = 1 * internal_error = 2 * OTHERS = 3.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'PTP81' TABLES dfies_tab = lt_costdist_rslts_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.
PTRM_UTIL_MESSAGE_APPEND CALL FUNCTION 'PTRM_UTIL_MESSAGE_APPEND' EXPORTING i_msgtype = lwa_return-type i_msgid = lwa_return-id i_msgnumber = lwa_return-number i_msgv1 = lwa_return-message_v1 i_msgv2 = lwa_return-message_v2 i_msgv3 = lwa_return-message_v3 i_msgv4 = lwa_return-message_v4 i_parameter = lwa_return-parameter i_field = lwa_return-field i_row = lwa_return-row.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.