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

Adding filter criterias to BAPI_GOODSMVT_ITEMS

Hello everyone,

I am extracting purchase order row information from SAP using .NET Connector 3 and I noticed that the delivered quantity information is not available. Say that I've created a PO with one row and that row has a quantity of 100.

I've gotten a delivery of 25 and made a call to BAPI_GOODSMVT_CREATE. The problem now is that when I retrieve the PO row it does not say that 25 out of the 100 has been delivered.

I can call BAPI_GOODSMVT_GETITEMS and filter out the rows that belong to my PO and thus, sum and extract how many items that have been delivered. The problem is that it's not that efficient to filter out the rows returned after the BAPI call has been made.

Is there a way to wrap and/or modify the call to BAPI_GOODSMVT_GETITEMS so I can filter and only retrieve the rows that belong to my PO?

Edited by: Mikael Nensén on Apr 18, 2011 4:50 PM

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 Apr 18, 2011 at 03:05 PM

    I'll answer my own question. I thought the BAPI_PO_GETDETAIL didn't return already delivered quantities but it does, if I inform the BAPI that I want PO History information by passing in 'X' for HISTORY.

    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.