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

Dynamic structure Creation

Former Member
0 Likes
670

Hi,

How we can create a dynamic structure from program using Function module or class.And that structure should save in database.i.e we can see the same structure in SE11.

Thanks and Regards,

Aman

4 REPLIES 4
Read only

Former Member
0 Likes
642

Hi Aman,

Here is link for your complete solution.

Best regards,

Flavya

Read only

uwe_schieferstein
Active Contributor
0 Likes
642

Hello

The fm you are looking for is DDIF_TABL_PUT. Search the SDN for more details.

Regards

Uwe

Read only

0 Likes
642

Hi Uwe,

This FM creates the table . my requirment is to create the structure. and it should get saved.

Thanks in advance,

Aman

Read only

Former Member
0 Likes
642

Hi Aman,

Check this :-

In Anid's code,

CREATE DATA new_line LIKE LINE OF <l_table>. 
ASSIGN new_line->* TO <l_line>.

Create the dynamic structure......

Luck,

Bhumika