Skip to Content
avatar image
Former Member

setting default value for a custom field in VA01 which user can overwrite

Hi experts,

I need to default a custom field value during Sales Order creation(VA01) which I am doing using user exit USEREXIT_MOVE_FIELD_TO_VBAK. But, if user overwrites that value, the value entered by user gets overwritten by the value which is defined in the user exit(everytime the user exit gets called).

How to overcome this problem ? Any suggestions ?

Thank you so much for you help in advance !

Regards,

Vini

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Aug 02, 2017 at 09:19 AM

    Either check the field value is initial or set a (static) flag in the exit so it won't execute twice.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 02, 2017 at 11:25 AM

    Hello,

    Can you adjust the screen layout and check if you can control it

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 01, 2017 at 04:57 PM

    Hi,

    Requirement is that the user should be able to overwrite/change the value defaulted by user exit.

    Thank you .

    Regards,

    Vini

    Add comment
    10|10000 characters needed characters exceeded