Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic actions not working

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

This message was moderated.

0 Kudos

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

Former Member
0 Kudos

the posted Dynamic Action worked and is in QA now...

closing the thread as answered!