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

How to call C++ Program in Abap

Former Member
0 Likes
2,153

Hi Friends,

How can i call a C/C++ Program or a Function in an Abap Program.or an Abap Module or Bapi in a C/C++ Program.

Regards,

Gowtham Kuchipudi.

Hi Friends,

How can i call a C/C++ Program or a Function in an Abap Program.or an Abap Module or Bapi in a C/C++ Program.

Regards,

Gowtham Kuchipudi.

4 REPLIES 4
Read only

guillaume-hrc
Active Contributor
0 Likes
1,076

Let's talk about ABAP -> C/C++

You already have C functions being called in ABAP ! It is the C functions from the SAP Kernel.

There are several approaches to your problem :

- one could be to simply execute the program from the Shell (Unix or the Windows command)

- antoher would be add the function to the SAP Kernel (which is a bit of a job since you have to recompile the Kernel)

Regarding C/C++ -> ABAP, I am sure there are a lot of examples around like for the other languages (VB, Java, ...).

Hope it helps.

Cheers,

Message was edited by: Guillaume Garcia

Read only

Former Member
0 Likes
1,076

Instead of calling already existing C Functions, if i want to call a C function written by me what should i do. You said that we can do that by executing a program from Command line. Can u give some more information on that.

And how to call already existing C Functions.And where can i get the list of existing C Functions.

regards,

Gowtham Kuchipudi.

Read only

guillaume-hrc
Active Contributor
0 Likes
1,076

Regarding Call & List of C functions, better have a look at this thread :

Message was edited by: Guillaume Garcia

Read only

guillaume-hrc
Active Contributor
1,076

Maybe this link will meet your requirements :

http://help.sap.com/saphelp_46c/helpdata/en/9d/ab1af4055b11d2806500c04fadbaa1/frameset.htm

Cheers,

Guillaume