03-08-2005 6:56 PM
Which object should I use if I want to check the number of items in stock? I have the material number and the Cost Center as inputs and want the quantity in stock as the result
I was thinking WarehouseStock but i dont really know what it does...
ps: SAP 46C
thanks in advance
03-08-2005 6:59 PM
03-08-2005 6:59 PM
03-08-2005 7:23 PM
How can I directly access the table? Can I do it through a BAPI? do I have to use RFC_READ_TABLE because from what I have read it is flawed...
anyway, thank you
03-08-2005 7:27 PM
03-08-2005 7:30 PM
If you want to access this data in an ABAP program, then just do select statements against these tables.
ex.
Select LABST from mard into stockqty
where matnr = p_matnr
and werks = p_werks
and lgort = p_lgort.
This will give you the current inventory stock for that material/plant/storage location.
Regards,
Rich Heilman
03-08-2005 8:03 PM
Actually I am using an ASP page which instantiates the connector (dcom). I thought I could simply create and object which would have a function to either access the tables or retrieve the info I wanted.
03-08-2005 8:05 PM
03-08-2005 8:16 PM
actually no... but I am going to test the WarehouseStock module if I find it useful I will use it.
thanks anyway!