on 2014 Dec 15 10:22 AM
Dear Experts,
I wanted to trigger infotype 014 creation/change screen when infotype 0442 is delimited in dynamic actions.
I have tried badi and user exit but they aren't getting triggered, Not sure how to achieve this.
Thanks,
Kartheek.
Hi Kartheek,
the easiest way would be, to simply add the respective lines in V_T588Z, to enhance your existing dynamic action.
You wrote, that IT0422 is delimited by dynamic action, so you only have to call IT0014, with your respective subtype with MOD.
If no data is present, nothing will happen.
If you choose to put in COP, then an existing infotype will be copied, otherwise a new one will be inserted.
Choose which option fits best.
Best regards - Jörg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kartheek,
sorry, but i don't seem to understand, what exactly is your requirement.
When you fill in the subtype whithin the infotype call in dynamic action, this is the wagetype you want.
But maybe i misunderstood entirely.
So i'll give you some extra input:
For calling an infotype the general syntax is like
I <Action>,<Infotype-number>,<Subtype>,<Begindate>,<Enddate>
Where Action can be one of:
The reaction to any of these actions may vary, according to the setting of the other parameters.
For instance
I MOD,0014 (trailing commas may be omitted)
will raise the first entry of P0014 for modify, whereas
I MOD,0014,0123,PSPAR-BEGDA,PSPAR-ENDDA
will raise the first entry of Infotype 0014 with wagetype 0123, valid between action date and (assumed) high-date, if existing. Otherwise, nothing will happen.
On the other hand
I COP,0014,0123,PSPAR-Begda,PSPAR-ENDDA
will get that entry for copy if existing, otherwise it will insert a new entry of P0014, WT 0123, valid from action-date to (assumed) high-date.
But maybe you can take an entirely different approach and use the list-modify
I LIS1,0014,,PSPAR-BEGDA,PSPAR-ENDDA
This will raise a list of all existing entries of infotype 0014, for all wagetypes, actually valid. It will give you the opportunity to either copy, modify or delete an existing or insert an entirely new one,
just as you see fit from the existing.
Best regards - Jörg
User | Count |
---|---|
108 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.