on ‎2009 Feb 19 1:15 PM
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 ?
Request clarification before answering.
i_data type STANDARD TABLE OF string -- Creates a table with one field of type string.
fields type string_table -- Here string_table is table type defined in se11.
It creates a table of Strings.
final_table type STANDARD TABLE OF it_table -- Creates another internal table final_table like it_table.
new_table type it_table -- here new_table is a work area.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.