2007 Aug 06 2:14 PM
Hi,
i'm using the above FM to get requirements for an material.
I get the whole values lik md04.
i do this to get the sum of requirements:
LOOP AT MDEZX WHERE PLUMI = '-'.
ITAB-BDMNG = ITAB-BDMNG + MDEZX-MNG01.
ENDLOOP.
My problem is, that i get dublikcate entries. One in dispoelemet 'W-BEST'
and one in 'LbBest'. Therefore i sum it in my loop 2 times.
For example 10 ST and 7 ST in W-BEST and 10 ST in LbBest. i get 27 ST in
ITAB-BDMNG, but i need only 17 ST.
Is there another FM that i can use? or can i give any parameter?
thanks for felp.
Regards, Dieter
Hi,
i'm using the above FM to get requirements for an material.
I get the whole values lik md04.
i do this to get the sum of requirements:
LOOP AT MDEZX WHERE PLUMI = '-'.
ITAB-BDMNG = ITAB-BDMNG + MDEZX-MNG01.
ENDLOOP.
My problem is, that i get dublikcate entries. One in dispoelemet 'W-BEST'
and one in 'LbBest'. Therefore i sum it in my loop 2 times.
For example 10 ST and 7 ST in W-BEST and 10 ST in LbBest. i get 27 ST in
ITAB-BDMNG, but i need only 17 ST.
Is there another FM that i can use? or can i give any parameter?
thanks for felp.
Regards, Dieter
2007 Aug 06 2:50 PM
Hi
you can even keep a condition based on field MDEZX-DELKZ.
check once.
Message was edited by:
raghav sharma
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |