02-04-2015 8:42 PM
Hi I'm hoping a for a really easy way for get this over with .
I have a requirement to convert a very huge report into CSV .
I'm using the Class CL_RSDA_CSV_Convert method ( Slam ) to convert each line into comma seperated format .
the export parameter for this method is of Type CLIKE
if I use a parameter of type C with length 4000* , conversion to CSV happens ,
if i use a STRING for longer conversions the method dumps out with ILLEAGL_SUBSTRING*****.
I would really appreciate it if someone could guide me as to what Type i can use with this class to get a longer output than 4000* characters .
Thanks
Amarpreet.
02-05-2015 9:40 AM
02-05-2015 2:22 AM
02-05-2015 8:26 AM
It's dumps out with the error : reference to an unassigned field symbol .
02-05-2015 8:42 AM
02-05-2015 8:34 AM
02-05-2015 10:27 AM
this gives me a Type not compatible with the formal parameter error .
02-05-2015 9:40 AM
02-05-2015 9:48 AM
02-05-2015 10:40 AM
Amazingly this works for upto 30000 characters and if this isn't enough,
i'd say its the business's probelm .
But for the sake of Technical understanding i would still want to understand why string doesn't work .
Thanks .
02-05-2015 10:48 AM
Hi,
String is not having any limit in characters and when in runtime it will allocate the space according to value.
but CLIKE is required static space before value assignment
Regards,
Manikandan S
02-06-2015 9:41 AM
Sounds reasonalble, i think , thanks .
But i got stuck again .
Turns out AL11 Files have a limit too .
so all the data i have is still not transfereing to the csv file as the AL11 files cannot have that much data in one row .
Any work around for that .
Thanks