Application Development 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: 

VA01 User exit

Former Member
0 Kudos

Hi

I have requirement to load values from a certain custom table into Sales Order Header & item data additional screens when I create the order by reference to quotation...

So for this reason I need to find a User Exit or BADI which will trigger before I enter into VA01 screen or after I click the create with reference button...

I was able to find the BADI BADI_SD_SALES_ITEM but it cannot modify the fields of VBAP

Please help me find the user exit which can modify the fields of VBAK and VBAP...

8 REPLIES 8

former_member181995
Active Contributor
0 Kudos

Did you enhance VBAK and VBAP also for additional fields?

0 Kudos

yeah done it

0 Kudos

Grame,

than you can use Include(Exit)MV45AFZZ and form

FORM USEREXIT_MOVE_FIELD_TO_VBAK

and

FORM USEREXIT_MOVE_FIELD_TO_VBAP

code should be like in above perform:

vbak-zzfield = xxxx-zzfield2.

VBAP-zzfield = xxxx-zzfield2.

Amit.

0 Kudos

hi,

u can also use this exit.

V45S0001.

0 Kudos

hi Amit

The above 2 user exits should solve my problem but can you please tell me how do I get the reference field here..

I have entered say 500023 at runtime when I select create reference with quotation on the screen..

can you please guide me which structure holds this field

Former Member
0 Kudos

Grame

Refer to SD Include MV45AFZZ... which is for User-Specific Enhancements...

Thanks

Amol Lohade

Former Member
0 Kudos

its stored in VGBEL

0 Kudos

alright

Cheers