Skip to Content
0

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

Aug 01, 2017 at 02:24 PM

80

avatar image
Former Member

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

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

3 Answers

Raymond Giuseppi
Aug 02, 2017 at 09:19 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Pras Venkat Aug 02, 2017 at 11:25 AM
0

Hello,

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 01, 2017 at 04:57 PM
0

Hi,

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

Thank you .

Regards,

Vini

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

Before giving the default value, check the field is INITIAL or NOT? If it's initial the process it with the default value.

Regards,

Priyanka.

0