Skip to Content
avatar image
Former Member

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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 20, 2011 at 12:12 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded