Skip to Content
0

Dynamic Action Query

Oct 18, 2016 at 09:53 AM

83

avatar image

Hi Team,

I have written a dynamic action for address to be created in the foreground whenever 0001 is created or changed.. It works and address infotype pop up but how ever whenever i try to default some fields it is not working i try to default district field in infotype 0006 with u1 but not working .. could you please guide me is there anything wrong in my coding .

001 06 1 P T001P-MOLGA='16'
0001 06 2 P PSAVE-BTRTL<>P0001-BTRTL
0001 06 8 I INS,0006,5,,(P0001-BEGDA),(P0001-ENDDA)
0001 06 10 I INS,0006,D102,,(P0001-BEGDA),(P0001-ENDDA)
0001 06 11 W P0006-ORT02='u1'
0001 06 20 P T001P-MOLGA='16'
0001 06 22 P PSAVE-WERKS<>P0001-WERKS
0001 06 24 I INS,0006,5,,(P0001-BEGDA),(P0001-ENDDA)
0001 06 26 I INS,0006,D102,,(P0001-BEGDA),(P0001-ENDDA)
0001 06 27 W P0006-ORT02='u1'

as you can see distruct.suburb field is still empty.. but dates are defaulted correctly..

Could you please help me out ?

Thanks

Sriram



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

praneeth kumar m Oct 18, 2016 at 12:08 PM
1

Hi Sriram,

I think you have to write the dynamic action two times with different address types.

for example:

06100PT001P-MOLGA='16'

06105PPSAVE-BTRTL<>P0001-BTRTL

06110IINS,0006,5,,(P0001-BEGDA),(P0001-ENDDA)

06120WP0006-ORT02='TEST For PSA'

06125PT001P-MOLGA='16'

06130PPSAVE-WERKS<>P0001-WERKS

06135IINS,0006,5,,(P0001-BEGDA),(P0001-ENDDA)

06145WP0006-ORT02='TEST For PA'

And same with other sub type CZ02 instead of 5.

Best Regards,

Praneeth kumar

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Praneeth,

thanks a lot for this.. so for each sub type i must write two times,, is that the case?

Thanks

Sriram

0
Sriram Tamil Oct 18, 2016 at 10:37 AM
-1

Hi Experts,

Any reply seems to be urgent

Thanks

Sriram

Share
10 |10000 characters needed characters left characters exceeded