cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic actions 442 infotype delimit triggering 0014 infotype

former_member208197
Participant
0 Kudos
169

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

jrg_wulf
Active Contributor
0 Kudos

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

former_member208197
Participant
0 Kudos

Hi Jorg,

When calling infotype 14 through dynamic action , can we skip wage types and go directly to other wage types.

Thanks,

Kartheek.

jrg_wulf
Active Contributor
0 Kudos

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:

  • DIS           Display
  • MOD         Modify
  • INS           Insert
  • COP         Copy
  • DEL          Delete
  • LIS0          List-Display
  • LIS1          List-Modify
  • LIS9          List-Delimit

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