Application Development and Automation 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: 
Read only

doing user exit for va01

Former Member
0 Likes
382

Hi,

I got a problem in the user-exit of VA01. when we are copying data from request with quotation then the items all are copied and in edit mode.

but in the item list we have to get item category in display mode how to make display mode of the table control. i know the logic to make table control field to display in general. but i dont in userexit how to call screen and all can any one know of the userexit for the screen and i have to configure this user-exit in spro "opy control routine".

Hi,

I got a problem in the user-exit of VA01. when we are copying data from request with quotation then the items all are copied and in edit mode.

but in the item list we have to get item category in display mode how to make display mode of the table control. i know the logic to make table control field to display in general. but i dont in userexit how to call screen and all can any one know of the userexit for the screen and i have to configure this user-exit in spro "opy control routine".

1 REPLY 1
Read only

Former Member
0 Likes
340

You would have to test, but I think you can do it with user exit MV45AFZZ.

In the form USEREXIT_FIELD_MODIFICATION, you could add something like...

if sy-tcode = 'VA01'  and      " order create
   vbak-vgtyp = 'B'.           " quotation preceding
  if screen-name = 'VBAP-PSTYV'.
    screen-input = 0.
  endif.
endif.

You might also want to check <b>if not vbak-vgbel is initial</b>. I believe this is the reference document.