cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Distribute employees from HCM using HRMD_A and PFAL tcode is not creating BP and NA

Former Member
0 Kudos
3,754

Hello,

I´m trying to send all employees data from HCM into my e-Recruiting system, wich is installed alone in a different server from HCM. To do this I´m using PFAL tcode.

I have read some documentation and postings in the SDN about this, and I can finally send the information from HCM PA tables to e-recruiting tables, but something must be incorrect, cause the recruiting system is not creating the bussines partner in BUT000 and also is not creating the internal candidate (NA) for each one employee, so I can not use the employees data in recruiting.

I dont know wich is the missed step. Could someone help me with this issue?

Next, this is the steps I did:

1.- In erecruiting, in OOV2 transaction, parametrize:

Group

Semantic Abbreviation

Value

Description

HRALX

HRAC

X

Activates HR integration

HRALX

PBPHR

ON

Distributes employees from connected HR system

HRALX

USRAC

X

Creates relationship to user

RECFA

HRRFC

Logical system, not required when using XI technology for the data transfer but definitely required for integration in Organizational Management

Logical system of the coupled HR system

RECFA

RECCE

Specifies whether Concurrent Employment (CE) is active in the SAP E-Recruiting system.

Concurrent Employment is active in the SAP E-Recruiting system (parameter is relevant as of Release 604)

RECFA

DTCBA

Logical system (required on the HR system side) , not required when using XI technology for the data transfer

RFC connection to the SAP E-Recruiting system

2.- Configure all RFC conections between the two systems. Test conection OK.

3.- In HCM, using transaction SALE, in option "Maintain Distribution Model and Distribute Views", I created a new distribution model, for HRMD_A message type, from HCM to erecruiting.

4.- Add the next two filters to the distribution model:

          OTYPE = P, Infotypes: 0000, 0001, 0002, 0003, 0006, 0105

          OTYPE = C, O, S, Infotypes: 1000, 1001

5.-In HCM, generate partner profiles: No errors

6.- Distribute model to erecruiting

7.- In e-recruiting, check the received model and generate partner profiles

8.-In erecruiting, activate the next BADI implementations:

     CONV_HR_DATA_TO_EREC

     HRRCF00_INBD_NEWMOD

     HR_INB_PROCESS_IDOC


    

9.- Then in HCM, run PFAL TCODE, following the next instructions:

     Step 1  Execute PFAL (RHALEINI)for Obj Type O, Infotype 1000 and Transfer mode as Update mode

     Step 2  Execute PFAL (RHALEINI)for Obj Type S, Infotype 1000 and Transfer mode  as Update mode

     Step 3  Execute PFAL (RHALEINI)for Obj Type O and Transfer mode as Insert

     Step 4:  Execute PFAL (RHALEINI)for Obj Type S and Transfer mode as Insert

     Step 5:  Execute PFAL (RHALEINI)for Obj Type P and Transfer mode as Insert


10.- Checking the PA tables in eRecruiting, I see that data is being transferred, but no candidate or bussines partner is being created.

¿There are some missed steps?

I think that distributing model using PFAL, the procces must create the BP and NA objects. ¿Is it correct?

Thanks you very much, in advance.

Best regards,

Fran

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I have re-rgenerated the distribution model using the template "HR-ALX SRM/CRM 5.0", and distribute it.

I have enalbled BP integration, but when I execute transaction PFAL, and distribute the objects, the data are sent to PAXXXX tables, but no data are estored in HRP558* tables, and no BP or NA candidate object is being created.

The three mentioned badis are also activated. So, any ideas?

Thanks in advance.

Best regards,

Fran

Ramprabhu_Sukum
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fran,

In that case i think HR-BP integration is not working.

HRP558* are HR-BP integration tables. This explains why the BP was not created .

Probably you can look at the Wiki

http://wiki.sdn.sap.com/wiki/display/ERPHCM/Configuration+of+the+distribution+model

which contains useful OSS notes and steps.

Regards,

Ram

Former Member
0 Kudos

Thank you Ram,

I saw this link before, and it was very helpfull.

The inbound idocs are in status 64, with this warning:

Immediate Processing in Job '0000000000005020 '

Message no. EA187

Maybe, they are not processing, I´ll investigate in this way, and hope more luck this time!

Thank you for your time, and your help!

Best regards,

Fran

Former Member
0 Kudos

Hi Fran,

You can verify that you have the address (IT6), user ID (IT105) and email address (IT105). We recently had the same problem and found that the email address was not being sent at the same time. This prevented the creation of the BP profile (at least the employee record of BP).

Former Member
0 Kudos

Hello Richard,

Thank you very much for your response.

Finally I can transfer the data, using HRMD_ABA message type, and configuring the system properly, as indicates in note 997181.

Also I have implemented an enhancement in the methood "cl_hrrcf_system_check=>is_standalone" to force standalone = true.

Now some employees (most of them) are being transferred correctly from HCM to eRec, but some not.For some employees BP is not being created.

Analizing the IDOCS, we can see some of them has status 52, and shows this message: "An exception occurred in class CL_HRRCF_ALE_EE_INBOUND and method GET_EE_DETAILS_FROM_CP"

I have found that employees who are not generating the BP, are those who have not informed the infotype 105.

Do you know if there is a solution for this issue?

Thanks!!

Best Regards,

