Missing billing documents

Hi,
While creating billing documents, we faced a peculiar problem that the numbers are missing. We missed some numbers in order. Can you please help in finding out the reason?
There is no buffer maintained in the number range also.
Please provide some help on this.
Thanks in advance
Regards,
CS

Hi CS,
There are a number of reasons why gaps in invoice numbers may occur:
1. Number range object is buffered. Please refer to note 62077 for
   details.
2. Update terminate/shortdump occures while billing document update.
   - the number is set in to the invoice at the beggining of the program
   If an interruption of the process happens after the assignation of
   this number, the number has run in the range and cannot be recovered.
   Update terminations in transaction VF01 and VF04. The billing
   document number is reserved prior to the update. After a possible
   update termination, it cannot be used again. Update terminations are
   displayed in transaction SM13. At present,  there is no possible
   solution.
3. Incorrect userexit, eg.in Program RV60AFZZ,  USEREXIT_NUMBER_RANGE.
If there is an FI/CO validation/substitution or any program
modification (userexit, custom formula, custom print program)
causing a commit, then this error can occur.
Notice the commit can be implicit or explicit.
An implicit 'COMMIT' can really only be triggered online.
Implicit commits on the database are always triggered if the
work process would have to wait. This includes the following:
- The sending of a SAP screen.
- The sending of a dialog message (E, I, W message).
- The call of a synchronous RFC (Remote Function Call)
- Call of a function module or termination of a function
  module in another work process
- CALL of the 'COMMIT CALL' function module
- CALL screens (POPUP)
- possibly indirectly by a screen changes after a call by CALL
  TRANSACTION <t_code> or SUBMIT <program>.
You have the following options to improve the situation:
- check in customer coding (userexit, validation, substitution etc.)
  for eventual statement causing commit.
- use a two-step process to post the invoice to accounting:
  1. create the invoice
  2. release the invoice to accounting
  This can be get by setting the flag Posting block = [x] in
  transaction VOFA.
  This is also recommended from performance point of view.
  This could ensure that no accounting documents can ever be posted
  for non-existing invoices.
- do not print immediately (do not use print at time '4'), this
  is also recommended for performance improvement.
Thanks,
Alex

