cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction returns empty string

Former Member
0 Kudos

Hi experts,

Am doing customisation in Work Manager 6.3 for equipment create ,

I have created new Java project which contains my customised SAP pojo object,Steplet,Steplet handlers,Bapi Class by adding my new customised  field called SIze1

I have configured all SAPOBJECT,BAPIWRAPPER,STEPLETHANDLER in Syclo config panel

but while am triggering transmit it doesnt contain any value in the pojo object properties ,my transaction get string returns empty string ,i dont know why but i have configured everything correctly,In debug it returns empty string

in SMP logs

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|create|Function /SMERP/PM_DOEQUIPMENT_CRT created  |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|setImportParameters|TIMESTAMP_FROM_MOBILE=20160618185808 |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|setImportParameters|COMMIT_WAIT=X |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|setImportParameters|MOBILE_USER=Z_SERVICE |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|setImportParameters|USER_GUID=005056A204221EE5BBBF07FB6C030C48 |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|setImportParameters|MIDDLEWARE_CALL=X |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|IV_REFERENCE_NUMBER= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|User::getString|begin |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|User::getString|Property: transaction.ObjectType =  |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|OBJECTTYPE= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|MANFACTURE= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|MANSERNO= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|MANMODEL= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|CONSTYEAR= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|CONSTMONTH= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|START_FROM= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|PLANPLANT= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|DESCRIPT= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|User::getString|begin |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########ERROR|Z_SERVICE|3|session-3|11151|User::getString|Property: transaction.Equipment.Size1 not found, returning empty string |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|User::getString|Property: transaction.Equipment.Size1 =  |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|ZSIZE1= |

2016 06 18 18:58:09#+0100#INFO#System.out###Agentry SAPWM48 Worker Thread########INFO|Z_SERVICE|3|session-3|11151|EquipmentCreateBAPI|EQUICATGRY= |

correct me please if am doing anything wrong ,thanks for your kind comments

Thanks

Kavi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I have added my new field in Transaction adn Equipment object as well

Former Member
0 Kudos

Can you confirm the name of the field?
Also, check the Post transaction, does it send the full object, or does it send each field, if it is each field, make sure you new fields are there also.

Former Member
0 Kudos

Solved,



Customized SAPOBJECT class is not properly mapped

Thanks

Kavi

Answers (1)

Answers (1)

mark_pe
Active Contributor
0 Kudos

Kaviyasaru,

You may try to use the Agentry Test Environment (ATE) Transaction debugger feature.  Select your transaction name and check all the options to see when you duplicate it.  Then from each transaction properties on each step, check what the value is during applied. 

From here you can determine where your missing thing is. 

If the ATE checks out then you have to do the Eclipse Debugger to see where it is failing.

Some reference: Debug SMP 3.0 Agentry Java in Eclipse - SAP Mobility - SCN Wiki

At this point, you should be able to figure it out. 

Regards,

Mark Pe
SAP Platinum Support Engineer