cancel
Showing results for 
Search instead for 
Did you mean: 

how TO CALL c++ EXECUTABLE FROM XI(VERY iMPORTANT)

Former Member
0 Kudos

hI ALL

pLEASE DO GIVE SUGGESTIONS AND DOCCUMENTATION LINKS THAT <b>HOW TO CALL c++ EXECUTABLE FROM XI</b> .THIS IS VERY IMPORTANT AND YOUR HELP WILL BE REWARDED.

WITH REGARDS

SUBRATO KUNDU

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Subrato,

AFAIK you can call C / C++ methods in Java using Java Native Interface (JNI).

Please refer the following links for how to do the same.

<a href="http://www.nag.com/IndustryArticles/CallingCLibraryRoutinesfromJava.pdf">For C:</a>

<a href="http://www.javaworld.com/javaworld/javatips/jw-javatip17.html">For C++:</a>

Regards,

Ananth

Former Member
0 Kudos

Hi Subrato,

Check the following links:

http://www.sapgenie.com/interfaces/index.htm

hope it helps you.

Regards,

Archana

STALANKI
Active Contributor
0 Kudos

Subrato..

Can you describe the problem in more detail?

If you want to call c++ executable and you know java then seacrch some api which can call c++ executable and use java proxies.

Former Member
0 Kudos

hI

THANKS FOR YOUR REPLY .WE HAVE A SYSTEM IN c++ AND THAT NEED TO BE COMMUNICATING WITH SAP R/3 AND SO XI IS ONLY WAY OUT .BUT ACTUALLY WE WANT TO KNOW HOW A c++ PROGRAM CAN BE CALLED FROM xi AND PARAMAETERS CAN BE PASSED TO THE EXECUTABLE PROGRAM OF c++.

WITH REGARDS

SUBRATO

former_member187339
Active Contributor
0 Kudos

Hi,

>>WE HAVE A SYSTEM IN c++ AND THAT NEED TO BE COMMUNICATING WITH SAP R/3

I don't think so...

/people/sap.user72/blog/2004/07/19/navigating-the-maze-of-integration

<i>For C/C++ developers, SAP provides a C programming language-based RFC-SDK for all the platforms supported by SAP. The SDK contains C header files and library. With the RFC-SDK, C/C++ developers can write programs to invoke SAP RFMs/BAPIs, send and receive IDocs (RFC-SDK provides no support of composing or parsing IDoc). Of course since it’s C, you developer needs to manage memory allocation and the other fun or boring details (depends on how you look at it :-)</i>

Regards

Suraj