by swapp (1 Submission)
Category: Miscellaneous
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)

This is a class to encapsulate the functions of the SAP Remote Function Call Library (librfc32).
The class can be used to call SAP R/3 function modules from a Visual Basic application.
It supports IMPORT parameters, EXPORT parameters, TABLES and receives EXCEPTIONS.
Allocating and freeing memory is completely encapsulated.
The example application shows how to read the countries from table T005T with the standard function module RFC_READ_TABLE.
The class depends on the Remote Function Call Library (librfc32.dll) from SAP.
Tested on SAP Netweaver 7.0 (2004s) and SAP Netweaver 6.4 (2004).
This is the first Rfc-example on VBC.
Download CLibRfc32 Calling SAP R/3 function modules from VB (9 KB)