Sap-wd-resumeurl in Webdynpro JAVA

Hello,
Is there a way to read the value of sap-wd-resumeURL value prior to we suspend the application using resume and suspend plug.
I did try getReguestParameter("sap-wd-resumeurl"), but it dint work. Please advise.
Thanks,
Vinit Pugaliya

No, you're making a mess! This parameter is set in WebDynpro application and provides information for the application itself on which url should point to suspend the plug.
And the code (I sent you) that you are getting NullPointer can only be performed within your application WebDynpro.
I believe that the various links to pdf that I send are not well have understood!
regards,
Angelo
p.s.:
in time: if you want your JSP application to know which url return information ... you must pass the url of the application webdynpro through a parameter for the JSP.
Edited by: Angelo Antonello Borges on Jun 9, 2010 6:30 PM

Similar Messages

  • SAP MDM Connection with WebDynpro Java

    Hi,
    I am working with SAP WebDynpro Java (UI) and SAP MDM (Database). I had added the respective jars-
    a) I want to test whether I am able to make a connection to the MDM server. Let me know input parameters (sample source code required) which I need to pass from SAP WebDynpro Java (UI) to make a successful connection to MDM (DB). Please let me know this in details.
    b) After making connection to MDM, I need to write a query where I need to pass Lot No1 & Lot No2 from WebDynpro Java (UI) & check in a MDM table numbers of records existing and later display  the corresponding records details  (sample source code required) in the screen.
    Your inputs will be highly appreciated.
    Thanks.

    Anmol,
    Depending on what version of WAS you are on...you might have WDJ components available that you can use. Just to offer a different view on your question.
    Otherwise follow the links above or the following link to get sample code.
    Read MDM ItemDetail Record in WDJ
    You should get lots of sample code on SDN.
    Thanks,
    Praveen.

  • Connecting Non sap to webdynpro java

    Hi All
    My requirement is to connect a non sap (like mysql) to webdynpro java ..please  can anyone  provide me some document on this ..please help me
    Thanks
    Parameshwari

    Hi,
    If you are using NWDS 7.0 version, you have to create a Datasource in visual admin.
    If you are using CE 7.1 version, you have to create a Datasource in NWA--Configuration Management->Infrastructure->Application Resources.
    Step by step procedure how to create a Datasource in NWDS 7.0 and CE7.1 is given in this [PDF link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40db1ed9-b7c2-2b10-66b8-84f6954b6d2d?QuickLink=index&overridelayout=true]
    MYSQL Server 2005
    Driver/jar which you have to use --> sqljdbc.jar
    Driver class --> com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection URL --> jdbc:sqlserver://<host_name>:<port>;database=<db_name>
    Hope this helps you..
    Best Regards
    Vijay K

  • How to add table in SAP Non interactive forms in webdynpro java

    Hi Experts,
    I have a requirement in webdynpro java.I have a print button.On clicking print button a pdf will be opened.
    This pdf will have data from the webdynpro view.I want to know how to add table in the adobe pdf.The webdynpro view will have many rows of table(rows will keep changing as per the size of the data output).How to send this data to adobe.How do we bind the node to the table in the adobe.How to automatically
    Please suggest.
    Thanks,
    Rajani
    Edited by: Rajani Nandagiri on Dec 26, 2008 8:58 AM

    Rajani,
    Take a look at below links, it will help you.
    [Handling Dynamic Length Tables in Adobe Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669]
    [Integrate tables & Images in Adobe Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/dynamic%20non-interactive%20pdf%20form.pdf]
    [How to Handle Table Input and Output|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf]
    [How Tou2026deal with Table input and display in Interactive Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0]
    Chintan

  • How to move files from one folder to another folder in webdynpro java for sap portal

    Dear Experts,
    I wan to move files from one folder to another folder in SAP portal 7.3 programmatically in webdynpro java.
    My requirement is in my portal 1000 transport packages is their. Now i want to move 1 to 200 TP's into Archive folder.
    Can you please help me how to do in through portal or wd java ...
    Regards
    Chakri

    Hello,
    Do you know what the difference between copying a file this way :
    ** Fast & simple file copy. */
    public static void copy(File source, File dest) throws IOException {
    FileChannel in = null, out = null;
    try {         
    in = new FileInputStream(source).getChannel();
    out = new FileOutputStream(dest).getChannel();
    long size = in.size();
    MappedByteBuffer buf = in.map(FileChannel.MapMode.READ_ONLY, 0, size);
    out.write(buf);
    } finally {
    if (in != null) in.close();
    if (out != null) out.close();
    ================SECOND WAY============
    AND THIS WAY:
    // Move file (src) to File/directory dest.
    public static synchronized void move(File src, File dest) throws FileNotFoundException, IOException {
    copy(src, dest);
    src.delete();
    // Copy file (src) to File/directory dest.
    public static synchronized void copy(File src, File dest) throws IOException {
    InputStream in = new FileInputStream(src);
    OutputStream out = new FileOutputStream(dest);
    // Transfer bytes from in to out
    byte[] buf = new byte[1024];
    int len;
    while ((len = in.read(buf)) > 0) {
    out.write(buf, 0, len);
    in.close();
    out.close();
    And which is better? I read up on what each kind of does but still a bit unclear as to when it is good to use which.
    Thanks in advance,
    JavaGirl

  • Calling SAP GUI Client from a Java Webdynpro app.

    Hello experts,
    We would like to call the SAP GUI client from a java WebDynpro application running without portal or ITS. Can it be done by having a web link, with mime registration in internet explorer to kick off the SAP GUI ? (similar behavior with a SAP favorite link saved on the desktop).
    many Thanks.

    Hi,
    Webdynpro possibilities:
    1. You can try to use LinkToUrl.
    with reference to file://<exefile> or your weblink with the mime type (possibly some java coding can be required; I can try to help).
    2. other option is to use IFrame and you can use either href to your exe or weblink
    Web Explorers:
    1. IE: It should work. if you point to exe file popup window will be displayed asking for action (run, save, cance).
    2. Firefox: the only way I know to make it work is to modify nsHelperAppDlg.js file (if you need Firefox I can tell you how to modify the file).
    Kind Regards, Jack

  • Opening sap transaction in uwl to webdynpro java screen

    Hi Poral Gurus
    I am new  to uwl concept . we are in  the process of the Leave apply and approval . the work items are displayed in the sbwp
    which comes in uwl . when we click on the item in work list it is opening the sap transaction, but the requirement is there any way to convert the sap transaction view to the webdypro java screen  . the screen should not no way look like the sap transaction but it should look like which is developed in webdynpro java using nwds
    The problem here is the work item is opening the sap logon when an work item is being clicked and the screen also is not exactly what we look in sbwp. it is having a different look. the screen is becomming small where the user has to use scroll bars to navigate to particular input element,but in sbwp it is showing the full screen.
    Please help on this is there any way to solve this problem.
    Thanks
    prasad

    Hi,
    Let us know whether you are using the standard Leave request application with standard workflow or customized screen.
    If you are using Custom development for the approval screen, then Make sure that you have mapped your custom development screen to the workflow task in SWFVISU.
    Then Re-register the UWL system in portal which is available in the below location.
    System administration - system configuration - universal worklist and workflow u2013 universal worklist administration - Universal worklist systems - re-register the workflow system.
    Thanks,
    Nandhadevi.T

  • Is it possible to un Webdynpro java without SAP EP?

    Hi,
    I have a unique requirement.
    My customer is new to SAP EP / Java Webdynpro.
    He requires Webdynpro components to run without SAP EP.
    In other words, he wants create an ALIAS for Webdynpro component URL which is displayed when we run the component from NWDS and publish the url in web page.
    Even I am not sure whether Webdynpro will work without SAP EP?
    He down't want any SAP EP features such as authentication / role assignment etc.
    Kindly let me know is it possible to un Webdynpro java without SAP EP? how?
    Thanks
    Prabhu.M...

    Hi,
    yes, this should be possible. Nevertheless you need to install WebAs Java. I'll move your thread to WebDynpro Forum.
    Anja

  • Is it possible ? : Webdynpro java without SAP EP

    Hi,
    I have an unique requirement.
    My customer is new to SAP EP / Java Webdynpro.
    He requires Webdynpro components to run without SAP EP.
    In other words, he wants create an ALIAS for Webdynpro component URL which is displayed when we run the component from NWDS and to publish the url in web page.
    Even I am not sure whether Webdynpro will work without SAP EP?
    He don't want any SAP EP features such as authentication / role assignment etc.
    Kindly let me know is it possible to run Webdynpro java without SAP EP? how?
    Thanks
    Prabhu.M...

    Hi Prabu,
      You will get answer for all your question, see through link.
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00f7103-6790-2a10-ac9c-fcac7c5b18a3
    Also this might be helpful,
    /docs/DOC-8661#section10 [original link is broken]
    Thanks,
    Arun

  • Accessing SAP DB(Oracle/Max DB) without using RFC in webdynpro java

    Dear Friends,
    I'm developing an application in Adobe interactive Forms using webdynpro java. To retrive the data from R/3 generally we use RFC / BAPI's.
    But i dont want to use RFC / BAPI's which is written in ABAP.
    I want to write one RFC /BAPI using java to store  / retreive the data from R/3. or how to access the data / store the data using JAVA from R/3.
    Can any one guide me on the same.
    Thanks in Advance.
    Regards,
    Gowripathirao.
    Edited by: Gowripathirao on Nov 30, 2009 7:58 AM

    don't do that ( I always wanted to write this since joining SDN )
    If you want to access database tables in general, check the EJB3 tutorial in SAP Help
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/f72761af4020fde10000000a1553f6/frameset.htm

  • Webdynpro JAVA, EP Admin or SAP-HR?

    Hello Experts,
    Although I am not sure if this is the correct forum to ask this question but still I am hopeful that you might guide me.
    I have worked on Webdynpro JAVA for around 2 years. There after i got the chance to work on SAP-HR (has been around 8 months on it). I find both of them interesting as well as challenging. I would like to know what would be the best choice at the moment among them keeping in view the future market? I also have the option to move into EP-Admin, but i am very confused as to in which of these areas should i pursue my career in?
    Somebody please help!!

    Again... this is always about people trying to be where "the money is" instead of following the path they are more confortable with... whats the point in getting a lot of money for something you hate.
    If you feel happy doing HR then that the best place for you, beside the fact that theres good market for it.
    Thats my advice.
    Regards
    Juan
    PS: It was the wrong forum by the way.... hehehe

  • Passing Value from PDK Java to Webdynpro Java in SAP EP SP18

    Dear Experts
    Please tell me how to call a webdynpro java ivew form a PDK java application and I need to pass a value to webdynpro form my PDK application.
    I am using SP18
    Please help me in this issue
    Regards
    Noel

    Noel,
    From your PDK aplication you will be providing the WD URL along with the parameter.
    Say in your PDK application you redirect to http://portalserver:50000/irj/local/webdynpro/sap.com/test?mypram=1
    In WD you fetch this parameter using WDProtocolAdapter class.
    Check below links for more information.
    [Access WebDynpro URL parameters programaticaly |https://wiki.sdn.sap.com/wiki/display/WDJava/Access%20WebDynpro%20URL%20parameters%20programaticly]
    Page 23 of this [document|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/ba641aa6-0c01-0010-57ac-c21a4ca7b542&overridelayout=true]
    Chintan

  • How to create a calender view in webdynpro java EP 7.0

    Hi ,
    I want to create a calender view in webdynpro,
    Requirments are
    1. it should be current month view
    2. Below each day i want to show office in-time and out-time in two cloumns(these values will be coming tru RFCs).
    ie
    1
    10am | 4pm
    Is this possible in webdynpro java EP 7.0 ?
    Please help me
    Thanks
    Kumar

    Hi Kumar,
    If you are using EP7.0, there is no calendar UI element in webdynpro development. There is only date navigator UI element. This is demonstrated in the below article.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059344a-1930-2d10-6e8a-dcec5f94993e?quicklink=index&overridelayout=true
    Regards,
    Ganesh N

  • Problem while deploying a webdynpro java application in NWDS 7.1 version

    HI All,
            I got the below error when i deploying the  webdynpro java application in NWDS 7.1 version..help me out...........................................
    Exception:
    com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[Ecc]
    NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
    because of deployment or down engine( service ).
    Reason: Object not found in lookup of
    tcbldeploy_controller.
         at
    com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
    .java:64)
         at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:118)
    Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1118]
    NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
    because of deployment or down engine( service ).
    Reason: Object not found in lookup of
    tcbldeploy_controller.
         at
    com.sap.engine.services.dc.api.session.impl.SessionImpl.createCM(SessionImpl.java:320)
         at
    com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.<init>(DeployProcessorImpl.ja
    va:136)
         at
    com.sap.engine.services.dc.api.deploy.impl.DeployProcessorFactoryImpl.createDeployProcessor(
    DeployProcessorFactoryImpl.java:26)
         at
    com.sap.engine.services.dc.api.impl.ComponentManagerImpl.getDeployProcessor(ComponentManager
    Impl.java:46)
         at
    com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
    .java:58)
         ... 1 more
    Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object
    not found in lookup of tcbldeploy_controller.
         at
    com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
         at
    com.sap.engine.services.jndi.implserver.ServerContextRedirectableImpl.lookup(ServerContextRe
    directableImpl.java:80)
         at
    com.sap.engine.services.jndi.implserver.ServerContextImplp4_Skel.dispatch(ServerContextImplp
    4_Skel.java:555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
         at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136
         at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pro
    cess(ApplicationSessionMessageListener.java:33)
         at
    com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    First check is Java stack is running ?
    make sure J2EE_ADMIN user not locked.
    Ans please check password in secure area. check password in secure store should be correct.
    may be you can try with restart of SAP and DB.
    All the best
    regards
    nag

  • Passing Parameters via Post Method from Webdynpro Java to a web application

    Hello Experts,
    I want to pass few parameters from a web dynpro application to an external web application.
    In order to achieve this, I am referring to the below thread:
    HTTP Post
    As mentioned in the thread, I am trying to create an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map.
    But when I build my DC, I am getting the same error which most of the people in the thread have mentioned:
    Controller XXXCompInterfaceView [Suspend]: Outbound plug (of type 'Suspend') 'Suspend' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'.
    I am using SAP NetWeaver Developer Studio Version: 7.01.00
    Kindly suggest if this is the NWDS version issue or is it something else that I am missing out.
    Also, if it is the NWDS version issue please let me know the NWDS version that I can use to avoid this error.
    Any other suggestion/alternative approach to pass the parameters via POST method from webdynpro java to an external web application apart from the one which is mentioned in the above thread is most welcome.
    Thanks & Regards,
    Anurag

    Hi,
    This is purely a java approach, even you can try this for your requirement.
    There are two types of http calls synchronous call or Asynchronous call. So you have to choose the way to pass parameters in post method based on the http call.
    if it is synchronous means, collect all the values from users/parameters using UI element eg: form and pass all the values via form to the next page is nothing but your web application url.
    If it is Asynchronous  means, write a http client in java and integrate the same with your custom code and you can find an option for sending parameters in post method.
    here you go and find the way to implement Asynchronous  scenario,
    http://www.theserverside.com/news/1365153/HttpClient-and-FileUpload
    http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html
    http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
    Thanks & Regards
    Rajesh A

Maybe you are looking for

  • How can I sync both Music files and Podcasts to my Ipod shuffle 4th gen?

    I have been trying to do this for a very long time. I own an Ipod shuffle 4th generation and I want to be able to listen to music, podcasts, etc without having to switch between the different formats using Itunes. Everytime I try to sync music and po

  • Error when migrating AP 2600 from Autonomous to Lightweight

    Hello, I am trying to migrating AP 2600 series that came with autonomous image 15.2 to lightweight using the Cisco Prime Infrastructure built-in migration template. The AP successfully downloads the image from an external TFTP server but fails at upd

  • Where to see PC hierarchy with cost center assignments

    I have created two profit centers and a number of cost centers.  Each cost center has one of the profit centers assgned to it.  I can see where to view the profit center hierarchy and where to see the cost center hierarchy.  BUt is there somwehere to

  • Column view error

    Hello, I use column view to open indesign files and place textfiles and pictures into my documents. For a couple of weeks every now and then when i want to browse for an document the column view jumps to the first column, leaving the other colums bla

  • ORA-12560 while installing database 11g

    Hi, I tried to create a Oracle Database using Oracle installer. I got the error ORA-12560 This is part of the logfile: INFO: Configuration assistant "Oracle Net Configuration Assistant" succeeded INFO: Command = oracle.assistants.server.DbcaCfgPlugIn