Skip to Content
avatar image
Former Member

Web Dynpros -- possible to call a SAPGUI operation?

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    May 08, 2006 at 11:56 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 08, 2006 at 12:54 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 08, 2006 at 06:51 PM

    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

    Add comment
    10|10000 characters needed characters exceeded