Hey All,
I am trying to add two new field to workorder component but i am getting the fallowing while getting the workorders into agentry client!
SAPWM12 Worker Thread########User::rethrowException::JAVA.LANG.NULLPOINTEREXCEPTION: WHILE TRYING TO INVOKE THE METHOD COM.SYCLO..WORKORDER.PARTSEX.SETPROPERTIES(COM.SYCLO.SAP.JCO.JCO$TABLE, COM.SYCLO.SAP.COMPONENT.WORKORDER.OBJECT.WORKORDER) OF A NULL OBJECT LOADED FROM LOCAL VARIABLE 'P'
What i done is below;
1, I change the default steplet to my newly created one and do the same thing on the config panel.
2, Extend the GetWorkOrdersStepHandler
3. Extend CSWorkOrderFetchBapi and override processResults as fallow. As you see from the below screen i thought that i need to extend the CSWorkorder class also to call my extended Part class
Image may be NSFW.
Clik here to view.
4. This is my CSWorkorder Extended Class (CSWorkorderEx) I call PartsEx instead of Part here
Image may be NSFW.
Clik here to view.
5. This is the PartsEx Class that extended from Part class
Image may be NSFW.
Clik here to view.