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

Open a transaction for user using RFC

Former Member
0 Likes
1,217

Hi all,

Is it possible to open a transaction (I mean to actualy open a gui for the user) using a RFC that is called from my Web Server?

For example:

I have a web application (written in some language) that presents some list of transaction codes. When a user hit some transaction code, I want my application to open the SAP application in the exact transaction.

I assume that my application should call some RFC that is able to open and present the SAP application in the required transaction. E.g. if in my web application the list contains the transaction code "ME24" and a user click on it I want the SAP application to open and after providing user+password direct to "Maintain Purchase Order"

Is it possible?

Thanks for the help,

Roy

Hi all,

Is it possible to open a transaction (I mean to actualy open a gui for the user) using a RFC that is called from my Web Server?

For example:

I have a web application (written in some language) that presents some list of transaction codes. When a user hit some transaction code, I want my application to open the SAP application in the exact transaction.

I assume that my application should call some RFC that is able to open and present the SAP application in the required transaction. E.g. if in my web application the list contains the transaction code "ME24" and a user click on it I want the SAP application to open and after providing user+password direct to "Maintain Purchase Order"

Is it possible?

Thanks for the help,

Roy

6 REPLIES 6
Read only

Former Member
0 Likes
1,099

Hi,

Use the concept of Enterprise Portal.

It will help you to attain that.

Regards,

Renjith Michael.

Read only

0 Likes
1,099

Hi Michael,

Why do I need an enterprise portal?

My question is if through a RFC I can execute a graphical presentation of transaction as if a user has logged into the SAP through the SAP logon.

For example - I can create a "SAP" file (e.g. test.sap) which is a shortcut to some transaction (depends on the content in that file). Double clicking on this file will open the transaction (after providing user+pass of course).

I want to imitate this functionality of SAP shortcut but through a RFC.

Is it possible?

Thanks,

Roy

Read only

0 Likes
1,099

Just think about how the graphical output comes back into your webapplication and you can answer your question yourself.

As advise given, use the portal.

Read only

0 Likes
1,099

Hi Rainer,

Please assume that I do not need any graphical output within my web-application.

I will try to re-explain the architecture:

1. Web server where my web application is installed

2. SAP system (not portal)

3. Client with access to SAP trough a standard SAP Logon and access to my web application

Client tries to open a transaction (in a new standard SAP window) by clicking on some link in my application. My application calls a RFC and I wish that this RFC will be able to open that SAP window.

Thanks,

Roy

Read only

0 Likes
1,099

You cannot open a SAP Window with rfc, no SAP GUI is associated with such a call, indepent if the user is a system user or a dialog user.

Read only

Former Member
0 Likes
1,099

Check the settings done for the RFC system (SM59).

Dialog should be enabled.

Also the user should be a Dialog user (Own data) .