cancel
Showing results for 
Search instead for 
Did you mean: 

capture livecache values in planning area level.

Former Member
0 Kudos

Hi Experts,

We have got a typical requirement, where we need to capture livecache values for safetystock(SAFTY) KEYFIGURE maintained for a particular product, location and planning area.

we are using function module BAPI_PBSRVAPS_GETDETAIL2 to retrieve the required results. Every thing is working fine but to retrieve the required value , we have to pass mandatory parameters (planning book ,data view and Selection ID as mentioned below) into the BAPI.

Issue:- This will work for interactive planning for a particular planning book, data view and selection ID but not for "Mass processing". We have searched and tested different BAPIs but could not get the required one.

So, would like to know if there is any class method or bapi or normal functional module where we can pass planning area, product and location to capture livecache values for safetystock(SAFTY) KEYFIGURE maintained based on Macro.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI Krishna,

I was able to follow till the point where you mentioned you use the BAPI. That is the correct BAPI to use. But got confused when you mentioned you want to use if for Mass Processing. Can you pls elaborate on the requirement, so that we can try and help.

Thanks

Mani Suresh

Former Member
0 Kudos

HI Suresh,

Thank you for your reply. Mass processing means, irrespective of Planning book and Dataview and selection ID used, wherever the product and location got loaded in planning area, it should fetch safety stock values for SAFTY keyfigure with respect to time bucket profile maintained under storage bucket profile ID.

Interactive planning means it is limited to a particular planning book, dataview and selection id.

Former Member
0 Kudos

Krishna,

I think it doesnt make a difference, The Keyfigure values are not Planning book or Dataview specific, they are only planning area specific. So if there is a value in one Planning book/dataview the same value will be seen in any planning book or dataview within the same planning area. Also, it is not mandatory to use the selection id. Instead you can use the it_selection internal table under the tables parameter of the BAPI.

Hope this helps.

Thanks & Regards

Mani Suresh