on 2006 Nov 23 12:25 PM
Hi everybody!
Does anyone knows how to change BEGDA date for infotype according to probation period set in IT 0016?
I mean, when I hiring new employee I want to make new record in IT 0008 with date equal to IT 0000 + probation period (IT 0016) + 1 day.
So, I can make a record with new salary automatically.
In dynamic actions I am inserting two IT in hiring:
INS,0016,,,(P0000-BEGDA),(P0000-ENDDA)
and then
INS,0008,,,(P0000-BEGDA),(P0000-ENDDA) and here I need change P0000-BEGDA to another date (mentioned above).
Thank you for any help!
Cheers,
Kanat
you can put the code to read 0016 in a subroutine & call it from the Dynamic Actions and pass the date to 0008..
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not connected to SAP now.. but you can check this <a href="http://72.14.209.104/search?q=cache:-kkYXsE37YoJ:www.hrexpertonline.com/downloads/Rehan%2520Zaidi%2520Online%2520Portion.docDynamicActionsinSAP+HR&hl=en&gl=us&ct=clnk&cd=2">Link</a> for details on Dynamic Actions..
You will have to put the subroutine in a Report Program..
~Suresh
Hi,
******
Ignore my message,I haven't seen that this thread is already answered.
******
perhaps this works, you could use structure RP50D to return data.
INS,0016,,,(P0000-BEGDA),(P0000-ENDDA)
Call F GET_DATE(ZPUDYN01)
INS,0008,,,(RP50D-DATE1),(P0000-ENDDA)
The routine GET_DATE in programm ZPUDYN01 calculate the date and save it in field RP50D-DATE1.
I haven't test it yet.
Hope this helps
Regards
Bernd
Message was edited by:
Bernd Köhn
User | Count |
---|---|
98 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.