Skip to Content
0
Former Member
Jun 03, 2008 at 01:24 AM

Retain space in char

28 Views

Hi,

I am having difficulties in retaining the space for variable TYPE char when I concatenate. For example, the desire output should be aaa jjj; but I am getting aaajjj instead. If I declare the variables as TYPE string, it is working fine. However, when I perform GUI_DOWNLOAD and pass the itab with fields TYPE string, I get short dump OBJECTS_NOT_CHARLIKE. It seems that I can only pass itab with fields TYPE char to GUI_DOWNLOAD.

Can anyone please help me? Useful answer will be rewarded with points.