09-08-2008 11:33 AM
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...
09-08-2008 11:35 AM
09-08-2008 11:36 AM
09-08-2008 11:38 AM
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.
09-08-2008 11:45 AM
09-08-2008 12:06 PM
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
09-08-2008 11:36 AM
Grame
Refer to SD Include MV45AFZZ... which is for User-Specific Enhancements...
Thanks
Amol Lohade
09-08-2008 12:10 PM
09-08-2008 12:13 PM