Functionality The Check trip> method checks the data from anemployee trip> in Accounting. It checks whetherthe trip data can be posted in Accounting. Running this method does notgenerate a document or number assignment in Accounting. A trip can trigger a commitment posting in Accounting. If you use theFunds Management> module, for example, thefollowing checks are made (depending on your Customizing settings):
- Existence check
- Budget availability control>
- Status management>
The Check trip> method does not generate a trip, it is ratherused in the following situations: You are using a non-SAP travel management system and the R/3 moduleFunds Management. The commitment for a trip is to use the budget in theR/3-System. Before saving in the external travel management system,call up the Check trip> method to make sure that the Posttrip> method is possible.Example Notes In most cases, first use the Check trip> method, then run thePost trip> method. INCLUDE BAPI_RETFurther information For more information, see the following documents in the R/3 Library:
- Cross-Application Components> -> Business Framework
Architecture> -> Business Application Programming>: BAPI User Guide> BAPI Programming>
- Cross-Application Components> -> General Application
Functions> -> Interfaces to Accounting>: BAPIs for Transferring Data to Accounting> INCLUDE ACC_BAPI_RETURN OBJECT DOKU ID TX INCLUDE ACC_BAPI_TRAVEL OBJECT DOKU ID TX INCLUDE ACC_BAPI_TRAVELAMOUNT OBJECT DOKU ID TX
|