Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Concatenate

Former Member
0 Likes
868

Hi,

I have declared a internal table like

DATA: gv_objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.

I have to concatenate some text to the table gv_objtxt but the contents of the text exceeds 255 characters.

gv_objtxt can hold only 255 characters.How to get all the contents.Please help

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
845

try this,

data: begin of itab occurs o,

abap(300) type string,

end of itab.

Hi,

I have declared a internal table like

DATA: gv_objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.

I have to concatenate some text to the table gv_objtxt but the contents of the text exceeds 255 characters.

gv_objtxt can hold only 255 characters.How to get all the contents.Please help

5 REPLIES 5
Read only

former_member404244
Active Contributor
0 Likes
845

Hi ,

Try like this

types : begin of ty_itab,

gv_text(1000) type c,

end of ty_itab.

data : itab type table of ty_itab.

Now u can use the itab for ur purpose.

Regards,

Nagaraj

Read only

Former Member
0 Likes
845

HI,

Declare your internal table like this,

data: it_tab1 TYPE TABLE OF string.

Thanks

vijay.R

Read only

Former Member
0 Likes
846

try this,

data: begin of itab occurs o,

abap(300) type string,

end of itab.

Read only

Former Member
0 Likes
845

declare variable as longchar

Read only

Former Member
0 Likes
845

Hi Hema,

U can try using the following statement

data:

begin of table_name occurs 10,

char type string,

end of table_name

Regards

Ravi Aswani.