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

Internal table with lines like structure

Former Member
0 Likes
832

How to create internal table with lines like structure?

How to create internal table with lines like structure?

4 REPLIES 4
Read only

Former Member
0 Likes
788

TYPES: BEGIN OF t_hidk.

INCLUDE STRUCTURE hidk.

TYPES: END OF t_hidk.

DATA: gt_hikd TYPE STANDARD TABLE OF t_hidk.

Edited by: S S on Feb 21, 2009 9:20 PM

Read only

0 Likes
788

Hi, S S

You can do simply like the following too.

DATA: it_pskey LIKE STANDARD TABLE OF pskey WITH HEADER LINE.

there PSKEY is the Structure name like in your above Example HIDK is the name of Structure.

Kind Regards,

Faisal

Read only

0 Likes
788

HI,

" Internal table declaration without Header Line
DATA gt_hikd LIKE STANDARD TABLE OF hidk.          

" Work Area declaration
DATA g_hikd LIKE LINE OF gt_hikd.

Read only

Former Member
0 Likes
788

answered