Skip to Content
avatar image
Former Member

Problem related to a column in a table?

Hi All,

I have a table for which i have set for five columns the data source as a model node and for the remaining one the data source is a different value node.

The column for which i am binding the value node ,I want to set it according to the response from the BAPI node.

IValueResponseStatusElement valueRes = wdContext.nodeValueResponseStatus().createValueResponseStatusElement();

for (int i = 0; i < wdContext.nodeT_INSTPLANS().size() ; i++) {

// Logic to get status

wdContext.nodeValueResponseStatus().addElement(valueRes);

}

Everything is working fine. But it is setting only one value to all the rows.

Is there any way to bind the multiple nodes to one table?

Regards,

DK

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 08, 2006 at 08:52 AM

    Hi Dipendra,

    I think we can't bind multiple nodes(Data Sources) to a single table.

    We have one work around for this, Just Create a Value node with (5 Bapi Elements + Other Datasource to one) and bind this node to table.

    Excecute the required BAPIs to get the output. Then, get the values from BAPI output nodes and set it to the 5 original column attributes + 1 custom column attributes of the value node.

    Correct me, if there is another way for this one

    Regards,

    Sridhar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 08, 2006 at 08:50 AM

    DIPENDRA,

    For value nodes set singleton=false.

    VS

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      ...and value nodes must be children of model node (with cardinality 1..1) if your model node is used as data source.

      VS