How to open GP process using url

Dear All,
Our requirement is to open a GP process from a url link. The url link will be sent to the user in an email.
When going through the GP API we found a function getProcessInstanceID(), but we are not able to figure out how to generate the url from the id so that the process with the particular instance opens up.
The user who will receive the url link, will have a portal id.
Could anyone please help us out?
Thanks and regards,
Mayuresh

hi
Hope this [link|http://help.sap.com/javadocs/NW04S/SPS09/gp/com/sap/caf/eu/gp/process/rt/api/IGPRuntimeManager.html] will be helpful for you
You can refer [here|Generating Report on currently running GP Processes; too.
Thanks
Gopal

Similar Messages

  • How can I enable session(using url)  tracking in home page

    i am developing bidding application. How can I enable session(using url) tracking in home page ?
    for example :
    http://mydomine.com/index.jsp;jsessionid=4A38A4496F6862681DFD09CD6D648485.tomcat75
    please help me.

    Doubleposted. Please continue here: [http://forum.java.sun.com/thread.jspa?threadID=5308686&tstart=0]
    In the future, do not use the back button to edit the message, but use the edit button instead. Otherwise you're reposting the form again. You should know that better as being a web developer.

  • How to open/read file using Java in Unix?

    Hi Friends,
    Can you please help me out how to open/read file using java in unix os? I have create one text file in "/home/test.txt" in unix environment. How to open the same file & read using java code?
    - Hiren Modi

    http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • How to open multi tasking using gesture in iphone 5s 7.0.6(11B651)

    How to open multi tasking using gesture in iphone 5s 7.0.6(11B651), i m able to open only by double press of centre button or using accessilbity multi tasking option.
    is it possible to open like ipad using a five finger upward gesture?

    is it possible to open like ipad using a five finger upward gesture?
    No. The "double click" method is the only way.
    iOS: Understanding multitasking - Support - Apple

  • I have downloaded an app from the Istore and now I can't figure out how to open it or use it

    I have downloaded an app to use on my laptop and now I can't figure out how to open it and use it.  It shows it in the download area..........any suggestions would be great.

    Have you looked in your menu of programs (in Windows:  Start -> All Programs -> etc....)?

  • How to open a file using OAF

    Hi,
    I want to open a file using OAF. I know the path and file name.
    How can I open it, if file is in UNIX or in windows, where ever.
    Is there any way to do that.
    Thanks in Advance!!

    Hi Ankur,
    I had something link this requirement, that also for a concurrent program output only, but the output was txt file, and make it a zip file and give a dynamic link and open it.
    For that i used the following code, may be it will help.
    String zipout = pageContext.getParameter("ZIPOUT");
    if(zipout!=null && zipout.equals("Y"))
    try
    DataObject sessionDictionary = (DataObject) pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse) sessionDictionary.selectValue(null, "HttpServletResponse");
    HttpServletRequest request = (HttpServletRequest) sessionDictionary.selectValue(null, "HttpServletRequest");
    String requestID = pageContext.getParameter("REQUESTID");
    response.setHeader("Content-Disposition","p; filename=CatExtract"+requestID+".zip");
    response.setContentType("application/x-zip-compressed");
    ZipOutputStream zip = new ZipOutputStream(response.getOutputStream());
    try
    byte[] buffer = new byte[1024];
    int bytesRead;
    //to get the value of output directory
    String fileName = "/o"+requestID+".out";
    Serializable[] parameters = { requestID };
    //Get the output URL for this requests output.
    pageContext.getApplicationModule(webBean).invokeMethod("getOutputURL", parameters);
    String outputURL = (String)pageContext.getTransactionValue("OutputURL");
    pageContext.writeDiagnostics(this.getClass().getName(),"outputURL in the xxt CO"+outputURL,1);
    try
    URL fileURL = new URL(outputURL);
    URLConnection urlConn = fileURL.openConnection();
    DataInputStream out = new DataInputStream(urlConn.getInputStream());
    try
    ZipEntry entry = new ZipEntry(fileName);
    zip.putNextEntry(entry);
    while ((bytesRead = out.read(buffer)) != -1)
    zip.write(buffer, 0, bytesRead);
    zip.closeEntry();
    pageContext.writeDiagnostics(entry.getName(), " added.",1);
    catch (Exception ex)
    pageContext.writeDiagnostics(this.getClass().getName(),"Exception 113"+ex,1);
    finally
    out.close();
    catch (IOException ex)
    pageContext.writeDiagnostics(this.getClass().getName(),"Exception 124"+ex,1);
    System.out.println("Exception 124 "+ex);
    Thanks.
    With Regards,
    Kali.

  • How to open a browser using button?

    Hi,experts,
    I create a button in a view in the WDJ.
    I can get a URL through call a webservice when I click the button and I need open a browser using the URL automatically. 
    How can I do it?
    Best regards,
    tao

    Hi Tao,
    You can use the following method of WindowManager in the action assigned to onAction event of your button:
    wdComponentAPI.getWindowManager().createNonModalExternalWindow(String URL,String  title);
    Regards,
    Ajay

  • Opening a webpage using url.getConnection and populating?

    Hi
    I want to write a tool that opens a webpage given the URL and populates the page with provided information and clicks the button i.e. want a tool that automates this workflow.
    I understand I can tweak with url.getConnection and get the page populated but I am clueless about populating the page automatically with the data. Is there any way to do it?
    Thanks
    Raja

    Hi
    Thanks for your immediate knowledge sharing, ya right JSP can be accessed as it resides in the server also I understand the HTML coding is more than enough for me to understand the values I need to pass to given the input type of fields with the FORM tag.
    Having understood thus far, you people mention getting the HTML code but how do I get that programatically, it is that I can load the JSP/page using URL.getConnection and open the page in the browser, one way is doing VIEW SOURCE manually and getting the code, can you educate me on how to do it programatically to view source of the displaying page on a browser?
    Thanks
    Raja

  • How to invoke the DisplayTemplate using URL

    Hi
    Here i am trying to invoke display template using url. But i am getting error .
    i am using the following URL
    http://hdchctdam34235/Lighthammer/ChartServlet?Width=640&Height=400&QueryTemplate=/Samples/Reports/SalesQuery.xml&DisplayTemplate=/venkat/sampleAppl/sample_report_example3.xml&Content-Type=image/gif&IllumLoginName=venkat&IllumLoginPassword=venkat
    please help on this

    Venkat,
    I agree with Rick on all three points...
    Hint:  Take a look at how dynamic page generator builds it's URL.
    Sam

  • How to invoke BPEL process using Oracle Business Event System (BES)?

    Hi,
    I want to invoke a BPEL process using Business Events and Subscriptions (Oracle BES/Workflow). If anyone knows how this can be done, please reply to this thread. You can also mail me at [email protected]
    Thanks,
    Gaurav.

    yeah you are 100% correct ..
    I have attached some stuff for CDH integration, where we used plsql to send out info on a created record to a queue.
    CREATE OR REPLACE
    TYPE XXBPEL_MESSAGE_TYPE AS OBJECT (
    MSG_ID VARCHAR2(128),
    INREPLYTO_MSG_ID VARCHAR2(128),
    FROM_PARTY VARCHAR2(512),
    TO_PARTY VARCHAR2(512),
    ACTION_NAME VARCHAR2(512),
    MSG_TYPE INT,
    PAYLOAD CLOB,
    ATTACHMENT BLOB
    EXECUTE DBMS_AQADM.create_queue_table (queue_table => 'XXBPEL_QTAB',queue_payload_type => 'XXBPEL_MESSAGE_TYPE',multiple_consumers => TRUE);
    EXECUTE DBMS_AQADM.create_queue (queue_name => 'XXBPEL_OUT_QUEUE',queue_table => 'XXBPEL_QTAB');
    EXECUTE DBMS_AQADM.start_queue(queue_name => 'XXBPEL_OUT_QUEUE',dequeue => TRUE,enqueue => TRUE);
    On BPEL side creata a process that listens to this queue (with and AQ partnerlink) as shown in $BPEL_HOME/integration\orabpel\samples\tutorials\124.AQAdapter\MulticonsumerInbound
    thx clemens

  • How to open specific port using java program

    Hello,
    I want to open ,close port using java comm.plz help me how can i do it.is it possible
    by using java program.later i want to use that specific port to accept the server socket connection .plz
    help me.

    i try this java program.*but it get block in accept method*.tht mean i m not able to make connection with port.
    import java.sql.SQLException;
    import java.io.IOException;
    import java.net.ServerSocket;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    class MakeConn
         public final static int PORT = 7788;
    public static java.net.Socket clientSocket = null;
    public static java.io.PrintWriter pw = null; // socket output stream
    public static java.io.BufferedReader br = null;
    public static ServerSocket server_socket;
         public static void main(String[] args) throws SQLException
         try {
              server_socket = new ServerSocket(PORT);
    clientSocket = server_socket.accept();
    System.out.println("CLIENT>>>" + clientSocket);
         br = new java.io.BufferedReader(new java.io.InputStreamReader(clientSocket.getInputStream()));
    pw = new java.io.PrintWriter(clientSocket.getOutputStream(), true);
    String message = br.readLine().trim();
    System.out.println("message is"+message);
    pw.close(); // close everything
    br.close();
    clientSocket.close();
         catch (Exception ex) {
    ex.printStackTrace();
    }

  • How to open modal popup using javascript in iPad ?

    Hi Apps masters
    How to open modal dialog ?
    How to return selected value to parent value ?
    How to close modal dialog ??
    Thanks,

    Hi,
    Try This
    function aboutOkButton(event) {
    var v= event.getSource();
    var popup = v.findComponent("popupId");
    popup.hide();
    event.cancel();
    Sameh Nassar

  • How to open saved files using 'read from text file' function

    Hi everyone, I am having a hard time trying to solve the this particular problem ( probably because I am a newb to lanbview ). Anyway , I am able to save the acquired waveforms by using the 'Write to text file' icon. I did manually modify the block diagram of the 'Write to text file' icon and create the correct number of connector so as to make my program work. But now I have no idea on how to modify the block diagram of the 'Read from text file' block diagram to make my program 'open' my saved waveforms. Or i do not have to modify anything from the block diagram of the 'Read from text file'? Can anyone teach/help me connect up? Do i need the build array on the "open" page?
    Here are some screenshots on part of my program  
    let me know if you guys would need more information / screenshots thank you!
    Attachments:
    ss_save.jpg ‏94 KB
    ss_open.jpg ‏94 KB
    modified_writetotextfile.jpg ‏99 KB

    Ohmy, thanks altenbach. oh yeah i forgot about those sub VIs. will upload them now. Was rather demoralized after reading the comments and really struck me on how weak i'm at on labview really hope to get this done. But of course i have to study through and see how it works. Actually i am going to replace those 'signal generators sub vi' with ThoughtTechonology's sample code so i can obtain data waveforms real-time using Electrocardiography (ECG) ,Electromyography (EMG ) and Electroencephalography (EEG) hopefully i can find out how to connect the sample code.
    ( ps . cant connect it now unless my program is working otherwise labview will crash ) 
    ( p.s.s the encoder of my biofeedback trainer already acts as an DAQ so i wont need to place an DAQ assistant in my block diagram i suppose )
    The sample code of ThoughtTechnology is named as attachment.ashx.vi. too bad i cant use it and present it as my project
    Attachments:
    frequency detactor.vi ‏53 KB
    signal generator.vi ‏13 KB
    attachment.ashx.vi ‏40 KB

  • How to open pdf from an url into an acrobat control for vb

    I have a vb requirement like this:
    We have pdf files generated on a server and put in path like http://servername:port/pdfReports/report.pdf
    Desktop applications need to show these files.. we have an acrobat reader control on one of the forms and trying to load the pdf.
    We want this to be implemented for clients who have older versions of pdf readers like ver 5, 6, 8, also.. not just 9
    opening a file on the control like below works.
    objPDF.LoadFile "c:\temp\test.pdf"
    but network paths or http paths dont work.. what methods should be used ? and can anybody provide some sample code in vb if available.. so it is easy to understand dependencies.
    Thanks,
    Harish

    There is no support for direct opening of an http/network-based path in the control.  You need to use a standard web browser control instead and give it the URL for a PDF.

  • How to display images by using URLs in Interactive Reporting

    Hello everybody,
    My client has the Hyperion System 9.3 suite.
    We have a report in Interactive Reporting showing product data.
    The source for the report is a relational database (SQL Server).
    The data is grouped by product.
    My client needs the product's picture (jpg) in the report.
    The problem is that product images are not available in the relational database but via URL like this:
    http://client_domanin//Hyperion/id_product.jpg
    (the name of the image equals the id of the product).
    I was thinking to solve this problem using Java Script.
    I don't know Java Script and don't know how to 'integrate' the JavaScript code with Interactive Reporting.
    How should the Java Script look like?
    Any help will be extremely appreciated.
    Thank you all!
    Daniela

    You might be able to do it if you are using the iHTML view of the Report not the Interactive Reporting Web Client (Plug-in)
    I do not have a 9.x server available to test this so it is guess on how i did it once in a Proof of Concept.
    In Results section Create a Computed Item that will be the HTML tag for the Graphic
    the syntax would look something like below
    '<IMG SRC = "http://client_domanin//Hyperion/" + id_product + ".jpg">'
    WHERE id_product is a column in your Data.
    Again this will not show a graphic when viewed with Interactive Reporting Web Client or Desktop Client.
    Good Luck, hope this is helpful
    Wayne

Maybe you are looking for