SAP ABAP IMG Activity OALE_HRDST_16_1 (Set Up 'HR and Accounting from Release 4.0A' Scenario)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PA-OS (Application Component) Organizational Structure
     PP0C (Package) Organization and Planning - Customizing
IMG Activity
ID OALE_HRDST_16_1 Set Up 'HR and Accounting from Release 4.0A' Scenario  
Transaction Code S_AHR_61000396   IMG Activity: OALE_HRDST_16_1 
Created on 19981221    
Customizing Attributes OALE_HRDST_16_1   Set HR and Accounting With Release as of 4.0A 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name OALE_HRDST_16_1    

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.

Requirements

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.

I. Procedure in the HR system: Sending system (server)

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.

II. Procedure in the AC system: Receiving system (client)

  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).

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG OALE_HRDST_16_1 0 (HLA0100670  
SIMG OALE_HRDST_16_1 1 A HLB0006330  
SIMG OALE_HRDST_16_1 2 A HLA0009200) O  
SIMG OALE_HRDST_16_1 3 (HLA0100670  
SIMG OALE_HRDST_16_1 4 A HLB0006330  
SIMG OALE_HRDST_16_1 5 A HLA0009400)  
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  19981221 
SAP Release Created in