02-09-2012 6:40 AM
To get values from serial port which is connected with a weighing Machine .
Weight Machine Name :Essae teraoka SI-810.
Is there any Possibilities for getting values Directly through abap Program
Note**** :-
currently : Im Using a Vb code for reading ( weight values ) from the serial Port and saving the Values in a text file
and then Uploading the Text file t to Sap .
Thanks in advance......
02-09-2012 10:51 AM
Hi,
this sound's like a similar problem I was facing some years ago.
We solved it in this way:
1. Define a SAP function module, which builds the interface for a remote (RFC) call
2. Create a remote-RFC-Server with Java
3. Perform the communication with the weight-controller via TCP in the Java-Code
4. Send it back via RFC-protocol to SAP.
You can easily transform you VB-coding if you are working with the .NET Framework. There is a SAP Library called .NET Connector ( NCO ), where you can build your own RFC-Server for handling SAP-outbound calls.
Kind regards,
Hendrik