Hi Experts,
In sap any function module to get data from mkpf and mseg
or BAPI module to get above details on posting date/ Plant/ storage location.