Fonction SAP TRIP_CHANGE_INTERACTIVE - Change Trip (Interactively on Screen)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIEMPL-PERNR N 8 Personnel Number
NO_EXIT_ON_COMMIT CTU_PARAMS-RACOMMIT C 1 SPACE X Do No Exit Travel Manager (PR05) After COMMIT WORK 'X' = Yes
TRIPNUMBER BAPITRVXXX-TRIPNO N 10 Trip Number

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Return Structure (Instead of Exceptions)

Functionality
The function module TRIP_CHANGE_INTERACTIVE is used to change anexisting employee trip interactively on the screen.
The employee trip is determined via the import parametersEmployeeNumber and TripNumber.
The function module recognizes automatically whether it is a questionof a weekly report (created using transaction PR04) or a normal trip.
For a weekly report, the transaction PR04 is called and the specifiedweek appears immediately.
For all other trips, the main screen for receipt entry appears.
The return parameter Return supplies information, after thefunction module has been performed, on the user's action within theTravel Accounting transaction (for example, if the trip was saved, inother words, if changes were made, or if the action was terminatedbefore saving).