Skip to Content

Function get list MRP.

Good morning, dear gurus.

I need a function or BAPI that bring the whole MRP generated listing of all materials.

Scenario: There is a ABAP development to be made that says the following:

I have one horizon of 100 days, and need to know all consumptions that will happen. To calculate the minimum and maximum inventory manually.

Found some BAPIs MD_STOCK_REQUIREMENTS_LIST_API BAPI_MATERIAL_STOCK_REQ_LIST, however they return stuff and not just for a list of all materials.

Has a MDLD relatorio that does what I need, so I have not found it function.

Help me please.

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 10, 2014 at 02:23 PM

    If you just need the data and don't want to have a function module to be used in your development, have a look onto t-code mcbz

    or just read table RESB

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Leandro,

      You can read MDVM table in order to know what materials should be processed by MRP run, or

      MDKP, MDTB table after customizing setting in order to save MRP result in fisic table.

      Daniele

  • Sep 10, 2014 at 08:20 PM

    Hello Leandro

    I still think that you can get this information using BAPI_MATERIAL_STOCK_REQ_LIST.

    On your original post you have pointed that they "return stuff and not just for a list of all materials."

    However, this sentence is not clear for me. What do you mean by "stuff"?

    In my opinion, you can use this BAPI to get a list of all the MRP elements for a material and filter the requirements. It's easier than select directly from the tables.

    BR

    Caetano

    Add comment
    10|10000 characters needed characters exceeded