Application Development 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: 

Calling a R/3 transaction from a non SAP-System

Former Member
0 Kudos

Hi everyone,

i have a problem in which i dont know how to move on because i cant find any good information on how to solve this issue.

The problem is that we have a Non SAP-System which is Delphi. Now we want to do develop a button in this system in which we can open a SAP Transaction in an R/3 System. We do have a remote connection call but we dont know how we could create a R/3 Session with a transaction code and also pass parameters to this.

Does anyone have an idea on how to do something like this?

I hope someone can help on this issue.

Thanks alot

Rene

3 REPLIES 3

Former Member
0 Kudos

Hi,

Try to use this function module

RFC_CALL_TRANSACTION_USING

Check out this link on DELPHI and SAP connections and RFCs-

http://www.joachim-lentz.homepage.t-online.de/intro.htm#Vorwort:

http://www.joachim-lentz.homepage.t-online.de/intro.htm#TSAPLogonControl

http://www.joachim-lentz.homepage.t-online.de/examples.htm#example%203

Hope this solevs your issue.

Regards

Lekha

0 Kudos

Thanks for the fast answer.

If i would call this function module will it automatically open a SAP session? Or does a SAP session have to be open in order to invoke the transaction?

0 Kudos

Hi,

Chk this out formthe sample code on this FM- This will open a new GUI session-

Regards

Lekha