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

Interface C++ application with SAP ECC using SAP NetWeaver RFC

Former Member
0 Likes
1,333

Hello Forum ,

I have a requirement to establish point to point communication between SAP and C++ based application to pass the production order information from ECC to C++ application . C++ application need to call a BAPI get the order information.

Can you please suggest how we can do it  - installing NW RFC SDK and few coding example ( C++ side and ABAP )  will be great help ?

Thanks

Sam

3 REPLIES 3
Read only

raphael_almeida
Active Contributor
0 Likes
825

Hi Sam,

I found it interesting his case because  I don't saw programs in C++ interfacing with SAP a long time, what we see today is more JCO and WebServices. Searching here on SCN, I found the following document I believe it may help you solve your problem, here is the link: SAP NetWeaver RFC SDK -- RFC Client Programs


Ahhh, adding ... Thank you for participating in the SCN, I ask you to also check out the links below to better use and approach here in the SCN .


The SCN Rules of Engagement

How to close a discussion and why

Warm regards,

Raphael Pacheco.

Read only

0 Likes
825

Thanks for sharing the information Raphael.

It is mentioned that "C/C++ programs can send RFC requests into the ABAP back-end system" - does it means that we can call BAPI from C++ application OR it is more like SQL query to SAP tables to get the data ?

Regards

Sam

Read only

raphael_almeida
Active Contributor
0 Likes
825

Both, but in different ways. The caller RFC will always be the external program. If the function call for data retrieval in SAP, this function must be created containing the query and thus sent to the program via text file. Now, if the function of data entry in SAP, you will have to develop this logic in your program (If there is) in order to extract in text files and function consume this file. For this case also the possibility to perform external database query in the SAP, using the CL_SQL * classes, you can with this instruction transfer structures between the two systems.

Anyway, we have many possibilities right?

I hope I have clarified your doubts


Warm regards,


Raphael Pacheco.