cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

String , String_table ?

Former Member
28,750

hi,

I have seen the following code but not able to understand what is string_table and below two declaration.

In the first one a standard table of String is made.

i_data type STANDARD TABLE OF string

Is String a Standard Table ? If so , when do we use this ?

What about this String_table ? Its use ?

ls_tab type string_table

What is the difference between the below mentioned two declaration ?

here it_table is a internal table.

new type it_table.

final type STANDARD TABLE OF it_table.

What about this new and final ? their use ?

Any inputs ?

View Entire Topic
Former Member
0 Likes

Hi,

In the first one a standard table of String is made.

i_data type STANDARD TABLE OF string

Is String a Standard Table ? If so , when do we use this ?

String is not a standard table. Probably, it's declared in any part of the code.

What about this String_table ? Its use ?

ls_tab type string_table

The same I mentioned above.

What is the difference between the below mentioned two declaration ?

here it_table is a internal table.

new type it_table.

final type STANDARD TABLE OF it_table.

In this case: 1) new is a structure or work area; 2) final is a table

Regards,

Former Member
0 Likes

hi,

i_data type STANDARD TABLE OF string

String is not declared any where else. I have tried this.

Same is the case with. ls_tab type string_table

String_table is not defined anywhere else.

Any ideas ?

Former Member
0 Likes

Hi,

Sorry, I didn't understand your question very well so in your case both *i_data and *ls_tab are tables with a field with variable length.

You can see in tcode se11>select Data Type>prees F4>Search for Table Types>Information System and in field Table Type do the search by string* and you could get the table type String_Table.

Regards,

Edited by: Enrique Carrero on Feb 19, 2009 2:56 PM