on 10-19-2007 11:47 AM
Hi ,
I have a requirement where I have multiple rows in Value node.
I need to send all the rows from the Value node to the Model node.
Say if I have 3 records I need to send all the records to the Model Node.
<b>Rightnow I am able to send only the last record to the Model Node as many times as the number of records in the Value node.</b>
Can someone tell me how we can do that?
Please help.
Points assured.
Hello
I hope this helps you
//binding the input
Zabc_Input input = new Zabc_Input();
for(int i = 0; i < wdContext.nodeCtx_vn_ABC().size();i++)
{
//Zpbook is the table parameter
Zpbook node = new Zpbook();
node.setD_Id(wdContext.currentCtx_vn_ABCElement().getObjid());
input.addIt_Create(node);
}
wdContext.nodeZabc_Input().bind(input);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am doing eaxctly the same Vindhya.
But I need the last record is going into the R/3 system.
for (int i=0;i<wdContext.<ValueNode>.size();i++)
{
IPrivate<ViewName>.<ModalEle>Element elem = wdContext.create<ModalEle>Element(Tb_Fin);
Tb_Fin.setAttr(wdContext.node<ValueNode>).<ValueNode>ElementAt(i).getAttr());
wdContext.node<ModalNode>().bind(input);
}
Sneha Singh
Hi Sneha,
You need to add your elem to your input element
for (int i=0;i<wdContext.><ValueNode>.size();i++)
{
IPrivate<ViewName>.<ModalEle>Element elem = wdContext.create<ModalEle>Element(Tb_Fin);
Tb_Fin.setAttr(wdContext.node<ValueNode>).<ValueNode>ElementAt(i).getAttr());
<b>input.add<Element>(elem); </b>
wdContext.node<ModalNode>().bind(input);
}
Regards,
Murtuza
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.