2015 Aug 25 10:38 PM
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
2015 Aug 26 4:02 AM
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 .
How to close a discussion and why
Warm regards,
Raphael Pacheco.
2015 Aug 26 9:05 AM
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
2015 Aug 26 7:14 PM
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.