cancel
Showing results for 
Search instead for 
Did you mean: 

Funtion module to read ATP quantity of a Product- Location

Former Member
0 Kudos

Hi! All,

For some businesss process before i run BOP i need to know the exact ATP quantity for a product-Location

can some body share the funtion module to extract this quantity

Regards

Vaibhav Sareen

+91-9620211710

Accepted Solutions (0)

Answers (5)

Answers (5)

frank_horlacher
Employee
Employee
0 Kudos

Hi you can have a look at transcation /SAPAPO/AC04 - ATP Simulation just debug it and look how it is done there.

Or try transaction /SAPAPO/AC03 - Product Availability if this is sufficient.

BR Frank

pavan_verma2
Contributor
0 Kudos

Hi ,

In user exit EXIT_/SAPAPO/SAPLBOP_040 -- BOP: Scope of Check for Back order Processing you can do development to read ATP quantities during BOP.

As the name suggests you can include demand elements and receipt elements as per your requirement.

Thanks

Pavan Verma

pavan_verma2
Contributor
0 Kudos

Hi Vaibhav,

You can use FM BAPI_STSRVAPS_GETLIST2 to Read Stocks for Selection Criteria.

You need to give product and location as input and you will get stock as ouput

Thanks

Pavan Verma

ramesh_mahankali
Active Participant
0 Kudos

Hi,

I have a similar requirement. While running /n/SAPAPO/BOP transaction we have implemented a user exit APORB001for material substitution logic. While doing we have implemented a log which can be seen in job.

Now I have to show ATP quantity in the log along with other details. Please let me know if there is any Function module which I can use to get the ATP quantity while BOP is running.

Appreciate your reply.

Thanks,

Ramesh

hkmaradana
Active Participant
0 Kudos

Hi,

To answer your question, can you provide which atp category you are looking?

Based on atp category, product and location combination we can see the qtys.

Regards,

Cris

Former Member
0 Kudos

Dear Cris,

My question is to find the Available to promise quantity which will be net of the available stock minus the confirmed requirements.

Regards

Vaibhav Sareen