cancel
Showing results for 
Search instead for 
Did you mean: 

Change GL account company codes from HCM ECC to FI S4 cystem via ALE during the payroll posting

former_member851349
Discoverer
0 Kudos
505

I want to process GL Posting from HCM ECC to FI S4 System via ALE, but I have different Company Codes in both systems (Sender System and Reciever System with different company codes).

Problem is in the Source / Receving System company Code is KW05 and KW06 and controlling area is CA01 and in Target or Receving system Company code is EN01 and EN02 and Controlling area is 1000.

is there any BAdI, BAPI, User exit to solve this?

Thank you for replay

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member851349
Discoverer
0 Kudos

Hi Sikindar

are the following Message types needed for the PY posting to be configured in FI system?

Cost Center Distribution :- COSMAS

Profit Center Distribution :- PRMAS

General Ledger Distribution :- GLMAST

Cost Element :- COELEM

Vendor :- CRECOR

and in HCM system the following messages types need to be configured for ALE

ACC_EMPLOYEE_EXP

ACC_EMPLOYEE_PAY

ACC_EMPLOYEE_REC

is that right?

Regards

sikindar_a
Active Contributor
0 Kudos

No Need of any Badi and User Exit. Before, Before going to answer lets discuss on the Requirement whether they are available in both of your sender and receiver system

I want to process GL Posting from HCM ECC to FI S4 System via ALE, but I have different Company Codes in both systems (Sender System and Reciever System with different company codes).

When you say you want to Post GL you should have following RFCs in Distribution model

Setup in FI S4 Hana system The below are Message types

Cost Center Distribution :- COSMAS

Profit Center Distribution :- PRMAS

General Ledger Distribution :- GLMAST

Cost Element :- COELEM

Vendor :- CRECOR

The above message types should exists in S4 Hana FICO system with There Company Codes KW05 as default values and controlling area

Now setup in HCM EE , The below are the BAPIs

ACC_EMPLOYEE_REC

ACC_EMPLOYEE_EXP

ACC_EMPLOYEE_PAY

Now include HCM company codes and controlling area in Defult values

The above one will be first step and you must be aware of them and take basis consultant help on the following

Now The game Starts :-

we have conversion Rules in SAP between two systems where values in one system can be converted to other values

Create Conversion Rule :- Tcode :- BD62

Display Conversion Rule :- BD79 , Here you need to select Company code Feild and select covert sender feild and input the values which you want to convert

Conversion Rule :- BD55

Maintain sender and Receiver details , Bingo you requirement is done.