cancel
Showing results for 
Search instead for 
Did you mean: 

Problem related to a column in a table?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

sridhar_k2
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

DIPENDRA,

For value nodes set singleton=false.

VS

Former Member
0 Kudos

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

VS