Ansicht
Dokumentation

BAPI_TRIP_REPORT_INIT - Tables Needed for REPORT_CREATE (Local Workspace)

BAPI_TRIP_REPORT_INIT - Tables Needed for REPORT_CREATE (Local Workspace)

RFUMSV00 - Advance Return for Tax on Sales/Purchases   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using the method EmployeeTrip.GetOptionsWeekly you can obtain all tables and default values needed to create a simple weekly report (transaction PR04).

The import parameter EmployeeNumber determines the personnel number for which the lokal workspace is to be created, Date indicates a date within the weekly report to be created, Language indicates the language of the table entries.
The parameter Check_Overlap is used to switch verification on
(='X') or off (=Space) as to whether, for the date transferred, a weekly report already exists or not.
Using Sel_Coun andSel_Curr, the additional tables T706O_DAT, or TCURR_DAT can be filled, if needed.

The export table Emp_Info contains information on the specified personnel number, table Defaults contains the parameters

  • Firstday (refers to first day of weekly report, determined from feature TRVPA, entry FDW as date, referring to the week specified by DATE).
  • CCCParam (TRVPA, switch CCC; see documentation on feature TRVPA ),
  • Rec_F_PD (TRVCT, F line, position 1; see docu. on feature TRVCT),
  • Rec_U_PD (TRVCT, U line, position 1; see above)
  • Rec_V_PD (TRVCT, V line, position 1; see above.)
  • MWAUS (table T706D, MWAUS) and
  • Mileage_PD (reimbursement amount per mile/km traveled for first mile/km driven in the week in employee's local currency; if miles/kms accumulation is not active, this rate is valid for the whole week, otherwise it can differ!)

Table T706B_DAT contains the trip expense types valid for this personnel number. This is a section of table T706B with the respective fields required for the receipt entry check. The SC***fields in this structure represent a link to the entry fields in the "Additional receipt info" dialog in trip costs recording available for this receipt. These fields can have the following characteristics:

  • "+" : mandatory field
  • "-" : invisible field, therefore not active
  • "." : ready for entries
  • SPACE: field displayed only

Table T706O_DAT contains the values in table T706O (countries and regions) for this employee.
T706O_DAT contains all currencies stored in the system (tables TCURC and TCURT), together with the entries from the conversion table for currencies (TCURR) and the decimal points for currencies (TCURX).
The export parameter RETURN, finally, supplies information concerning the results of the method called.

Example

Notes

Further information





Parameters

CHECK_OVERLAP
DATE
DEFAULTS
EMPLOYEENUMBER
EMP_INFO
LANGUAGE
RETURN
SEL_COUN
SEL_CURR
T706B_DAT
T706O_DAT
TCURR_DAT

Exceptions

Function Group

HRTR

Vendor Master (General Section)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3648 Date: 20240523 Time: 152752     sap01-206 ( 66 ms )