01-27-2015 3:25 PM
Hi Experts,
Can it be done by User exit or BADI for give the alert message when creating first sales invoice(VF01) to corresponding customer? If possible, then can you specify the name for the enchancement?. That is, while saving the invoice it should check that whether this is the first invoice for the respective customer. If yes then it need to display the alert message. Kindly give the ideas if you already experienced this. Many thanks in advance.
01-27-2015 3:43 PM
Hi Kavi,
you can achieve this requirement Using a BADi/Userexit while saving VF01.
Use a standard BADI / UserExit with SAVE facility and chech whether is there any sales before for this particular customer.
You can use below tables for Query ;
VBRK:--Billing Document: Header Data.
VBRP:--Billing Document: Item Data.
KNA1 - Customer master table
If this is the first sale then give the alert message.
Hint : some UserExits / BADI list
SDVFX010.
SDVFX008
badi_sd_billing
badi_sd_billing_item
sd_cond_access_a
badi_sd_sales_basic
addr_printform_short
badi_matn1
sd_cin_lv60au02
ukm_r3_activate
ukm_fill
USEREXIT_SAVE_DOCUMENT
Thanks
Tharaka
01-27-2015 3:43 PM
Hi Kavi,
you can achieve this requirement Using a BADi/Userexit while saving VF01.
Use a standard BADI / UserExit with SAVE facility and chech whether is there any sales before for this particular customer.
You can use below tables for Query ;
VBRK:--Billing Document: Header Data.
VBRP:--Billing Document: Item Data.
KNA1 - Customer master table
If this is the first sale then give the alert message.
Hint : some UserExits / BADI list
SDVFX010.
SDVFX008
badi_sd_billing
badi_sd_billing_item
sd_cond_access_a
badi_sd_sales_basic
addr_printform_short
badi_matn1
sd_cin_lv60au02
ukm_r3_activate
ukm_fill
USEREXIT_SAVE_DOCUMENT
Thanks
Tharaka