2019 Nov 19 3:56 PM
Hi all,
I have created a Table and structure.
Now i want to include the above table in my structure.
can you please help me with how to do that?
Thansk & Regards
Charitha
Hi all,
I have created a Table and structure.
Now i want to include the above table in my structure.
can you please help me with how to do that?
Thansk & Regards
Charitha
2019 Nov 19 4:59 PM
2019 Nov 19 5:03 PM
Check the below questions answer, it shows how to include structe in a structure.
https://answers.sap.com/questions/5317634/include-structure-in-types-declaration.html
If you want to use table, just use
...
fld1 type table of struct1 with default key,
...Aboe will be using ABAP code,
It will be reusuable if you create the structure in se11 though
Br,
Mahesh
2019 Nov 20 7:38 AM
Hi Charitha,
in my understanding, you can try like this :
"===============
types : begin of it_tab.
include struct1 type table1,
include struct2 type struct.
types : end of it_tab.
"=============
hope this help.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |