Skip to Content
0
Jan 12, 2012 at 11:50 AM

Node Binding error

42 Views

Hi All,

I am facing node binding error. Please someone help me. I wrote following code.

Zhr_Str_Employee_Rel eno = new Zhr_Str_Employee_Rel();

wdContext.nodeIt_Emp_No().bind(eno);

eno.setEmp_No(wdContext.currentOutput_usernameElement().getEmployeenumber());

IPrivateZsubordinatesView.IIt_Emp_NoNode empno = null;

empno.bind(eno);

when i run the application I am getting folllowing error.

com.sap.tc.webdynpro.progmodel.context.ContextException: Node(ZsubordinatesView.Zhr_Fm_Relations_Down_Input.Output.It_Emp_No): cannot bind or add elements because the node has no valid parent

It seems that I am going somewhere wrong. Please someone help me.

Thanks

Uday

Edited by: Uday Kumar Kanike on Jan 12, 2012 1:00 PM