cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic action for IT8 - Basic pay doen't work

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

HiSage929K ,

In that case, you need to use Reference field option "V" for dynamic actions.

If any value is changed in a particular field, run a dynamic action. example furnished below. try by writing that.

0008 LGART 06 19 P T001P-MOLGA='08'

Regards

Venu Gopal

Former Member
0 Kudos

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

Former Member
0 Kudos

Please try P0008-LGA01 instead of P0008-LGART.

Dilek

Former Member
0 Kudos

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

Former Member
0 Kudos

Please use COP instead of MOD.

In this case, the system will change the already existing record or will create new one if it is not existent.

Dilek

Former Member
0 Kudos

Thanks Dilek .That worked.Have awarded 10 points for this answer.

Thanks once again

Answers (2)

Answers (2)

Former Member
0 Kudos

Sorry.. Im removing my reply.. I know it wont work!

Edited by: Saravanan Kalyanasundaram on Apr 7, 2010 4:22 PM

Former Member
0 Kudos

Hi,

Correct '320' as '0320'.

Regards,

Dilek