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

ALE data transfer from E-recruitment to HCM

Former Member
0 Likes
1,396

hi All,

We are Implementing E-recruitment in HCM.

I have following 2 requirements

Case 1). Distribute data of infotypes 0000,0001,0002,0006,0022,0023,,0024,1000 and 1001 into ER(E-recruiting) from my HCM (ECC) system. This i have achieved using message type HRMD_A and setting up ALE as per standard guidelines.

Case 2) i have to transfer Candidate data which gets created in E-recruitment server back into HCM(ECC) server(reverse of case 1) and stored them in infotypes 0000,0001,0002,0006,0022,0023 and 0024. How this can be achieved ??

is there any standard way i mean IMG configuration or ALE setup to transfer this data back into HCM (ESS) server?? or any BAdis??

kindly suggest me some solution if anyone of you have encountered the same situation in past. The final solution i m thinking is of creating custom basic IDOC type, message type and custom programs for inbound and outbound processing but before doing this i just wan to have a confirmation that there is no standard way of doing this...

Thanks in advance..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Michell

For sending Erecruitment data [Candidate Data] to HCM server you will have to perform the activity "Data Transfer for New Employees". You can assign this activity "6000" to required HR Process [ TCode: SPRO-> SAP E-Recruiting->Recruitment->Applicant Tracking->Assign Activity Types to Recruitment Processes]. This activity is completed by the Recruiter. The data then gets sent to the HR system specified as a RFC Destination. The data resides in a temporary table T752F in the HR server. Then through TCode PA48 you can hire the candidates in your HR system.

Regards

Vipul

Answers (6)

Answers (6)

Former Member
0 Likes

Hi,

I too have same problem,

i have to update the infotypes 0000,0001,0002,0006,0022,0023,,0024,1000 using the FM  HR_PREPARE_NEW_EE. ,

what i need is how to fetch data that is filled in E-REC portal into our PA infotypes.

please help me.

Former Member
0 Likes

Hi Michel,

I need one help from you. We are implementing E-rec in out organisation. We have SAP HR in SAP 4.6c. We want to implement E-rec with EHP4 ECC 6.0 on standalone application.

My question is.

Do we need to transfer OM and personal data from 4.6C to ECC 6.0 and then to E-rec. or can we directly send HR 4.6 org data to E-rec or any other option.

I am bit disturbed here. Could you please guide me how to proceed further on this.

Thanks,

Sudhakar.

Former Member
0 Likes

You can ALE the data directly. Make sure you have reviewed the delta's and the required SAP Notes

Former Member
0 Likes

Hi We are implementing E-recruitment in ECC 6.0. We have HR System in 4.7. We want to transfer the OM structure from 4.7 to ECC 6.0. This we are doing by setting up the standard ALE using HRMD_A message type. Now my question is if we do some changes to the OM structure in ECC 6.0, We want to replicate the changes back to 4.7. As per standard ALE, change pointers will not be written for the replicated Objects. so how to send these changes back to 4.7. Could you please let me know how to resolve this issue.

Thanks,

Sudhakar.

Former Member
0 Likes

Normally you should maintain org structure at one place only. Did you set up distributed OM where you system mark the original system for each object. I guess this is active and that is why you are not able

to generate the change pointers. If you want to move OM from 4.7 tp ECC 6 and going forward maintain it there then you can change the origin of the objects and then it will generate the change pointers.

I think the table is HRMDORIGIN.

Hope this helps, but never do a two way synch for the org structure as it is not recomended.

Regards,

krish

Former Member
0 Likes

Hi Kriss,

Thanks for your reply. Will it be any problem to change the original system of each object, once we transport to ECC 6.0 ?. As per the standard ALE, it marks the original system for each object. That is the reason change pointers will not be generated for the replicated objects. i am even investigating to find the user-exits to trigger the change pointers.

Thanks,

Sudhakar.

Former Member
0 Likes

As I said if you want to maintain it in one system them you can change the original system objects in the table HRMDORIGIN where you want to maintain and it works fine from there. Then you can use ALE to synch it back to your 4.7 system. You can change the same table there to reflect that these objects were created in the ECC 6 system and then there is a config table where you can set the error popoup to X and that will not allow any one to change the OM data there.

