Skip to end of metadata
Go to start of metadata
Settings for HR integration in the case that HR & cProjects are on different systems. 

Certain prerequisites to be followed before starting the ALE configurations:

  1. Get the IP address as well as logon credentials of both the systems.
  2. Check with the standard IDoc Message Type: HRMD_ABA,
  3. Check the Basic Type: HRMD_ABA05 in the system.
  4. Check whether the required Business Add-Ins (BAdIs) (HRALE00INBOUND_IDOC and HRBAS00INFTY) are activated or not.

Procedure:

A.     Activate BAdIs HRALE00INBOUND_IDOC and HRBAS00INFTY in sender system ie. ECC client.
B.     ALE Configuration on Sender & Receiver systems
C.    Activate Integration & Control Table Maintenance (T77S0)
D.    Transfer of IDoc (TCODE - PFAL).  

SAP Notes referenced:

1.      Note 550055 - EBP/CRM: New integration for business partner
2.      Note 363187 - HR-CA-ALE: Initial distribution w. HRMD_A/HRMD_ABA (hint)
3.      Note 312090 - Integration HR - EBP/CRM
4.      Note 615896 - HR-ALX: Distribution models - Templates

Step A: Define the inbound processing of the data that is to be distributed.  

Activate BAdIs HRALE00INBOUND_IDOC and HRBAS00INFTY in sender system ie. ECC client.

Choose transaction SE19 and activate the following BAdIs:
HRALE00INBOUND_IDOC with the PRP_P_HRALE implementation
HRBAS00INFTY with the PRP_CP_BUFFER implementation  
 

Step B: ALE Configuration.

Configurations at Sender Side i.e. SAP HR ECC System :

1. Transaction BD54
System name for Sender and Receiver :
Sender: ZSEND_HR, Sender System for SAP HR
Receiver: ZREC_CPROJ, Receiver System for cProjects 2.  
Transaction SCC4


2. Assigning Client to the logical system created in above step

Client
Logical system name
800ZSEND_HR
001

ZREC_CPROJ 

 

3. Transaction SM59, RFC Connection
RFC Destination: ZRFC_HR_CPROJ (RFC Connection from HR system to cProjects system)
Connection Type: 3 (ABAP Connection)
IP Address: 11.10.49.231
Target Host: ITSAPECC60T14  

 

4. Transaction WE21, Port
Port : A000000059 (Port for sending IDoc from HR system to cProjects)
RFC Destination: ZRFC_HR_CPROJ 

 

5. Transaction WE20, Partner Profile
Partner No: ZRFC_HR_CPROJ
Partner Type: LS Outbound Parameters :
Message Type: HRMD_ABA (HR: Basis Plan Data, Central Person)
ReceiverPort: A000000059
Pack size: 1
Output mode: Transfer IDOC Immediately
Basic Type: HRMD_ABA05        

 

6. Transaction BD64, Distribution Model
Create the Model view using the Templates:
Go to, Edit - > Model View - > Create Using Template - > HR- ALX CRM Q (HR to SRM/CRM 4.0 ,Without Qualification)
Model name: ZMODEL_HR_CPROJECTS
Technical Name: HR_CPROJECTS
Sender System: ZSEND_HR
Receiver System: ZREC_CPROJ
Message Type: HRMD_ABA
Select Model name, Go to Menu:
Environment - > Generate Partner Profiles
Then, Go to Menu:
Edit - > Model View - > Distribute  
 

 

Configurations at Receiver Side (cProjects System):

1. Transaction BD54
Logical  system name for Sender and Receiver :
Sender: ZSEND_HR, Sender System for SAP HR
Receiver: ZREC_CPROJ, Receiver System for cProjects

 

2. Transaction SCC4
Assigning Client to the logical system created in above step

Client Logical system name

800

ZSEND_HR

001

ZREC_CPROJ

 

3. Transaction SM59, RFC Connection
RFC Destination: ZRFC_HR_CPROJ (RFC Connection from cProjects system to HR system (ECC))
Connection Type: 3 (ABAP Connection)
IP Address : 11.10.49.48
Target Host: ITSAPECC60T13 

 

4. Transaction WE21, Port
Port: A000000002 (Port for sending IDOC from HR system to CPROJECTS)
RFC Destination: ZRFC_HR_CPROJ

 

