SAP Web Intelligence subquery in the where clause

SAP Function Module PTRA_WEB_COSTDIST_MILE_GET

Providing the cost allocation for distances

The Function Module PTRA_WEB_COSTDIST_MILE_GET (Provision of cost distribution for distances) is a standard function module in SAP ERP and is part of the function group PTRA_WEB_COSTDIST within the package PTRA_WEB_INTERFACE.

Technical information

Function modulePTRA_WEB_COSTDIST_MILE_GET
Short textProviding the cost allocation for distances
Function groupPTRA_WEB_COSTDIST
PackagePTRA_WEB_INTERFACE
Module type Remote enabled

Importing parameters

These are the IMPORTING parameters of this function module.

Parameter nameTypeAssociated TypeDefault valueShort text
I_EMPLOYEENUMBERLIKEBAPIEMPL-PERNRPersonnel number
I_LANGUAGELIKEBAPITRVXXX-LANGUSY-LANGULanguage key
I_PERIODNUMBERLIKEBAPITRVXXX PERIODTravel period number
I_PERIODVERSIONLIKEPTRV_PERIO-PDVRSRunning number of the period
I_TRIPNUMBERLIKEBAPITRIP-TRIPNOTrip number
I_TRIP_ACTIONTYPEPTRV_TRIP_ACTION_S'MOD'Check box
I_TRIP_COMPONENTTYPEPLAN_REQUESTSPACELicense plate plan application
I_TRIP_SCHEMALIKEHEAD_PERIO-SCHEMTravel scheme

Exporting parameters

These are the EXPORTING parameters of this function module.

Parameter nameTypeAssociated TypeDefault valueShort text
ET_COSTDIST_MILETYPEPTRV_WEB_COSTDIST_MILE_EXT_TAllocation of costs for a part of the journey
ET_COSTDIST_MILE_DEFAULTTYPEPTRV_WEB_COSTDIST_MILE_EXT_TDefault values ​​for the new cost allocation of a route
ET_ITINERARYTYPEPTRV_WEB_ITINERARY_EXT_TDestinations of the trip
ET_MASTERCOST_DEFAULTTYPEPTRV_WEB_COSTDIST_TRIP_EXT_TAllocation of costs for the trip

Changing parameters

This function module does not define any CHANGING parameters.

Table parameters

These are the TABLE parameters of this function module.

Parameter nameTypeAssociated TypeDefault valueShort text
ET_FIELD_CONTROLTYPEPTRV_WEB_FIELD_CONTROL_TSingle field control table for dialog
ET_RETURNTYPEBAPIRETTABTable with BAPI return information

Exceptions

This function module does not define any Exceptions.