10-14-2009 5:44 AM
Dear Experts,
How to calculate opening stock & balance against material,plant,and month.any FM or BAPI ?.
i mean mb5b reports displaying corectly.pl tell me the logic.
regards,
raj a
10-14-2009 10:05 PM
BAPI_MATPHYSINV_GETDETAIL
BAPI_MATPHYSINV_GETLIST
BAPI_RESERVATION_GETDETAIL1
10-14-2009 6:12 AM
Why not debug MB5B yourself to know the logic behind it?
Regards
Karthik D
10-14-2009 6:40 AM
hi friend
MARDH:Material Master Storage Location Segment: History
mslbh:Special Stocks at Vendor: History
Mseg:Document Segment: Material
RESB : Reservation/dependent
RKPF: Document Header: Reservation
MATNR WERKS LGORT LFGJA LFMON LABST INSME SPEME are the fields of MARDH.
MATNR WERKS SOBKZ LIFNR LFGJA LFMON LBLAB LBINS are the fields of MSLBH.
regards
surender
Edited by: SURENDER on Oct 14, 2009 11:25 AM
10-14-2009 6:48 AM
Hi,
Check out these:
bapi_material_availability
CBP_SOP_OPENING_STOCK_READ
Thanks,
Krishna
10-14-2009 9:34 PM
Hi,
MB5B Logic -
As on date stock value is available in MARC(Material wrt Plant) and MARD(Material wrt Storage Location).
For getting stock value on a particular day, get the Quantity of Material transferred from that particular day to current day using MKPF and MSEG. Then add/subtract this value to as on date stock value to get the opening stock value on that particular day.
Regards,
Vipin.
10-14-2009 10:05 PM
BAPI_MATPHYSINV_GETDETAIL
BAPI_MATPHYSINV_GETLIST
BAPI_RESERVATION_GETDETAIL1