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: 

Need to get pop of Billing document while saving in VF01

Former Member
0 Kudos

Hi all,

I have to get the pop up of all the billing documents which is created.

My problem is the billing document gets saved in VBFA table, but i want

any userexit or badi which uses the VBFA table so that i can get those

billing document by passing the delivery number.

Please suggest me if any one knows the user-exit or Badi or any

which could be useful for this.

Thanks and Regards,

Vidhya

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Vidya,

If you want to take a billing number by passing delivery number in logically then.. use the bellow logic

SELECT vbeln

FROM vbfa

INTO bill_no

WHERE vbelv = delivery_no

AND vbtyp_n = 'M'.

Regards

Ram

1 REPLY 1

Former Member
0 Kudos

Hi Vidya,

If you want to take a billing number by passing delivery number in logically then.. use the bellow logic

SELECT vbeln

FROM vbfa

INTO bill_no

WHERE vbelv = delivery_no

AND vbtyp_n = 'M'.

Regards

Ram