Skip to Content
Technical Articles
Author's profile photo Ravi Ekambaram

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.

  1. Set-up integration
  2. Automatic creation of business partners for new employees
  3. 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

 

Picture2.jpg

Picture3.jpg

Picture4.jpg

 

  • 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

Picture5.jpg

Picture6.jpg

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)

Picture7.jpg

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

Picture8.jpg

Picture9.jpg

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.

Assigned Tags

      43 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Dear Ravi,

      This is very nice information and very useful.

      Regards,

      Santosh Shivane

      Author's profile photo Ken Stier
      Ken Stier

      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

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      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

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      Hi Chatsworth,

      I have not come across this scenario, but this is possible through idocs using filter criteria.

      Author's profile photo Darijo Pavlic
      Darijo Pavlic

      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

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      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

      .

      Author's profile photo amit mishra
      amit mishra

      Hi Ravi,

      We Have ECC with HR and PPM on solman, How BP is created in PPM installed on Solman? 🙁

      Br

      Amit

      Author's profile photo Former Member
      Former Member

      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.

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Diana-Cornelia Doltu
      Diana-Cornelia Doltu

      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

       

       

      Author's profile photo ÖMER YILDIRIM
      ÖMER YILDIRIM

      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?

      Author's profile photo Former Member
      Former Member

       

      Thank Ravi about your documentation.
      When I configuration to according to your guide, after that I run report HRALXSYNC with input employee is exist but Business partner is'nt generated. 
      Can you suggest me to step by step check to reason and to fix the issue??
      Thank you so much!
      Best regards Huy!
      
      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      Hello Huy,

      Can you please let me know which scenario are you trying.

      1. Are you trying to create new business partner for an existing employee with no business partner assigned?
      2. or you are trying to create new business partner for an existing employee with business partner already linked to it?

      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

       

      Author's profile photo Former Member
      Former Member

      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!

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      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

       

      Author's profile photo Former Member
      Former Member

      Dear you!

      I send to you my system information. Can you review to suggest for me.

      Thanks for your help

      Best regards, Huy

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      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

      Author's profile photo Former Member
      Former Member

      Thank you so much!

       

      Author's profile photo Former Member
      Former Member

      Thank you so much! We were just looking for something like this and you saved our day!

       

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      Thanks Anusha for the feedback.

      Author's profile photo Shyam Kunnapallil Radhakrishna
      Shyam Kunnapallil Radhakrishna

      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

       

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      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

      Author's profile photo ramya t thota
      ramya t thota

      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

      Author's profile photo Kishorekumar Sarangarathinam
      Kishorekumar Sarangarathinam

      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

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      Hi Kishore,

      Yes, address information can be restricted using the configuration of ' Activate Integration'-HRALX-OADRE. Refer second screenshot in the blog.

       

      Regards,

      Ravi

      Author's profile photo CHEN DONG
      CHEN DONG

      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.

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      Hi Chen,

      Unable to understand, can you elaborate your question?

       

      Regards,
      Ravi

      Author's profile photo Changlin Ke
      Changlin Ke

      Should we do the same step in s/4 1709?

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      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

       

      Author's profile photo Karthiga Rajasekaran
      Karthiga Rajasekaran

      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

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      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.

      Author's profile photo purna tripathy
      purna tripathy

      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

      Author's profile photo Ravi Ekambaram
      Ravi Ekambaram
      Blog Post Author

      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

      Author's profile photo Karthikeyan V
      Karthikeyan V

      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?

      Author's profile photo IIMA Operations
      IIMA Operations

      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

       

      Author's profile photo faisal MAHDI
      faisal MAHDI

      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

      Author's profile photo Bjorn Harzer
      Bjorn Harzer

      check out SAP note 550055. you probably also need to set switch HRALX/PBPON = ON now in table T77S0

      Author's profile photo Claudio Jose Da Silva
      Claudio Jose Da Silva

      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,

      Author's profile photo Devraj Chauhan
      Devraj Chauhan

      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.

      Author's profile photo Rafael Razzolini
      Rafael Razzolini

      Hi Rave,

       

      Is there integration of infotype 0465-0001 documents by standard in S/4 hana 2020?

       

      Thanks & regards,

      Penny

       

      Author's profile photo Pavel Guzanov
      Pavel Guzanov

      Absolute lifesaver you are! Thanks a lot for such an informative and helpful guide! It was extremely helpful!

       

      BR,

      Pavel Guzanov

      Author's profile photo Pavel Guzanov
      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