on 06-26-2007 3:34 PM
Hi All,
I have created a Condition Base Value 901 for Sales Order in Transaction VOFM.
Following is the code when I enter the Sorce text.
FORM FRM_KOND_BASIS_901.
*{ INSERT DEVK901384 1
DATA: XXKOMV TYPE KOMV,
XAKOMV TYPE KOMV,
VKAWRT LIKE KOMV-KAWRT.
IF KOMP-VKAUS = 'YAB'.
XXKOMV = XKOMV.
CLEAR VKAWRT.
LOOP AT XKOMV INTO XAKOMV WHERE KSCHL = 'YIPR'.
IF XAKOMV-KAWRT > 0.
VKAWRT = XAKOMV-KWERT.
ENDIF.
ENDLOOP.
XKAWRT = VKAWRT.
CLEAR XKOMV.
XKOMV = XXKOMV.
ENDIF.
*} INSERT
ENDFORM.
But this code is not updating the Condition screen for items condition value.
Regards
Vijai
you have to update the xkwert field that contains the condition basis.
ROberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you activated the routine after transport ?
Regards,
Amrish Purohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
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.