cancel
Showing results for 
Search instead for 
Did you mean: 

Display two or more tables in object table of WEBDYNPRO-Abap

Former Member
0 Kudos

Good day experts, I'm starting to program in WEB DYNPRO - ABAP, my question is this, you can use and display two or more tables in the object table, for example i have table Z and the fields Z1, Z2 and Z3, the table Y and fields Y1, Y2, Y3 and Y4.

I need to display the fields Z1, Z2, Y1, Y3 and Y4, have some example to guide me.

Thanks for your valuable time.

Best regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Yes, you can show.

Firstly create a node of 0:N cardinality and add the attribute according the table field, you want to show. Now create a table UI element in some view and create binding with this node. and then on WDINIT method of View set the value in node.

Here is some document which will help you to learn WDP.

amy_king
Active Contributor
0 Kudos

Hi Brujo,

You can give your Table any structure you need. Define in your context a 0..n or 1..n node and add to it attributes for Z1, Z2, Y1, Y3, Y4. Now write a supply function to populate the context node with data as needed. Finally, use the Table Wizard to create a Table UI element whose data source is the context node.

In your system, take a look at example components WDR_TEST_TABLE, DEMO_TABLE and WDT_TABLE.

Cheers,

Amy