Skip to Content
author's profile photo Former Member
Former Member

How to launch SAP transaction & pass parameters via URL in JAVA WEBDYNPRO

Hi,

I have a requirement to launch SAP transactions via URL from Webdynpro applications.

There is an excellent article by Prakash Singh (below link) which tells how to achieve this. But, this is not for Java Webdynpro. <b>Can anyone provide a similar solution for WebDynpro.</b>

<a href="/people/prakash.singh4/blog/2005/10/07/how-to-launch-sap-transaction-pass-parameters-via-url SAP Transaction</a>

Please note: I am not talking about importing ABAP RFC to webdynpro. Im talking about launching SAP transactions (eg: se37) in a URL using webdynpro applications.

Code snippets would be highly appreciated 😊

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2007 at 12:17 PM

    Hi,

    Chk this

    Create SAP Transaction iView using SAPGUI for Windows /people/gregor.wolf3/blog/2004/08/25/create-sap-transaction-iview-using-sapgui-for-windows

    call this ivew from WD using portal navigation.

    Regards

    Ayyapparaj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 30, 2007 at 06:28 PM

    You can launch SAP Transaction using ITS - Webgui

    For example, to call SE37

    http://<server>:<port>/sap/bc/gui/sap/its/webgui/~transaction=SE37

    This will call the SE37 on web.

    Look at this blog:

    <a href="/people/durairaj.athavanraja/blog/2004/09/23/pass-parameter-to-its-url-upadated-21st-june-2008 Parameter to ITS URL</a>

    Raja T

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      The problem here is: How do we get the protocol, server & host details of the backend server where we need to use this transaction.

      I read in the following blog that these configurable settings can be got in two ways:

      Help with redirecting URL from Web Dynpro

      1. HTTPDestination -- you are setting and configuring destination via VisualAdministrator, then from your code you are lookup destinitation by logical name and get physical URL.

      2. IWDConfiguration / WDConfiguration -- you are creating settings as regular properties file, after deployment you may tweak this property file with VisualAdministrator. From code you are using WDConfiguration API to read URL or parts of URL as properties.

      I would like to go for <b>option 1.But, how do we look up destination by logical name from the code: Does anyone have code sample?</b>

      Thanks

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 09:56 PM

    To call the transaction iview from webdynpro . First create a transaction iview in the content administrator and use the following code below to call the transaction iview.

    WDPortalNavigation.navigateAbsolute(

    "ROLES:<PCD path of the transaction iview>",

    WDPortalNavigationMode.SHOW_EXTERNAL, // if you want to open in a

    (String) null, seperate window

    (String) null,

    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,

    (String) null,

    (String) null,

    null);

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.