cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in script

Former Member
0 Kudos

Hi friends ,

I am getting this error while printing the check.

The program attempted to interpret the value "*80302.00-" as a number, but since the value contravenes the rules for correct number formats,

this was not possible.

i had put this select clause.

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Just use character variable for printing & that should sort out your issue.

I hope this helps,

Regards

Raju Chitale

Former Member
0 Kudos

I'm getting this same error if my number is greater than 1,000 and contains a comma. Did you ever find a solution for this?