Skip to Content
0
Former Member
Jun 26, 2008 at 05:09 AM

offset problem more than 240 characters

1374 Views

hi all,

please find the coding,when i run this program i got dump.

how to correct this dump.

wa_prchr = 'In Stahl India various sales scenarios are created standard orders (Order type - OR)Sale order is created based on the customer purchase order from Chennai KanpurKolkattasample orders (Order type - FD)sample orders (Order type - FD)sample '..

a = 0.

b = 0.

do 15 times.

b = b + 72.

wa_text = wa_prchr+a(b).

wa_tline-tdline = wa_text .

wa_tline-tdformat = '*'.

append wa_tline to tlinetab.

a = a + 72.

clear b.

clear wa_text.

enddo.

i got dump like this

Invalid access to a string (offset and length too large).

However, the sum of the offset (216) and length (72) specification

was greater than the length of the string (240).

This is not allowed.

Edited by: bala chandran on Jun 26, 2008 7:27 AM