2007 May 04 9:57 PM
Hi,
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>.
endif.
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.
please answer
Thanks.
null
Hi,
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>.
endif.
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.
please answer
Thanks.
null
2007 May 04 10:04 PM
Hi,
What is the value you are getting in INTTTAB-VALUE??
Make sure you are passing the correct value from the sapscript..
Thanks,
Naren
2007 May 04 10:06 PM
Hi
I am getting the desired output but the problem is when I do a page layout from the script its dumping.
initially when I do page layout. the inttab-value has a value 'xxxxxxxxxx.xx'
Thanks.
Sam
Message was edited by:
Sam Varma
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |