background preloader

SAP

Facebook Twitter

RFC_READ_TABLE with Ruby and SAP. Posted on April 17, 2008 by Adam Warning: another code sample is included in this post.

RFC_READ_TABLE with Ruby and SAP

I spent a few hours this morning trying to use Piers Harding’s SAP/Rfc library for Ruby to read a table from SAP. I found several examples using other languages (Perl, VBscript, PHP, etc.), but the only Ruby example I could find reads the entire table. Figuring out how to load the “options” took some trial and error. The idea of this example is to read the “LQUA” table in SAP which stores information about where to find a particular material in the warehouse.

Sapnwrfc. Community Network Blogs. SAP has undertaken a project to re-engineer the RFC SDK (creating the SAP NetWeaver RFC SDK), which is good news for the Connectors (RFC APIs).

Community Network Blogs

This means that eventually - all the RFC connectors, and 3rd party products will need to be updated to use the new under-carriage. So whats the big deal? RFC is a stable technology, and has been for many years, so I can understand why this revelation may not seem very exciting. What is exciting is the unprecedented level of cooperation, understanding and good will that has come out in a relatively short time, as I have moved through the process of redeveloping the Ruby and Perl RFC Connectors. The result is (and will be more so), a better fit in terms of how the SDK works with Dynamic Languages, allowing the API that the Dynamic Languages offer for RFC connectivity, to better reflect the nature of those programming languages. Community Network Forums: Ruby on Rails + RFC ... SAPRFC Homepage.