Skip to Content
0
Former Member
Dec 23, 2010 at 12:46 PM

Extracting current stock from LiveCache using ABAP

345 Views

Hi,

We are trying to develop a number of reports for displaying calculated key figures from SNP. One of the macros that is used in calculations uses function INITIAL_STOCK(), which apparently reads the current stock level directly from LiveCache. I've found two function modules (/SAPAPO/DM_STOCK_GET and /SAPAPO/DM_STOCK_GET_BY_PEGID) that are somehow used in extracting of stock levels but I have'nt been able to figure out how they should be used, ie. what are the correct parameter values etc. Has anyone else tried to read current stock levels with ABAP?

Cheers,

Ran-Dom