cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer of e-Recruitment Attachments to ECC for candidate becomes employee

Former Member
0 Kudos
57

Hi Experts,

Can we pull the attachments of a candidate uploaded against his profile in e-recruitment, when he/she becomes an employee in SAP R3 HCM Archive Links along with his/her other data? For example: a candidate becomes an employee from PA48 when hired, all of his/her attachments to be uploaded in SAP HCM Archive Links. We have single instance for e-recruitment.

Thanks for your support in advance but your quick help would be very much appreciated.

Best Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

take a look at BADI HRRCF04_STORE_HRSKIL. This is called after PA48 and can be used for follow up data processing. For example you can call an RFC in e-rec for reading attachments.

It is just called if T77S0 switch RECFA DTCBA is set in HR.

Best regards

Sebastian

Former Member
0 Kudos

Hi Sebastian

Thank you for your help. Please bear me as I am a new baby in the world of SAP , I would like to know as per my understanding:

It seems to be that using this BADI we would be able to fetch the infotype 5105 from E-Recruiting i.e. candidate's Qualification and transfer them using RFC to the HR system which in turn would be saved in infotype 0024.

Whereas the requirements we have is to fetch the attachments from Infotype 5134 in SAP e-recruitment, and the attachments to be pulled out from the SAP DMS that is being configured for the e-Recruitment and move them to SAP HCM ArchiveLinks when the candidate becomes an employee.

How can we implement this BAADi for this purpose?

Regards

Former Member
0 Kudos

Hi,

yes you are absolutely right. This BADI is meant to be used for transferring and mapping qualification from erec to HCM.

But anyway this is a BADI. You have the ID of the candidate, the ID of the employee and the name of the RFC-Connection. What stops you from implementing whatever you like?

So my intention is, that a BADI is extensible area in ABAP which you can use for any purpose you like.

So you need to implement something like this:

call function 'ZGET_ATTACH_FROM_CANDIDATE'
  destination rcfrfc
  exporting
    cand_id = applicantnumber
  importing
    attach_tab = lt_attach.

call function 'ZWRITE_TO_ARCHIVE_LINK'
  exporting
     pernr = pernr
     attach_tab = lt_attach.

This code is of course not real code. So you need to implement an remote function on the e-rec system, which can be called from HR. Then you can write some code in order to write to archived link (unfortunately I do not know the API for archived link).

Best regards

Sebastian

Former Member
0 Kudos

Hi Sebastian,

We have called the RFC and can download attachments but to run this BADI what value is required for T77S0 switch RECFA DTCBA is set in HR?

Best Regards

Former Member
0 Kudos

Hi Sebastain,

What is a Structure for lt_attach.how many fileds & wat types should be followed.

Reegards

Balamurugan

Former Member
0 Kudos

Hi Sebastain,

wat sturcture should follw for lt_attach and how may fields shld b der.

Regards

Balamurugan N