Launch Java WebDynpro from R/3 with SSO

Have a situation where I need to launch a Java WebDynpro application from directly from R/3 via the URL. I know this can be done via cl_gui_frontend_services=>execute, however, I do not know the implications in an SSO environment. If the R/3 system issues a logon ticket, does this automatically get passed to the WebDynpro application, or is this more involved?
Thanks.

Hi Todd,
I believe the whole perpose of SSO is to free the user from remembering mutliple userids and passwords.
Once logged in, I guess you should be able to access URLs cause the system authenticates you in the underlying R/3 system.
There is some additional config to be done, you can check the following link, I think its what you are looking for.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/02/4b528f2a8d11d5991f00508b6b8b11/frameset.htm
Regards,
Siddhesh

Similar Messages

  • How to launch Java WebDynpro From ABAP?

    I have a requirement to launch a Java WebDynpro from ABAP code. Has anyone done this? If so, does anyone know of documentation/sample code or at least an ABAP class/function group I could look at?
    Thanks in advance.

    The webdynpro application can be triggered simply by a URL, so this is really easy in ABAP.
    All you need to know is the URL for the WDJ application running on your java engine.
    report zrich_0001.
    data: url type string.
    url = 'http:\www.sap.com'.
    call method cl_gui_frontend_services=>execute
       EXPORTING
         DOCUMENT               = url.
    Regards,
    Rich Heilman

  • Call a WS from a JSP with SSO

    Hello friends,
    I was wondering if anyone could help me with the following issue:
    I need to call a WS from a JSP with SSO.
    Does anyone have something like source code or turorial ?
    PS: The WS I need to call is already consumed from Java WD using Logical Destination.
    Any help will be welcome.
    Thanx,
    Best Regards,
    Ramatí

    I'm trying to call a bpel process and I get an error in the responseThere is BPEL. That might be a better place to ask this question. If you do go there be sure to tell them what error message/number you get.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Troubles with launching Java GUI from C++

    Hi,
    I'm launching a Java program from my C++ program (in linux). For C++ I'm using the Xm library for the GUI. When I want to instantiate a new Java object, I get the following error:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x4015C475
    Function=XmRenderTableFree+0x15
    Library=/usr/X11R6/lib/libXm.so.2
    This is a backtrace (see #17):
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 1024 (LWP 19643)]
    0x4015c475 in XmRenderTableFree () from /usr/X11R6/lib/libXm.so.2
    (gdb) backtrace
    #0 0x4015c475 in XmRenderTableFree () from /usr/X11R6/lib/libXm.so.2
    #1 0x40153cd9 in XmFontListFree () from /usr/X11R6/lib/libXm.so.2
    #2 0x4c6ed4c4 in Java_sun_awt_motif_MComponentPeer_pSetFont () from
    /localhost/packages/java/j2sdk1.4.0/jre/lib/i386/libawt.so
    #3 0x423b6129 in ?? ()
    #4 0x423aef93 in ?? ()
    #5 0x423aef93 in ?? ()
    #6 0x423aef93 in ?? ()
    #7 0x423aef93 in ?? ()
    #8 0x423aeebc in ?? ()
    #9 0x423aef93 in ?? ()
    #10 0x423aef93 in ?? ()
    #11 0x423ac195 in ?? ()
    #12 0x404d6156 in JavaCalls::call_helper () from
    /localhost/packages/java/j2sdk1.4/jre/lib/i386/client/libjvm.so
    #13 0x40570ccd in os::os_exception_wrapper () from
    /localhost/packages/java/j2sdk1.4/jre/lib/i386/client/libjvm.so
    #14 0x404d62a4 in JavaCalls::call () from
    /localhost/packages/java/j2sdk1.4/jre/lib/i386/client/libjvm.so
    #15 0x404de12d in jni_invoke () from
    /localhost/packages/java/j2sdk1.4/jre/lib/i386/client/libjvm.so
    #16 0x404de94e in jni_NewObjectV () from
    /localhost/packages/java/j2sdk1.4/jre/lib/i386/client/libjvm.so
    #17 0x0804d27b in JNIEnv_::NewObject (this=0x819af2c, clazz=0x819b938,
    methodID=0x8293af8) at /localhost/packages/java/j2sdk1.4/include/jni.h:840
    #18 0x0804cb0a in AppletViewer::AppletViewer (this=0x81a5628,
    appletA=0x8193438) at AppletViewer.cc:227
    #19 0x0804e17b in Applet::move (this=0x8193438, drawX=18, drawY=25,
    drawWidth=376, drawHeight=77, scrollX=0, scrollY=0, dpi=86) at Applet.cc:329
    #20 0x0808b852 in PageAttrs::moveApplets (this=0x8192dd8, drawX=18,
    drawY=25, drawWidth=376, drawHeight=77, scrollX=0, scrollY=0, dpi=86) at
    Page.cc:321
    #21 0x080ae6ab in XPDFCore::moveApplets (this=0x81698d0) at Page.h:190
    #22 0x080ac87f in XPDFCore::displayPage (this=0x81698d0, pageA=2, zoomA=1,
    rotateA=0, scrollToTop=1, addToHist=1) at XPDFCore.cc:585
    #23 0x080acac3 in XPDFCore::gotoNextPage (this=0x81698d0, inc=1, top=1) at
    XPDFCore.cc:670
    #24 0x080b3901 in XPDFViewer::nextPageCbk (widget=0x8149ff0, ptr=0x81408e8,
    callData=0xbffff6d0) at XPDFViewer.cc:1229
    #25 0x401df59e in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
    #26 0x400b5803 in ActivateCommon () from /usr/X11R6/lib/libXm.so.2
    #27 0x400b5689 in Activate () from /usr/X11R6/lib/libXm.so.2
    #28 0x4020c453 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
    #29 0x4020cd3e in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
    #30 0x4020cdf4 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
    #31 0x401ea462 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
    #32 0x401ead7e in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
    #33 0x401eafc8 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
    #34 0x401eb3d9 in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.6
    #35 0x080ab04c in XPDFApp::run (this=0x81175b0) at XPDFApp.cc:299
    #36 0x080b8eef in main (argc=2, argv=0xbffffa84) at xpdf.cc:283
    Now here's the interesting thing: in the constructor of my Java class there's a call to pack() to initiate my Java GUI. When I remove that call everything works fine (but then I haven't got a GUI though). setVisible(true) in the Java code also gives that problem.
    Has C++ or the Xm library some troubles with the Java GUI? Or what the hell is going wrong?
    PS: On Solaris, the very same code works perfectly...

    I really need a solution.
    Is it possible it has something to do with threads?
    Do I have to do AttachCurrentThread or something like that? Is that necessary?
    Btw, I assigned 10 duke dollars to this topic.

  • Auto-launch Java classes from deliveries

    I need to launch custom java class from deliveries like described in this article (http://oraclebizint.wordpress.com/2007/12/17/oracle-bi-ee-101332-calling-java-scripts-and-java-classes-from-ibots/). The problem is that I want to launch my java code with all reports and hide it from application users. Is it possible?

    You can use the standard JMS Session API available to create a Queue or Topic identity object.
    i.e. Queue _myQueue = _session.createQueue("xxxxxxxxxxxxxx");Note that while this is a portable API, the syntax of the name parameter may not be portable across providers.
    Further, this only creates the Destination identity object and not the physical Destination object.
    For Sun MQ, when this identity object is used to create a producer or consumer, the physical destination is 'auto-created' if the broker is operating with factory defaults.
    Other providers may not support the 'auto-creation' facility or even if supported, it may be turned off by the administrator, in which case the application needs to handle those cases to be a provider-independant JMS application.

  • How to call Java Webdynpro from UWL

    Hi All,
    How to Call the Java Webdynpro Application from UWL by task?
    I Know about the TX - SWFVISU, briefly explained about the parameters to be maintanied for approval task from workflow.
    What all the necessary parameters (settings) to be maintained while Developing Java WD Application?
    Thanks in advacne
    Ganesh

    Hi Ganesh,
    See if the following threads help:
    /thread/623279 [original link is broken]
    Webdynpro to UWL
    Bye
    Ankur
    xxxxxx (please read forum rules)
    Edited by: Armin Reichert on Jan 17, 2008 10:19 AM

  • Launch Java App from Windows Desktop

    What's the best way to launch a Java application from a Windows XP desktop without the console showing?

    If your class Main.class is part of a package, you cannot invoke Main directly without providing the package. You may have to include the -classpath option (depending of the working directory). The default value for -classpath is "."
    You should try:
    javaw myPackage.Main
    (if the working directory is parent to directory 'myPackage')
    or
    javaw -classpath .;c:\xxx\xxx\. myPackage.Main
    "c:\xxx\xxx\" is your root package's parent directory. Note that you may have to double quote the specified path.
    For details:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html

  • Launching Java GUI from forms

    Hi,
    I have the following questions regarding launching a Java GUI from forms:
    1)Is it possible to launch a Java GUI on client(web) side from forms? (i.e. click on a button should launch a Java GUI instead of forms)
    2)Can this Java GUI share the same DB connection used by forms for any DB operations?
    Thanks
    -murali

    Thanks,
    I was able to bring up the Java GUI. Now, I want to access the database from this GUI. What approach should I have to take. [A sample SQLJ based GUI application is working fine on the console]
    -murali

  • Launching Java applications from web pages

    Hi there,
    Do you know how to launch Java applications (not applets) from web pages ? Thank you.
    Berk Can Celebisoy

    Do you know how to launch Java applications (not applets) from web pages ? Thank you.
    you can setoff a java servlet from a webpage.Is that what you are talking about ??? activeateing a server side app ????

  • Reverse-Engineer Java Class Files ---- Launch Java Application From Icon

    hi,
    is there a way to prevent java class files from being interpreted back into java source files (jad.exe does exactly that) ?
    i have a batch file to compile my java application and another to run the application. the application is run by invoking the batch file from dos window.
    i'd like to be able to double-click on some icon to launch the application.
    how do i accomplish this?
    thank you.

    s there a way to prevent java class
    files from being interpreted back into
    java source files (jad.exe does exactly that) ?There are two ways to prevent that:
    1. Use an obfuscator. Look at this page for
    explanation of what is that, and then search google
    "java obfuscator" for products.
    http://www.devx.com/tips/Tip/13580
    2. Compile your application to native code (google
    for "excelsior jet" or "gcj"). Look at this page for
    more details:
    http://www.excelsior-usa.com/jetprotection.html
    i'd like to be able to double-click on some
    icon to launch the application.
    how do i accomplish this?Do you want to do that on your computer only, or you
    need a solution to make the clickable icon on
    computers of your end-users?
    Denis.thanks to all,
    i'll see suggest sites for more details on obfuscator.
    I'd like to have the application doulbe-clickable on end-users' computers.

  • How to generate Java objects from XML files with out  scema compilation

    Dear participants,
    My name is Raghavendra , i have a requirement of reading XML files Dynamically and parse them and create java types for manipulation . i will not be provided with sxd files (no schema compilation )coz no one knows how many types of structures are there. i want a generic solution. Please Help.
    Thanks ,
    Raghavendra Ach
    you can mail me to " [email protected]"

    georgemc wrote:
    You could also look at something like Apache Digester, which will parse your XML and populate Java objects with the data. A slightly steeper learning curve than the lower-level APIs such as JDOM, but that's outweighed by the lesser development effortdon't think that would work for the original problem, which seemed to indicate that the xml had an unknown structure.

  • Launching Java Application From A Java Application

    Hello,
    I am building a compiler and would like to have run feature. The problem is I can not seem to figure out the righ syntax to run and application from my java application.
    Here is the code I am using to run an application:
    public void RunClass()
    try
    Runtime rtr=Runtime.getRuntime();
    Process pr = rtr.exec("java " + CurrentDirectory + FileNoExt);
    String line;
    BufferedReader rerr = new BufferedReader(new InputStreamReader(pr.getErrorStream()));
    if((line = rerr.readLine()) == null) { CompileMessageArea.setText("Program Running\n"); }
    while ((line = rerr.readLine()) != null) { CompileMessageArea.append(line +"\n"); }
    rerr.close();
    catch(Exception re) { re.printStackTrace(); }
    The following is an example of what the above would send to the:
    java c:\MyJava\Programs\test
    If you try to type something like that in a DOS prompt it will not work. You must first change to that directory, but I am hoping there is an easy way to change the syntax. On the other hand if you want to compile a program you can type:
    javac c:\MyJava\Programs\test.java
    and it will work just fine. This is kind of funny and I use this syntax for my compiler in my program. You would think that the same syntax would work the same for both compiling and running but it does not. So, I know that if I just know what the correct syntax that dos would except for running an application it would work.
    So, if you have the answer for me PLEASE LET ME KNOW.
    It is easily testable by keying it into the dos prompt.
    Sincerely,
    Eric Kohr

    If you want to do it that way you need to use the environment parameter of the exec() method. Use it to set your classpath to the directory that's need for the java application you are about to run... for instance.
    String[] env = new String[] {"CLASSPATH=c:\classes"}
    String command = "java somePackage.someProgram";
    Runtime.getRuntime().exec( env, command);Where your program is in the file "c:\classes\somePackage\someProgram"
    your mileage may vary :)
    You can also reflectively load classes into the running VM and invoke their main methods. This give you the ablility to control them a bit more.

  • Can't get Safari 5.1.1 to run a java applet from Ubuntu Server with unsigned cert

    Hi there, I am trying to run a Webmin control panel in the latest safari and no matter what I do, I keep getting this error message:
    Works fine in Latest Chrome. I am running latest Lion and would like to use Safari as my main browser, but if I can't fix it to run a java widget, what to do?
    thx!!!

    here's the fix:http://artur.ejsmont.org/blog/content/how-to-import-self-signed-ssl-certificate- to-java-keystore-adding-https-certificate
    Only when I run the command:
    iMac:security FCPX$ sudo $JAVA_HOME/bin/keytool -import -file certfile.txt -keystore /Library/Java/Home/lib/security/cacerts
    I get this:
    Password:
    sudo: /bin/keytool: command not found
    iMac:security FCPX$
    any thoughts?

  • Adobe Interactive forms - ABAP Webdynpro or JAVA Webdynpro?

    Hi,
    I am an ABAPER and I got few requirements for Adobe Interactive forms Offline Scenario/Online scenarios & ALV reports.
    I have practiced a session ( How Tou2026execute an RFC model with inputs from Interactive Formswith RFC  Module ) -JAVA webdynpro where it interacts with SAP via BAPI.
    Now my question is  I am bent more towards ABAP.. I want to do this in ABAP but unfortunately I haven't found any similar material for ABAP webdynrpo.Could anyone pls suggest me !
    FYI.. We are also developing some ALV Webdynpro reports and I am using PURE ABAP which i like it.
    So the other reason is we don't want install NWDI and complicate this structure as we don't have ESS/MSS requirment here. Just we  need some forms/reports on portal.
    Any suggestions and links which can help me here?
    rgds
    Vara

    Hi Vara,
    You can develop Interactive forms using WD ABAP also.
    [E Learning- Interactive Forms using WD ABAP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3]
    WD Java is useful in case, when your ABAP system is less than ECC 6.0. Otherwise you can achieve same functionalities in WD ABAP also.
    Hope this will help you.
    Amit

  • Java webdynpro date format

    Hi ,
    I am using some standard java webdynpro from ess/mss package the date format is in US format i.e mm/dd/yyyy in the iviews.
    How to change this to dd/mm/yyyy.My browser I.E is already set to ENGLISH UK.
    Can anyone suggest me how to change the date format to UK
    except the standard ess/mss java webdynpro's Remaining applications in portal date format is in UK format.
    Thanks and Regards,
    devi

    go to your portal and go to jco maintanance there check the language that you have used to connect please.
    Can you please reconfirm if your browser langauge is English UK
    tools->internet options ->languages ->English (United Kingdom)(en-gb)

Maybe you are looking for