0

I am asking somebody to give VB6 code support to create a .DLL to fetch data from SAP BAPI. I don't have any idea what ActiveX control to use or where to get started. I am new in this kind of programming. Your help is greatly appreciated.

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48

1 Answers1

1

VB6 - Difficult.

Your best bet is probably access the BAPI through web services (every BAPI is exposed as Web Service; at least in more recent SAP versions). But that does not seem to be that simple (google for it).

There was once a COM Component for accessing RFC functions, but that is no longer supported. The last option would be to use the RFC SDK and create a VB6 wrapper for accessing the exported functions in libRFC.dll (maybe not the easiest task).

Things get a lot more simple if you switch to VB.Net (or any other .Net language): There is a new version of the SAP .Net Connector.

Stefan Egli
  • 17,398
  • 3
  • 54
  • 75