Billing for zero quantity is being allowed

Hi,
We have written a new copy control routine for data transfer VBRK/VBRP from Sales Documents to Billing Documents. This routine is for partial billing. When the partially billed quantity becomes zero, the transaction vf01 still allows the billing. But we should not allow billing for zero quantity.
In the copy requirements routine, it does gives out error message if the quantity is zero. But this copy requirements routine is being called prior to our data transfer routine. So if the quantity becomes zero in our partial billing routine, the transaction vf01 is not giving any error message and it is allowing the billing for zero quantity.
Could anyone please let me know how can I solve this problem or what are the ways to solve this problem?
Thanks..
Priya.

Hi Naren,
The checking part is already there in the standard copying requirements routine, which we are using. There can be many scenarios when the quantity will  be more than zero when the copying requirements routine is called and it can become zero only in our data transfer routine logic. The copying requirement routine is being called prior to the data transfer routine, so in the above case, the copying req routine will not add the error message since the qty is more than zero, but it will become zero in our data transfer routine. So the invoice will be created for zero quantity also. Please let me know if there is any other ways to achieve this..
Thanks again..
Priya.

Similar Messages

  • Negative Stock for Zero Quantity

    Hello SDN Gurus,
    We are facing a problme in Inventory .
    We have loaded the data for 2LIS_03_BX and initizalized the Stock and compress the cube with marker update.
    Later loaded the data for 2LIS_03_BF and compress the cube with the Marker.
    since beginning that is from 01.2006 for ZERO stock we are getting the negative values. As i have serarch for losts of mateirla and found that it cound be incorrect compression hence loaded the data 5 times till now but same issue. Loading has been done by different people still the issue is the same.
    Can any one has any idea where is the problem.
    Quick response is much appreciable.
    Thanks

    Hi,
    Can u check if your are getting the proper values for the stock from the date of initialization.
    If the values are true since from the date of initialization and the prior values to it are negative it means that you have loaded using data sources 2LIS_03_BX amd 2LIS_03_BF.
    When ever the data source 2LIS_03_BX is used , it will create the opening balance of stock on initialization day. This data source has to be used when u dont want to load the archived material documents using 2LIS_03_BF.
    so, the values prior to initialization day will be negative because the system assumes that as you have done loading with 2LIS_03_BX, u have decided not to load any archived records. So, some incomplete records are loaded. So, all records prior to initialization day will be marked with negative values and negative value of the first record will be the negative of opening balance created on initialization. The negative value for the first record is created just to wliminate the incorrect data that may be shown in the report if at all some documents are archived and not loaded using 2LIS_03_BF.
    But from the date of initialization you will start seeing correct values for the stock as opening balance is created on initialization day and follow on material documents are loaded by 2LIS_03_BF.
    If you decide to load archived records then use alone 2LIS_03_BF.  This will bring all material movememt records into infocube and the correct stock value will flow.
    Thanks.
    Jeswanth

  • How to prevent creation of billing docs for Zero Quantities

    Hello everyone,
    Could someone please help me with this.
    We have some invoices created with 'zero' quantities. We need to stop prining invoices for the invoices with zero quantities. Can we stop creating invoice for zero quantities. if yes , please let me know how. Any help is very much appreciated.
    many thanks
    Edited by: Simsasha on Jan 30, 2009 2:31 AM

    Dear Simsasha,
    Could you please breif whether:
    1. Its Order-related-Billing, OR
    2. Delivery-Related Billing
    If, Its Order-related-Billing, You need to work-around Copy-Control Setting in VTFA; and if,
    Its Delivery Related-Billing, You need to work-around Copy Control settings in VTFL.
    You need to write Code to check Quantity = 0, and attach the same within Field: Data VBRK/VBRP; to check and avoid Invoice creation, if Invoice-item has billed quantity as 0.
    You may work with Program RV60AFZC USEREXIT_FILL_VBRK_VBRP
    Best Regards,
    Amit
    Note: You may take help from the discussion from following thread:
    [Billing with Zero Quantity, not allowed|Re: Billing for zero quantity is being allowed]
    I hope, this would definitely help you, some extent.

  • Scheduled for delivery quantity shouldnt be transffered to another plant

    dear all,
    we have a case in which we need to prevent scheduled for delivery quantity from being transferred to another plant.
    the problem is that when creating a sales order and a delivery, and before the PGI,, the system allows moving the quantitity to another plant. and this causes a problem when trying to create a PGI ...
    any suggestions please

    in the checking rule ( if stk transfer, you can get it from OLME> purchase order > create stock transport order ) incude reservations, deliveriies and sales order.
    in assign del type and checking rule, you can find the checking rule used

  • Order related billing for Partial Qty item in sales order

    Hi SD Gurus,
    In case of delivery-related billing we can create a bill for partial qty or item by creating delivery(against order) for partial qty/item. Is it possible to create order-related bill for the partial qty or item ?
    Any suggestion on the subject is appreciated.
    Thanks in advance,
    Velmurugan

    HI Velmurugan,
    This can be solved through by doing an order related billing,
    First check weather copy control setting is there for order to billing.
    In item category check for billing relevance. Make it has order related billing.
    Now do order related billing for partial quantity.
    Regards,
    Nagesh

  • WM staging of materials not completed for entire quantity

    Hi all,
    I get this warning when I try to stage materials for a production order:
    WM staging of materials not completed for entire quantity
    The system allows you to continue with the process but in the end you find that some of the materials are not staged and you may need to create regular TOs for them.
    Can anyone suggest how I can fix this problem??
    Thank you very much.

    Hello,
    Please try setting the Complete material staging indicator for the PP interface via:
    SPRO->Logistics Execution->Warehouse Management->Interfaces->Define Porduction->Whse Number --> For you warehouse, tick the complete matl staging indicator.
    SAP helps do state that " When the system generates transfer orders for transfer requirements from production (PP), this indicator controls whether a complete staging of materials must take place. This means that the system must generate transfer orders for the total quantities of all items in the transfer requirement."
    So hopefully, this should help.
    Thanks,

  • No auto GR duirng zero quantity confirmation

    When put yield quantity greater than zero, then Auto GR has done. But when put zero quantity in yield, then auto GR of header material is not showing in line item. Where as in other material for same cases it showing in a line item for zero quantity confirmation. Plz give me solution.

    But when put zero quantity in yield, then auto GR of header material is not showing in line item.
    Auto Gr is trigger based on Control key maintained for final operation,  If the quantity is maintained as 0 in confirmation, system won't trigger auto GR functionality. this is standard behaviour
    Where as in other material for same cases it showing in a line item for zero quantity confirmation. Plz give me solution.
    Other goods movement such as 261 531 is based on backflush setting , system will show the material in goods movement screen and explode the quantity based on confirmation, that's the reason system is showing 0 for those material in goods movement

  • Zero quantity should not be allowed for STO delivery

    Hi,
         zero quantity should not be allowed for STO delivery.
         when i create a delivery for a STO it should not allow zero quantity
         can someone throw some light.
    Alec

    Hi,
    Please maintain the "B - Create Delivery with qty greater than Zero" in Part.dlv./item  in shipping tab page of the customer of site.
    more briefly: in WB02 --> click on the customer of the site --> Shipping Tab page --> Maintain B (Create Delivery with qty greater than Zero)
    Regards,
    Srini

  • Batch Split in OBD & billed for the entire Quantity .RG1  register does not update the excise values

    Hi All,
    I am new here . We have batch split in Delivery and 601 happens for the individual batches and billing we bill for the entire quantity . Hence the RG1 does not update the excise values for the batches and it is showing as zero (upon extraction in J2I6). Upon research through the program the latest note which i presume is patched
    The latest note is N158234 which does not show in the program but seems have been patched considering we are using the Latest version of SAP .
    As you see above in the billing we have billed for the whole quantity but RG1 does not update for the since the batches are zero .
    My programmer says because of some note related to cancellation where it says about values H & J in vbfa table and due to which program does not go through the Note for the batch split .
    Now i have checked few other projects in my company and they all seems to be following the program . So i am wondering whether my process or some customization is missing .
    Sales order (no batch determination)  , in delivery the batches are picked through wm to and batch split happens in the delivery . Then billling for the whole quantity . We have automatic excise invoice creation enabled so no J1IIN .
    Can somebody help me .
    Thank you

    My programmer says because of some note related to cancellation where it says about values H & J in vbfa table and due to which program does not go through the Note for the batch split
    Which field (H & J) they were referring in VBFA ?
    i have checked few other projects in my company and they all seems to be following the program
    How about the other projects' values in VBFA where your techinical team is guessing some issue.  Have you compared this?
    Since you have already the note 158234 implemented in your system, ideally, you should not face any issue.
    G. Lakshmipathi

  • Zero quantity allowed in sales order

    HI All,
    Recently i have faced one issue related to sales order.User created sales order some quantity and he saved the document. The document saved with zero quantity.At what situation happen like.
    I have checked in mmbe the plant having lower than order quantity.is there any check in availability.Please give repply...
    Regards
    venk

    Possibly it is an incomplete document as there is no quantity in it.System may not allow you to complete the shipping process.
    Beacuse if quantity is missing,how much quantity you will pick(if it is relevant for picking), then in PGI system can not post the quantity as well as value wise.
    Without knowing the quantity, system can not calculate the Net weight & Gross weight which is a shipping relevant required data. Therefore you may not be able to complete the Shipping process in the absence of this data.
    System has allowed him to save the order beacuse the configuration is like that. This is controlled from the "status group" in the "Incompletion procedure". Possibly there, saving the order is allowed , but it may not allow to complete the shipping process.
    Regards

  • I'm being billed for itunes that were free

    I go and check my purchase history and on the dates that I have billed a dollar on my bank statement I go to my itunes account and it was a free application.  Why am I being billed for it if it is free.

    Are you adding or changing your credit card details on your iTunes account ? If you are then each time that you do so a small temporary store holding charge may be applied to check that the card details are correct and valid and that it's registered to exactly the same name and address as on your iTunes account - it should disappear off your account within a few days or so.
    Store holding charge : http://support.apple.com/kb/HT3702
    Or is this happening after you've downloaded the apps ? If it is then do the apps allow in-app purchases to be made in them, or do they have auto-renewing subscriptions in them : http://support.apple.com/kb/HT4098 ?

  • Being billed for free workspace?

    Hi, I think I am being billed for using the free ML workspace, or at least misunderstand why I am being billed a monthly charge for ML. 
    I see a monthly charge for one ML seat, and have one workspace which was migrate from the preview. The workspace shows as being free under settings. The workspace does not show in the manage.windowsazure.com portal. I can create and delete additional
    workspaces. 
    I was only exploring ML, and wish to cancel the monthly charge. How do I go about that?
    Many thanks in advance,
    Andrew

    Thanks for replying hayling12.
    The bit I should of added was "All the customer of BT is facing same problem and it will be fixed within 5 working days no worries"
    (my bold and no that's how it was written)
    So is it a big problem? And are others being billed incorrectly?
    -+-No longer a forum member-+-

  • I have just subscribed for a monthly billing for my acorbat pro XI, the problem is i have clicked on the link on the email that have sent me to activate it but its still not allowing me to acess this and see my PDF's

    i have just subscribed for a monthly billing for my acrobat pro XI, the problem is i have clicked on the link on the email that have sent me to activate it but its still not allowing me to acess this and see my PDF's, how to i activate my new license?

    Can you explain the problem in more detail - "not allowing me to access" isn't clear to me. If you get any errors, please give the full wording. If you just don't seem to have any useful functions under TOOLS, make sure you are NOT still running Adobe Reader.

  • System allowing order related Billing for rejected item in sales order

    Hi all,
    I have created a new reason for rejection: "Billed before Go live"
    I have then asigned it to sales item 10 in sales order thus rejecting it.
    I expected that when I do the billing for this sales order, the system will not allow to bill the rejected item, but the rejected item is still getting billed by VF01
    Can anybody please tell me why this is happening.
    Regards,
    Avinash Gyale

    Hi,
    mere reason for rejection is not enough for blocking from billing, at item level  you need to put billing block also apart from reason for rejection, then only you can reject the item and block from billing.
    thanks ,
    gln

  • My purchase does not show on my creative cloud account but i am being billed for it

    my purchase does not show on my creative cloud account but i am being billed for it

    Some general information for a Cloud subscription
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    or
    This is an open forum, not Adobe support... you need Adobe staff support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

Maybe you are looking for

  • Using a single iTunes library with multiple logins.

    I've setup my iMac to have multiple logins for everyone in my family. I'd like everyone to use the same iTunes library, though, so that all purchases and playlists can be seen and used by everyone. I have it so that everyone has the same files, but n

  • Slow load times

    Hi there - Is there a good way to improve load times for my pages that have Edge animation?  I have a very simple slide show set up, and even with the Preloader script, it's taking many seconds to load the page.  Any thoughts? Thanks!

  • Clearing details i could not getting at BSIS & BSAS table. after Payment

    Hi All, I posted one invoice document through MIRO like below Itm PK  BusA Acct no.   Description                    Tx         Amount in   INR 001 31  1000 102961     DRUCK INDIA PVT. LTD.  SC            479,777.20- 002 86  1000 350101     GR-IR-Acc

  • Create an Image

    Hie.. i've browse through the forum to search a solution to my problem but i dont find any resourceful. I hope someone could help me out. Here is the problem :- I tried to create an Image using byte of array as such :- ** the message is in byte curre

  • Worn out letters on keyboard

    I have had my ibook since April 2005 and use it only for general home use (emails and photos and music) not as a work computer, so it is used i guess for on average about an hour a day. i have got normal fingers, honestly! but several of the letter s