on 2012 Oct 10 5:46 AM
Hello Gurus,
I have a scenario where i need to create a dynamic action on a MGE infotype on infotype 0000.i.e When i run action Termination, death and retirement, Infotype 758 should get delimited. We might have one record (758) or multiple record for an employee. My client wants me to write a Dynamic action for the same. I am new to writing Dynamic actions and i need Help urgently.
Points shall be awarded .
Thanks in Advance.
Preethi
Hi ,
Find the below thread. it will provide exact solution to you I suppose.
http://scn.sap.com/thread/1855723
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Ritz,
Thanks a ton.. that really helped me with the solution, But i am getting the same error as mentioned in the thread. The delimiting of the infotype is popping up though i have given /D. I dont have the subtype mentioned in the thread.
This is an urgent issue and i need immediate help.
Thanks,
Preethi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Scott,
No, I have not defined IT0758 In these actions. Im using a dynamic action on action 0000 to delimit entries in IT0758.
The code i have written is
0000 MASSN 6 8 p PSPAR-MASSN= 'ZA'/X
0000 MASSN 6 9 p PSPAR-MASSN= 'ZB'/X
0000 MASSN 6 10 p PSPAR-MASSN= 'ZC'/X
0000 MASSN 6 11 I LIS9,0758,,,(P0000-BEGDA),(P0000-ENDDA)/D
Noh. There are no subtypes being mainted here. the Infotype 758 has multiple records of different date. So when i execute the action with the above code, The Delimit infortpe 758 screen is coming up with the lastest entry and i ahve to manually choose that and delimit it.
I want to know if there is a way this can happen in the background
To me it sounds as if it the dynamic action is not able to determine which record to delimit in the background, thus bringing up the screen for the user to choose. I would talk to a developer to see about writing a custom routine that your dynamic action can call that determines the active record that needs to be delimited. Hope that makes sense! We do something similar for an infotype that has multiple subtypes where the BEGDA needs to be adjusted based on the action being performed.
Please find below steps for dynamic action :
http://www.sapfunctional.com/HCM/DynamicActions/Index.htm
http://help.sap.com/saphelp_40b/helpdata/en/57/5184ab7b35d111950d0060b03c6b76/content.htm
Regards
Sushilkumar.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
9 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.