Cancel billing doc with Accounting doc clearing

Dear gurus ,
the scenario is that  we have a billing doc with wrong pricing and the relative accounting doc has cleared status,then we use VF11 to cancel the billing doc , the system give the information  "Document #### saved (no automatic clearing)" .Message no VF216 .
My question is,  based on the new cancellation function module AC_DOCUMENT_REVERSE, as note 1259505 description (The most evident effect of the new cancellation procedure is the automatic clearing of the accounting documents.), is that legal or illegal ,the system cancel the billing doc without checking the status of the related accounting doc ?
IF that is the standard reaction ,how can I make some change or config to make sure that ,the billing doc with cleared  accounting doc can't not be cancelled without reseting the status of accounting doc to "not cleared"?
Thanks in advance ,
Ryan
Edited by: deyi chen on Jun 8, 2011 5:03 AM

Hi,
In my scenario system still cancel the invoice which is cleared but should not any accounting impact of canceled invoice
Even if you try to release manually by VF02 the massage will appear
Automatic clearing of billing document 12345
and canc. doc. 17777 not poss.
If don't want to allow creation of cancel invoice if origin invoice is cleared then do some enhancement.
Kapil

Similar Messages

  • Number range of billing doc and accounting doc to be same

    Hi Gurus,
    Can any one help me out to make the number ranges of billing doc and accounting doc same every time.
    Even though the invoice is cancelled the same no range should come for cancellation accounting doc.
    Thanks in advance
    Dushyant

    Hi,
    Create or change the same interval for the BILLING DOCUMENTS & ACCOUNTING DOCUMENTS in VN01 and FBN1*
    For BILLING DOCUMENTS assign this Number range in the VOFA transaction code for the Billing document tyes*
    For ACCOUNTING DOCUMENTS assign this Number range in the FBN1 for your company code and fiscal year*
    activate the External Field [] . this is mandtry
    please check and revert back.
    regards,
    Anup Shukla

  • 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

  • Billing doc type - Accounting doc type link

    Gurus,
      I would like to know where is the setting for billing document to accounting document. 
    eg.  I need accounting document type ZX for regular billing and ZY for rebates. 
    Where can I do this in SAP.  Can you please help
    Thanks

    Hi Ram,
    As rightly stated above in billing types you define doc type for that billing type, if it is blank then default RV doc type would be picked up
    The document type classifies the accounting documents. It is stored in the document header.
    Attributes that control the entry of the document, or which are themselves noted in the document, are defined for each document type. In particular, the number range assigned to the associated documents is defined on the basis of the document type.

  • Material Doc & Corresponding Accounting Doc

    Dear all,
    Is there any single table containing the material document against  a PO and the corresponding accounting doc.
    Thanks & regards,
    Sheeja

    Hi,
    U can find it in BSEG table.
    Reference key 3(XREF3)           (Material document)
    Document Number (BELNR)      (Accounting document)
    Amount in LC (DMBTR)             (Amount)
    Assignment(ZUONR)                 (PO number) 
    Reference key 3  field first four digit is year and then Material document.
    BSEG is Cluster table  u can't add another table in SQ02,

  • How to connect GR doc with IR doc

    all,
    can you tell me how to connect between GR doc and IR doc. like 1 PO has 3 GR doc and 5 IR doc, how could i know which GR related to which IR? does it have ref doc? i have tried to look at ekbe, but i don't know how to connect them.
    thanks

    check EKBE table . u will get all the relations.
    EKBE-VGABE = 2 for IR, so byusing PO number u can get all IR number at item level.
    Regards
    Prabhu

  • Cancel billing doc accounting release prob

    Dear All,
    Here i m facing one problem ,First i cancelled my billing document which was created on 11.08.2009 with canellation billing type S1.But when i releasing the cancelled billing document to accounting it says "the Period 05/2010 is not open.actualy the last month period is closed.so my cancelled billing document is created without any accounting document.(probably beacause of i m not putted the current date in the cancel billing document).
    i dont have any option to delete the cancel billing document or again cancel the billing document.
    what i will do to solve the above prob please suggest.
    warm regards
    ravi k

    Hi,
    Goto the Transaction code OB52 and open the Posting period for the Fiscal year Variant.
    After that Try to cancel the Billing document, Hope it will work.
    thanks,
    santosh

  • VF11 wrongly created with RV Doc type and with not clear status.

    Hi All
    Issue: There are 2 billing documents which were created(VF01) in March are canceled (VF11) in May. Cancel document is saved with a message (No automatic clearing of billing document XXXXXXXXX) and message diagnosis saying that u201CThe Automatic clearing of billing document and reversal is not possible. This may be, for example, because the line item update is deactivatedu201D
      In the SD document flow cancel billing document is created and it's posted to accounting with Document type RV(which is not configured in the billing  types) and it is in not clear status.
    2 Sales order types are ZNRC(No Rebate u2013 Credit)    second is ZCR (CM Req With Refer).
    Order Type  : ZNRC , Billing type :ZG2, Cancel billing type :Z5, Accounting document in billing type for ZG2: is DG and accounting document in cancel billing type Z5 is :(_) blank.
    Order type:  ZCR Billing type :G2, Cancel billing type :S2, Accounting document in billing type for G2: is DG and accounting document in cancel billing type S2 is :(_) blank.                                                
          FI document type Not maintained in the cancel billing type configuration because this should be determine by reversal document type DA which is maintained in DG document type from FI side. It will be triggered in VF11)
    The above configuration is working with the order created VA01,billing VF01 and cancelling VF11 done in same period. If the order and billing done in old period and canceling(VF11) done in current period than FI document creating with RV document type and with not clear status in the document flow.
    I reviewed similar issues with SAP Note and with below explanation:
              "There are 2 procedures that are possible when Vf11 is posted.
              Old Procedure - An FI "Reversal" document was created that was not connected with the orignal.
              New Procedure - A Real FI reversal was carried out with clearing."
    In this case, our system is following with new procedure except above mentioned orders created in previous period and and canceled in current period.
      My Questions are: How the RV document is getting triggered here? why the cancel document (Reversal FI Doc) is not clearing?
         Appreciate your answers or suggestions.
    Thanks in advance,
    Sunil
    Edited by: Sunil kumar Matta on Jun 9, 2011 3:40 PM

    Thank you Ivano.
      I referred SAP note 1259505 and 339928. But initially we thought of none of the symptoms mentioned in the SAP note are matching with our issue. Then we contacted SAP online support and they suggested checking one SAP note (Mentioned above).
      Our system is following new cancellation procedure, but itu2019s failing only for some few documents.
      Finally we identified several reasons for the issue. One is profitability segment in the billing document and cancelled document is different due to some changes in segment assignments. Another one is consolidation- consolidation document does not exist in the billing document list but it is getting created in Canceled document (VF11).(Consolidation postings are switched off some time back and now itu2019s on)
      After some discussions it is decided to include accounting document type (Reversal) in cancel billing types to avoid default RV document type in canceled billing document accounting document. And non-cleared documents need to be created manually in F-32.
      Thread is closed.
    Sunil

  • Cancellation Document no accounting doc but cancellation of credit memo

    Hi experts,
    I have cancelled a billing doc then instead of the cancellation document producing an accounting document another cancellation of Credit Memo (S2) was generated. I believe this is SAP standard bug but have anyone of you encountered such scenario?
    Thanks and regards,
    jG

    Hi Sandip,
    Yes this was my expectation but it didn't happen because the accounting didn't post instead another billing document was created in SD with doc type S2 "cancellation with credit memo" which I don't know the logic behind it. So the sequence of my documents are
    1. billing doc
    2. accounting doc of billing doc.
    3. cancellation of billing doc.
    4. cancellation of credit memo.
    If you can see the 4th one instead of another accounting doc this unnecessary cancellation of credit memo doc appeared.

  • Unable to cancel Billing due to cleared accounting document for Free Goods

    Hi,
    I have a case as described below:
    I.                    SALES ORDER CREATION
    Transaction VA01 à Sales order is created for the following details:
    1.       Material Normal  (TAN) : 100 CAR
    2.       Free Goods (TANN) : 10 CAR
    II.                  Subsequent processing of sales order 
    a.       Delivery(1) and Billing (1) creation for the SO with the following details :
    Material Normal (TAN) : 100 CAR
    Free Goods (TANN) : 5 CAR
    Status of accounting document after releasing billing document to Accounting: Not cleared
                    Accounting Journal:
                    A/R                                                                     xxxx
                    Sales discount                                                     xxxx
                                    General Domestic Sales                                        xxxx
                                    VAT u2013 Out(TAX)                                                    xxxx
    b.      Delivery (2) and Billing (2) is then being made for the leftover item of the Sales Order:
    Free Goods (TANN) = 5 CAR  
    Status of Accounting document after releasing billing document to Accounting: CLEARED
    Accounting Journal
    Dr. Sales Discount                                        xxxx
                            Cr. General Domestic Sales                  xxxx
    III.                Reversal of Billing (2) needs to be done
    Activities conducted:
    a.       Go to VF11 and enter Billing (2) document number
    b.      Execute!
    System response:
    Error Log:
    1)      Data inconsistency during processing of document xxxxxxx
    2)      The Billing Document xxxxxxx  is already cleared
    From the error found, we tried to reverse the cleared accounting document by using t-code FBRA:  
    System response:
    Document xxxxxx IS NOT  a clearing document
    Question:
    We have to reverse the clearing document first in order to cancel the related billing document but we keep finding this error, do Anyone have any advice to solve this issue?
    We have simulated similar transaction in IDES and no problem is found, is there any specific setting in customizing that can allow cancellation of billing document regardless of its accounting document status (Cleared or Not Cleared) ?
    Thanks in Advance,
    Indro

    Thanks a lot for the reply,
    It answers my question, I found the copying requirement using routine 029 was defined in the cancellation document section of the Billing type to be cancelled
    After removing, the billing document can be cancelled
    Thanks,
    Indro

  • One billing Doc, Two accounting documents

    HI, all,
    I just found a billing document associated with 2 idential accounting document(different creation time, 10s minutes apart), our users has no idea how it happened, could any one help why and how to avoid this problem? our vension is ECC6 EHP4.
    Thank you!

    Hi,
    Just try to run the SDFI_CONSISTENCY_CHECK report and analyze what could be cause for such a system behaviour.
    A comparison program between Billing and Accounting for the Audit Informatio System (AIS).
    You need to have the following authorization role SAP_AUDITOR_BA_SD to the user id to execute the same.
    For each billing document and account, the program maps the differences between the billing document values and the accounting amounts. For each account, it maps the total of all billing document values and the total of all accounting amounts. You can use the differences to find billing documents where incorrect accounting amounts were posted. You can use totalling to check accounts to which incorrect amounts have been posted. The system takes the amounts into consideration for the differences and also for the totals in the document currency.
    The user is responsible for the evaluation. To enable you to quickly find inconsistencies, the program offers you the option of displaying only billing documents that contain differences. As an additional aid, you can go directly to the billing document, and from there display the accounting documents. You cannot make changes to documents. Various filter functions and sort options make the evaulation easier.
    Execution Help:
    a) Selection
    The selection screen enables you to select billing documents by document number, billing date, company code, and posting period with fiscal year.
    The checkbox 'Only Documents with Differences' specifies whether the system also includes documents without errors in the results list.
    The system does not check all entered billing documents, or billing documents determined using other selection fields. The program extracts from the selection only billing documents with 'Accounting document created' as the status for transmission to accounting. For technical reasons, down payment requests are ignored.
    Some reasons for the cause:
    If the system cache not being cleared during scheduled batch process. For this the basis and technical team can help you to sort it out
    Another case may be whether the accounting document is creating based on number of products.Our system has the
    configuration to split FI accounting by product wise.Check the transaction OBCY.
    Regards,
    Saju.S

  • Create a billing document with no accounting document

    We have a requirement to create a billing document with no acocunting document. After this billing document is created, the status on all preceeding documents- SO,Delivery and Billing -should be status closed.
    It should perform somewhat like the Proforma invoice. We cannot use a proforma invoice setting for SD document category or Trasaction group for reporting purposes.
    So we configured a billing type and removed the account determination procedure. Now we are able to create a billing document, there is no accounting document, the preceeding documents are status closed. However the billing document itself has an account determination error and is status B-Posting Document not created (account Determination error).
    Is there a way I can get rid of this error message and have a status of Cor D(C-Posting document has been created, D-billing document is not relevant for accounting)
    Thanks for all help in advance.
    -Pratibha

    Hi,
    I would recommend you go to OBA7 --> Create a new FI Doc Type (i.e. XY) --> In the Accounts types Allowed, remove "Customer" check box (here you can control whethere you want posting to be permitted for Vendor, Customer, Assets, Material or G/L Account to suit your requirement) --> Save it.
    Now, go to VOFA --> Go to your given Billing Type --> In the "Document Type" field, replace the value with "XY" created earlier --> Save it.
    Perform your transaction again up to Billing. No Accounting doc would be created where the posting has been disabled in your FI Doc Type earlier (depending on your requirement).
    Hope this helps.
    Thanks.

  • User exit to change accounting doc no. range

    Anyone knows if there is a user exit for VF02  - where when releasing to accounting, I can use this exit to assign another number range (starting with '5') to the accounting doc to be generated.
    The requirement here is that for specific invoices (identified by shipping point), we want to assign a different no. series for billing doc and consequently, an accounting doc that has the same no. as the billing doc.  Currently the billing doc and accounting doc is the same no. (starting with '9') for those not affected by the shipping point condition.

    Roberto,
    You can influence the billing document number ranges using the exit mentioned by you. I dont think it will be possible to influence the accounting document number ranges.
    Yeo, your accounting document number ranges should match with the billing document number ranges if you want the accounting document number to be same as the billing document number.
    Regards,
    GSL.

  • Accounting docs @ MIGO

    Hi Gurus,
    At the time of GR, it is understood, along with one matl document an accounting document would be generated.
    How system would know, which type of Acct. doc type need to be picked for Matl document say WE type
    I understood we define doc types etc..in OMBA, however is there is any link with accounting doc type to material doc type.
    My Question is, while posting mateiral document, i found accounting document are also generated, ( coz of value string). There is seperate number range for this accounting doc....which is different from material doc no....how this accounting doc type / no range is picked ??
    Pl Advise.

    Hello
    as rightly said by u there r 2 number range when GR ia done
    One os material doc and Acc doc
    In OBF4 u will get WE as Doc type for GR
    this will be used for Both material doc and Accounting doc
    In FBN1 u will creat a number range for accounting doc which u have created in OBF4 and assing the interval std 50 this is accounting doc
    and in OMBT u assign the number range to WE again to number range in std
    9999 500000000 to 5999999999
    this is material doc
    hope this is clear
    Reward if usefull

  • Reversal of clearing doc without touching other clearing doc

    Hi,
    My client wants to reverse a particular payment document of particular vendor without reversing the total clearing document.
    The clearing document is part of other clearing which has other vendor payments also.
    So, when the user is resetting and reversing in FBRA, the system is giving the error that it involves other clearing document.
    But they dont want to reverse other clearing documents. They just want to reverse one clearing doc.
    So as a solution I just reset it and made it open. And asked the user to put a manual debt entry , so that credit entry can be cleared. The reason for reversal of clearing document is it was a wrong payment.
    Please help how to reset and reverse clearing doc with reversing other clearing docs.
    Best Regards,
    Tapan Patro

    Resolved

Maybe you are looking for

  • Is it possible to transfer data from a g5 to a new mac?? if so, hows best??

    I want to upgrade to a new unit, but my thoughts turn to how to migrate all programs/applications and data across form the old computer to the new, especially things like itunes looks/playlists/hidden files etc. how is best to go about this?? I have

  • Setting print margin for a pdf document

    How to set margin in a pdf document for printing?

  • Shipping tab missing in intercompany sto

    Hello every one, I configured Intercompany STO and I could complete the whole process of sto till to the invoice, I again created a vendor with reference to above intercompany vendor and started to create a PO and in this case I am unable to find the

  • How do I turn off threading in mail

    The threading option is making mail difficult to use, I have looked everywhere and can't figure out how to disable it, I am running lion. Thanks

  • Compute QTD with Excel's CUBE functions

    Hi, I want to compute QTD Sales using Excel's CUBE functions.  Here are the specifics 1. I created a Pivot Table using PowerPivot and then converted the Pivot Table's cells to Formulas (Pivot Table Options > OLAP > Convert to Formulas) 2. I have two