on 04-07-2010 1:36 PM
Hi,
I'am trying to set up a dynamic action for the following scenario:
When wagetype 0320 is created in basic pay infotype for a particular personnel area AN01 , infotype 19 (monitoring of tasks, subytpe 56 )should be triggered.I have written the following dynamic action but it doesn't seem to work:
0008 06 20 P T001P-WERKS='AN01'
0008 06 30 P P0008-LGART='320'
0008 06 34 I INS,0019,56
I have also tried this with create subtype 04 but it doesn't work either.
Please can somebody help me.
Thanks
Regards,
Saima
Hi Saima,
You have forgot one step that is the first step, for country grouping, if it is for US. you need to write as below.
0008 06 10 P T001P-MOLGA='10'
Try with this.
Regards
Venu Gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Dilek and Venu for the prompt reply.
I have amended the Dynamic action as per your recommendation but it still doesn't work:
0008 06 19 P T001P-MOLGA='08'
0008 06 20 P T001P-WERKS='AN01'
0008 06 30 P P0008-LGART='0320'
0008 06 34 I INS,0019,56
It works if I change P to W for line 30(as listed below) but the only problem is now it doesn't check for wt 0320, it creates IT19 for any wagetype that is created in basic pay.
0008 06 19 P T001P-MOLGA='08'
0008 06 20 P T001P-WERKS='AN01'
0008 06 30 W P0008-LGART='0320'
0008 06 34 I INS,0019,56
Please can you let me know how I can get this to work
Thanks in advance for your help
Hi Venu,
Pardon my ignorance..I donot understand what you have suggested in your post.
Please could you let me know how I can incorporate refernce operator V in my action below for checking condition LAGRT = 0320
0008 06 19 P T001P-MOLGA='08'
0008 06 20 P T001P-WERKS='AN01'
0008 06 30 W P0008-LGART='0320'
0008 06 34 I INS,0019,56
Thanks a lot Dilek.It worked with LGA02.However, I have now been asked by my client to modify the requirements to carry out the following checks:
1) If the wagetype is created, insert IT19-subtype 56
2) If the wage type is set up in the change mode or the wagetype amount is changed, then:
2.1) IT19-subtype 56 screen should come up if there isn't a record for IT19-subtype 56 already.
2.2) If a record already exists then IT19-subtype 56 screen should appear in the modify mode.
I have managed to set up set up dynamic action for section 1 and section 2.2 but Iu2019 am not sure how to check whether an existing record for IT19 u2013subtype 56 already exists. Please could you let me know how I can translate this requirement in dynamic actions format?
Thanks
Sorry.. Im removing my reply.. I know it wont work!
Edited by: Saravanan Kalyanasundaram on Apr 7, 2010 4:22 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Correct '320' as '0320'.
Regards,
Dilek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
3 | |
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.