Fran

Former Member
0 Kudos

The only thing i can think of is to ensure that all required IT0105 entries be made before transferring the data to ERC.

I do have an OSS message open with SAP now, because even with all the necessary data it is still not creating the corresponding entry in BUP003. The effect of this is that, there is no employee role in the (ERC) BP. This normally happens when the hire is future dated.

Former Member
0 Kudos

Thanks Richard,

Only one question more: Is necessary to distribute all objects S and O, in order to create the candidates in erecruiting?

I only need the candidates, but not the positions and org unit, but in the SAP documentation, i have read that S and P must be also distributed.

Can I distribute only persosn?

Thank you very much

Best regards,

Fran

Former Member
0 Kudos

Hi Fran,

Yes you need to transfer S objects too because they get associated to the candidate (look in HRP1001). I'm not sure of O, but in our case we do transfer O objects as well.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Fran,

I know is long time past your post but I'm trying to use HRDM_A message type to transfer data from HCM to E- Recruiting and on my E-Recruiting system this type of message doesn't exist. Do you know if there is a way how to import it?

My e-Recruiting system is installed alone in a different server from HCM.

Thanks in advanced!! Really appreciated if you could help me!

DiEula.

Former Member
0 Kudos

Diana,

The first time that you push the idoc to the system it will create the HRMD_A message for you.  You don't have to import.

Thanks!

Jason

Former Member
0 Kudos

Hello,

I have changed the message type, and redistribute all data, but no candidates and business persosns are created still.

Maybe something is wrong in my configuration, or i have to activate any other badis?

Any input will be very appreciated.

Thanks in advance,

Fran

Ramprabhu_Sukum
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fran,

Following are the BADI implementations you have to activate in Erec system

BAdI

Sample Implementation

HRSYNC_P

CONV_HR_DATA_TO_EREC (active as of Release 604)

HRALE00INBOUND_IDOC

HRRCF00_INBD_NEWMOD (active as of Release 604)

HRALE00SPLIT_INBOUND

HR_INB_PROCESS_IDOC (inactive as of Release 604)

HRALE00INBOUND_IDOC

HRRCF00_DELETE_SPREL (inactive as of Release 604)

Apart from that make sure the HR-BP integration is activated as well. Otherwise BP will not be created. Sometimes the distribution fails because of distribution mode.

Create the Distribution model( BD64 ) from HR to EREC with filter group . Infotypes 0000,0001,0002,0006,105 and creating filter group for P->CP ( 1001 ) are essential.

Other objects like O,S,Q,QK depends on your requirement. All the objects transferred to EREC will be first saved in tables HRP5580 through HRP5588 then the ALE inbound class will copy the data into EREC specific tables. So if customers complaints about inconsistencies first check whether the data is present in HRP55* tables. All entries will be stored against CP objects because CP is the main object in Erec.

           

         We should initially transfer all the objects before transferring the relationship records. This holds true for any objects. Customers should not use the evaluation path to transfer the objects. All objects should be transferred individually.

Provide feedback if the answer is helpful.

Regards,

Ram

Former Member
0 Kudos

Hi Ramprabhu,

When you mention: "Apart from that make sure the HR-BP integration is activated as well. Otherwise BP will not be created. Sometimes the distribution fails because of distribution mode."

How can I achieve this? Where is this configuración?

Also, I think maybe my filter configuration is incorrect. If I have undestad you correctly, If I want to distribute only the employees from HR to eRecruiting, and create BP  and NA objects, I have to create the next filters:

Filter 1: 0000, 0001, 0002, 0003, 0006, 0105, for P objects

Filter 2: 1001, por P objects, subtype A209 (relation between P and CP)

Only these filters? I don´t have to distribute objects CP, O and S?

Thank you very much for your help.

Fran

Former Member
0 Kudos

Hi

I have made the same configuration as mentioned and the system is creating CP and business partner for the employee but the relationship B208 I am not getting the right data .

For example:

We are transferring pernr 40000556data (0000 , 0001, 0002 , 0003 , 0006 ,0105 , 0709,1001 and subtype a208 ) from HCM system to E-rec system through PFAL
transaction .

Pernr 40000556 is created as central person but the data for B208 which should be pernr global id50000144 (infotype 709) but it is giving wrong data as TS40000556

We are assigning the E-Rec role to all  internal employee based on the user which is maintained in relationship b208 so this lead to authorization issue and employee is not able to use E-rec pages

Please let me know how you solve this issue document will be appreciated

Regards

Abdull Hakkim.K

Former Member
0 Kudos

Hi Ramprabu,

I need some documents to transfer employee data from ECC to e-Recruitment for an internal hire.

Kindly share me your mail ID to connect with you-thanks.

Ramprabhu_Sukum
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You should use message type HRMD_ABA not HRMD_A.  Which Enhancement package of e-recruiting are you using ? I will provide the documentation based on that.

Thanks,

Ram

Former Member
0 Kudos

Hello Ramprabhu,

We are using Erecruiting system ECC 6.0, EHP5.

Thank you very much for the information!! Your documentation will be very appreciated!

Best regards,

Fran

Former Member
0 Kudos

Hi Ramprabhu,

Do you need a email to send the documentation you mentioned? I can´t find you in search to send you a direct message throuhg SDN.

If you need my email. Tell me.

Thanks,

Fran