5.  Transaction WE20 , Partner Profile
Partner No : ZSEND_HR
Partner Type : LS
Inbound Parameters :
Message Type : HRMD_ABA (HR: Basis Plan Data, Central Person
Process Code : HRMD
Processing by Function Module : Trigger Immediately 

 

6.  Transaction BD64, Distribution Model
Model name: ZMODEL_HR_CPROJECTS
Technical Name: HR_CPROJECT
Sender System: ZSEND_HR
Receiver System: ZREC_CPROJ
Message Type: HRMD_ABA
Select Model name, Go to Menu:
Environment - > Generate Partner Profiles
Then, Go to Menu:
Edit - > Model View - > Distribute
 

Step C: Activate Integration & Control Table Maintenance

Make the following Settings in Table T77S0 in HR & cProjects systems.

Ref. SAP Notes 312090 & 550055 

Group        

Sem. Abbr.     

Value Abbr.

Description

Details

HRALX  

HRAC      

X

Activation of the integration

 

HRALX

OBPON

ON

To activate the integration
between business partners and organizational units,

 

HRALX

PBPON

ON

To activate the integration between
business partners and employees

 

HRALX

OPROL

BUP004

Roles: For the business partner in the organizational unit role,

 

HRALX

PPROL

BUP003

Roles: For Employees

 

HRALX

ONUMB

1

To set number assignment for
Organizational units.

Switch setting to control the default
number range type for BP object.
1 = As before, the system uses the number from the general internal
interval of the BU_PARTNER number range object.
2 = The system uses the number from a specific internal interval of
the object.
3 = The system transfers the number from HR and adds a prefix. In
this case, the system uses a specific external interval that must
be defined as XX00000000 up to XX99999999. XX represents any two letters.

HRALX

PNUMB

1

To set number assignment for employees.

Switch setting to control the default number range type for BP object.
1 = As before, the system uses the number from the general internal of the BU_PARTNER number range object.
2 = The system uses the number from a specific internal interval of the object.
3 = The system transfers the number from HR and adds a prefix. In this case, the system uses a specific external interval that must
be defined as XX00000000 up to XX99999999. XX represents any two
letters

HRALX

PQUAL

X

To transfer
qualifications for employees

 

PLOGI

PLOGI

01

Active plan version

 

WORKF

ACTIV

X

This ensures that the event linkage becomes active for the changes in the organizational model.

 

 

Step D: Transfer of IDoc

i) Object Data in HR System [TCODE - PPOME in HR System]

The following Object data is transferred from HR system to cProjects is send in 3 steps:
1.      Object type O - Organization
2.      S- Position data
3.      P- Person data

Note that employees will only be created in the cProjects  system if their status is "Active", and at least the following valid infotypes have been maintained for them in the HR system:
 

Infotype

Description

Purpose

0000

Actions

Used to select active employees only

0001

Organizational assignment

Organizational assignment, position

0002

Personal data

Name, date of birth, SSN, and so on

0006

Addresses

Employee addresses

0105

Communications

System user ID, email address, phone/fax numbers, and so on

1000

Objects

Defines business objects (organizational structure, qualifications catalog)

1001

Relationships

Defines business relationships

1025

Validity

Validity of qualifications

1028

Addresses

Organizational structure addresses


ii) Transfer of IDoc
Transaction PFAL (in HR System),
ALE Distribution of HR Master Data / OBJECTS:
Plan version: 01
Object type: O (organization Unit) , S (Position) , P (Person)
Object ID: ID is fetched from corresponding object type.
Transfer mode
Use Insert Mode
Update Mode
Infotype: 1000 (In case of Object Type O & S)
Receiving System:
Receiver Partner number: ZREC_CPROJ
Message type: HRMD_ABA
Execute PFAL


iii) Note the Status of Transferred IDocs


iv) Check cProjects system for transferred HR Objects.

Sejo Srambikkal

For XI there are few errors which are to be resolved by maintinaing an entry in tbale using Report

 

 

Back

  • No labels

5 Comments

  1. Unknown User (105qmsona)

    Hi

                      i found this document very useful for HR integration

                      thanks for info 

                 (smile)

                    Ravindra Saraf

  2. Unknown User (mlr4zte)

    Hi,

    do u have any document if both Cprojects and HR on same sytem?????

    Thanks

    Amit

  3. Anonymous

    Hi Sejo,

    This document is very helpful. Thanks for sharing this with all.

    Regards

  4. Unknown User (bznlbch)

    Sejo,

    We did the set up like you described and experience that PFAL generates  multiple BP's and CP's in PPM for 1 and the same P in ECC.

    Do you know any other situations that had the same experience and how to prevent PFAL to create multiple BP/CP's?

    Bart van Poppel

  5. Former Member

    Hi Sejo.

     

    We are trying to transfer Cost center from HR, but has not yet succeeded. We are receiving the IDocs in Cproject system, but with status 52.

    Do you know of any specific details we need to consider for this transfer?

     

    Best regards,

    Morten.