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

MIRO-MIGO: In the FI Accounting Document Generated, Order Number(AUFNR) Issue

Hello all,

I have an issue concerning the FI accounting document generated. Actually the order number (AUFNR) which appears in the generated accounting document via MIGO/MIRO is not filled in for lines where the Debit/Credit Ind. is 'H' (Credit).

I have debug the transaction MIRO to find out why this happened, I have found that this is linked with the table T156X.


Accounting document generated via MIRO.

Accounting document generated via MIGO.

Grateful if someone could provide me some information about this issue. I think its the default SAP behaviour, could someone guide me, if there are some configuration to do to allow the order number (AUFNR) to appears on all the lines in the accounting document.

Thanks a lot for your help. 😉

Kind Regards,


scn1.jpg (99.0 kB)
scn2.jpg (74.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 03, 2012 at 07:29 AM

    The AUFNR order number is part of the coding block, and copied to FI and then CO,

    Usually :

    - The field status group of vendor recon. account/vendor account does not allow for this field (those account don't go into controlling) (also for VAT G/L accounts)

    - The field order is attached to the items of the purchase order not the header and can theorically vary in a single purchase order

    So if actually required (AND there is only one order in a purchase order in your system ?)

    - Change field status group of vendor to allow this field

    - You can substitute the field in BTE process interface 1120 (Post Document: Field Substitution Header/Row) or BAdI AC_DOCUMENT. (As the AUFNR is in the item lines standard should not be able to use it on a record that depends only on header data)



    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.