Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

To Read or Get Values From a serial Port to SAP ......

prkash_s
Participant
0 Kudos

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......

1 REPLY 1

hendrik_brandes
Contributor
0 Kudos

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