Ansicht
Dokumentation

OALE_HRDST_16_1 - Set Up 'HR and Accounting from Release 4.0A' Scenario

OALE_HRDST_16_1 - Set Up 'HR and Accounting from Release 4.0A' Scenario

BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This section specifies the settings for the scenario Reporting for Posting Payroll Results to Accounting (also known as Posting to Accounting) when Human Resources (HR) and Accounting (AC) are in different systems, but both higher than 4.0A.

The following AC tables have been replicated in the HR system:

  • Document types (T003)
  • Line item texts (T053)

You maintain the settings for posting to Accounting in the Implementation Guide (IMG) for Payroll under Payroll <country> -> Reporting for Posting to Accounting.

Procedure

For general information on the posting to accounting procedure, refer to the SAP Library under Human Resources -> Payroll -> <country> -> Subsequent Activities -> Posting to Accounting.
The following describes special procedures for distributed systems.

In posting to accounting, payroll results information relevant to posting is evaluated, collected, summarized and then posted to accounting. In the case of distributed systems, read, write and validation procedures are carried out by the accounting system across applications. The HR system can therefore check the receiving system's distribution model prior to each cross application procedure.

  1. When documents are created, the system uses BAPIs to read data synchronously.
  2. The following occurs when document posting is initiated:
    1. Document data is checked against accounting data via synchronous BAPIs.
    2. The ALE layer is used to transfer each document asynchronously to the receiving system.
  1. Data is posted to the AC system.

Maintaining the distribution model

To enable communication between distributed systems, specify the appropriate method in ALE Customizing for the objects of the following tables. To do so, choose Basis -> Application Link Enabling (ALE) -> Modelling and Implementing Business Processes -> Maintain Distribution Model and Distribute Views.

Enter the HR System as the sending system/client and the AC System as the receiving system/server for the following objects and methods:

Object name Method Description
AcctngEmplyeeExpnses Check Checks documents containing
  G/L account postings;
  regular account
  determination and
  account determination for
  cross-company code
  transactions.
  (The receiving system
  for this method performs
  account determination and
  calculates value-added tax)
AcctngEmplyeeExpnses Post Posts document containing
  G/L account postings
AcctngEmplyeeRcvbles Check Validates document containing
  customer postings
AcctngEmplyeeRcvbles Post Posts document containing
  customer postings
AcctngEmplyeePaybles Check Validates document containing
  vendor postings
AcctngEmplyeePaybles Post Posts document containing
  vendor postings
AcctngServices PreCheckPayrollAccountAssign
  Validates acc. assignment
  for payroll and substitutes
  acc. assignment in case of
  invlaid acc. assignement
AcctngServices DisplayDocument Display accounting
  documents
CompanyCode GetPeriod Determines posting period for
  fiscal year variant;
  (The receiving system
  that you have specified
  for this method determines
  the posting date for special
  periods; the same receiving
  system also determines the
  line item text)
Creditor GetDetail Read vendor short text (only
  if AC system < 4.6A)
Vendor GetDetail Read vendor short text (only if
  AC system is 4.6A or higher)
Creditor Find Find vendor (only if AC system
  <4.6A)
Vendor Find Find vendor (only if AC system
  is 4.6A or higher)
Debtor GetDetail Read customer short text (only
  if AC system <4.6A)
Customer GetDetail2 Read customer short text (only if
  AC system 4.6A or higher)
Debtor Find Find customer (only if AC
  system <4.6A)
Customer Find Find customer (only if AC
  system 4.6A or higher)
GeneralLedgerAccount GetDetail Read value-added tax indicator
    and G/L account short text
CostType GetFixAccountList Read fixed account assignment
  of cost element
PayrollAccDocument Display_Acc   Display payroll document

This scenario uses the following message types:

Object method Message type
AcctngEmplyeeExpnses.Post ACC_EMPLOYEE_EXP
AcctngEmplyeeRcvbles.Post ACC_EMPLOYEE_REC
AcctngEmplyeePaybles.Post ACC_EMPLOYEE_PAY

You can use the company code as a filter object.

Enter the AC System as the sending system/client and the HR System as the receiving system/server for the following objects and methods:

Object name Method Description
PayrollAccDocument Display_Acc Display Accounting Document

Partner profiles

The partner profiles setting is generated in the distribution model. For more information, refer to the section 'Generate partner profiles' in this Implementation Guide.

Maintaining RFC destination for special method calls

To be able to display the accounting documents for previously posted posting documents in the posting run overview for posting to accounting, you must assign an RFC destination in the HR System for the method DocumentDisplay (display accounting documents) of the AcctngServices object type. (Note: This functionality is only available across systems as of Release 4.5A

To be able to include the associated source documents (posting documents) in the display screen of posted accounting documents, you must assign an RFC destination in the AC System for the method Display_Acc (display source documents) of the PayrollAccDocument object type. (Note: This functionality is only available across systems as of Release 4.5A.)

Enter the necessary settings in ALE Customizing (by choosing Basis -> Application Link Enabling (ALE) -> Sending and Receiving Systems -> Systems in Network -> Synchronous Processing -> Determine RFC Destinations for Method Calls).






CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 13784 Date: 20240523 Time: 215619     sap01-206 ( 109 ms )