Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

dynamic action problem

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

Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question