cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Actions for Date Specifications

srinivas_nvp2
Explorer
0 Kudos

Hi Friends

Please suggest the changes in the code for the below Dynamic Action

P             T001P-MOLGA='10'

P             PSPAR-MASSN='03'

I               MOD,0041,,,

W            P0041-DAR12='92'

W            P0041-DAT12=P0000-BEGDA

My requirement is that, if an employee is executed with
action '03' ,the new IT41 record (copy of existing) is being displayed with
BEGDA as BEGDA of IT0000, but the dates in each of the date type are modified
with the same BEGDA ,

to be more precise, if the earlier record of IT41 has 3 date
types (say 89,90,91 with some dates of say 01.01.2011,01.01.2011,01.05.2012)
then the new IT41 record which was proposed to create/copy does have date types
89,90,91 and also 92 but with dates as the BEGDA of the action.

What I wanted was only 92 date type to be filled new date
and all other dates as original...

Please suggest how do I achieve this.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Try this

P             T001P-MOLGA='10'

P             PSPAR-MASSN='03'

I               COP,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D

W            P0041-DAR12='92'

W            P0041-DAT12=P0000-BEGDA