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

VA01 User exit

Former Member
0 Likes
1,764

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...

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
Read only

Former Member
0 Likes
1,282

Did you enhance VBAK and VBAP also for additional fields?

Read only

0 Likes
1,282

yeah done it

Read only

0 Likes
1,282

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.

Read only

0 Likes
1,282

hi,

u can also use this exit.

V45S0001.

Read only

0 Likes
1,282

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

Read only

Former Member
0 Likes
1,282

Grame

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

Thanks

Amol Lohade

Read only

Former Member
0 Likes
1,282

its stored in VGBEL

Read only

0 Likes
1,282

alright

Cheers