on 04-21-2008 3:58 PM
Hi friends,
I am getting this error (The program attempted to interpret the value "*81145.00-" as a number, but since the value contravenes the rules for correct number formats,
this was not possible.)
while printing only this doc no 1200425
throught tcode fbz5 .
i had used this code
for calculating TDS.
SELECT belnr
wt_qbshb
FROM with_item
INTO TABLE i_with_item
WHERE belnr = v_belnr.
LOOP AT i_with_item.
V_WT_QBSBH = V_WT_QBSBH + I_WITH_ITEM-WT_QBSHB.
ENDLOOP.
V_TDSVAL = V_WT_QBSBH.
CLEAR V_WT_QBSBH.
IF V_TDSVAL < 0.
V_WT_QBSBH = -1 * V_TDSVAL.
V_TDSVAL = V_WT_QBSBH.
SHIFT V_TDSVAL RIGHT CIRCULAR.
ENDIF.
Can any one help me.
points will be rewarded for helpful answers.
The field WT_QBSHB is of type currency
Because of the filler *, youre getting a number format exception.
You can try removing the * before processing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
'Shift' statement can be used on data objects of type string.
Check what type did you declare the variable V_TDSVAL.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.