Part 4: Setting up and distributing the distribution model

Do you have SAP Payroll on a different system than SAP FI? Then your most critical concern is whether your systems communicate well. This handy checklist by SAP HR guru Brian Stewart walks you through the verification process from start to finish. This is part 4.

Now we can move on to the most important transaction in ALE, transaction SALE. This transaction takes you to the...

area of the IMG that is required for the configuration of ALE.


Figure 2. SALE initial screen. 

The following steps will lead you through the set up of the ALE communication and the distribution model needed for communication between the systems.

1. ALE->Sending and Receiving Systems->Logical Systems->Define Logical System. a. Here you add the name of the logical system for the distributed system. To make them easy to find I like to name them based on instance/client so in the case of the system listed above I would call it DM7200. This naming convention makes it easy to follow in various systems.
2. ALE->Sending and Receiving Systems->Logical Systems->Assign Client to Logical System.
a. In this step you assign your logical system to a particular client. WARNING: DO NOT CHANGE THIS IF IT IS ALREADY CONFIGURED!!! That holds especially true on an FI system as it cannot be changed once it is set. Make sure to discuss this with the Basis team before entering the data.
3. ALE->Sending and Receiving Systems->Systems in Network->Synchronous Processing->Determine Target System for RFC Calls
a. This area allows you to tell SAP where to make RFC calls based on the logical system. That means that when I want to look up Vendor information in cases like infotype 194 and 195 where a function module is called that I can tell the system where to go to find that information. To configure this you should make sure that the system where the financial information will be kept is listed.
4. ALE->Modelling and Implementing Business Processes->Maintain Distribution Model and Distribute Views
a. In this step we will define where the FI data comes from and what data we expect to receive. We will also define the system that will be receiving the payroll posting and what data we will be sending that system.
b. SAP Recommends the following list of messages to be received from the financial system:
i. COACTV-IDoc for cost center/activity type
ii. COAMAS-Master activity type
iii. COELEM-Cost Element Master Data
iv. COGRP1-Cost Center Groups
v. COGRP2-Cost Element Groups
vi. COGRP5-Activity Type Groups
vii. COSMAS-Master Cost Centers
viii. CRECOR-Core Vendor master data distribution
ix. CREMAS-Vendor master data distribution
x. GLCORE-Master data G/L accounts (CORE IDoc)
xi. GLMAST-Master data G/L accounts (master IDoc)
xii. PRCMAS-Profit center master record
xiii. RCLROL-Reconciliation ledger rollup
c. To add these messages you can follow the steps listed here:
i. Go into change mode by clicking on the pencil/glasses button or Distribution model->Switch Processing Modes via the menu
ii. Click on the Create Model View Button


Figure 3. Create Model View.

Fill in the data for your model. Below is my example.


Figure 4. Add the Model.

 


Figure 5. New Model Added.

iii. Now it is as simple as adding message types. Click on the Add message type button and enter the required data. The sender is the FI system and the receiver is the Payroll system. Tip: Once you add the first message type if you select it before adding the next message you will only need to fill out the message portion and not the sender and receiver.


Figure 6. FI Distribution Model after build.

iv. Now we need to build the partner profiles so that the systems know where the distribution model needs to get or put things. To do this go to Environment->Generate Partner Profiles.


Figure 7. Partner Profile screen.

Enter the partner system you want to use and press execute or F8.


Figure 8. Successful generation of partner profiles.

This screen shows the successful creation of the partner profiles. If you want to see them can go to transaction WE20.


Figure 9. Partner profiles showing newly created items.

v. Now we must send the model to the other system. To do this use menu path Edit->Model View->Distribute


Figure 10. Selecting the system to distribute the model view to.

After clicking the green check you should see this message:


Figure 11. Successful model distribution.

Now I should be able to see this model in my FI system, in this case, DM3. I can take a look at this via transaction BD64 in the other system.


Figure 12. Distributed model in the other system.

You'll notice that the coloring on the messages and models is in gray. This indicates that the model is maintained in another system.

d. We also have to configure the model for posting to the other system. In this case we will be using BAPI's and not message types. SAP recommends the following BAPI's:
i. AcctngServices.DocumentDisplay, Accounting: Display Method for Follow-On Document Display
ii. AcctngEmplyeeExpnses.Post, Accounting: Post G/L Acct Assignment for HR Posting
iii. AcctngEmplyeeRcvbles.Post, Accounting: Post Cust. Acct Assignment for HR Posting
iv. AcctngEmplyeePaybles.Post, Accounting: Post Vendor Acct Assignement for HR Posting
e. For the most part the steps are the same as above but it is slightly different because you use the Add BAPI button instead of the Add Message Type. BAPI's are case sensitive so you'll need to be exact.


Figure 13. Add a BAPI.

After adding the BAPI's your screen will have the following set up:


Figure 14. BAPI's added.

f. Now go through creating the partner profiles again and distribute the model.
g. Go into the FI system and execute transaction BD64. Generate the partner profiles for the Payroll system there as well in the same fashion using Environment->Generate Partner Profiles.
5. Application Link Enabling-> Modeling and Implementing Business Processes-> Cross-Application Settings-> Global Organizational Units-> Cross System Company Codes
a. These should match the FI system.
6. Application Link Enabling-> Modeling and Implementing Business Processes-> Cross-Application Settings-> Global Organizational Units-> Cross System Business Area
a. These should match the FI system
7. ALE->Predefined ALE Business Processes->Accounting->AC->AC->Cost Center Accounting.
a. This tells the payroll system what system is the controlling system for cost centers

 


CONNECTING SAP PAYROLL AND FI/CO VIA ALE

 Home: Introduction
 Part 1: Activities specific to the FI/CO instance
 Part 2: Activities specific to the Payroll instance
 Part 3: Setting up the RFC connections and logical systems
  Part 4: Setting up and distributing the distribution model
 Part 5: Testing
 Review: Conclusion and more resources
This was last published in September 2005

Dig Deeper on SAP Basis administration and NetWeaver administration

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close