Skip to Content
avatar image
Former Member

MR11 - Acc. Maintanance Document per PO Line

Hi Experts

our client is looking for an enhancement to the standard MR11 transaction. Currently they run it in the background and system posts single account maintenance document for all identified purchase orders, what is an issue when reversal for single purchase order is required. Expectation is to post individual account maintenance documents for each identified purchase order or even purchase order line item.

After our investigation we couldn't find any enhancement place in the code.

Did any of you some enhancements to the MR11? What was it and how you handled it? Any suggestion will be highly appreciated!

Kind Regards,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 18, 2018 at 03:00 PM

    Dear Maciej,

    There is an standard SAP Logic to consolidate in groups of 199 documents. Check note 387954 - MR11: Error F5727 maximum number of items in FI reached. This is the standard behaviour of the MR11 program.

    You can copy the program logic to a Z program and change the 199 to 2 to have this logic as you need. There is no exit to change that. Since this is a constant declaration you cannot change using programming logic.

    Another logic is create a Z program to list the documents to be cleared and than you can use the BAPI's for MR11.

    Check function group MR11_BAPI.

    Best regards,

    Gabriel Coleti

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 23, 2018 at 04:56 PM

    Hi Gabriel,

    thanks for help! We achieved expected behavior by setting max_lines value to "0".


    Add comment
    10|10000 characters needed characters exceeded