Professional Documents
Culture Documents
Read COMM Port Using ABAP W - o Third Party Software - in My IT Knowledge
Read COMM Port Using ABAP W - o Third Party Software - in My IT Knowledge
Read COMM Port Using ABAP W - o Third Party Software - in My IT Knowledge
Good news is that It's very much possible from ABAP without involving third party s/w.We have tested this
succesfully.
Step 2: Register the Windows activeX control MSCOM32.OCX on the client PC where the Weighbridge's serial port
is connected.
Step 3: Implement this control in Transaction SOLE in SAP (Create an entry MSCOMMLIB.MSCOMM.1 and enter
the CLSID. {648A5600-2C6E-101B-82B6-000000000014}
Step 4: Active this MSCOMM32.OCX with Licence Key on the client PC where the Weighbridge's serial port is
connected.
Go to u201CHKEY_CLASSES_ROOT\Licenses\u201D
Restart the system and run the FM. if the data is coming on the serial port then you will get the result.
FM Code:
Copy Code
FUNCTION z_serial_comport.
"-------------------------------------------------------------------------------"
""""Local Interface:
"" IMPORTING
"" EXPORTING
1 of 5 28-Feb-19, 9:33 AM