Menu

SAP Function Module BAPI_TRIP_REPORT_CREATE

Create Simple Weekly Report (PR04)

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module BAPI_TRIP_REPORT_CREATE (Create Simple Weekly Report (PR04)) is a standard Function Module in SAP ERP and is part of the function group HRTR within the package PTRA_ADDON.

Technical Information

Function Module BAPI_TRIP_REPORT_CREATE
Short Text Create Simple Weekly Report (PR04)
Function Group HRTR
Package PTRA_ADDON
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CHANGE LIKE BAPITRVHIS Entries in Table AEND, Structure for BAPI Interface
DESTINATION LIKE BAPITRWEEK-DAY_DEST General Week Destination
EMPLOYEENUMBER LIKE BAPIEMPL-PERNR Employee's Personnel Number
REASON LIKE BAPITRWEEK-CUSTOMER General Trip Reason for Entire Week
STARTDATE LIKE BAPITRIP-DEP_DATE Beginning Date of Weekly Report
STATUS LIKE BAPITRVSTA Trip Status To Be Set

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EMPLOYEENUMBER LIKE BAPIEMPL-PERNR Employee's Personnel Number
RETURN LIKE BAPIRETURN Return Value (Instead of Exceptions)
TRIPNUMBER LIKE BAPITRIP-TRIPNO Trip Number Return Value

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 BAPITRADDI Additional Receipt Information
ADVANCE LIKE BAPITRVSCH Advance
RECEIPTS LIKE BAPITRVREC Receipts for Week
TEXT LIKE BAPITRTEXT Text for Week
WEEK LIKE BAPITRWEEK Table for Week

Exceptions

This function module does not define any Exceptions.