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: 

Field list of an Internal Table

Former Member
0 Kudos
514

hi,

How to get the Field list of an Internal Table?

thnks.

2 REPLIES 2

SantoshKallem
Active Contributor
0 Kudos
125

do u want to see the fields of internal table?

double click on internal table.

example,


types: begin of LT_CUST,
         kunnr type kunnr,
         name1 type name1,
      end of LT_CUST.

DATA: IT_CUST TYPE TABLE OF LT_CUST.

here you can double click on LT_CUST to see the fields of internal table.

regards.

santhosh reddy

Edited by: Santhosh Reddy on Mar 9, 2008 11:46 AM

Former Member
0 Kudos
125

HI,

Try yhis sample :

REPORT YGECICI MESSAGE-ID 00

No Standard Page Heading

Line-Size 200

Line-Count 65.

data: Fields type i,

begin of fieldlist occurs 0,

no like RSTRUCINFO,

end of fieldlist,

begin of itab occurs 0,

f1 TYPE C,

name1 LIKE lfa1-name1,

f2,

f3,

end of itab.

CALL FUNCTION 'GET_COMPONENT_LIST'

EXPORTING

program = 'YGECICI'

fieldname = 'ITAB'

TABLES

components = fieldlist.

Cheers,

Chandra Sekhar.