Skip to Content
author's profile photo Former Member
Former Member

Accounting Document Creation in FB60 with Tax Calculation Enable

Hello everyone,

I am currently facing a strange issue. The issue is that I am using transaction FB60 to create an accounting document.

How I proceed with:

1. Go to FB60

2. Enter the necessary details

3. Click on the "Save" button to post the document.

To view the accounting document created,

1. Go to FB03

2. Enter the document number generated previously to view the document.

The problem is that, currently I need to update a field in the accounting document during its creation. I know that the BaDi 'AC_DOCUMENT' is called before creation of any accounting document.

I have hardcoded a break point in the BADI to test whether when clicking on the button 'SAVE' from transaction FB60, whether the BADI 'AC_DOCUMENT'is called, and the debugger was not trigger.

I don't understand why the BADI 'AC_DOCUMENT'is not trigger, i did activate the 'Update debugger' to test whether the BADI was executed in the background but in vain, the BADI 'AC_DOCUMENT' was not triggered.

But if I click on 'PARK'(I don't know a park document is document in transaction FB60, the BADI 'AC_DOCUMENT' is trigger.

I would be grateful if someone gives me an idea or a small explanation on what is going on in the back.

Maybe, I am wrong with the BADI 'AC_DOCUMENT', maybe this BADI's is not trigger every time an accounting document is created.

Thanks a lot in advance.

Kind Regards,

Bryan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2012 at 01:28 AM

    what field do you want to update? did you try FI substitution?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.