Skip to Content
0
Former Member
Jul 21, 2009 at 08:22 AM

Display fetched value as heading

27 Views

Hi Experts,

Please advice if it is possible to display the fetched value as heading in ALV.

Suppose If in dbtab:

OBJECT           OBJECT DESCRIPTION            CLASS           VALUE 
 OBJ 1             MACHINE 1                       A               20 
 OBJ 2             MACHINE 2                       B               30
 OBJ 3             MACHINE 3                       C               40
 OBJ 4             MACHINE 4                       D               50

and I want my o/p as

OBJECT   OBJECT DESCRIPTION           A    B   C     D 
 OBJ 1         MACHINE 1            20     0    0     0
 OBJ 2         MACHINE 2              0   30    0     0
 OBJ 3         MACHINE 3              0     0  40     0
 OBJ 4         MACHINE 4              0     0    0    50

and if there is extra class called E it should display automatically ....if no then no need

Please advice

Karthik

Edited by: Karthik R on Jul 21, 2009 1:52 PM

Edited by: Karthik R on Jul 21, 2009 1:53 PM

Edited by: Karthik R on Jul 21, 2009 1:53 PM

Edited by: Karthik R on Jul 21, 2009 1:54 PM

Edited by: Karthik R on Jul 21, 2009 1:54 PM