Skip to Content
0
Former Member
Oct 12, 2006 at 09:33 AM

dump, very urgent

17 Views

Hi,

wheni run the program system giving dump saying at line read dataset xfile into str.

when i get into st22 it's saying system error occured at conversion. how will i solve this?

******************************************

form getfile tables intab1 structure in1

using inval structure file_list.

data : xfile(128).

clear xfile.

concatenate inval-dirname '/' inval-name into xfile.

replace '//' with '/' into xfile.

open dataset xfile for input message messtab

in text mode encoding default.

check sy-subrc = 0.

clear : str, intab1. refresh intab1-data.

do.

read dataset xfile into str.

if sy-subrc <> 0.

exit.

endif.

intab1-file = inval-name.

intab1-dir = inval-dirname.

append str to intab1-data.

enddo.

if not intab1-data[] is initial.

append intab1.

endif.

close dataset xfile.