Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Add new field to EquipmentCreateBAPI in WM 6.2

$
0
0

Hi Neha,

 

I already added field to PM_DOEQUIPMENT_CRT bapi.

 

functionCRT.PNG

 

 

 

So far i came a point. The error changed now its ;

 

 

java.lang.NullPointerException: while trying to invoke the method com.syclo.sap.component.equipment.object.Equipment.getReferenceEquipment() of a null object loaded from field com.syclo.sap.component.equipment.bapi.EquipmentCreateBAPI._equipment of an object loaded from local variable 'this'

 

 

 

In the EquipmentCREATEBapi at super.setParameter(obj) method throws exception. I check the obj parameter and its null completely. Why this can be null ?

 

 

debugScreen.png

 

 

 

PS : in error it says getReferenceEquipment()  is null. Even i provide the value it's same. When running in default syclo classes even if this field is empty that doesn't cause any problem it creates Equipment.

 

 

Regards,

-Tahir


Viewing all articles
Browse latest Browse all 8581

Trending Articles



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