cancel
Showing results for 
Search instead for 
Did you mean: 

Reference Field on Billing Document Header Tab

Former Member
0 Kudos

Dear Experts,

In the VF03 Header Tab, I need to configure the value in the Reference field should be the Quotation Number everytime I create a Billing Document.

Regards,

Lui

Accepted Solutions (0)

Answers (3)

Answers (3)

suman_sardar2
Active Contributor
0 Kudos

Hi Lui,

As rightly pointed out by Umesh, you can not do it by the standard SD configuration.

I would suggest to implement an User exit to fit this requirement which I have done for one of my client.

You can user the USEREXIT_FILL_VBRK_VBRP in program RV60AFZC where you have to give the logic to the ABAPer to fetch the Quotation no for the billing document.

Thanks,

Suman$

Former Member
0 Kudos

Hi Rubio,

You need to first update VBAK-XBLNR. For this you can use USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ and update as VBAK-XBLNR  = VGBEL for the relevant document type.

Once this gets updated, the quotation no. will automatically flow to VBRK-XBLNR.

Regards

Ankit

Former Member
0 Kudos

Hi,

     The reference field in controlled by copy control setting in VTFA/VTFL, as shown below. As per standard, there is no provision of quotation number being maintained as reference field.

Regards,

Umesh