on 08-02-2009 11:10 AM
I am working on cheque printing. Single page upper side shows date/transn
and amount and then g-total. Lower part shows cheque.
When i execute T-code f-58 and fill comp code , payment method c , house bank etc.
some times it give exact result. but some times it gives some junk value or '*' sign in amount.
but in both cases the g-total is always correct.
what could be the reason.
Thanks
Answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just a guess... if a value will not fit in a SAPscript field, it will add an "*" on the left. Is it possible the value is larger than the size on the layout set will allow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
My cheque problem is not solved. as mentioned earlier : it gives exact result like
sno ! refdoc. no ! mrr date ! amount
here display all entries
-
total 12344.00
But in some cases it gives the only total
no entry is didplayed.
and debugeer shows this error
{concatenate '(-)' gamount into itab_main-amount .
condense itab_main-amount no-gaps .
ibseg-WRBTR = ibseg-WRBTR * -1 .
else .
write ibseg-WRBTR to itab_main-amount.
endif.
BREAK-POINT.
itab_main-invdt = ibsik-bUdat.
*write ibseg-WRBTR to itab_main-amount .
itab_main-amount = ibseg-WRBTR.
total = total + ibseg-WRBTR.
itab_main-mrnno = ibseg-EBELN .
itab_main-refdoc = ibsik-XBLNR.
*REPLACE ',' IN itab_main-amount WITH '?'.
*REPLACE ALL OCCURENCES OF '.' IN itab_main-amount WITH ','.
*REPLACE '?' IN itab_main-amount WITH '.'.
append itab_main.
clear itab_main.
endloop.
endif.
write total to totald.}
Plese let me know the fault.
thanks
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.