cancel
Showing results for 
Search instead for 
Did you mean: 

IT0007 Auto Update - Dynamic Action.

Former Member
0 Kudos

Hi,

I need some help on Dynamic Action.

Client want to update the IT0007 auto and here only one WSR.

00074320 *** START OF THE IT0007  SANTOSH SHIVANE ***
00074321PP0000-MASSN='SV'/X
00074322PT001P-MOLGA='99'
00074323IINS,0007,,,(P0007-BEGDA),(P0007-ENDDA)/D
00074324WP0007-SCHKZ='SBI NORM'
00074325 *** END OF THE IT0007  SANTOSH SHIVANE ***

SV - Hiring Action Type - PA40

99- International Country Grouping

SBI NORM - Work Schedule Rule


When Hiring that time not updating auto.


Please suggest


Santosh Shivane

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Looks like you are calling this dynamic event from IT0007?

You need to call it eg. after saving IT0000. 

Hope I read your post correctly.

/Kirsten

jagan_gunja
Active Contributor
0 Kudos

Hi Santosh & Praneeth

What values are used for P0007 begda & endda?  They are not set to any value.  If you are using P0000-BEGDA & P0000-ENDDA that'd make sense.

Praneeth

Can you please clarify your purpose or requirement for the dynamic action?  What needs to be the end result?

It makes sense if you have the dynamic action as below for IT 0, for certain conditions to insert a IT 7 with IT 0 start/end dates. 

0000    4    321    P    P0000-MASSN='SV'/X

0000    4    322    P    T001P-MOLGA='99'

0000    4    323    I      INS,0007,,,(P0000-BEGDA),(P0000-ENDDA)/D

0000    4    324    W    P0007-SCHKZ='SBI NORM'

Also please note dynamic actions are used after completing the infotype's saving - here IT 0's dynamic action would happen after IT 0 is inserted/changed.  It is not used to set up field values in the infotype for which it is coded (e.g. here IT 0 can not get values from the dynamic action)

Further if you wish to default the WSR for a certain condition, you can use feature SCHKZ.  Or to set up default values you can use PBO module or use user function that uses include LXPADU01.  This include is usually copied as ZXPADU01 in many implementations.  PBO for IT 7 processing program MP000700 means the process is used before IT 7 is displayed for insertion or change.

see link below:

Setting a default value for an infotype during pa20/30 and pb20/30 transactions

Similarly PAI is for process after  input (by a user in the infotype screen) - this is in LXPADU02.  See

link below

How to validate data input in PA30 (Maintain HR... | SCN

also see links

Is There Any Feature That Links Infotype 7 And 8 | SCN

How to Restrict the PA30 and PA40 for END USER. - Toolbox for IT Groups

Former Member
0 Kudos

Hi Santosh,

its working for me, check my dynamic action:

04620*** START OF THE IT0007 PRANEETH KUMAR ***
04621PP0000-MASSN='Q1'
04622PP0000-MASSG='01'
04623IINS,0007,,,(P0007-BEGDA),(P0007-ENDDA)/D
04624WP0007-SCHKZ='IKYA'
04625*** END OF THE IT0007 PRANEETH KUMAR***