cancel
Showing results for 
Search instead for 
Did you mean: 

Error message return code 104 in SM21 when receiving telegrams from automated picking machine

mpecoraro
Participant
0 Kudos
1,381

Hi SAP Experts,

I am testing sending & receving telegramson a SAP S4 embeded EWM system. The system is sending telegrams to a automated picking machine (non-sap). They are connected by TCP IP connection with websockets and both servers are running on Linux. The websocket is connected to an ABAP push channel application. We are currently able to send telegrams to the server of the picking machine but cannot receive any telegrams.

Whenever the sap system sends a telegram to the picking machine and the picking machine sends back an acknoledgememnt the error messagethat is in SM21 is "Transaction canceled 00 001 ( Receive error with error text: ERROR-WEBSOCKET-WS_ MPI_ERROR (return code 104) )"

I performed another test where the automated picking machine would send a random message to the sap server (one where no warehouse order was created in SAP) and the error in SM21 was "Runtime error "ASSERTION_FAILED" occurred." Indicating that the data reached the application as the copde in the push chanel verifies if an order exists and then inserts into a telegram history table.

Can someone please help me with this problem?

Regards,

Marco

Accepted Solutions (1)

Accepted Solutions (1)

mpecoraro
Participant

Hi,

The resolution for the above was to set the picking machine responses to telegrams from asychronous to synchronous. We also got the same issues when telegrams sent from the picking machine to SAP did not contain a line feed indicating to SAP that it was the end of the message.

Regards,

Marco

Answers (2)

Answers (2)

mamartins
Active Contributor
0 Kudos

Is that picking machine a SAP certified solution? https://www.sap.com/dmc/exp/2013_09_adpd/enEN/#/solutions

For integration scenarios like yours, usually a PI/PO system is involved, because is the SAP product to let SAP systems talk to non-SAP systems.

mpecoraro
Participant
0 Kudos

Yes the connection is working fine in the TCP/IP RFC connection. I inserted a breakpoint in method "IF_APC_WSP_EXTENSION~ON_START" that initiating WebSocket connection setup in the abap push application and it was reached however, theres no data in the message. It seems the contents of the telegram are now not included.