on 09-18-2007 1:10 PM
Hi Friends,
Could any one help me in this? I created an ABAP Query for the combination of T.codes MB51 & MB52. When I see the total qty for the item which has GR and Goods return document.........say first by 101 I rerceive 5 nos and using 122 returns 3 nos. Here Query shows total is 8nos instead of 2 nos.
The same way correnponding price also shows for 8nos instead 2 nos.
Kind Regards,
Sankar.K
Hi Sankar,
You can use MSEG-SHKZG field for +(plus)/-(minus) indicator where 'H' is -(minus) and 'S' is +(plus).
I hope this can answer your problem.
Regards
Gunawan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sankar,
I think that its because you dont use the debit/credit indicator (MSEG-SHKZG) to mark the transaction as in/out. Please add the logic to your query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Which tables are you using in the query ?
Cheers !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.