2006 Sep 16 9:03 AM
Hello Experts,
I am facing a problem on displaying my ALV.
How can I show multiple record of an employee and his family members? i.e. If an employee has 3 members, it will come in 3 lines. Now I want to display employee name in 1st line not in 2nd and 3rd line.
1.Emp-1 Emp-Name-1 Family member-1 City State
2.----- -
Family member-2 -
-
3.----- -
Family member-3 -
-
4.Emp-2 Emp-Name-2 Family member-1 City State
How can I show it in ALV???
I want all memeber come in 3 row of one coloum,not the remaing thing show.
Message was edited by: Ankur Garg
2006 Nov 02 7:37 AM
Hi
U can directly add to ur fieldcatalog u can mention the text as wel as position in tht fieldcatalog attributes.
Hope this helps.
Regds,
Seema.
Hello Experts,
I am facing a problem on displaying my ALV.
How can I show multiple record of an employee and his family members? i.e. If an employee has 3 members, it will come in 3 lines. Now I want to display employee name in 1st line not in 2nd and 3rd line.
1.Emp-1 Emp-Name-1 Family member-1 City State
2.----- -
Family member-2 -
-
3.----- -
Family member-3 -
-
4.Emp-2 Emp-Name-2 Family member-1 City State
How can I show it in ALV???
I want all memeber come in 3 row of one coloum,not the remaing thing show.
Message was edited by: Ankur Garg
2006 Sep 16 9:32 AM
Hi Vikas,
In ALV this kind of handling data will be little difficult. You can try blocked ALV list
OR
In normal ALV and GRID ALV if you select the records on the display screen and click on the SORT button the system will automatically format the display as you want.
Cheers
VJ
2006 Nov 02 7:37 AM
Hi
U can directly add to ur fieldcatalog u can mention the text as wel as position in tht fieldcatalog attributes.
Hope this helps.
Regds,
Seema.
2006 Nov 02 7:41 AM
2006 Nov 02 7:47 AM
Hi,
the Requirement is simple if you do it using the Hierarchial ALV list.
Check the sample code <b>BALVHD01</b>.
Regards
vijay
2006 Nov 02 7:50 AM
Hi,
use Hierarchial ALV list.
In which at header level u can have emp and at item level
u can have family members
Regards,
Santhosh
2006 Nov 02 7:51 AM
hi
good
go to se38
put BCALV* and give F4 you ll find out of examples related to hirarchical ALV ,
go through this link,
http://www.sap-img.com/abap/how-to-use-alv-for-hierarchical-lists.htm
thanks
mrutyun^
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |