Skip to Content
0
Former Member
Sep 07, 2007 at 03:18 PM

Read UI Elements to pass them to BAPI

8 Views

Hi All,

I am trying to to read from UI elements on my screen . When I try the following code, it errors out with java.lang.NullPointerException exception. It appears, I am reading a value that has not been set. I am doing this in my OnActionSave method.

wdContext.nodeDetails_Out().currentDetails_OutElement().getEmpNo()

tableInput.setEmpNo(wdContext.nodeDetails_Out().currentDetails_OutElement().getEmpNo());

Details_Out (output node) elements is what bounded to my text field. I also have Details_Input table in my context.

Any help is appreciated.