on 02-05-2009 11:40 AM
I have a Material Contract. I created SO against the contract and specified the material Quantity.
I can see the SO Quantity against the Contract in VA43 transaction at Item level.
Field name is KWMENG.
I expected this data to be present in table VBAP for the Contact number as VBELN.
But the Field KWMENG is empty in table VBAP.
Am I looking at the wrong Table?
Basically what I want to do is get the total Quantity placed against a contract for a particular Material in SO when SO is created wrt Contract.
Thanks and Regards,
Ashwin
Hi Ashwin,
for the contract the field RV45A-KWMENG is calculated dynamically based on the quantities of the subsequent orders made.
In contrast to this for a sales order the field VBAP-KWMENG is the actual sales order quantity filled in the order. All this happens in SAPFV45P/ Include FV45PFAP_XVBAP_LESEN
Bei Kontrakten wird die Abrufmenge angezeigt (logic for sales order quantity determination within contract). IF VBAK-VBTYP CA VBTYP_KONT AND
TVAP-ETERL IS INITIAL.
IF VBAP-KZFME IS INITIAL.
RV45A-KWMENG = XVBAPF-ERLMENGE * QUAN_1 * VBAP-UMVKN / VBAP-UMVKZ.
ELSE.
RV45A-KWMENG = XVBAPF-ERLMENGEV * QUAN_1.
ENDIF.
IF RV45A-KWMENG LT 0.
RV45A-KWMENG = 0.
ENDIF.
ENDIF.
Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
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.