Menu

SAP Function Module HRTRV_IF_GET_TRIP

Get trip data

The Function Module HRTRV_IF_GET_TRIP (Get trip data) is a standard Function Module in SAP ERP and is part of the function group HRTRV_IF within the package PTRA_ADDON.

Technical Information

Function Module HRTRV_IF_GET_TRIP
Short Text Get trip data
Function Group HRTRV_IF
Package PTRA_ADDON
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CALCULATE_AMOUNTS LIKE BAPITRVXXX-BOOLEAN 'X' Einstelliges Kennzeichen
EMPLOYEENUMBER LIKE BAPIEMPL-PERNR Personalnummer
GET_TRIP_FROM_MEMORY LIKE BAPITRVXXX-BOOLEAN SPACE Einstelliges Kennzeichen
LANGUAGE LIKE BAPITRVXXX-LANGU SY-LANGU Sprachenschlüssel
TRIPNUMBER LIKE BAPITRIP-TRIPNO Reisenummer

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FRAMEDATA LIKE BAPITRMAIN Kopfdaten einer Reise, Struktur fuer BAPI-Interface
STATUS LIKE BAPITRSTAO Reisestatus (get), Struktur für BAPI-Interface
USERDATA LIKE PTK99 Feldleiste/Tabelle für USER-Dynpro

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ADDINFO LIKE PTRV_RECEIPT_ADDINFO Additional receipt info BAPITRADDI incl service provider
ADVANCES LIKE PTRV_ADVANCES Vorschüsse einer Reise, Struktur fuer BAPI-Interface
AMOUNTS LIKE BAPITRVSUM Summen einer Reise, Struktur für BAPI-Interface
COSTDIST_MILE LIKE BAPITRVCOM Kostenaufteilung Kilometer, Struktur fuer BAPI-Interface
COSTDIST_RECE LIKE BAPITRVCOR Kostenaufteilung Einzelbeleg, Struktur fuer BAPI-Interface
COSTDIST_STOP LIKE BAPITRVCOS Kostenaufteilung Zwischenziele, Struktur fuer BAPI-Interface
COSTDIST_TRIP LIKE BAPITRVCOT Kostenaufteilung Reise
DEDUCTIONS LIKE BAPITRVDED Abzuege einer Reise, Struktur fuer BAPI-Interface
MILEAGE LIKE BAPITRVMIL Kilometerverteilung, Struktur für BAPI-Interface
RECEIPTS LIKE PTRV_RECEIPT_OUT Trip Costs Receipt (OUTPUT)
RETURN LIKE BAPIRET2 Returnparameter
STOPOVER LIKE BAPITRVSTO Zwischenziele einer Reise, Struktur fuer BAPI-Interface
TEXT LIKE BAPITRTEXT Reisezusatzinformation, Struktur für BAPI-Interface

Exceptions

This function module does not define any Exceptions.