on 2013 Jun 14 5:45 AM
Hi experts,
I have a requirement where i have to generate reference code for internal and external posting channels while creating job posting instance .
I know that this can be achieve by BADI HRRCF00_get_ext_code , there is one standard implementation of this badi, but it is picking some 16 digit guid , which is of no use .
My requirement is that it should be combination of org unit text, position text and job text .
I am able to get these details by a function module : HRRCF_GET_POSITION_INFO .
For it i have to pass Requisition Object i.e REQ_HROBJECT in Exporting parameter .SO, i tried doing it HARDCODE values , it is working perfectly .
I did it using Current date , working perfectly(picked from table HRP5125) . But in case if requisition was created few days back, then at what criteria i should use or if multiple requisition created at same day, then how to achieve it .
Even , When we click over external channel check box , reference code generated for external , and same for other posting channel .
Now , how do i distinguish between Internal and External posting channel, because i have to create reference code for both .
So, please help me to achieve this .
Request clarification before answering.
Hello Hitesh,
the criterias you mentioned are usually not sufficient for reference code creation as the reference code has to be unique in the complete system.
The approach I have been using with success in different projects is based on a number range object and a customer specfic pattern like <prefix><counter><separator><year><suffix>. I usually define the number range object with a subobject to have independent counts for posting channel, target group or branch (deends on customer preferences) and of course the number range object is year dependent. In the end I generate a code like CORP-XYZ 000012/2013 EXT while I have a customizing table in which I put the prefix and suffix texts for the same keys I use for the subobject.
Hope this helps with your requirement.
Kind regards
Roman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Roman
i have an adobe form. which is linked to class interface CL_IM_HRRCF_REQUI_REQUEST and method IF_HRASR00GEN_SERVICE~GET_HELP_VALUES .
the issue is that, after filling the form, after clicking on select button, i can't edit the form.
Please Help me.
| User | Count |
|---|---|
| 7 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.