Skip to Content
0
Former Member
Oct 27, 2007 at 09:41 AM

Dynamic Action to create Absence Quota

157 Views

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)