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: 

enhancement in vf01

0 Kudos

I want to fix some billing types in vf01 based on sales organization mantained in sales order.Please suggest me appropriate solutions.Whether i should use user exit or badi and if user exit then which user exit and vice versa.

Thanks and regards

5 REPLIES 5

VeselinaPeykova
Active Contributor
0 Kudos

You forgot to mention what you want to fix...

0 Kudos

i want to fix billing type..

if a sales order for service is created then if i enter that sales order number in document column in vf01 for creating billing document then billing type of that sales order should automaticaly appear .

VeselinaPeykova
Active Contributor
0 Kudos

Let me try rephrasing - you wish to determine a different billing type for order-related billing based on order type and sales organization.

In many cases restricting the usage to VF01 will not suffice, since there are additional transactions, like VF04 and background jobs, where you will need the same logic as in VF01.

Forgive me for asking, but is it really necessary to have different billing types for the same order type per sales organization? Apart from localizations, this is rarely needed.

0 Kudos

I need this because i have defined different number range for different billing type based on comany code.

0 Kudos

The logic for this requiremt is:

If sales order type = A

AND

If Sales org = 1,then billing Doc type= B1 .

If sales order type = A

AND

If sales org = 2,then billing Doc type = B2

and so on.