Cancellation document does not generate Accounting document

Hi Experts,
    I am facing an issue that when a Billing document is getting cancelled through workflow ,the billing document does not generate a accounting document .I tried debugging the issue to check it but could not find the root cause of the issue.
In the code we are using 'BAPI_BILLINGDOC_CANCEL1 to cancel the billing document.
    How to find that the accounting documents are getting  generated from the corresponding billing documents correctly.
Thanks&Regards,
Praveen

First of all, are you able to create S1 type cancellation document after you call the BAPI? If you are not even able to generate the cancel document, perhaps you are missing committing the BAPI after calling it by using BAPT_TRANSACTION_COMMIT.
Also are you able to create cancellation and accounting document by calling the BAPI through a test ABAP program? First check it out before using it in your workflow.

Similar Messages

  • Materail document is not generating accounting documents

    friends,
    some materail documents are not generating fi documents, because of this materiel values are not matching with finance values,
    what could be the reason, all are capital items.
    regards,

    If the material is a not valuated material, then it might not generate accounting document. Compare this material with any other material with which you were able to generate financial documents.

  • VF01-- Billing not generate accounting document

    Hi, experts.
    I have one sale order using billing plan. the plan include three down payment request and one closing invoice.for the first and second down payment request,using transaction 'VF01' generate accounting document, but for the third down payment request ,but using transaction 'VF01' to create billing ,there isn't accounting document to generate?
    Thanks
    Fanny.

    UP!

  • Invoice cancellation does not create accounting document.

    Hi. here's the scenario.
    A billing document has been creating in transaction VF01.When created, an accounting document and a controlling document have been generated(you can get the document numbers when you click on the 'Accounting' button in VF03 or through FB03).
    Problem:
    A cancellation has been carried out for the billing document (transaction VF11). However no accounting documents have been created for the cancellation.
    Any idea on the customising which was missing?thx.

    Hello,
    If you accounting period is block, you need to open the accounting period and transfer these documents manually from SD back to FI by using VFX3 transaction code. You need to release them manually to transfer the documents to FI. See the log if there are errors.
    It will give the reason when you run VFX3 the documents are not moved back to FI.
    Regards,
    Ravi
    Edited by: Ravi Sankar Venna on Apr 8, 2009 12:06 PM

  • BAPI_ACC_DOCUMENT_POST not generating accounting document

    HI All
    I'm calling function module 'BAPI_ACC_DOCUMENT_POST'
    to upload accounting dcoument data and passing below parameters for header section. I'm getting 605 success message in RETURN table, but accounting document is not being generated.
    obj_type = FKKSU
    obj_KEY = '$'
    obj_sys = t000-logsys.
    Message is here:
    S   |RW                  |605   |Document posted successfully: FKKSU $ PRO
    Kindly suggest me what could be the problem.
    Thanks in advance,
    Vijaya

    Hi ,
    You need to execute BAPI_TRANSACTION_COMMIT after this Function module.
    otherwise go to before executing BAPI BAPI_ACC_DOCUMENT_POST
    go to 'Function Modules ->other Function module -> ( enter BAPI_TRANSACTION_COMMIT) and then choose SAVE.
    now execute your test variant BAPI_ACC_DOCUMENT_POST.
    Hope this helps you.
    Thanking You.
    Kind Regards,
    Ravi Sankar.Z

  • Accounting Document was not generated

    Hi Friends,
    While doing Post goods issue, Material document was created but system does not create accounting document.
    One sales order having two items (10&20)
    Both iteams having same material
    In case of items number 10(system generate accounting document)
    In case of Item number 20(System does not generate accounting document)
    What could be the reason..
    Please help me....
    Thanks
    NPR

    Hi,
    Open the billing document number generated using t.code VF02 or VF03. Then from the menu bar choose Environment and choose Account determination analysis revenue account. From there you will see where the correction will be made.
    But possible reasons for the error are account 1. account assignment group is not tagged in sales area data in the customer master 2. account assignment group is not tagged in the material master.
    Try also releasing the document by clicking on release to accounting icon (green flag)
    Thanks.
    Rachelle

  • Accounting document should not generate.

    Dear Experts,
    There are certain Z reports in SD and FI in which we have value difference between SD and FI reports. One of the factors for this mismatch is due to adjusting exchange rate difference at FI level. For example, when a late realisation of payment, the difference amount due to exchange rate is directly updated in GL account entries
    Since this doesnu2019t affect SD, we are getting mismatch in the values from SD reports and FI reports.
    In order to eliminate this mismatch after it gets adjusted by FI, we want to issue credit/debit note for the value difference so that it will have an effect in SD reports, but we donu2019t want to affect the entries in GL accounts as it was already impacted directly.
    Solution
    We have crated a separate condition type ZABC and mapped with separate account key. This account key is Not Mapped with any GL account in VKOA. If above said case occurs to our client then he will maintain the price in ZABC condition type. Once the invoice is released the system is not generating accounting document but it say u201CAcc determination erroru201D.
    Note: it is not generating the accounting document but the Posting status of the billing document is B.
    Please suggest is there any other alternative way to address.
    bala

    Hiii
    As per my understanding you want to impact only on SD side where as it is already impacted on FI side due to Exchange rate.
    Now for comparing and reporting purpose you can use Proforma Invoice instead of Commercial invoice so system will not throw any error because no accounting entries will post and you can get report by clubing earlier invoice and proforma invoice.
    Regards
    Shambhu Sarkar

  • Fi Document is not generating in MIGO for multiple account assignment in PO

    Hi,
    I have have created  asset po DG set 111 quanity is 4, i have created 4 different assets and assign quanity 1 to each dg sets in account assignment. While doing GRN system is not generating FI document for this po. if  i am giving one quanity or single account assignment for as 4 then it is generating FI quantity.
    PLease help me out why system is not generating FI document for multiple accont assignment in MIGO.
    Thanks in advance
    KISHORE

    Hi
    There is no option if you are not on EhP4... Do MIRO and see if the FI doc is generated
    Only way is to do MIRO immediately after MIGO.. OR Schedule ERS (Evaluated Receipt Settlement) which runs every hour in the background so that MIRO is posted automatically based on MIGO document.... Basically, you have to do MIRO after MIGO.. Whether you do it manually or through ERS is a matter of choice
    Regards
    Ajay M

  • Generate accounting document for cancel of credit memo

    Hii Guy,
    Need your help to solve this problem.
    My user have perform VK11 to cancel of credit memo. in the sales order document flow, the status is OPEN.
    my user cannot perform creating of accounting document for this cance of credit memo. what are the tcode to generate accounting document ?

    Nizamkz wrote:Hi,
    >
    > Hii Guy,
    >
    > Need your help to solve this problem.
    >
    > My user have perform VK11 to cancel of credit memo. in the sales order document flow, the status is OPEN.
    Are you sure its VK11???? I guess for the cancellation if billing document its VF11......
    Try to do the manual release to accounitng....by going to VF02 and pressing the Green Flag button after entering the cancellation document number. Or Else Try to reverse the posting with FB08.
    Thanks,
    Raja

  • Error "Account assignment 00 for  purchase document does not exist " when u

    Hai,
    I am encountering the following problem when posting a PO based Invoice using BAPI_INCOMINGINVOICE_CREATE.
    The error says " account assignment 00 for purchasing document does not exist".
    The scenario is very simple.  I need to raise an Invoice against a PO. the PO has a single line item of quantity 10 net price 10.  Tax code is U2 ( 7% tax).
    I am passing the following at header level.
    Invoice_indicator ( as 'X'),company code,doc date , posting date, gross amount (107, currency USD, calc tax indicator as 'X'.
    At line item i am passing Invoice document item 000001, po number , po item number, tax code(U2) item amount (100),
    Does this error has got any thing to relate configuration matters?
    Regards,
    Upender

    Hi Upender,
    In some cases, depending on the type of PO / Posting,
    you might have to populate the accounting data itab and pass in the BAPI parameter.
    you can select the accounting data from EKKN for the PO.
    Again it depends on the PO category, wether you need to populate Qty & Unit in accounting data.
    Further, the accounting data should be exactly the same as there in EKKN ( all the fields except Qty & Unit ).
    Thanks,
    Ram

  • Credit Memo - Accounting Document is not generating

    Hi,
    I have created a Credit Memo and removed billing block in VA02.
    Now, in VF01 i generated the billing document. But the Accounting Document is not generated.
    In VF02, when tried to do "Release to Accounts", it says " An Accounting document is not required for this Billing Document"
    When checked the Pricing conditions in billing, at Header level there is no Value. But in detail level there is value for all condition types.
    Also, during billing in VF01, when tried to check "Account Determination Analysisi - Reconcilliation Accounts", it says error message as "Accounting assignment analysis cannot be carried out for this Billing Type"
    Can you please help me out on this.
    Regards,
    Ramki

    Hi,
    Please check the reason for value not flowing to the header data of the billing document.Once you get the value of the document tin the header , there will be no issue in creating an accounting document.
    Check the item category of the credit memo.
    Regards,
    Phani Prasad

  • Cancel billing doc (S1) is not creating Accounting document

    Hi,
    I have cancelled F2 billing document with cancel billing type S1. But for that cancel billign doc S1 is still in open status only and it is not creating accounting document..
    I tried to release to accounting but it is showing error like " Document type is not defined"..
    Please any guess on this..
    regards
    sankar

    Hi sankar
    I am sure you might be aware of this but just to reiterate
    When you cancel documents in Logistics Invoice Verification, the document line items are not automatically cleared in Financial Accounting. We recommend that you periodically clear such items (using daily background jobs, for example).
    Kalpesh

  • Why for P.O. Accounting document will not generate.

    Hi,
    In T.Code ME21N why Accounting Document will not generate,
    please give brief information,
    Thanks
    Samsunder

    Hi,
    In case of creating a P.O (purchase orde) no Accounting Document will be generated.Accounting entry will be generated At the PGI (post goods delivery , movement Type 601)
    The accounting entry will be
    cost of goods sold  Dr.
           to Inventry Account  Cr.
    With regards,
    Sudipto

  • Error in VF01 Document 8690000005 saved (no accounting document generated)

    Hi,
    I got the bellow error message when doing Billing (VF01) "Document 8690000005 saved (no accounting document generated)"
    Can any one tell me the reason.
    Thanks & Regards,
    Chandra

    vf02
    menu->billing doc->release to accounting.
    acounting doc will be generated , if not proving the error you are getting(exact error decrption with number)
    Ranjith

  • 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

Maybe you are looking for