Technical Articles
PPM – HCM Integration with Business Partners
Overview about PPM resources & business partners are explained in the below link and details about HCM integration will be explained in this blog.
PPM Resources (Business Partners) – Different ways of creation
One of the options of creating business partners is through HCM integration. This integration is quite simple with few steps as given below.
- Set-up integration
- Automatic creation of business partners for new employees
- Run report to create business partners for existing employees
1) Set-up Integration:
Configuration of Integration can be done directly by maintaining the system table ‘T77S0” with group ‘HRALX’ or by following below IMG paths.
SPRO–>Personnel Management–>Personnel Administration–>Interfaces and Integration–>Integration with SAP Business Partner–>
SPRO–>SAP Portfolio & Project Management–>Project Management–>Resource Management–>Business Partner–>Set Up Integration with HR
- The integration is activated with the main switch HRALX/ HRAC = X
- To activate the integration between business partners and employees addresses, switch HRALX/ OADRE=ON must be set
- To activate the integration between business partners and employees, switch HRALX/ OBPON=ON must be set
- To replicate employees from HR system to business partners, switch HRALX/ PBPHR=ON must be set.
- To assign numbers for the business partners, switch HRALX/ PNUMB= 3 must be set (PNUMB=1 is used for automatic internal number generation for BP, PNUMB=2 is used for specific number range and PNUMB=3 is used to have prefix characters with specific number range)
- If HRALX/ PNUMB- 2 or 3 is selected, then HRALX/ PSUBG must be activated with the specific number range interval
- To activate the integration between business partners and employee user id, switch HRALX/ USRAC = X must be set
- To import qualifications & assign it to business partners, HRALS/PQUAL=X must be set
If the switch HRALX/ PNUMB is assigned with switch value 2 or 3, Specific number range specified by customer in “Transaction code-BUCF” and “Table T77S0- HRALX/PSUBG” is considered for creating the business partners.
Maintain number ranges for business partners
The number ranges for the Business Partner can be maintained either through TC- BUCF or by using the below IMG path.
SPRO–>Cross Application Components–>SAP Business Partner–>Business Partner–>Basic Settings–>Number ranges and Groupings
A new number range as required can be created here and then it has to be linked in BP grouping. But I always recommend to match HR-Personnel number’s number range, so that we can easily identify the employee using business partner numbers also. If you are configuring HRALX/PNUMB=3, then you need to add the prefix as you wish in the number range (In the above screenshot, I have used EE has the prefix for identifying employee business partners – Prefix is added to the number range, so that when business partners are created, the number of the business partner will have an prefix “EE-Employee” and next 8 numbers will be the HR personnel number)
Maintain BP grouping
Once number range is created, a BP grouping has to be created which is in turn linked to HRALX/PSUBG.
The number range object and the interval used to assign numbers are dependent on the switch value. For switch value 1, the default internal interval is used. Otherwise (for switch value 2 or 3), the interval is defined by switches HRALX/PSUBG and HRALX/PNUMB.
Additionally for switch values 2 or 3, a grouping must be created (transaction BUC2) for these intervals. The system can then connect the grouping and number range interval, the name of the grouping must be identical to the name of the corresponding number range interval (the name of the grouping is in the first column of the table)
If these steps are carried out successfully, then the integration with HCM is complete and our next step is validate whether business partners are getting created for new employees and creation of BP’s for existing employees.
2) Automatic creation of business partners for new employees:
System will automatically create a Business Partner whenever a new Personnel number (New employee hiring: PA40) is created in HR, within the number range provided in backend system. To enable this, the switch HRALX/ PBPON=ON must be set.
The above switch also helps to transfer all the changes made to info types and objects. Standard system transfers the field values of the Info types IT0000, 0001, 0002, 0006, 0105 and HRP1000.
3) Create business partners for existing employees:
SAP has provided a standard program to create Business Partner objects for existing employees.
ECC: HR_SYNC_PERSON or HRALXSYNC
S4HANA: /SHCM/RH_SYNC_BUPA_EMPL_SINGLE
The HRALXSYNC report should be executed using either the Central Person (CP) id or the employee id of the person (If do not provide any input & execute, then all CP/Employee will be used as input for creation).
Following are Pros and Cons of this HCM integration…
Pros
- Time & effort of manually creating Business partners for all employees is saved
Cons
- If BP’s are manually created for an employee before integration, then when you run the report, the integration creates one more BP for the same employee.
That’s it as far as the integration is concerned. Hoping that, this will help our community members and feedback to improve this content is welcomed.
Dear Ravi,
This is very nice information and very useful.
Regards,
Santosh Shivane
Ravi,
Thanks for clarifying some of the other SAP articles on BP integration. I was wondering if you or anyone else knew of any adverse effects of creating BP objects. We want to start implementing Talent Management and we want to know if activating BP integration will cause problems in any of the SAP modules.
Regards,
Ken Stier
Hi Ken,
As far as I know, there will be no issues in carrying out BP integration. Have you tried the manual methods first? If its fine, then it should not be a problem in integrating BP with HCM and moreover SAP recommends for HCM integration to easy out the maintenance activities.
Regards,
Ravi
Hello Ravi
Great help thank you. How is it possible to limit this synchronization between HCM and cPRO ? We have an organisation of almost 25 000 personnel and I do not wish to create BP's for each and every employee. We will have to limit this to role for example. Is this possible standard? (I do know that via ALE one can set up a filter)
Thanks
C
Hi Chatsworth,
I have not come across this scenario, but this is possible through idocs using filter criteria.
Hello Ravi,
we are in progress to integrate HR into PPM.
Our landscape consists of two separate systems - one for PPM and the other a HCM.
Your information helped us to confirm some of our settings and we receive IDOCs in PPM. However, for some reason the processesing of the same does not happen.
At least we expected to have some central user or employees created, but it does not happen.
Could you provide some information which BADI implementation might be necessary/activated? We assume that this might be the cause of our problem.
kindly
Darijo
Hi Darijo,
You can check the IDocs status & error details from tcode - BD87.
For details about 'Distribution of HR Master Data from a Central Central HR System', you can refer the program documentation in tcode - PFAL.
Regards,
Ravi
.
Hi Ravi,
We Have ECC with HR and PPM on solman, How BP is created in PPM installed on Solman? 🙁
Br
Amit
Very good and helpful post! Do you have any ideas why the report as such couldn't work in a certain constellation? The customizing settings (as far as described) can't be the reason as they worked on another system.
Hello Ravi,
Thank you a lot for your excellent step by step document. I have successfully used it for a demo with PPM in THE SAME system than ECC (PPM as addon).
For my next demo, PPM is stand alone and i need intergration with HCM. Do you have the same document for stand alone configuration ?
Thanks,
Dali
Hi Ravi,
many thanks for the documentation. I have also other fields set as mandatory besides reconciliation account (constants for vendor group employees). Is there any possibility to maintain them standard?
thank you,
Diana
Hi Ravi,
thank you for the documentation.
Is this customizing valid in s4? Do you have any idea
/SHCM/RH_SYNC_BUPA_EMPL_SINGLE about the program?
Hello Huy,
Can you please let me know which scenario are you trying.
You can also check linkage between employee & business partner in transaction code RPM_EMPDATA and identify whether employee is already assigned to BP.
Regards,
Ravi
Dear you!
My scenario is trying to create new business partner for an existing employee with no business partner assigned. Really, I try transaction code RPM_EMPDATA but my system display:
"
Transaction RPM_EMPDATA does not exist
Message No. S#343
"
Please help me to check and process the issue.
Thanks!
Hello Huy,
This transaction should be available if you have PPM component in your landscape. Please share more details about your system landscape & PPM version.
And also transaction RPM_EMPDATA is available in SPRO path IMG-->SAP Portfolio & Project Mgmt-->Project Mgmt--> Resource Mgmt--> Business Partner-->Employee Overview.
Kindly check this as well.
Regards,
Ravi
Dear you!
I send to you my system information. Can you review to suggest for me.
Thanks for your help
Best regards, Huy
Hi Huy,
You do not have PPM component installed in landscape(Component-CPRRPM_640). Then for what purpose you are trying to create BP? This blog was very specific to PPM integration with HCM.
Regards,
Ravi
Thank you so much!
Thank you so much! We were just looking for something like this and you saved our day!
Thanks Anusha for the feedback.
Hello Ravi!
I work with Anusha and thanks for such an excellent explanation.
We were able to achieve the requirement of having the Business Partner (Employee as a vendor) the same value as the employee number.
This was done using the ZE numbering. However, there is an additional program given by SAP which can be run in the background - /SHCM/RH_SYNC_BUPA_EMPL_SINGLE which can be run to synchronise the BP for employee.
When we are using this program, with the existing grouping the system does not process the creation of BP.
Any idea how we can meet the requirement of BP having the number equal to Employee number with the following systems in place:
Master data source - SuccessFactors-Employee Central
S/4 HANA - HR mini master - replication being done using Integration through middleware HCI
Business Partner - numbering should be equal to Employee(Personnel) number
Thanks and regards,
Shyam
Hi Shyam,
I have not worked with SF, but please refer to the BADI's triggered during syncronization process. Details are available in the program help -'/SHCM/RH_SYNC_BUPA_FROM_EMPL'
And in case of any errors in above programs, you can view the error details in SLG1 transaction with object 'SHCM_EE_INTEGRATION'
Hope this helps.
If you have already resolved this issue, share it with us.
Regards,
Ravi
Hello Shyam,
This is Ramya and even I am working in the similar scenario as of your Project.HR mini master Integration from Success Factors to S/4 HANA though CPI.
So now we have received requirement from Client ,that they doesn't want Employees to be created as Business Partners through Interface automatically and our Data migration team will take care of Business partner creation by following numbering convention provided by Client.
So, I have deactivated all the Integration switches for HR- Business Partner Synchronization.
Now , we are facing issue- Our P2P team is using the " Manage workflow for purchase order" and they need HR mini maser data and USER ID'S maintained in 105 infotype. As I have deactivated all the Integration switched for Business partner they are not able to see any user id's that is assigned to Employees in 105.
Earlier when the Integration switches are "ON" , they didn't face this issue, after deactivating Integration , we are facing this issue now. Can you please suggest us how to proceed in this case.
Regards
Ramya
Hi Ravi,
The information that you have provided was so useful. Assuming that the standard configuration has remained the same over the years, I wish to know if there is a way to stop/ restrict the address information (Infotype 0006) from getting replicated.
Kishore
Hi Kishore,
Yes, address information can be restricted using the configuration of ' Activate Integration'-HRALX-OADRE. Refer second screenshot in the blog.
Regards,
Ravi
Hi Ravi
Thx for your excellent information.
I had a question about the employee.
My S4 HANA is 1709 , but i can’t find the employee which isn’t show on Partners functions.
And i followed your solutions about this point, but there’s no entry in IEMPLOYEE table.
I want to know that do you meet this issue? and how do you solve it?
Would you please share the solution with me ?
Thank you very much.
Hi Chen,
Unable to understand, can you elaborate your question?
Regards,
Ravi
Should we do the same step in s/4 1709?
Hi Changlin,
Steps are same, only program to synchronize data has changed
/SHCM/RH_SYNC_BUPA_FROM_EMPL
/SHCM/RH_SYNC_BUPA_EMPL_SINGLE
For details, refer S4H 1709 simplification list document in section 'Business Partner in SAP Portfolio and Project Management for SAP S/4HANA'.
Regards,
Ravi
Hi Ravi,
Our requirement is to create BUP003 Business Partner for few employees that are existing in the system.
Tried turning on the S4HANA Employee-BP Synchronization, BUP003 is getting created for all employees in the system (at the time of hiring and data load). Since we don't want everyone in the system to be "Employee BP", we are looking for alternate options. Please advise.
Thanks,
Karthiga
Hi Karthiga,
This was possible in ERP 6.0 where you can create Business Partners manually in tcode BP and assign personnel number & user id. But in S4H, manual creation of BP is restricted since business partner has become a leading object even for customer & vendors and employee BP's can be created only through HR integration and not by any other modes.
Hi Ravi,
Thank you for such a nice blog.
I am able to link BP with HR employee.
However I am finding one issue here. Can you please help me on that?
Whenever a BP is created for a HR employee, the role is "000000-Business Partner (Gen.) " . It does not create with role BUP003.
We also have created a custom role ZBUP03 with referring to BUP003. Can you please let me know how to get the BP created for this particular role?
Thank You
Hi Purna,
It should create the employee role as well, just try by creating infotype 0105 with 0001 sub type user name for a employee and check the corresponding BP.
Regards,
Ravi
Hi Ravi!
This blog was very helpful as I had no idea how to link SAP HR employee master with SAP Business partner.
I have one question though:If we create Business partner manually through TCODE: BP->Create Person->BP Type '0003' (Employee), the BP type value is saved in Table-Field (BUT000-BPKIND), but after configuring the steps mentioned by you, it is not updated in BUT000.
Am I missing something? Any idea?
Hi Ravi,
The Blog was so helpful to sync between employee & business partner. I did the configuration as mentioned. Still, the vendor not created with an internal number range. Am I missing something? Please help on this.
Thanks in Advance.
Regards,
Ram Kumar
Hi Ravi,
Very nice blog, can you please help me what are the IDOC message types to send and receive the business partner data.
Thanks & regards,
Sandeep G
check out SAP note 550055. you probably also need to set switch HRALX/PBPON = ON now in table T77S0
Hi all. Is everything okay with you?
Could you help me? Do I need to expand an employee to the other company in the group, how do I do?
Thanks & regards,
Hi,
After creating an employee, it is not automatically reflecting the details in BP. For that I have to manually run the program- /SHCM/RH_SYNC_BUPA_EMPL_SINGLE
Is there a TCODE to run this program as we cannot give access to Client user of this program.
Hi Rave,
Is there integration of infotype 0465-0001 documents by standard in S/4 hana 2020?
Thanks & regards,
Penny
Absolute lifesaver you are! Thanks a lot for such an informative and helpful guide! It was extremely helpful!
BR,
Pavel Guzanov
Hello Ravi,
Just one question - is it possible to link the already existing BPs to HR minimaster? (BP comes from SAP Billing with role BUP003 - Employee)
Thank you!
BR,
Pavel