Skip to Content
0
Former Member
Apr 19, 2008 at 11:10 AM

USER EXIT OF VA01

140 Views

My scenaio is like ths :

If The company has 4 brands of product and according to their sales policy customer must order all 4 brands then only they accept the sales order.

In VA01 when we create sales order, when we enter material in 2nd creen, If all 4 brand is entered then only we can proceed for next step , if one of the brand is missing it will give error mease as ' all brand is not orderd'.

Also exit name is MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP.

Can anybody explain me how to do with coding as material will be entered in table control in VA01.

I got suggestion like :

During runtime of the sales order application all

the details with respect to Sales Order are available

in XVBAK, XVBAP, XVBKD, XVBPA, XVBFA etc... In order to

accomplish your requirement you need to scan through all

the items available in XVBAP and then if the requirement

is met you can proceed further otherwise issue the message

All brands are not ordered.

But can I know what are XVBAK, XVBAP, XVBKD, XVBPA, XVBFA .

Can anybody explain me with simple coding ?

thanks

naresh