Similar Messages

  • Missing bill documents from PSA to Cube

    Hi Gurus!
    I'm looking for some help, I'm uploading billing documents with 2LIS_13_VDITM extractor with full update for testing purposes, I tried first uploading the data to the PSA and after that to the cube, all the data in PSA is ok, but in my cube some billing documents, with all their positions, are missing and I don't know why, I also tried uploading only those missing billing documents. It's finished ok (green light) but no records were written to cube. ...Can any body help me please.

    Hi Alejandro,
    Do you have a start routine? If yes, can you check if some/all records are being dropped in this step.
    You can try simulating from PSA to the DATA TARGET and debug the Update rules.
    Regards,
    Praveen.

  • Reg: Billing Document Number Range Missing

    Dear all,
    in the system some billing documents are missing, when i try it to display it is showing no billing documents exsists.
    if it is deleted, it  should have shown cancellation docs atleast.
    also no auto-archiving is active in the system.
    pl help to trace those missing numbers.
    Thanx

    Hi,
    Please check the OSS notes 24279 - Missing billing document numbers in VBRK and reasoning for the issue in Note 19050 - Gaps in document number sequence for billing docmts.
    They might be of help to resolve your issue. The below thread also addresses similar issue.
    http://scn.sap.com/thread/3257408
    Thanks,

  • Billing documents missing in SD data target.

    Hello All,
    In a SD data target some Billing documents are missing. I cheked in R3. In R3 some billing documents are there but they didn't load in BW. Becouse of these In report it is showing net value inccorrect while in R3 it is somthing else.
    Plz tell me How I will load those missing Billing documents in BW.
    Thanks

    Here are the steps :
    1 - Determine what are the Billing documents that are not appearing in BI.
    2 - Check the document flow of these Billing documents using TCode VF03 
    3 - If you found that the steps of this Billing documents are not complete, then SD/ FI users need to do further processing on them to be loaded in BI.
    4 - If Billing document's document flow is complete, then follow the steps mentioned by our friends .. i.e fill the setup table..etc
    Regards
    MultiABAP

  • Profit Center is missing in Billing document

    Hi,
    I am trying to create Intercompany billing document IV with reference to Cross replenishment delivery type NLCC,
    I am getting the following error:
    "Profit center US01/    TP3870 does not exist for 03/23/2011"
    Actually, profit Cetner 6045TP3870 is maintained in MMR and same as fed into Delivery document
    but while creating billing document the above error is coming
    the preceeding number 6045 is missing in billing doc.. system is picking only TP3870...
    So please advice what could be the reason the specifid profit center is missing in billing document
    Thanks in advance,

    Hi,
    If Profit Center has been marked as mandatory for the posting, you can face this kind of error before posting the Invoice.
    Please check the Profit Center maintained at followings:
    1) Material Master
    2) Sales Order ->Item Data->Account assignment-> Profit Center.
    3) OKB9-> for respective G/L Accounts.
    Please check with your FICO consultant, he will surely have better idea on the same.
    Thank You,
    RB.

  • Foreign trade--Billing document should not be created with missing data

    Hi,
    We have foreign trade set up. In that we defined incompletion schema at line item level with commodity code and country of origin as "Field ready for input - Incompletion check active".
    Can anybody tell me that, in the above setup,  is it possible to avoid the creation of billing document with missing above data.
    Generally ,  system will go for the accounting status for block with foreign trade data missing.  But our users don't want to create the billing document if the data is missing.
    Can any body suggest us.
    Rajesh.

    Hi Rajesh
    You have to set up a new subroutine or you have to copy the standard subroutine and include the logic that it should read the foreign  trade details at both sales order and delivery levels.you need to assign the subroutine in both  VTFL and VTFA copy controls (header and item levels)
    Another option is you have to go with user exit RV60AFZZ.Please refer this link,hope it should solve your problem
    http://forums.sdn.sap.com/thread.jspa?threadID=1361141&tstart=3735
    Regards
    Srinath

  • Cancelled billing document number missing in document flow

    Hello Experts,
    there is a MAM sales order in which one line item created as a separate billing document is cancelled.however in the document flow the cancelled billing document is not visible.any suggestions how to slove the issue?
    Regards,
    Raj

    closing,as no response received.

  • Missing Footer in Billing Document

    I have one strange problem. VF31 has been scheduled in background to print billing documents. For some billing documents footer are not getting printed. In spool request also we are not able to view footer. But when we check same billing document output through VF03, it show correct footer and also print correctly.
    Why billing documents showing footer when it output through VF31 ?

    In output print report Footer determined by validation different variables and it seems during mass processing through VF31, RSNAST00 not get referesh variables which retain previous document values. In simple, clear statement messed up whole billing document output

  • Error while saving the billing document

    Dear All,
    I am getting an Error- "No taxes on sales/purchase are allowed for account 870205 L002, AB is not allowed" when i save the billing document. when i go to the conditions tab under item data in the billing document after saving the document and try to view the detail for the discount condition type it shows that the discount condition type has a tax code AB assigned to it.
    I am using the same pricing procedure in another company code where it works fine and I don't get any error. Besides here on viewing the same discount condition type there is no tax code assigned.
    Can anybody explain what could be the possible reason?
    I searched for the solution in the forum and came to know that if I go to FS00 and assign * to Tax Category under control data then it works fine and i don't encounter the problem after saving the billing document.
    Although i have found the solution But what troubles me is that when the same pricing procedure works fine in the first company code without assigning * to the tax category then why do i need to assign * in the second company company code to be able to save the billing document.
    Thanks and Regards
    Deepak Joshi

    First of all let me ask you to indicate the name correctly.
    Secondly,  the root cause to the issue what you have indicated is in FS00 and you need to compare the settings in both the company codes.  
    Finally, the issue is not because of your pricing procedure but because of some missing FI settings.  Thats all I can say now based on the information you have provided.
    thanks
    G. Lakshmipathi

  • Tax code error while releasing a billing document to accounting in VF02

    Hi SAP Gurus,
    While trying to release a billing document to accounting, the following error is displayed
    " Tax Statement Item Missing for Tax Code TA".
    Message number: FF805.
    Please provide your valuable inputs to overcome this issue.
    Suitable points shall be rewarded.
    Thanks and Regards,
    Sreeni.

    Check your pricing procedure. One of the Tax relevant items is ending up with a base value of Zero.
    This is easy to check if you double-click on tax related Pricing Conditions, you will find one of them with a base value is zero.
    If not, it could be something more simpler, like GL Account master data. Make sure the "Post without tax allowed" box is checked and ensure the tax category is masked ("*").
    Hope this helps.
    Cheers.

  • SD billing documents send to Customer though EMAIL.

    Dear All,
    We want to send SD Billing documents to Customers through EMAIL. For that we have created new output type ZMAL and done the determination procedure for output type. Also we have maintained Customer Codes with Sales Org. in VV31. But when we raise the Invoice, output type should be come automatically (ZMAL) but it's won't come.
    Please guide us what Config/Setting is missing or provide us all steps to be follow, so we can check and make correction.
    Please help.
    Thanks
    Prashant

    Hi,
    In Configuration of Output type maintain in the Default values tab
    Dispatch time 4
    Transmission Medium 5
    Partner Function CP
    Communication strategy CS01
    Another option might be to maintain Contact Person(s) for the Customer and enable the form for that Partner.
    Maintain customer as the contact person and email address in General data of customer master.Also trigger the partner during the Billing.
    Also ensure that the output type will be triggered automatically once it is released to accounting.There is a routine in O/P determination procedure.
    Regards,

  • Billing Document in B2B Shop.

    Hi gurus,
    we have the following issue that we try to solve since days without result.
    We have a B2B shop connected to CRM 2007. Orders created from the web shop are transferred to ERP where they are delivered and billed. In our Dev and QA system we can see all the delivery and billing documents in the document flow in CRM and we can access/view the billing document in our B2B shop. However in our Production System we only see LIKP documents in the document flow in CRM, but no vbrk documents (invoicing) neither is there a link in the web shop to display the invoice.
    The web shop settings are in all 3 systems the same.
    Any idea where to look or what can go wrong?
    Thanks a lot in advance,
    Nicole

    Hi all,
    just to let you know the answer. Basically our root cause was that the synchronization of our crm adapter filters with ERP went wrong. Even CRM gave as a feedback everything is fine, the filters were synchronized from CRM Prod to ECC TEST. Therefore in the document flow the billing document was filtered out.
    In the ERP table CRMOBJTAB there  we missed entries for object SALESDOCUMENT. The same for table CRMOBJECT.
    Hope this information help someone.
    Cheers,
    Nicole

  • Error while releasing the billing document to accounting

    Dear All,
    I need your favor to resolve the below issue:
    (System SAP SAP ECC 6.0)
    User is getting the below error message while releasing the billing document to accounting in VF02:
    This is an inter-company billing document (B. type : IV) created in company code 0151. Payer is "IC0186", verified the customer has been setup in 151.
    Corresponding invoice has been successfully posted in company code 0186. (Partner : P0151)
    User is able to post the inter-company document in 0151 using other inter- company partner (ex. IC0183). Therefore, seems that Document type can't be an issue here.
    "Consolidated companies 151 and 186 are different
    Message no. F5080
    Diagnosis
    The number of the affiliated company must be clear for the selected document type for all the line items. In this case at least two different companies or a company in connection with a business partner who does not belong to a company are stated.
    Procedure
    If you selected the correct accounts, you must enter the document with a document type that allows cross-company posting. Otherwise, please correct the entered account."
    Could anyone please suggest what can be the reason, if any configuration is missing. Any help is this regard will be highly appreciated
    Thanks in advance,
    Praveen

    Hi Murali,
    Thanks for the prompt input, however as mentioned document type can't be an issue. Since user is able to post the document (same document type) using other inter-company partner in 0151.
    Thanks,
    Praveen

  • Number range does not exist error message while releasing billing document

    Hi,
    We are trying to release a billing document to Accounting through VF02. But the system throws an error message that "For object RF_BELEG 1000, number range interval  does not exist FBN1".  Note : System does not specify which number range is missing...
    There are existing number range intervals for the company code which looks fine. Any advise where this number ranges are missing.
    Regards,
    Sakthy

    Hi,
    I suggest you to check the which document type has assigned for biiling document and against that document type , have to ssign the id for number range and check whethere internal assignment or external assignment.
    I hope this will make sense.
    Panneer

  • Error while cancelling billing document

    Dear All,
    we have CRM - SD integration , we are using IPM module of CRM .
    we have created contract in crm .
    when we create billing document .it is getting succefully created ,and posting to FI is also done .
    NOW the problem is
    when we are trying to Cancel this billing Doc .we are getting errors as
    1 Error copying the price data to the reversal document
    2 Item 0000000010 to be reversed does not contain tax conditions
    can somebody show the problem area .
    Note
    we are using OTTE condition type , with calculation formula :11000 -tax calculation via tte using group condition .
    Help will be highly appretiated

    Hi Ashutosh,
    May be the below link would be useful to you
    Pricing error: Mandatory Condition 0TTE is missing
    Thanks
    Abishek

Maybe you are looking for