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.

Similar Messages

  • How do we Prevent Creation of Production Orders for Phantom materials.

    Dear Experts;
    We have some materials which are Phantoms.
    We have set "special procurement type" as 50 in MRP2 and "Strategy Group" as 59 in MRP3
    These are non stchable items, but have BOMS.
    We dont create orders for them, however at the mement the system allows order creation. How do we prevent creation of production orders for these items in the system.
    Thanks in Advance
    Richard.

    Dear Richard,
    Check using this BADI - WORKORDER_UPDATE using method IN_UPDATE or Release by including a check if MATNR and for
    WERKS combination if SOBSL = 50 from table MARC,then do not allow to save.
    Check whether this works or else you have to set a plant specific status using OMS4  for not allowing production order
    creation and assign this value in the material master of the phantom assemblies.
    Check and revert
    Regards
    Mangalraj.S

  • How to set a default Billing type for a particular Delivery type

    Dear All,
    How to set a default billing type for a particular delivery type.
    My requirement is, we are creating delivery for a Stock Transport Order. Delivery type is NL and the Purchase order type is UB.
    When we are creating Billing, it should take Billing type "ZSTO" by default, which is the customised Billing type.
    Where we have to do this setting?
    In case of normal sales order, this control will be available in the Sales order document types.
    In case STO, how to set a default billing type for a delivery type (NL).
    Regards,
    Rajesh

    There is a customization available here no default or hard coded
    Normally in a sales doc type we mention which billing type system has to pick
    If the billing happens from a PO which billing type system will take depends on the controls set in the areas mentioned below
    Go to your delivery type OVLK (say your delivery type is NL)
    In that there is a field called default order qty in the order reference tab (say if you maintained DL there)
    This DL is called PSEUDO order type
    Then in VOV8 for DL based on the billing types mentioned ,system will take the billing doc
    For delivery related billing say if you mention say ZF8 in the details of DL in VOV8(provided you have created ZF8)
    Then while you bill the delivery doc of NL system will take ZF8
    For intercompany delivery you can create ZIV billing type also Pure customization
    PO is linked to delivery type ( MM spro settings)--Del type linked to order (pseudo) type---in order type (pseudo) we mention the billing types. Here the flow is bit different that pure SD flow
    Though the invoice is crated by manually putting customized Biiling Type and A/Cing doc also generated, but in the VF04 still system shows the same deliveries pending with Billing Type (F2).
    This manual is not reqd if the said assignments are done properly
    Hope it can assist you.
    Thanks & Regards
    JP
    Edited by: J Prakash on Jun 23, 2010 4:05 PM

  • Canceling a billing doc for which accounting doc not yet generated

    Hello,
    I have strange issue in canceling billing doc. What happened user created Intercompany billing doc IV against a delivery and accounting doc also released to FI. After that he found that value in that IV doc is not correct so he went and cancelled that doc IV and he created internal credit memo IG .But for this IG the accounting doc not generated due to FI period closing. Because the IV is created in the month of Oct and IG is created in the month of Nov'07.Due to this issue Accounting document not generated for this IG doc.
    But unfortunately by mistake he went cancelled the IG doc and it created IV again. Now what happened both IG and new IV created are showing in cancelled status. This is because if we cancel a billing doc for which accounting doc not created, then both doc will turning into cancelled status in doc flow. This is confirmed similar situation in my quality box and confirmed.
    Now can anybody come across this kind of issue and tell me what is the best approach to handle this kind of situation.
    Thanks
    Mathi

    Hi Nina
    As you are doing Delivery and then billing  with the service item category ZTAD , so go to VOV7 and check wheather the Billing Relevance ( Delivery related billing ) has been maintained or not .
    Also check wheather in VTLA & VTFL copy controls  ,  ZTAD item category has been maintained or not
    Regards
    Srinath

  • How I can get the Billing Type for the sales order and its items

    How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?

    Hi,
    You need to use two tables.
    First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
    Then use the billing document numbers in table VBRK, where in you can get the billing document type.
    Regards,

  • CREATE BILLING DOC FOR DELIVERY

    How do I create a billing document for delivery 80000234

    1) for billing,
          make sure that POST GOODS ISSUE has been done on delivery document. (VL02 - Enter the delivery document number & PGI..)
    2)  Go to VF01 - Enter Delivery number in the documents.
    Hit enter - If the delivery document is corrrect then
    save else it will give the error log.
    Reward if useful.

  • How to get the onhand quantity along with zero quantities in Inventory?

    How to get the onhand quantity along with zero quantities in Inventory...Plz reply me as son as possible?

    Hi Akshata,
    In processRequest you can use pageContext.getParameter
    String PartyName = pageContext.getParameter("PartyName");Regards,
    Sujoy

  • How to Prevent/Control doing MIGO twice for the same material

    Dear
    The stores clerk by mistake has done MIGO twice for the same material.  Is there any way to prevent/check the same in standard SAP?  Vendor does not send the invoice/delivery challan to stores directly.  Invoice is sent to Finance Department. 
    Regards

    It is very unlikely that you could spec an ABAP solution to this problem.
    You may be able to spec an exit that would prevent GR being carried out for a PO Item twice on the same day.  But that is not infallible, as there may be valid circumstances when you would need to carry out two GR's for a PO item on the same day.  A fix for a small problem that creates a large one is not a good fix.
    You also need to ask how big this problem really is - if a user duplicates a goods receipt every once in a long while then you probably do not have a serious problem.
    Rather than look at a system fix for the error, I would suggest that you look at what you can do to improve the physical process.

  • BAPI to create Billing DOC for deliveries

    Hi All,
    I am looking for a BAPI to create a billing document based on the Shipment number.
    I found Bapi_BILLINGDOC_CREATEMULTIPLE,  but not working as expected.
    If anyone has used above or another bapi, please inform.
    Thx-Praveen

    Hi Praveen,
        i'm using same bapi and i'm able to create the invoice for the del.doc.
    for your ref. , here i'm attaching the code , please go through once.
              LS_BAPIVBRK-REF_DOC = DELIVERY_NO.
               CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                 EXPORTING
                   INPUT  = LS_BAPIVBRK-REF_DOC
                 IMPORTING
                   OUTPUT = LS_BAPIVBRK-REF_DOC.
               LS_BAPIVBRK-REF_DOC_CA = '8'.  Shipment
               APPEND LS_BAPIVBRK TO LT_BAPIVBRK.
               CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
                 TABLES
                   BILLINGDATAIN = LT_BAPIVBRK
                   ERRORS        = LT_BAPIVBRKERRORS
                   RETURN        = LT_BAPIRET1
                   SUCCESS       = LT_BAPIVBRKSUCCESS.
    after this do commit.
    you might miss the document category .
    Regards,
    Krishna

  • Unable to post the accounting doc for Zero line item billing doc

    I have an issue that customer has incidently created the cross company repl delivery with zero line batch qty along with some xx qty batch. PGI and billing also done.  But because of zero qty unable to create accounting document. Asked customer to do the invoice cancel and do reversal of PGI and delete the zero line item in delivery.  But customer has problem in doing of PGI reversal and asked us without doing of PGI reversal process the zero qty billing to be posted to accounting. Customer has reversed the billing doc and created again for XX qty batch and releasd for accounting. But the zero batch line item is pending in billing due list and unable to release for accounting . 
    Thanks in advance.
    Regards,
    R.Sridhar

    Hi
    Try to do the summarization of FI document, so, this item will be merged with others. See SAP Note 36353 - AC interface: Summarizing FI document for further details.
    Regards
    Eduardo
    Edited by: E_Hinojosa on Jul 12, 2011 5:36 PM

  • Error while realeasing billing doc for posting

    Hi
    When I am releasing the billing document for accounting I am getting the following error
    " Condition type MWST tax code A0 is missing"
    In the analysis of the error it says that the system could not find an entry in A003 and A053 for condition type MWST and tax code A0
    I have checked all the config/master etc can't see any flaw
    The tax code A0 is maintained with the proper condition type /Account key .
    The funny part is that this is a training client which was copied from the dev client. The process is working fine in dev with the same config/master.
    Please point out if I am missing something.
    Thanks in advance.

    Hi Rohit,
    I hope, you have maintained following, but just check one more time:
    T. Code: OVK3/ OBK4 - make sure that condition type: MWST (output tax) is maintained and it is assigned correctly to Tax Classification to Customer and Material, respectively.
    Furthermore,
    T.Code: FTXP - Maintain Tax Code for Tax procedure TAXD, against your country which your are assigning in MWST (VK11) like A0, A1 ...etc (as Output tax).
    Now,
    T. Code: VK11/ 12 - Assigne this tax code in condition maintenance for MWST
    Hope, ths may help you.
    Best Regards,
    Amit

  • How to find out SD billing doc # using accounting doc number ?

    Hi Experts,
    Using accounting doc tables such as BKPF , BSEG and BSID , I need to find out respective SD billing doc no when I have accounting doc number.
    The issue is I cannot use either 'reference number' or assignment number' because the same numbers are not flowing to accounting doc from SD ( enabled by a enhacement ).
    Regards
    Mahesh.

    Hi,
    In BKPF : AWKEY / XBLNR  with these fields we can identify the SD billing document number.
    In BSEG table VBELN field is Billing document number
    Or
    Goto T.Code FB03 enter the accounting document number,company code and fiscal year and press enter.
    select the line and choose details, choose addtional data tab, here we can see the billing document number.
    Regards,
    Chandrasekhar.S

  • 1 order max 2 delivery billing doc  for each material (10 billing DOC)

    hai sap gurus
    this is my customer senario . in that sd process max sale order 1 & max delivery two , but customer required multible billing documents
    EXMPLE:
    sale order : 10 pcs
    delivery allowed ; 2(two)
    billing doc ; 10 billing doc foe each pcs
    plz help me to solve the issue
    with advance thanks

    In the Masters Customer Enter Max Partial delivery as 2 and then in the copy control of the Delivery to Invice :
    VTFL
    Assign the Invoice Spilt 001 (Data VBRK/VBRP )
    Or you can ask you ABAPER to customize a Routine Such that :
    Loop : {
    If VBAP_POSNR = "variable"
    Create Invoice :
    regards,
    SAP SD

  • Billing docs for different company codes

    hello, friends.
    let's say a client has 2 company codes.  of course, these company codes would have different sales orgs, and by extension different sales areas.
    now further, these company codes would require billing documents each with different number ranges.  normally, we define a set of sales orders and billing types for each sales org so that the number range will not be shared.
    but is it possible (SAP standard) for both sales orgs to be sharing the same sales order documents and still have different billing types (e.g. invoice)?  i was thinking of doing this by assigning a Document Pricing Procedure in the billing type for the second company code and then assigning the second sales org to this in OVKK.  has anyone tried this?
    if this will not work, is there an existing userexit for this?
    many thanks in advance...

    Hi
    I think this is not possible as per standard
    Because 1 sales order type can have only 1 invoice or billing type
    in VOV8 if it is order related or delivery related we have to assign the billing type
    It may be possible  for your case
    by differentiating i billing type for SALES ORG A  as delivery related
    for SALES ORG B as order related
    I have never tried
    regards

  • How to prevent creation of view object rows when using browser refresh butt

    HI i have the following problem:
    I have a creation form using a partial submition. The problem is that if i have entered some value by using autosubmit , this value will be setted as attribute in the ViewObject . After that if i click refresh button of the browser then the new Row of the view object will be created and i will have a pending row with setted attribute. So if execute commit then the both rows will be tried to commit. How can i prevent this?
    Krasi

    Hi,
    If i've understood you have a invokeAction that create a new row, right? If yes put on condition that it invokeAction won't invoke if is a postback.
    Let me know if i miss understand your doubt.
    Best Regards

Maybe you are looking for

  • Alert for Marketing Attributes

    Hi I am sorry but I donu2019t understand the solution presents in the last questions on this issue. I am using CRM 2007 and I have marketing attributes maintained on the Sold-to party business partner. I want this marketing attribute to be displayed

  • GR-based IV and ERS

    Hi Gurus, 1) A PO is created on Sept15th(say). Then a GR has been done on Sept 20th.(say). While the PO was created, then it was non-ERS. Now after receiving of goods, say on Sept 25th, we check ERS by ME22n. Now , since now it is ERS, will the syste

  • FCPHD and After Effects 6.5:  Where to start?

    Hi there, Well, now I'm officially in the land of the confused! I've just purchased After Effects, and of course I've only recently just gotten decent in FCPHD...I have some questions which I suppose are for those that are using FCP and After Effects

  • Spinning color wheel

    What is the best "cleaner for the imac?  I get ads for Macsweeper, but is that the best?  I keep getting the spinning color wheel and thought purging would help that.  Or should I download more space?  Thanks!!

  • Accidentally renamed "Music" folder - help!

    I just did something really stupid. I renamed my "Music" folder (in the Finder sidebar... I also have lots of audio recordings, so I renamed it "Music/Recordings" When I opened iTunes, my entire library had disappeared.. and earlier when I was clicki