Ansicht
Dokumentation

OALE_HRDST_33 - Set Distribution of Trip Accounting Results

OALE_HRDST_33 - Set Distribution of Trip Accounting Results

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Process Flow

If you use Travel Management in a logical system other than payroll accounting, Travel Management offers the option to transfer the trips from the Travel Management system to payroll accounting as a partial copy.

A retroactive accounting date or adjustment indicator can, of course, be set in Infotype 0003 for the relevant personnel numbers. The payroll accounting program RPCALCX0 can then run the same as it would if the systems were integrated.

In this situation, the travel accounting period of the travel accounting program or of the transfer program in the payroll accounting control record (in the payroll accounting system) is defaulted or checked against.

  • The report RPRPAY00 collects all trips to be transferred to a payroll accounting system and places them in an IDoc.
  • Inbound processing of the incoming IDocs (BAPI PayrollTravelExpnsesPost) is triggered automatically. Inbound processing writes the data from the IDoc trip by trip as TE clusters to the database PCL1 or the transparent tables PTRV_HEAD and PTRV_PERIO.
  • A retroactive accounting date or a revision indicator may be set in infotype 0003 for the relevant personnel number.

Maintenance of the Distribution Model

To guarantee the communication between systems during a distribution, the following entries must be made in the step Maintain distribution model:

  • Client: Travel Management System
  • Server: HR Payroll System
  • Objekt: PayrollTravelExpnses (BUS7001)
  • Method: Post

Note: The client is the system in which the BAPI is called.
(sending system), Server of the system in which it is executed
(receiver system).

The object method PayrollTravelExpnses.Post is based on the message type HRTRPR.

All existing segments must be transferred, otherwise the information transferred to the HR Payroll Accounting System is incomplete.

Partner Profiles

The setup of partner profiles can be generated from the distribution model. For more information, read the section Generate partner profiles in this implementation guide.

Settings in the Travel Management System

Make sure that the L+G entry in Feature TRVPA is coded with 1, 2 or 3. This activity must be checked in the section Travel Management -> Dialog and Accounting Control -> Accounting Control -> Set Up Feature TRVPA for Trip Costs Parameter in the Travel Management IMG.

Settings in the HR Payroll Accounting System

As a rule, it is technically possible to edit trips in both logical systems. If trips are also edited in the logical system of payroll accounting, data inconsistencies occur between the cluster TE of the logical system of Travel Management and that of the payroll accounting system. These data inconsistencies have a severe effect, for example, on transferring of trip costs accounting results to financial accounting. Consequently, the functions and procedures of Travel Management in the logical system of payroll accounting must be locked against execution. You can always use the report RPCLSTTE or transaction PRTE to check the transferred travel data in the payroll accounting system.

Solution for logical systems in separate SAP systems:

For this purpose, there is the report RPRTLOCK. The Travel Management functions and processes can be unlocked again via the report RPRTULOC. Locking can only take place at the transaction level and, therefore, is effective for all clients in an SAP system.

Solution for logical systems at the client level:

The trans-client report RPRTLOCK cannot be used if the logical systems of Travel Management and Payroll Accounting were installed in different clients of the same SAP system. The locking of Travel Management functions and processes in the payroll accounting logical system must, in this case, be set up via an authorization check.

Check also in the HR Payroll Accounting System to be sure that the L+G entry in feature TRVPA is coded with 1, 2, or 3. This activity must be checked in the section Travel Management -> Dialog and Accounting Control -> Accounting Control -> Set Up Feature TRVPA for Trip Costs Parameters in the Travel Management IMG.

In the HR payroll system, you must maintain a exchange rate type for the trip provision variant for the relevant country - the exchange rate type is used by system to recalculate currencies in the payroll system. You can define the exchange rate type in Travel Management at Travel Expenses → Master Data → Control Parameters for Travel Expenses → Global Defaults.

Note:

The exchange rate type is also required for the trip provision variant for Poland, Russia and the Ukraine.






PERFORM Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 5603 Date: 20240523 Time: 193202     sap01-206 ( 110 ms )