Application Development and Automation 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: 
Read only

Multiple ALV Grid's using FM's

Former Member
0 Likes
1,397

Hi Guys,

Can anybody tell me how to display Multiplae ALV grids using FM's.

my req:- I have to display Header details and Item Details(here Header means some text and with values in 4 to 5 lines) like that below the 1st header and item details , I have to display 2nd Header and Item Details.simillarly for all the header also i have to display the Item Details.

Is it possible by using ALV FM's Hirerichal Sequantial ALV's.If possible please give me the names of those FM's.

Thanks,

Gopi

Hi Guys,

Can anybody tell me how to display Multiplae ALV grids using FM's.

my req:- I have to display Header details and Item Details(here Header means some text and with values in 4 to 5 lines) like that below the 1st header and item details , I have to display 2nd Header and Item Details.simillarly for all the header also i have to display the Item Details.

Is it possible by using ALV FM's Hirerichal Sequantial ALV's.If possible please give me the names of those FM's.

Thanks,

Gopi

9 REPLIES 9
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,289

The Hierarchial Sequential ALV supports having 1:n relation ship between the header and detail, meaning that you can have n number of rows to exactly one row of the header. You can not have multiple row headers, but of course you can have multple header rows. Confused?

Regards,

Rich Heilman

Read only

0 Likes
1,289

Hi Rich,

Can u tell me the FM for Hierarchial Sequential ALV Grid.

I have to display 1st header which conataind details like date , Plant , Purch Org and Quantity str type.then below this Item data which containse Material , Period , Fiscal year Vendor and Mixing ratio........like that.for other plant (Header details)i have to display the item details

Is it possible using FM for Hierarchial Sequential ALV Grid?

If not is it Possible to display the Output using OO ABAP concept i mean my above requiremnt?If so how?

Thanks,

Gopi

Read only

0 Likes
1,289

Gopi,

Look at this standard report. <b>RM07MLBS</b>. It does the same thing as what your requirement asks for. It has 2 headings.

Thanks

Aneesh.

Read only

0 Likes
1,289

Hi Aneesh,

The Report which u gave is for ALV List Dsiplay but i need for Grid Display.

Thanks,

Gopi.

Read only

Former Member
0 Likes
1,289

Hi Gopi,

Multiple ALV Grid functionality cant be achieved using ALV FM.

Instead you need to opt for OOPS ALV. Its possible through OOPS ALV by placing several containers on the screen & then populating them with ALV's.

Best regards,

Prashant

Read only

Former Member
0 Likes
1,289

I'm not sure if this is what u r looking for, but just chk this link:

http://sapprograms.blogspot.com/2008/04/hirarchial-alv-report-1.html

Read only

deepak_dhamat
Active Contributor
0 Likes
1,289

Hi Gopi ,

Prashant Patil is right try doing using Containers with OPPS alv , you will also learn something new

regards

Deepak.

Read only

Former Member
0 Likes
1,289

Hi Gopi,

As all said, you can create a container using SE51 and define multiple grids in it using the OO concept.

Regards,

Sonal

Read only

Former Member
0 Likes
1,289

Hi Gopi anne,

If your looking of OOPS ALV Refer this Program : SALV_DEMO_HIERSEQ_COLUMN otherwise use this function module : REUSE_ALV_HIERSEQ_LIST_DISPLAY.

Regards,

Dhina...