Skip to Content

Set values for Child Node

Helo Everyone,

In my requirement I need to set Child Node's Values. Details below..

-


CONTEXT NODE

|

|----- Node-A (cardinality 0..n ) not singleton ( Cardinality should be 0..n, bcz bound to Table )

|----- Node-B (Child Node) (Cardinality 0..n) not singleton (Cardinality should be 0..n, bcz bound to Drop Down )

|------Attribute-C (Node-B)

|------Attribute-D (Node-B)

|------ Attribute-1 (Node-A)

|------- Attribute-2(Node-A)

Now i wanna set the values for Node-B (i.e. C&D values need to be set)... and one more thing to say, when I maintain cardinality of Node-A as 1...1, setting values to C & D is happening fine, after that when binding to Table then it is throwing dump.

Can you please help me out.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Posted on May 04, 2011 at 04:01 AM

    Hi.,

    I think u are trying to use dropdown in table , check this article for that.,

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c03227f9-e48f-2c10-4bad-8ebdec704f3d?quicklink=index&overridelayout=true.

    And if u change cardinality 1..1 then trying to bind table it will give error ., cardinality 1..1 means it should contain 1 and only one value.,

    cardinality 0..1 means it can contain atmax 1 value also it cannot contain any.

    cardinality 0..n means it can contain atmax n values also it cannot contain any.

    cardinality 1..n means it can contain atmax n values also it has contain atleast one value.

    hope this helps u.,

    reply if u need some more clarifications.,

    Thanks & Regards

    Kiran

    Add comment
    10|10000 characters needed characters exceeded