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

Including a Tabletype to Structure

Former Member
0 Likes
867

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

3 REPLIES 3
Read only

former_member1716
Active Contributor
0 Likes
808

Charitha Pamuru,

Can you more clearer on what you ask?

What is the actual requirement here.

Regards

Read only

maheshpalavalli
Active Contributor
0 Likes
808

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

Read only

Former Member
0 Likes
808

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.