cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Action to create Absence Quota

Former Member
0 Kudos

Dear Sapients,

I want to create IT2006 with regard to Title (ie Mr & Miss)

For Example

condition

Transaction PA40

Hiring action = 01 (massn)

If in pa0002 title is Mr, Miss then

Create IT2006 subtype 54, start date as per IT0001 and enddate 31129999

Create IT2006 subtype 55, start date as per IT0001 and enddate 31129999

Kindly correct the dynamic action

0002 04 001 P SY-TCODE='PA40'

0002 04 002 P PSPAR-MASSN<>'01'

0002 04 003 P P0002-ANREX='Mr'/X

0002 04 004 P P0002-ANREX='Miss'/X

0002 04 005 I INS, 2006,54,,(P0001-BEGDA),(P0001-ENDDA)

0002 04 005 I INS, 2006,55,,(P0001-BEGDA),(P0001-ENDDA)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hai..

pls specify user group and country grouping in the dynamic actions

Former Member
0 Kudos

Hi Ram,

<b>I could find</b>Infotype, Subtype, Fieldname, Function, Sequence number and step in IMG of dynamic action.

Where exactly I can relate my dynamic action to the user group and country group in the IMG.

Kindly awaiting for you inputs.......

Former Member
0 Kudos

hai..

0002 04 002 P PSPAR-MASSN<>'01'

add MOLGA & UGR including MASSN

Former Member
0 Kudos

Thanks you very much Ram,

problem is resolved

Answers (1)

Answers (1)

Former Member
0 Kudos

0002 04 001 P SY-TCODE='PA40'

0002 04 002 P PSPAR-MASSN='01'

0002 04 003 P P0002-ANRED='1'

0002 04 005 I INS, 2006,54,,(PSPAR-BEGDA),(PSPAR-ENDDA)

0002 04 006 P SY-TCODE='PA40'

0002 04 007 P PSPAR-MASSN='01'

0002 04 008 P P0002-ANRED='2'

0002 04 009 I INS, 2006,55,,(PSPAR-BEGDA),(PSPAR-ENDDA)

Reward if this was helpful.

Regards

Ravikumar

Former Member
0 Kudos

Hi Ravikumar,

Thanxs for the valuable input.

I have written the same in the IMG of dynamic action, but how to activate it as when I am hiring its not doing anything.

<b>For your info</b>

IT2006 has been incl in the action hiring.

should i remove it so that it will create automatically.