2008 Aug 14 9:24 AM
Hi,
I would like to create a new deep structure with a table type component with se11 transaction, not a nested structure.
I know it is possible to do that with Abap but I need to do this with se11 because it has to be accessible from some reports and some function modules as export parameters.
Thanks.
2008 Aug 14 9:52 AM
Hello Juan
You have two options:
1) Define the complex structures within a type-pool
2) Define a structure with a field which is a table type. This structure is then use as line type of your target table type
Regards
Uwe
Hello Juan
You have two options:
1) Define the complex structures within a type-pool
2) Define a structure with a field which is a table type. This structure is then use as line type of your target table type
Regards
Uwe
2008 Aug 14 9:52 AM
Hello Juan
You have two options:
1) Define the complex structures within a type-pool
2) Define a structure with a field which is a table type. This structure is then use as line type of your target table type
Regards
Uwe
2008 Aug 14 10:06 AM
Hi Uwe,
Thanks for your answer.
I though I had my filed as table type but as you see that's not true.
Actually in the component type of my field I have the name of the table I want to be the type of the field but it acts just an structure and not as a table.
What I'm doing wrong?
Thanks.
2008 Aug 14 10:11 AM
Hello Juan
If you use a DB table name as TYPE for your structure field is is always a structure but not a table type.
The only difference between DB tables and structures is that you can save records in DB tables.
Instead of the DB table name you need the name of a table type which has the DB table as line type.
Example: Structure has two fields
KUNNR (of TYPE kunnr)
DATA (of TYPE trty_knb1 => table type for KNB1)Now you can define a table type having the line structure shown above.
Regards
Uwe
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |