Application Development and Automation 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: 
Read only

MS Access make a Remote Function call to SAP

Former Member
0 Likes
714

I am doing the technical specs on a system where we need to have a MS Access data base make a call to a SAP functional module that will be Remote Function call enabled.

I know how to create the SAP function module that is Remote Function call enabled.

We need to know how MS Access make the call to that Remote Function call enabled function module and where could we find this information.

We also need to know how does the SAP system return this information to MS Access.

There will be parameters and possibly some tables to import/export (do not believe ther will be any tables to import).

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
555

Hi Scott,

Please refer to the following file in SDN "How to connect to SAP R3 and call BAPI from MS Excel VBA.pdf" it gives a good example of making a VBA call to a SAP FM.

The same code for Excel with minor modification (Removal of Excel parts) should also work for MS Access.

You will need to have the SAPrfc libraries loaded onto the PC's that are making the call to SAP.

Cheers

David Cooper

Hi Scott,

Please refer to the following file in SDN "How to connect to SAP R3 and call BAPI from MS Excel VBA.pdf" it gives a good example of making a VBA call to a SAP FM.

The same code for Excel with minor modification (Removal of Excel parts) should also work for MS Access.

You will need to have the SAPrfc libraries loaded onto the PC's that are making the call to SAP.

Cheers

David Cooper

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
555

Check note: 583698.

It might help you.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
556

Hi Scott,

Please refer to the following file in SDN "How to connect to SAP R3 and call BAPI from MS Excel VBA.pdf" it gives a good example of making a VBA call to a SAP FM.

The same code for Excel with minor modification (Removal of Excel parts) should also work for MS Access.

You will need to have the SAPrfc libraries loaded onto the PC's that are making the call to SAP.

Cheers

David Cooper