Skip to Content
0
Former Member
Jul 01, 2015 at 06:21 PM

Output length more than 255

3905 Views

Hi All,

Issue is there is a ALV gird screen input the text1 text2 text 3 text 4 which of 125 char length each , issue is need to concatenate all the text values of text1,text2, text3, text4 into single header_text which is of 500 char length but notable to achieve as only 255 characters is able to display kindly suggest me the below the necessary code and screen shot related to the issue.

BEGIN OF ty_comm_d,

text1(125) TYPE c,

text2(125) TYPE c,

text3(125) Type c,

text4(125) Type c,

END OF ty_comm_d.

BEGIN OF ty_download,

head_text1 TYPE STRING,

END OF ty_download.

condense: <fs_comm_d>-text,

<fs_comm_d>-text2,

<fs_comm_d>-text3,

<fs_comm_d>-text4.

data: w_textpart1(250) type c,

w_textpart2(250) type c.

CONCATENATE <fs_comm_d>-text

<fs_comm_d>-text2

into w_textpart1 SEPARATED BY space.

CONCATENATE <fs_comm_d>-text3

<fs_comm_d>-text4

into w_textpart2

SEPARATED BY space.

CONCATENATE w_textpart1

w_textpart2

INTO <fs_download>-head_text1.

Attachments

screen1.PNG (15.1 kB)
screen2.PNG (18.6 kB)
Screen3.PNG (18.4 kB)