on 08-17-2011 11:39 AM
Hi,
We've implemented the following code in a custom pricing routine:
WHEN 'ZPIC'.
IF komk-vkorg EQ 'HU01'.
lt_komv[] = xkomv[].
CLEAR lv_mwsi.
LOOP AT lt_komv WHERE kschl = 'MWSI'.
IF lt_komv-kbetr NE 0.
lv_mwsi = 'X'.
EXIT.
ENDIF.
ENDLOOP.
IF lv_mwsi = 'X'.
CLEAR xkwert.
ENDIF.
ENDIF.
We are trying to achieve to update the condition value in to value 0 via the 'CLEAR xkwert' statement however clearing or changing xkwert doesn't have any effect as the condition record maintained keeps being taken in to account. How would we ensure that we overwrite the condition value, is this possible via a routine or would we require a user-exit?
Kind regards,
Tim
Hi ,
Modify XKOMV table of condition value field based on the conditions.
You can try this.
Regards,
Shamma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.