cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Work Manager 6.2 - Push Work Order not working

Former Member
0 Kudos

Hi All,

I am working on SAP Work Manager 6.2 Push work order functionality and currently I am not getting push notification for newly created work order in device or ATE. Below things are working fine.

  • Newly created work order is coming to /SYCLO/PSH01 AND /SYCLO/PSH02 Table.
  • Scheduled job for program /SYCLO/CORE_PUSH_PROC_PROG is sending Push work order to SMP server. Screen shot is attached.
  • As this is Z application, hence I have  made changes into response mapping XML of workorderpushHTTPListner.
  • 8282 port is set in Syclo Config Panel and Agentry.ini
  • Telnet command is working fine from ECC to SMP server and which is why I am getting XML in SMP server.

SMP server log is as below.

2015/11/28 19:18:12.941: + Base XPath=Z_SCS21_SERVORD_PUSH
2015/11/28 19:18:12.941:   Compiling XPath: /Z_SCS21_SERVORD_PUSH
2015/11/28 19:18:12.941:   Base xpath returned 1 node
2015/11/28 19:18:12.941: Setting String property 'data' to "<Z_SCS21_SERVORD_PUSH><SAPPushNotif><app>Z_SAP_CUSTOMER_SERVICE_21</app><users><usr SCENARIO_ID="Z_SCS21_SERVORD_PUSH" USER_GUID="00155D7207161ED5A49BA75BAD8A80C8" USER_ID="KAIVAN"/></users></SAPPushNotif></Z_SCS21_SERVORD_PUSH>"
2015/11/28 19:18:12.956: Setting other object properties...
2015/11/28 19:18:12.956: 1 result row was processed
2015/11/28 19:18:12.956: received message, 1 objects
2015/11/28 19:18:12.956: HTTP-XML Back End: begin transaction
2015/11/28 19:18:12.956: Executing 1 Read steps
2015/11/28 19:18:12.972: Executing ServiceEvent Read step 'WorkOrderPushListenerSteplet'
2015/11/28 19:18:12.972: Service Event: Executing Service Event 'WorkOrderPushHTTPListener' Read step 'WorkOrderPushListenerSteplet'
2015/11/28 19:18:12.972: Service Event: Executing Service Event 'WorkOrderPushHTTPListener' Read step 'WorkOrderPushListenerSteplet'
2015/11/28 19:18:12.972: + BackEnd=Java-SAPJavaConnection
2015/11/28 19:18:12.972:   Backend step is configured as a Java Class; using Java class com.syclo.sap.component.workorder.steplet.WorkOrderPushListenerSteplet
2015/11/28 19:18:12.972:   Using Java Class com.syclo.sap.component.workorder.steplet.WorkOrderPushListenerSteplet for WorkOrderPushListenerSteplet
2015/11/28 19:18:12.988:   Getting Java results in the the 'WorkOrderPushListenerSteplet' step (java class com/syclo/sap/component/workorder/steplet/WorkOrderPushListenerSteplet)
2015/11/28 19:18:12.988:   : 1 lines, 0 non-printing characters, 20 total characters

  The module is 'PM'

2015/11/28 19:18:13.004:   The root object is 'PushObject'
2015/11/28 19:18:13.004:   Trying to read results by calling getReturnData()
2015/11/28 19:18:13.004:   : 1 lines, 0 non-printing characters, 81 total characters

  getReturnData() method returned null, falling back to reading _returnData field

2015/11/28 19:18:13.020:   Processing public field _returnData: Ljava/lang/Object;
2015/11/28 19:18:13.020:   _returnData is a single object: 'Ljava/lang/Object;'
2015/11/28 19:18:13.020:   Mapping public fields of Java Class 'java/lang/Object' to Agentry object 'PushObject'
2015/11/28 19:18:13.020:   No public field notification_id found in java/lang/Object for unique ID, and no field %3 found for notification ID. Cannot determine object or notification for data.
2015/11/28 19:18:13.020: HTTP-XML Back End: commit transaction
2015/11/28 19:18:13.036: Beginning transactions
2015/11/28 19:18:13.036: HTTP-XML Back End: begin transaction
2015/11/28 19:18:13.036: Executing 0 DataState steps
2015/11/28 19:18:13.036: Executing 0 Update steps
2015/11/28 19:18:13.052: Committing transactions
2015/11/28 19:18:13.052: HTTP-XML Back End: commit transaction
2015/11/28 19:18:13.052: generating response
2015/11/28 19:18:13.052: parsing definition into response
2015/11/28 19:18:13.052: Sending success response

I found one SAP Note  2128297 for the issue marked in bold but It didn't help me.

Kindly help me to solve this issue.

Need your help  here. Jason Latko ,Bill Froelich, Manju Venkatesh Syam YalamatiMark Pe

Thanks in Advance

Regards,

Kaivan Shah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi All,

My issues got resolved after doing some changes into below methods of Push work order class

because few assignment types are not supported for Push work order in Standard SAP Work Manager.

  • DETERMINE_PUSH_RECIPIENTS
  • BUILD_PUSH_DATA
  • CALL_PUSH_MSG_CALLBACK

Regards,

Kaivan Shah

christian_janson
Participant
0 Kudos

This message was moderated.

Answers (0)