10-20-2010 12:43 PM
Dear All,
Can any one post me a sample program for printing ALV list and clicking on some row opening another ALV as a secondary list?
I am able to do it till 2 lists (1 Primary and then 1 secondary) but I want it to be further for more than 4-5 sec. lists.
Pelase help.
I have tried using many forums on my own and finally asking for code.
<removed by moderator>
PS: For best result/code/solution/guidence I will apericiate and will give the best answer.
Regards,
Ravindra Sonar.
Edited by: Thomas Zloch on Oct 20, 2010 2:57 PM
10-20-2010 1:20 PM
Hi Ravi
i think if you can do it to 2 level secondary list then why can't to the next levels.
I beleive it is the same thing you need to do every time you want to display a fresh list.
I hope you will find out the solutuon by yourself.
This would be best for your own practice and knowledge.
Thanks
Lalit Gupta
10-20-2010 1:20 PM
Hi Ravi
i think if you can do it to 2 level secondary list then why can't to the next levels.
I beleive it is the same thing you need to do every time you want to display a fresh list.
I hope you will find out the solutuon by yourself.
This would be best for your own practice and knowledge.
Thanks
Lalit Gupta
10-23-2010 8:18 AM
Hey thanks Lalit,
I could manage to enhance my ALV up to whatever level I wanted.
Now I wanted to lern the ALV creating by OOPS concepts, for that I have reffered the standard programs, wiki and Help.sap.
Started with Wiki Link -
[http://wiki.sdn.sap.com/wiki/display/ABAP/7stepstocreateOOPS+ALV|URL]
And below are the standard programs I reffered.
BCALV_GRID_01
BCALV_GRID_02
BCALV_GRID_03
BCALV_GRID_04
BCALV_GRID_05
BCALV_GRID_06
BCALV_GRID_07
BCALV_GRID_08
And help link was
http://help.sap.com/saphelp_47x200/helpdata/en/0a/b5533cd30911d2b467006094192fe3/frameset.htm
I manage to understand the OOPS concepts and able to create the programs on my own.
Now what I wnat is -.
There are Table/Structure of the dictionary only, and thats what we need to pass to ALV. More over if I dont want all fields of the table there is no way to choose fileds what I want.
Is there any way that we can use our own structure for Fieldcatalog?
Please help me in learning.
thanks and Regards,
10-23-2010 10:58 AM
10-26-2010 3:09 PM
I got the answer by my own. I was actually asking field catalog but couldnt frame it properly. But somehow I solved it. thanks to all.