cancel
Showing results for 
Search instead for 
Did you mean: 

New Ruby library for accessing SAP with RFC

former_member211904
Participant
0 Kudos

Hi guys and girls,

I have started a new project for accessing an ABAP system with RFC using Ruby. It consists of a Ruby library that is a wrapper around the libnwrfc.so library using Ruby-FFI (so basically no compilation is needed, as it calls the C functions directly).

It's still early days, and there's not much to show for the effort, but you can do some basic function-calling with it.

You can find it here: https://github.com/mydoghasworms/nwrfc

Feedback and contributions are welcome.

Regards,

Martin

0 Kudos

Hi Martin

Can we use this library to make changes to SAP data?

For Ex: In case if I want to change the equipment description, can I do it using this library. If yes can you please tell how.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

michael-john_turner
Active Participant
0 Kudos

Hi Martin,

Nice!

I assume you've seen Piers Harding's [Ruby sapnwrfc|http://raa.ruby-lang.org/project/sapnwrfc] - although it doesn't use FFI, it may be a useful reference.

Regards, MJ

former_member211904
Participant
0 Kudos

Hi MJ,

I have yes, and I have used Piers' gem for accessing SAP too, but I have been itching to write my own library for this as well, and doing it with FFI seemed to be a nice challenge.

I have just posted an announcement for an update to the gem (0.0.1), as the current one will have failed miserably.

All the best,

Martin