I am facing a problem which I am not able to solve. Please help.
I am working on a SCRIPT and to calculate a field I have written a Subroutine Pool.
The problem I am facing is when I do a page layout its giving me a dump.
Code is as follows:
form get_total in program 'xxxxxxxx' using inttab structure itcsy
changing outtab structure itcsy
data: w_wrbtr(16) type c,
w_wrbtr1 type bsid-wrbtr,
w_total type bsid-wrbtr,
w_total1(16) type c.
read table inttab index 1.
if sy-subrc = 0.
w_wrbtr = <b>inttab-value</b>.
w_wrbtr1 = w_wrbtr.
w_total = w_total + w_wrbtr1............................
w_total1 = w_total.
Now the field inttab-value is taking a value 'xxxxxxxxxxx.xx' when I am doing a page layout and giving me a dump. the description is unable to interpret 'xxxxxxxxxxx.xx' as a value.