08-23-2011 12:50 AM
Hi Experts
I have this requirement to copy permanent addr to mailing addr. in IT 0006.
I have made the following entries to Dynamic Actions:
0006 5 06 1 p T001P-MOLGA='13'
0006 5 06 2 p P0006-STRAS = ' ' /X
0006 5 06 3 p P0006-ORT01 = ' ' /X
0006 5 06 4 p P0006-PSTLZ = ' '
0006 5 06 5 p P0006-ANSSA='1'
0006 5 06 6 I COP,0006,1,,(P0006-STRAS),(P0006-LOCAT), (P0006-ORT01), (P0006-PSTLZ)/D
0006 5 06 7W P0006-ANSSA='5'
0006 5 06 8 I INS,0006,5,,(P0006-STRAS),(P0006-LOCAT),(P0006-ORT01),(P0006-PSTLZ)/D
I was hoping that the Permanent address will get copied into the Mailing address.
this has not happened. when i create/change a permanent addr. and come out of that session and then again next time go for subtype 5, I do not see the fields copied.
kindly help.
--
regards
08-26-2011 4:57 PM
Try the following. I have tested this with Insert, Change and Copy modes-
0006 06 98 P P0006-SUBTY='1'
0006 06 99 I INS,0006,5,(P0006-BEGDA),(P0006-ENDDA)/D
0006 06 100 W P0006-STRAS=P0006-STRAS
0006 06 101 W P0006-ORT01=P0006-ORT01
0006 06 102 W P0006-PSTLZ=P0006-PSTLZ
0006 06 103 W P0006-LOCAT=P0006-LOCAT
0006 06 104 W P0006-STATE=P0006-STATE
09-08-2011 5:08 AM
09-08-2011 6:49 AM
Hi Amit,
thanks for your help.
Its just that we have not tested the changes i made to the dynamic actions.
currently it is:
0006 1 06 1 p T001P-MOLGA='13'
0006 1 06 2 p PSPAR-TCLAS='A'
0006 1 06 3 p P0006-ANSSA='1'
0006 1 06 4 i COP,0006,1,,(P0006-BEGDA),(P0006-ENDDA)/S -
> /S makes it appear when you are creating the record.
0006 1 06 5 w P0006-ANSSA='5'
this gave good results in dev but then there is a background activity that creates IT50 as well with all this and the PERNR is not getting copied there.
will have more info next week and shall update you.
your response has helped me a lot hence the points for you
thanks again.
--
Regards
AJ
09-29-2011 1:45 PM
the posted Dynamic Action worked and is in QA now...
closing the thread as answered!