Fonction SAP BAPI_TRIP_GET_DETAILS - Print Detail Tables For Trip (Receipt Entry)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CALCULATE_AMOUNTS BAPITRVXXX-BOOLEAN C 1 'X' X
EMPLOYEENUMBER BAPIEMPL-PERNR N 8 Employee's Personnel Number
GET_TRIP_FROM_MEMORY BAPITRVXXX-BOOLEAN C 1 SPACE X
LANGUAGE BAPITRVXXX-LANGU C 1 SY-LANGU X Language for Table Entries
PERIODNUMBER BAPITRVXXX-PERIOD N 3 '000' X Number of Trip Period
TRIPNUMBER BAPITRIP-TRIPNO N 10 Trip Number

Paramètre Reférence Type Long. Description
FRAMEDATA BAPITRMAIN u 371 General Trip Data
RETURN BAPIRETURN u 452 Return Value (Instead of Exceptions)
STATUS BAPITRSTAO u 79 Trip Status

Paramètre Reférence Long. Facultatif Description
ADDINFO BAPITRADDI 376 X Additional Receipt Information
AMOUNTS BAPITRVSUM 136 X Table of Different Trip Amounts
COSTDIST_MILE BAPITRVCOM 368 X Cost Distribution for Miles/Kms Distribution
COSTDIST_RECE BAPITRVCOR 374 X Cost Distribution for Receipts
COSTDIST_STOP BAPITRVCOS 367 X Cost Distribution for Stopovers
COSTDIST_TRIP BAPITRVCOT 365 X Cost Distribution for Entire Trip
DEDUCTIONS BAPITRVDED 31 X Deductions
EMP_INFO BAPITRVEMP 201 X Employee Data
MILEAGE BAPITRVMIL 181 X Miles/Km Distribution
RECEIPTS BAPITRVREO 112 X Receipts
STOPOVER BAPITRVSTO 245 X Stopovers
TEXT BAPITRTEXT 76 X Trip Text

Functionality
The method EmployeeTrip.GetDetails is used to obtain all of thedetails of an employee trip.
As parameter, the complete qualifying key of the employee trip onlymust be specified. The key consists of the EmployeeNumber andthe TripNumber.
The Language parameter is optional and indicates the languagefor the referenced table entries, if they differ from the logonlanguage of the calling program.
Trip details include:

  • Framework data of the trip (Framedata)

  • Status of the trip (Status)

  • Receipts (Receipts)

  • Additional receipt information (Addinfo)

  • Trip text (Text)

  • Miles/Kms distribution (Mileage)

  • Stopovers (Stopover)

  • Deductions (Deductions)

  • Cost distribution for entire trip (CostDist_Trip)

  • Cost distribution for stopovers (CostDist_Stop)

  • Cost distribtution for receipts (CostDist_Rece)

  • Cost distribution for miles/kms distribution (CostDist_Mile)

  • Furthermore, additional information on the employee trip is specified.The additional trip information refers to the different amounts for thetrip (Amounts), as well as employee information(Emp_Info).
    The status of the method call can be determined from the returnparameter Return after the method has been performed.

    Further information
    Information on the fields of the individual tables can be found instructure documentation or the Data Dictionary.

    Description
    Personnel number

320758Termination in RPRTEC00 - SPOOL_TEMSE_ERROR