Skip to Content

Work Manager 6.2 DMS Push Issue

Hello Everybody,

I am working on downloading attachments from Functional locations in WM 6.2. I am getting "Request Already Submitted" Message.

Looking at the logs and SAP tables, I see that the push request reached SAP and SAP's HTTP call on port 8282 reached SMP server, But SMP server is unable to process the XML message.

the SAP XML message is below.

<Z_FM_SWM62_DMS_DOCUMENT_PUSH><SAPPushNotif><app>Z_FM_WORK_MANAGER_62</app><users><usr SCENARIO_ID="Z_FM_SWM62_DMS_DOCUMENT_PUSH" USER_GUID="B499BAA9C5121EE582DA4F4595B6533D" USER_ID="TESTUSER"/></users></SAPPushNotif></Z_FM_SWM62_DMS_DOCUMENT_PUSH>

I changed the Push scenario ID, Outbound Trigger ID to custom name.

Reading at the logs i suspect that the java class is not able to parse the XML. Not sure if i am right. Below is the log.

One of the log says "Received HTTP Post message that went unclaimed by service events"

I have changed the application globals variable DMSScenarioID to Z_FM_SWM62_DMS_DOCUMENT_PUSH in the agentry application,

Appreciate any help.

+ WorkFunction=000000007EF4F628 + User=test.services.fm.sapwm62-TESTUSER + User=test.services.fm.sapwm62-TESTUSER Received Business Object Fetch message 83 status changed to 'In Progress' + Application=test.services.fm.sapwm62 Received Object Fetch: DocumentPushRequest Return type expected: DummyFetchObject 0 client objects Clearing transactions for test.services.fm.sapwm62 Remove data Fetch 'DocumentPushRequest': Getting back end connections Fetch 'DocumentPushRequest': Beginning transactions for Client Exchange HTTP-XML Back End: begin transaction Fetch 'DocumentPushRequest': Executing 0 Client Exchange steps Fetch 'DocumentPushRequest': Committing transactions for Client Exchange HTTP-XML Back End: commit transaction Fetch 'DocumentPushRequest': Begining transactions for Server Exchange HTTP-XML Back End: begin transaction Fetch 'DocumentPushRequest': Executing 1 Server Exchange steps Fetch 'DocumentPushRequest': Executing Server Exchange step 'DocumentPushRequestSteplet' + BackEnd=Java-SAPJavaConnection Backend step is configured as a Java Class; using Java class com.syclo.sap.component.documentmanagement.steplet.DocumentPushRequestSteplet Using Java Class com.syclo.sap.component.documentmanagement.steplet.DocumentPushRequestSteplet for DocumentPushRequestSteplet Getting Java results in the the 'DocumentPushRequestSteplet' step (java class com/syclo/sap/component/documentmanagement/steplet/DocumentPushRequestSteplet) : 1 lines, 0 non-printing characters, 20 total characters

The module is 'PM'

The root object is 'DummyFetchObject' Trying to read results by calling getReturnData() : 1 lines, 0 non-printing characters, 81 total characters

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

Processing public field _returnData: Ljava/lang/Object; _returnData is a single object: 'Ljava/lang/Object;' Mapping public fields of Java Class 'java/lang/Object' to Agentry object 'DummyFetchObject' 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. Fetch 'DocumentPushRequest': Committing transactions for Server Exchange HTTP-XML Back End: commit transaction Fetch 'DocumentPushRequest': Begining transactions for Removal HTTP-XML Back End: begin transaction Fetch 'DocumentPushRequest': Executing 0 Removal steps Fetch 'DocumentPushRequest': Committing transactions for Removal HTTP-XML Back End: commit transaction Fetch 'DocumentPushRequest': Begining transactions for Object Read HTTP-XML Back End: begin transaction Fetch 'DocumentPushRequest': Executing 0 Object 'DummyFetchObject' Read steps Fetch 'DocumentPushRequest': Committing transactions for Object 'DummyFetchObject' Read HTTP-XML Back End: commit transaction 0 to delete 0 to send Everything sent, sending Ack + User=test.services.fm.sapwm62-TESTUSER + ANGEL Vine=4014031771 Sending response, type 0 + ANGEL Connection=10.16.50.42 Attempt to send 2 bytes of data + Data Chunk=0 Sending 2 bytes of data (with header) + WorkFunction=000000007EF4F628 + BackEnd=HTTPXML-HTTPXMLSystemConnection Received content type text/html; charset=iso-8859-1 Parsing content into CGI + BackEnd=HTTPXML-HTTPXMLSystemConnection POST Request received: / : 2 lines, 0 non-printing characters, 266 total characters

