SAP Knowledge Base Article - Preview

3795738 - windows 11 weighbridge weight capture fails with ole_flush_call call_method_failed = 2 when using 64-bit sap gui

Symptom

  • Weight capture via weighbridge on Windows 11 fails while it works on Windows 10.
  • Error shown: “OLE_FLUSH_CALL is failing with exception CALL_METHOD_FAILED = 2, returning sy-subrc = 2.”
  • Failure occurs when creating ActiveX object MSCOMMLib.MSComm.1.


Read more...

Environment

  • SAP S/4HANA Cloud Private Edition
  • SAP GUI for Windows Controls
  • Microsoft Windows 11 (client)
  • Microsoft Windows 10 (client)
  • 64-bit SAP GUI for Windows installed on Windows 11 client

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

windows 11, weighbridge, weight capture, ole_flush_call, call_method_failed = 2, mscommlib.mscomm.1, mscomm32.ocx, sap gui 64-bit, sap gui 32-bit, activex, object creation failed, ole automation, hana integration, catch weight, windows 10, serial port, COM port, CreateObject, OCX compatibility, COM automation , KBA , BC-FES-CTL , SAP GUI for Windows Controls , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.