on 01-15-2015 10:43 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.