Content Received:

<Z_FM_SWM62_DMS_DOCUMENT_PUSH><SAPPushNotif><app>Z_FM_WORK_MANAGER_62</app><users><usr SCENARIO_ID="Z_FM_SWM62_DMS_DOCUMENT_PUSH" USER_GUID="B499BAA9C5121EE582DA4F4595B6533D" USER_ID="TESTUSER"/></users></SAPPushNotif></Z_FM_SWM62_DMS_DOCUMENT_PUSH>

POST Request converted into backend format: / Checking service event 'WorkOrderPushHTTPListener' for POST / + BackEnd=HTTPXML-HTTPXMLSystemConnection checking for XPath message does not match XPath Checking service event 'WorkorderPushByOperationHTTPListener' for POST / + BackEnd=HTTPXML-HTTPXMLSystemConnection checking for XPath message does not match XPath Checking service event 'WorkorderPushBySubOperationHTTPListener' for POST / + BackEnd=HTTPXML-HTTPXMLSystemConnection checking for XPath message does not match XPath Checking service event 'DMSDocumentPushHTTPListener' for POST / + BackEnd=HTTPXML-HTTPXMLSystemConnection checking for XPath message does not match XPath Checking service event 'BDSDocumentPushHTTPListener' for POST / + BackEnd=HTTPXML-HTTPXMLSystemConnection checking for XPath message does not match XPath Checking service event 'WorkorderPushByMRSHTTPListener' for POST / + BackEnd=HTTPXML-HTTPXMLSystemConnection checking for XPath message does not match XPath

