Skip to Content
avatar image
Former Member

Purchase order data for ATP category BH and BI not retrieved

Hi Experts,

I have a requirement where I need to extract purchase orders data from the bapi BAPI_POSRVAPS_GETLIST3. I am passing the locations, products and ATP categories AG,EF,BF,BI and BH. However, my bapi works correctly for AG,EF and BF, but it does not retrieve the data for BI and BH categories.

I have debugged the bapi and found that it is unable to retrieve data from the live cache.

Can anybody please help me out and let me know the exact reason for this issue? I have checked the return table of the bapi and it does not give any error message as well.

Looking forward to your reply.

Thanks in advance.

--Warm Regards,

Prajakta K.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    May 28, 2008 at 05:55 AM

    Hi,

    BI (stock transport order) and BH (PreqRel) are demand elements for which there exist corresponding receipt element as BF (Purchase order) and AG (Preq) respectively. BAPI will give data for these categories.Thus you can get data for BI and BH from corresponding BF and AG.

    Similarly EF (Dep:Preq) is receipt element and you will not get data for corresponding demand element which is available in the system as EG (Dep:ConRel).

    I think BAPI is working fine.

    Regards,

    ~Vaibhav

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 30, 2008 at 10:21 AM

    Hi,

    Thanks for the reply. However, again I have a few questions which need to be answered . Please let me know the following :

    1. We retrieve data from the BAPI for both Receipts and Requirements. So, how to determine the issuing location and receiving location?

    2. The delivery date is present only in Receipts table and not in Requirements. So, how to get the delivery date for the Requirements data?

    3. The same is true for Means of transaportation (ttype). From where to fetch data for Requirements ?

    Looking forward to your reply.

    Thanks in advance.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      You need to enter "location products" to get data out of this BAPI. And filter can be set by entering ATP category to get data of selected elements like AG, BF (receipt) at receiving location and BH, BI (demand) at sending location.

      For example, If you run it for a product and entering its sending and receiving location it given all receipts at receiving location with date and time, and requirements at sending location with date and time.

      Kindly eloborate what you need out of Means of transport.

      Regards,

  • avatar image
    Former Member
    Jun 12, 2008 at 10:14 AM

    Thanks a lot.

    Add comment
    10|10000 characters needed characters exceeded