cancel
Showing results for 
Search instead for 
Did you mean: 

Columns as rows...

Former Member
0 Kudos

Hi all,

I want to design a table such that my columns and rows will be dynamically created..

for eg.

D1 D2 D3 (columns)

A-row

B-row

C-row

Based on my i/p row and columns should be created dynamically... A,B,C,D are the separate fields.

D1, D2, D3 are the diff values of D that will be based on input.. In table UI element we get all the fields A,B,C,D in column wise only.. How to achieve this acc to ths reqmnt..

Thankx in advance...

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

resolved myself

Former Member
0 Kudos

For dynammic node refer this :

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4c70444a-0801-0010-7688-9e4bd844...

see page no. 7

also, you can make use of the methods in if_wd_context_node_info

ADD_CHILD_NODE, ADD_ATTRIBUTE etc..

http://help.sap.com/saphelp_nw70/helpdata/EN/67/6935425394033be10000000a1550b0/frameset.htm

Also Check the WDA component - DEMODYNAMIC in your sap system regarding the dynamic context node.

Hopes this will helps you

Thanx.

Saurav.

Former Member
0 Kudos

You will have to create your context node dynamically during runtime.

Check these links.Hope it helps!

[Tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4c70444a-0801-0010-7688-9e4bd844b783]

[Check this thread|]

Regards,

Radhika.