cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase order data for ATP category BH and BI not retrieved

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks a lot.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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,

Former Member
0 Kudos

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