Skip to Content
avatar image
Former Member

Dynamic Action Query

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



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 18, 2016 at 12:08 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Praneeth,

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

      Thanks

      Sriram

  • avatar image
    Former Member
    Oct 18, 2016 at 10:37 AM
    -1

    Hi Experts,

    Any reply seems to be urgent

    Thanks

    Sriram

    Add comment
    10|10000 characters needed characters exceeded