Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>AcctngTravelExpenses



Index

AcctngTravelExpenses

AcctngTravelExpenses


The business object Acctng Travel Expenses is an object that is
responsible for the consistent updating of travel expenses in Accounting. It portrays a general entry in Accounting for travel
expenses.



Integration



In particular, this object is responsible for determining the
components in Accounting in which travel expenses are to be updated. It
gives you the opportunity to initiate the consistency checks as well as
a corresponding posting in the respective components (delegation).


11-Dec-2005


Methods

Available Methods


  • Check : Accounting: Check trip [ BAPI_ACC_TRAVEL_CHECK ]
  • Post : Accounting: Post trip [ BAPI_ACC_TRAVEL_POST ]

11-Dec-2005


Check

Check


The Check trip method checks the data from an employee trip in Accounting. It checks whetherthe trip data can be posted in Accounting. Running this method does not generate a document or number assignment in Accounting.

A trip can trigger a commitment posting in Accounting. If you use the Funds Management module, for example, the
following 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 rather used 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 Post trip method is possible.


    Notes

    In most cases, first use the Check trip method, then run the Post trip method.

    Messages are returned in the parameter return. The parameterdocumentation shows the return codes and their meanings.


    Further 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

  • 11-Dec-2005


    Post

    Post


    Functionality

    The Check trip method posts the data from an employee trip to Accounting. A trip can trigger a commitment posting in Accounting. Depending on your Customizing settings, the commitment is updated in the Funds Management
    module.

    Notes

    Before running the Post trip method, you should first run the Check trip method.This enables you to check the trip data in Accounting without generating a document or number assignment.

    Messages are returned in the parameter return. The parameter
    documentation shows the return codes and their meanings.

    Further 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

  • 11-Dec-2005