Skip to Content
avatar image
Former Member

How to display more than one table contents in one view...using ALV...

Hi All,

I need to display three tables using alv.

i have used one alv component in my application.

In my context i have three nodes ( for three tables )

when i am trying to map one node of my component control to 'DATA' of alv component

its working fine. i am getting the data of one table .

Now , my problem is for the remainig two tables . how these two nodes are mapped for the same alv 'DATA' attribute of alv component.

I also declared two more ALV COMPONENT to map to the other two table....But I cannot map those two tables because node is not available in the other two ALV interface controller ....Did any one come across problem like this?

Can any one help on this ?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 02, 2009 at 03:47 AM

    Hi Ponnuchamy,

    You can do this, by creating another two component usages of the same Component in the Component usages tab of the WDC with two different names.

    Once you create two another new component usages, you make use of their controllers and map the data node with their respective Nodes created for the ALV.

    Henceforth you will be able to define three ALVs' in the same view.

    I think i have given a basic idea of how to acheive this.

    Hope it helps

    Regards,

    Shashikanth. D

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 02, 2009 at 04:11 AM

    Hi Ponnuchamy,

    I think u have used one used components for displaying one ALV Table. For displaying more than one ALV Table Components create seperate used components for each one of component type SALV_WD_TABLE. After Creating the a seperate used components, It will create component usage for each and every used components. Here u can map the context to the component usage.

    Regards,

    Ragu.

    Add comment
    10|10000 characters needed characters exceeded