Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 26, 2015 at 03: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 😊.


    The SCN Rules of Engagement

    How to close a discussion and why

    Warm regards,

    Raphael Pacheco.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Posted on Aug 26, 2015 at 06: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.