Skip to Content
0
Former Member
Aug 31, 2007 at 10:30 AM

Displaying internal table as a field in ALV

23 Views

Hello,

I defined an internal table as a field of another internal table which is to be dispalyed with fm REUSE_ALV_GRID_DISPLAY. Nothing for this field is displayed. There is nothing for this field even in the fieldcataloque. How can I do it?

The declarations for internal tables are as follows:

DATA: BEGIN OF str OCCURS 0,

text(20),

END OF str.

  • internal table definition

DATA: BEGIN OF itab OCCURS 0,

  • pernr LIKE pernr-pernr,

  • ename LIKE p0001-ename,

name LIKE hap_s_body_elements-name,

trfs1 LIKE hrp1005-trfs1,

stell LIKE p0001-stell, "job

jf LIKE hrp1000-stext, "job family

group LIKE hrp1000-stext,

direct LIKE hrp1000-stext,

dept LIKE hrp1000-stext,

div LIKE hrp1000-stext,

funct LIKE hrp1000-stext,

<b> line type str occurs 0,</b>

value0 TYPE p DECIMALS 2, "

value1 TYPE p DECIMALS 2, "

value2 TYPE p DECIMALS 2, "

value3 TYPE p DECIMALS 2, "

value4 TYPE p DECIMALS 2, "

value5 TYPE p DECIMALS 2, "

total TYPE p DECIMALS 2,

END OF itab.

**

Thx in advance,

Ali