I need to download some data in a *.csv file. But the interanl table has a deep structure(nested table). While using the function module GUI_DOWNLOAD, i get a short dump.
Can someone please help me out in this case?
Is there any other way to do so?
Is there a way to insert the ASCII character for Carriage Return (Enter Key) in the string type of variable? If that is possible, then I might not be required to use the deep structure for my requirement.
Thanks & Regards,
Srikanth Kidambi Maruthi replied
for Carriage return : check the class
CL_ABAP_CHAR_UTILITIES & in attributes we have "CR_LF" field. you can use it in the program
we can use this in the program as:
CLASS CL_ABAP_CHAR_UTILITIES DEFINITION LOAD.
CONSTANTS: C_CR_LF TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>CR_LF.
now wherever you want to insert this CR use the constant C_CR_LF.