Received HTTP Post message that went unclaimed by service events

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 20, 2015 at 04:49 PM

    I made Below changes to Service Events for DMSDocumentPushHTTPListener. I have updated the standard names to custom Z names.

    In the logs i see that it says "message matches XPath", so the changes i did helped, but still looks like i am missing something.

    2015/08/20 12:36:11.810: + WorkFunction=000000007E34F628 2015/08/20 12:36:11.810: + BackEnd=HTTPXML-HTTPXMLSystemConnection 2015/08/20 12:36:11.810: Received content type text/html; charset=iso-8859-1 2015/08/20 12:36:11.810: Parsing content into CGI 2015/08/20 12:36:11.810: + BackEnd=HTTPXML-HTTPXMLSystemConnection 2015/08/20 12:36:11.810: POST Request received: / 2015/08/20 12:36:11.810: : 2 lines, 0 non-printing characters, 266 total characters

    Content Received:

    <Z_FM_SWM62_DMS_DOCUMENT_PUSH><SAPPushNotif><app>Z_FM_WORK_MANAGER_62</app><users><usr SCENARIO_ID="Z_FM_SWM62_DMS_DOCUMENT_PUSH" USER_GUID="B499BAA9C5121EE582DA4F4595B6533D" USER_ID="TESTUSER"/></users></SAPPushNotif></Z_FM_SWM62_DMS_DOCUMENT_PUSH>

    2015/08/20 12:36:11.810: POST Request converted into backend format: / 2015/08/20 12:36:11.810: Checking service event 'WorkOrderPushHTTPListener' for POST / 2015/08/20 12:36:11.810: + BackEnd=HTTPXML-HTTPXMLSystemConnection 2015/08/20 12:36:11.810: checking for XPath 2015/08/20 12:36:11.810: message does not match XPath 2015/08/20 12:36:11.810: Checking service event 'WorkorderPushByOperationHTTPListener' for POST / 2015/08/20 12:36:11.810: + BackEnd=HTTPXML-HTTPXMLSystemConnection 2015/08/20 12:36:11.810: checking for XPath 2015/08/20 12:36:11.810: message does not match XPath 2015/08/20 12:36:11.810: Checking service event 'WorkorderPushBySubOperationHTTPListener' for POST / 2015/08/20 12:36:11.810: + BackEnd=HTTPXML-HTTPXMLSystemConnection 2015/08/20 12:36:11.810: checking for XPath 2015/08/20 12:36:11.810: message does not match XPath 2015/08/20 12:36:11.810: Checking service event 'DMSDocumentPushHTTPListener' for POST / 2015/08/20 12:36:11.810: + BackEnd=HTTPXML-HTTPXMLSystemConnection 2015/08/20 12:36:11.810: checking for XPath 2015/08/20 12:36:11.810: message matches XPath 2015/08/20 12:36:11.810: 1 messages in queue, semaphore count is 0 + 1

    Capture_1.JPG (34.3 kB)
    Capture_2.JPG (39.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • When i run the program: /SYCLO/CORE_OTRIG_RETRY_PROG,

      I see that SMP is trying to get the document using FM: /SMERP/CORE_DOPUSH_DMSDOC_GET, but it says "no objects to push". When i debugged i same function module it is getting the data.

      Not sure if it is some access issue for SYCLO_DEV user. No sure what access it needs to get the documents.

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###Steplet::doSteplet() |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Thread-12008###Session timer sleeping for 120 seconds. |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###BAPI::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getFunction::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getFunction::/SYCLO/CORE_SYSTINFO_GET |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getRepository::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###create::Function /SYCLO/CORE_SYSTINFO_GET created |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::::SYCLO_DEV::before BAPI execute: /SYCLO/CORE_SYSTINFO_GET |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::::SYCLO_DEV::after BAPI execute: /SYCLO/CORE_SYSTINFO_GET |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###BAPI::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getFunction::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getFunction::/SMERP/CORE_DOPUSH_DMSDOC_GET |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getRepository::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###create::Function /SMERP/CORE_DOPUSH_DMSDOC_GET created |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::TIMESTAMP_FROM_MOBILE=20150821131320 |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::COMMIT_WAIT=X |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::MOBILE_USER=SYCLO_DEV |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::USER_GUID=B499BAA9C5121EE591EBBA91816D20A1 |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::MIDDLEWARE_CALL=X |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setFilterRange::filter.setRange for IT_SYCLO_MDW_USER_GUID_RA=I EQ B499BAA9C5121EE582DA4F4595B6533D |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::::SYCLO_DEV::before BAPI execute: /SMERP/CORE_DOPUSH_DMSDOC_GET |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::::SYCLO_DEV::after BAPI execute: /SMERP/CORE_DOPUSH_DMSDOC_GET |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###no objects to push. |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###SYCLO_DEV: SESSION END |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###BAPI::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getFunction::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getFunction::/SYCLO/CORE_MDW_SESSION1_DEL |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###getRepository::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###create::Function /SYCLO/CORE_MDW_SESSION1_DEL created |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::TIMESTAMP_FROM_MOBILE=20150821131320 |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::COMMIT_WAIT=X |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::MOBILE_USER=SYCLO_DEV |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::USER_GUID=B499BAA9C5121EE591EBBA91816D20A1 |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setImportParameters::MIDDLEWARE_CALL=X |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setParameters::begin |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setParameters::REMOVE_OBJECT=X |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###setParameters::LOW=B499BAA9C5121EE591EBBA91816D20A1 |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::::SYCLO_DEV::before BAPI execute: /SYCLO/CORE_MDW_SESSION1_DEL |

      2015 08 21 14:13:20#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::begin |

      2015 08 21 14:13:21#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###execute::::SYCLO_DEV::after BAPI execute: /SYCLO/CORE_MDW_SESSION1_DEL |

      2015 08 21 14:13:21#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###closeSession::begin |

      2015 08 21 14:13:21#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###closeSession::session closed for user SYCLO_DEV |

      2015 08 21 14:13:21#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###release::begin |

      2015 08 21 14:13:21#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###endStatefulConnection::begin |

      2015 08 21 14:13:21#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###release::begin |

      2015 08 21 14:13:21#0-400#INFO#System.out##anonymous#Agentry dom.services.fm.sapwm62 Worker Thread###endStatefulConnection::begin |

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.