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: 

Exclude items at billing document creation

furlan
Participant
0 Kudos

Hello everyone,

Our team receive the follow user request: at the moment of billing document creation, exclude all itens from delivery where quantity is igual zero.

What's the best approach, use user-exit at VF01 to exclude all itens with quantity=zero or try to find some customazing (SPRO) to do that?

Are there someone that had the same problem or like that? Is it prossible to do that by customizing?

Thanks!

Flávio

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You should be able to do it using config. Follow the path


Implementation Guide for R/3 Customizing (IMG)
-->Sales and Distribution
   -->Billing
      -->Billing Documents
         -->Maintain Copying Control For Billing Documents
            -->Copying control: Delivery document to billing document

Here select your source delivery type and the target invoice type. Then click on 'item'. Select the appropriate item categories and do a display. You can play with the settings there to exclude the items that you don't want in the invoice. If nothing from standard settings work for you, you can still use the 'copying requirements' field to enter your own requirement there.

Srinivas

4 REPLIES 4

Former Member
0 Kudos

You should be able to do it using config. Follow the path


Implementation Guide for R/3 Customizing (IMG)
-->Sales and Distribution
   -->Billing
      -->Billing Documents
         -->Maintain Copying Control For Billing Documents
            -->Copying control: Delivery document to billing document

Here select your source delivery type and the target invoice type. Then click on 'item'. Select the appropriate item categories and do a display. You can play with the settings there to exclude the items that you don't want in the invoice. If nothing from standard settings work for you, you can still use the 'copying requirements' field to enter your own requirement there.

Srinivas

0 Kudos

Thanks Srinivas, your help is very usefull to me!!!

By now, I'm trying to create my 'copying requirements' at VOFM, but the system asking me to entrer Access Key, like when we change any standard object, is it correct?

Are there some routine number reserved to clients modifications, like Formulas?

Thanks!

Flávio

0 Kudos

VOFM routines can be created from 901 onwards. Less than this is SAP namespace. Yes the access key required is correct as a new program is created when you create a new VOFM routine.

Cheers.

0 Kudos

Hi Flavio,

When you create a new requirement(which should be in the 900 series), system will generate a program for you in the SAP namespace. That is why it asks for an access key. It is quite normal, and you can request one from service market place if you have a service market place ID. If not your basis system administrator should be able to help you out on that.

Srinivas