cancel
Showing results for 
Search instead for 
Did you mean: 

Join Two tables in UI So that it look like one table.

Former Member
0 Kudos

Can anyone provide me how to join table in viewing..

Rite now i am reteiving fields in one table and other field in another table. But while viewing i want to join on UI.

I am getting gap between these 2 tables.

How to do that?

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Why do you want to merge two tables with different columns together to show them as a part of only one table? It is not a good practice at all. I shall better recommend you to add the attributes being displayed in the column of second table to the Node of the first table and display them together. Just set the values to the first node instead of the second node. That would help you displaying just table without having a gap between columns and also without turning the leadSelection property of the second table as none. Otherwise, if you select row from the first table, the selected row will not reach out till the columns of the second table.

Regards,

Tushar Sinha

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi nittinitu

Try to do the following:

1. Disable Lead Selection column in the right table (maybe it brings the vertical gap you mentioned?). Set the selectionMode='none'.

2. Vertical gap can appear also in layout data of the tables. Check layout data of the tables and ensure that there are no any cell padding or cell spacing, and cellDesign='padless'.

3. If necessary you can also disable grid lines in the tables.

But in general you'd better extend the first table with additional columns from the second one. It'll better look then two tables.

BR, Siarhei

Former Member
0 Kudos

Hi Nitin,

why you want to join two tables.? if you want to display the data from more then one data source (Node ) then you can use table variant in that case. See the following Links for reference hope it will help.

[Using Table Cell Variants in NW 2004s|http://wiki.sdn.sap.com/wiki/display/WDJava/UsingTableCellVariantsinNW2004s]

[Play Sudoku: Using Table Cell Variants in Web Dynpro Java|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961]

Regards

Jeetendra

Former Member
0 Kudos

I am using lower NWDS version than NW 7.0 SP15 WebDynpro Patch 10 . And I am getting from two different datasource.Rfc is designed like that only.

So still there is gap between 2 tables. how to make it zero so that it looks only one table.

christiansche
Active Participant
0 Kudos

hi,

create a local node with the fields of node1 and node2. fill the local node with the data from node 1 and node 2. show the local node in one table.

Best Reagrds,

Christian