on 12-09-2008 11:56 AM
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.
Whether i need to create two more alv components or Is there any possible to dynamic mapping ?
Thanks and Regards,
sravan.
Hi Sravan,
Now , my problem is for the remainig two tables . how these two nodes are mapped for the same alv 'DATA' attribute of alv component
You cann't map the multiple context nodes to the DATA node of interface controller.You have to declare 3 component usages.
or
you want to set the map the dynamically then use this code.
data:l_ref_interfacecontroller type ref to iwci_salv_wd_table.
l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
l_ref_interfacecontroller->set_data( lo_node ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.