05-21-2007 5:51 AM
hi experts,
i am developing a report to show opening stock just like MB5B ,using mard ,mseg,mkpf for calculation but my report output is not matching with MB5B,cud u plz let me know what will b the exact logic sud i apply,,if possible send me the codes..thnx in advance.....
05-21-2007 6:06 AM
try to get this logic.
https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=15856
Regards
Peram
05-21-2007 6:10 AM
hi,
check movement type 641 & 642.
first calculate without 641 & 642 mov. type.
& second add qty for 642 with shkzg = 'S' & 641 with shkzg = 'H'.
figure will tally with mb5b.
raj
05-21-2007 6:16 AM
Hi
Hope you are really looking for a Stock ledger report. Instead of checking only in MB5B make a check in MC.9 also. Here Give the both dates same date (both date-low and date-high same ) and see the opening date of that day and see whether its matching with your reports opening date...If it's not matching check with your functional also whether u r taking care of all the movement types (bwart column in mseg ). Then you should check seperately whether your purchase and consumption (consumption = reverse) are producing the sameresults or what.. For this u can use the transaction MB51. Do all this checkings properly. Hope this will helps you.. If still its incorrecr revert back with your code.
Reward all Helpfull Answers.........
05-31-2007 7:37 AM
06-21-2007 5:03 AM
Ravi,
I am running into the exact same problem on my project and I am curious to know what solution you used.
We also noticed that our beginning inventory was not matching with MB5B due to movement type 641.
Any help is greatly appreciated!
Kayla