cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpros -- possible to call a SAPGUI operation?

Former Member
0 Kudos

We're developing an Web Dynpro application in which it would be appropriate to invoke a "SAPGUI" operation, such as a TCode (ex., SE09), a call dialog, or a function module which displays a useful pop-up.

Is this possible from a Web Dynpro?

Our attempts this are permitted syntactically but fail at runtime with "Screen output without connection to user."

BTW - We're working with Web Dynpro for ABAP, but I'd imagine that the same restriction would apply to Java web dynpros, too, correct?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dreibelbis ,

you can look into creating Transaction Iview in EP. then call this transaction Iview in Webdynpro using WDPortalNavigation.

I can give you the Reference for creating Transaction Iview in EP.

/people/gregor.wolf3/blog/2004/08/25/create-sap-transaction-iview-using-sapgui-for-windows

Accessing Transaction Iview in Webdynpro.

WDPortalNavigation.navigateAbsolute(

"ROLES://portal_content/TestDir/test2/AIC_Test222",

WDPortalNavigationMode.SHOW_EXTERNAL,

(String) null,

(String) null,

WDPortalNavigationHistoryMode.NO_DUPLICATIONS,

(String) null,

(String) null,

"P_BNKLND="BankCountry"&P_BNKKEY="BakKey"&P_ACNUM="accountNo"&P_XSIMUL= ");

.

There are many Logs available for Creating and accessing Transaction Iviews in Webdynpro. you can have a look .

Thanks

Madhan

Answers (2)

Answers (2)

Former Member
0 Kudos

If this is deployed via the Portal - please look at AppIntegrator iViews (search on App Integrator in SDN).

With AppIntegrator iViews - you can call SAPGUI transactions (invoked through Integrated ITS) and also pass values to the SAPGUI transaction and possibly SKIP FIRST SCREEN. Another advantate AppIntegrator supports User-Exits in the Portal - custom parameters can be passed by reading the EP UME and pass values to your Web Dynpro for ABAP iViews - example - LDAP attributes stored in Portal UME can be passed on to the Web Dynpro for ABAP application!!

Thanks

Former Member
0 Kudos

The context of our project, unfortunately, is <b><u>Web Dynpro for ABAP</u></b>. We are trying to create WDA applications for several SAPGUI applications that we have which interface with R/3-ECC functions.

So, we can't use the EP iView or call it from a Java routine.

We'd like to invoke Transactions (SNOTE, SE09, SM59), possibly call a Dialog, and perform function modules which happen to pop-up UI objects (ex., EPS_FTP_MPUT).

All of these cause a "Screen output without connection to user" failure at runtime.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

At least for the calling of transactions, have you considered using the integrated ITS. I have used the LinkToURL UI element to open another window with the SAPGui transaction generated by the ITS. You can build your URL and attach key data via parameters.

Former Member
0 Kudos

I haven't used <b>ITS</b>.

Can you please direct me to information on how I would generate a SAPGUI transaction with ITS?

And, how would I package this for delivery to our customers? Are ITS objects also packaged and installed using a Transport?

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

The Itegrated ITS has been part of the ABAP system since Netweaver04. There is nothing additional to install. The ITS interprets existing SAPGui transactions and displays them using HTML/JavaScript. If this is what you want - exact duplicates of the SAPGui Transactions - there is nothing to develop, deliver to customers, or package.

Have a look at the following:

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/e01f8d41cb012de10000000a114cbd/frameset.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/4f/2e6a52c3cdc44d83169b181a9c62ba/frameset.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/3d/b5f9c2ea65c242957ee504ca4a37a9/frameset.htm

http://service.sap.com/sapgui (then SAP Gui for HTML/Internet Transaction Server)