on 01-13-2012 11:01 AM
Hi All,
I want to create a SNo. column . With RFC i dint get this column and I have to create this additional column. Please someone help me with code.
Thanks
Uday
Edited by: Uday Kumar Kanike on Jan 13, 2012 12:02 PM
Dear Uday,
Create the custom context node and attributes (for populating rfc column data). also you can create extra attribute for Serial No. when you populating data from rfc, add the number in serial no.
like:-
wdContext.node<NODE>().invalidate();
I<NODE>Element ele = null;
for(int i=0; i<wdContext.node<RFC OUTPUT NODE>().size(); i++)
{
ele = wdContext.create <NODE>Element();
ele.setSerialNo(i OR i+1);
//for other attribute
ele.set<XYZ>(wdContext.node<RFC OUTPUT NODE>().get<RFC OUTPUT NODE>ElementAt(i).get<XYZ>());
wdContext.node<NODE>().addElement(ele);
}
Hope it will helps
Best Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.