Skip to Content
author's profile photo Former Member
Former Member

Columns as rows...

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...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2009 at 10:30 AM

    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|create-dynamic-context-node]

    Regards,

    Radhika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 01, 2009 at 04:49 PM

    For dynammic node refer this :

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

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2009 at 11:56 AM

    resolved myself

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.