If you want to take the user exit approach then you can write out the change pointers when someone savea an infotype and then I think in the ALE inbound there is a user exit where you can selectively allow any object and infotype to be overwritten when you post an inbound idoc( this creates the idoc in status 52 though but data gets updated!). I have done this but this is very very dangerous but if the scope is very clear then you can try it otherwise try to handle it more from a business process point and by following a discipline that which is master system and replicate it from there.

Hope this helps.

Former Member
0 Likes

Hi Kriss,

Excellent, I am 100 % convinced with your comments and that would be clean solution. I will follow your 1st approach. By any chance do you have any step by step documentation on how to transfer 4.7 data to ECC 6.0 system. I just want to use it for reference purpose.

Thanks,

Sudhakar.

Former Member
0 Likes

Hi Krish,

I need one more clarification from you. I found there are no entries in HRMDORIGIN IN 4.7. Now if i transfer the data to ECC 6.0 what value will be stroed in HRMDORIGN table in ECC 6.0. I am struck up here. Please help me in this. Could you please let me know what is the table associated to set error POPUP flag which will not allow anyone to change the OM structure.

Your help is highly appreciated.

Thanks,

Sudhakar.

Former Member
0 Likes

Michell,

With message type HRMD_A, which basic type did you use in partner profile? (was it HRMD_A06 or HRMD_A07)?

Thanks!

Former Member
0 Likes

thanks all...

Former Member
0 Likes

Hi michell,

How you solved the problem for remaining data which was not coming from E-rec..

even i am facing the same problem

regards

vivek

Former Member
0 Likes

Hi,

For your second case...

There is no standard way through configuraiton you can only transfer 12 fields from erec to hcm......

for the rest you need to code the badi... and use enhance some classes........and use bapis

Regards,

Divya

Former Member
0 Likes

Hi Divya,

U told that we can transfer only 12 fields from E-recruiting to HCM.. So is there any standard message type and IDOC type available or i have to made them Z-message type and Z-Idoc types??

romanweise
Active Contributor
0 Likes

Hello michell,

the ALE technology is only used for transfering data from HCM to e-recruiting. In the direction from e-recruiting to HCM there are 2 different technologies. The easier one is a simple RFC call of a function module to set the information into table T752F which is used to set the information into the infotypes when running the hiring action fromn PA48. There is another szenario using XI but so far i have not seen this in production.

So you won't find an IDoc type here.

Best Regards

Roman Weise

Former Member
0 Likes

Hi Roman and Vipul,

Thanks a lot for your very helping Replies..

I have following doubts...

For sending E-recruitment data Candidate Data to HCM server I have performed the activity "Data Transfer for New Employees". i have assigned this activity "6000" to required HR Process TCode: SPRO-> SAP E-Recruiting->Recruitment->Applicant Tracking->Assign Activity Types to Recruitment Processes.

I also have Made RFC Connection and assigned Parameters to it. After doing this following is what i have understood.

'Once this RFC settings are in place and As soon as the activity "Data Transfer for New Employees" gets completed in E-recruiting server the RFC which we created will AUTOMATICALLY put that data in table T752F of my HCM(HR) server . Once this is done whenever anyone runs PA48 in my HCM(HR) server to do "Hiring from External System", the required Infotype data will be fetched form T752F table of my HCM(HR) server and will be updated in required PA infotypes for that New Employee'.

If this is what exactly going to happen then i think I am done. Then the only thing I would like to ask is if i require to update a particular field in particular PA infotype and that is not getting stored in T752F table then I will have to use BAdi to update these fields or any other standard functionality given by SAP ??..

Thanks a lot in advance....

romanweise
Active Contributor
0 Likes

hi michell,

unfortunately sap did not think of placing an opportunity for adding your own coding for customer fields there. if you need additional data to be transfered the usual way is a modification. Replace the standard function module by a customer one or change the original one.

There are possibilities to do this w/o modification by some tricks including workflows but that is much more difficult to build.

Best Regards

