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

Convert STRUCTURE into INTERNAL TABLE

Former Member
0 Likes
1,770

Hi Experts,

Plz tell me the way (any function module) to convert "structure" into "Internal Table".

It should return Field name, values in internal table as table records.

Thanks in advance.

Regards

Deepak

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
904

Hi Deepak,

Try this FM: DDIF_TABL_GET

-Pavan

4 REPLIES 4
Read only

Former Member
0 Likes
905

Hi Deepak,

Try this FM: DDIF_TABL_GET

-Pavan

Read only

Former Member
0 Likes
904

DATA : BEGIN OF itab OCCURS 0.

INCLUDE STRUCTURE MACK1. "here mack1 is SAP structure

DATA : END OF itab.

Read only

former_member156446
Active Contributor
0 Likes
904
  • table for output MARC file: Plant Data for Material

DATA: BEGIN OF gt_marc OCCURS 1000.

INCLUDE STRUCTURE marc.

DATA: END OF gt_marc

DATA: BEGIN OF gt_marc OCCURS 1000.

INCLUDE STRUCTURE <sturcture/ table>

DATA: END OF gt_marc.

Read only

Former Member
0 Likes
904

hi

good

i dont think there is any function module which can convert the structure to internal table.

thanks

mrutyun^