Application Development 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: 

How to Read records from structure to internal table

Former Member
0 Kudos

HI,

Can any body know how to read the records from structure to internal table at runtime.

please give me sample program if possible.

thanks in advance

KP

1 ACCEPTED SOLUTION

former_member191977
Contributor
0 Kudos

if your internal table is having the same structure as the structure you are reading the values from then you can directly assign like..

internatable table work area or header line = structure.

or else if they are different assign field by field like

internal table-field1 = structure-field1.

internal table-field2 = structure-field2.

award points if it helps.

1 REPLY 1

former_member191977
Contributor
0 Kudos

if your internal table is having the same structure as the structure you are reading the values from then you can directly assign like..

internatable table work area or header line = structure.

or else if they are different assign field by field like

internal table-field1 = structure-field1.

internal table-field2 = structure-field2.

award points if it helps.