Quantcast
Viewing all articles
Browse latest Browse all 3273

Workmanager - extend workorder component (Urgent)

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.
c1.jpg
    

 

4. This is my CSWorkorder Extended Class (CSWorkorderEx) I call PartsEx instead of Part here

 

Image may be NSFW.
Clik here to view.
c2.jpg

 

5. This is the PartsEx Class that extended from Part class

Image may be NSFW.
Clik here to view.
c4.jpg

 

 

 

Bill Froelich

Mark Pe

Stephen Streeter

Ajitesh Upadhyaya

Michael Haydock


Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>