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

BAPI_MATERIAL_STOCK_REQ_LIST

Hello, i am new to ABAP and i need your help.

I have requirement to read all open purchase orders, open deliveries and open purchase requisitions for some specific plant and material.

i think that all of this could be achieved over FM BAPI_MATERIAL_STOCK_REQ_LIST, but i am not completely sure how.

Open purchase order should be retrieved form structure type bapi_mrp_stock_detail - field rec_reqd_qty.

I am not sure how open deliveries and open purchase requisitions should be retrieved and i need your help with this.

Thank you in advance 😊

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Apr 08, 2016 at 11:36 AM

    Yes, you can use the mentioned BAPI to read these MRP elements.

    Just run the BAPI using the material and plant as input parameters and you will find all the open MRP elements on the return table MRP_IND_LINES.

    Here, you should filter the desired MRP elements using the field MRP_ELEMENT_IND. You can check the possible values for this field opening the domain DELKZ on transaction SE11 and checking the value range.

    Regards

    Caetano

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 08, 2016 at 09:06 AM

    hi Tomislav,

    once you create purchase order from open purchase req, the purchase req will be replaced by the purchase order in stock req list.

    for purchase req status check table. - EBAN

    for delivery header status - VBUK

    for delivery item status - VBUP

    if you want bapi - then check.

    BAPI_REQUISITION_GETDETAIL Display Purchase Requisition Details

    regards,

    Solomon

    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.