cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic action problem

Former Member
0 Kudos

HI,

I have an issue where W9 (LOA - Leave of absence with No Pay) action is run and it should populate Y2, Y1 and U9 dates in IT 0041 but its not doing it in fact its not popping up IT 0041 at all. Plz check to see where the code is wrong. Refer to the list below for abbr.

W7 LOA (Leave of Absence) with Regular Pay

W8 LOA with Special Pay

W9 LOA with No Pay

U9 Expected Return Date

Y1 Last Day worked

Y2 Last Day paid

MASSG='08 - Action reason - Occupational Medical

MASSG='07' Action reason - non-Occupational Medical

LASTDAY(ZDYNACTION) - custom z program to calculate various dates.

0000 MASSN 06 40 * LOA ACTIONS

0000 MASSN 06 42 P PSPAR-MASSN='W8'/X

0000 MASSN 06 43 P PSPAR-MASSN='W7'/X

0000 MASSN 06 50 F LASTDAY(ZDYNACTION)

0000 MASSN 06 52 I COP,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D

0000 MASSN 06 54 W P0041-DAR11='Y1'

0000 MASSN 06 56 W P0041-DAT11=RP50D-DATE1

0000 MASSN 06 60 W P0041-DAR12='U9'

0000 MASSN 06 61 *END LOA ACTIVE

0000 MASSN 06 65 * START LOA ACTION W9 REASONS 07 & 08

0000 MASSN 06 66 P PSPAR-MASSN='W9'

0000 MASSN 06 67 P PSPAR-MASSG='07'/X

0000 MASSN 06 68 P PSPAR-MASSG='08'/X

0000 MASSN 06 69 F LASTDAY(ZDYNACTION)

0000 MASSN 06 70 I COP,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D

0000 MASSN 06 71 W P0041-DAR11='Y1'

0000 MASSN 06 72 W P0041-DAT11=RP50D-DATE1

0000 MASSN 06 73 W P0041-DAR12='U9'

0000 MASSN 06 74 W P0041-DAR10='Y2'

0000 MASSN 06 75 * END LOA W9 REASONS 07 & 08**

Thanks,

Rashmi

Edited by: Rashmi Chawla on Sep 6, 2008 11:57 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member761936
Active Participant
0 Kudos

Hi Rashmi,

By seeing your dynamic action configuration , there seems to be no problem in configuration it should work fine

Your saying that IT 0041 is not popup , but as you ggave copy of 41 in back ground mode ( /D) in dynamic actions it will not popup the 0041 screen , it will done in background.So Please check in PA0041 whether it is created or not.

Please let me know still if it is giving problem

Answers (1)

Answers (1)

0 Kudos

Hi,

Before writing dynamic actions you need to maintain the Feature:DATAR ( Default value for date specifications)

Through T.code:PE03 .

DATAR Default value for date specifications

MOLGA Country Grouping

40 India

W0

Check this feature once, if you maintain this could solve your problem. else reply me back with detailed query.

Regards

Sunil Kondoju