on 2011 Mar 02 2:44 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
94 | |
9 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.