Roman Weise

Former Member
0 Likes

Hi Roman,

table T752F stores values only for few PA48 specific fields?? or it stores all the infotype related fields?? if it is storing only PA48 specific fields then is there any way to change the standard Program which creates these entries in T752F and enable T752F to store more fields..??

if this is not possible then there is only one way left is to make Z version of PA48 and get required fields from ER into HR using custom RFC.....

Former Member
0 Likes

Hi Michell,

For this purpose, you will have to repair in three places.

1. One is the FM: HR_PREPARE_NEW_EE

Fro example you want to add something for infotype 008 you need to add this code ( level being the value you want to pass. ) :

PERFORM ppv USING email 'P0105-USRID' '03'.

Add the this in the import parameter as well.

2. You need to change include MP000040 under form: process_infogr. The internal table : proposed_values is carrying all the values.

You can insert your code right after this SAP's loop :

LOOP AT proposed_values WHERE infty EQ infogr-infty "XDPK139847

AND seqnr IS INITIAL . "XDPK139847

IF proposed_values-fname EQ 'PSPAR-SUPDG'. "QNUK74530

pspar-supdg = proposed_values-fval. "QNUK74530

ELSE. "QNUK74530

MOVE proposed_values-fname "QNUK74530

TO initial_values-field_name. "QNUK74530

MOVE proposed_values-fval "QNUK74530

TO initial_values-field_value. "QNUK74530

APPEND initial_values. "QNUK74530

ENDIF. "QNUK74530

DELETE proposed_values. "QNUK74530

ENDLOOP. "QNUK74530

For example for e mail it will be :

if infogr-INFTY = '0105' and infogr-subty = 'U006'.

infogr-subty = 'U009'.

clear wa_infogr.

loop at infogr into wa_infogr

where INFTY = '0105' and subty = 'U006'.

wa_infogr-subty = 'U009'.

modify infogr from wa_infogr.

endloop.

if infogr-INFTY = '0105' and infogr-subty = 'U009'.

LOOP AT proposed_values WHERE infty EQ infogr-infty "XDPK139847

AND seqnr = '03' . "XDPK139847

IF proposed_values-fname EQ 'PSPAR-SUPDG'. "QNUK74530

pspar-supdg = proposed_values-fval. "QNUK74530

ELSE. "QNUK74530

MOVE proposed_values-fname "QNUK74530

TO initial_values-field_name. "QNUK74530

MOVE proposed_values-fval "QNUK74530

TO initial_values-field_value. "QNUK74530

APPEND initial_values. "QNUK74530

ENDIF. "QNUK74530

DELETE proposed_values. "QNUK74530

ENDLOOP.

endif.

endif.

3. You also need to change on the E -rec side in class:

CL_HRRCF_ACT_DATA_TRANS_RECORD

and method: TRANSFER_DATA.

Hope this is helpful.

Thanks

Amina

Former Member
0 Likes

hi Amin,

thanks for reply.. i saw TRANSFER_DATA method of class CL_HRRCF_ACT_DATA_TRANS_RECORD. in this method it calls RFC HR_PREPARE_NEW_EE and pass following data.

ls_transfer_data-hiredate

ls_transfer_data-employeenumber

ls_transfer_data-orgunit

ls_transfer_data-position

ls_transfer_data-lastname

ls_transfer_data-firstname

ls_transfer_data-academicgrade

ls_transfer_data-initials

ls_transfer_data-formofaddress

ls_transfer_data-gender

ls_transfer_data-dateofbirth

ls_transfer_data-correspondlanguage

ls_transfer_data-street

ls_transfer_data-city

ls_transfer_data-zipcode

ls_transfer_data-country

ls_transfer_data-state

lo_candidate->hrobject-objid

Now Instead of modifying this RFC and CLass can i go following way..

once data is updated in T752F table of my HR system we have to run PA48 transaction to update these data in my HR infotypes..correct me if i am wrong..

So i am planning to create one RFC which fetches extra data that i require from ER system and gimme back in HR and then alongwith other data from T752F i will update these data for my employee...

is this the correct approach... ???

thanks in advance...