How to start a GP process from a url within EP?

I know how to start a GP process from the webdynpro url generated from the instantiation tab of a GP process.
But if I use this url, the end-user will be prompted with a login screen to authenticate to the J2ee server because it's a webdynpro url and it doesn't recognized that the user is already logged in the Portal.
How can i avoid this login screen or how can I get a Portal url that launch the GP process directly? Thanks, Andre

Hi Austin,
There is a strange problem when creating a web dynpro with the URL parameters. It web dynpro window pops up a new portal window in which the process is displayed. Rather, if I create a URL iView of the form http://<host>:port>/webdynpro/dispatcher/sap.com/cafeugpuiinst/AInstantiation?process.template.id=<...>&process.autostart=t it works fine!
I'd like the web dynpro iView to work cause otherwise I'll have to add static sapcssurl parametes for the theme etc. which I want to avoid.
Regards,
Nirav

Similar Messages

  • How to start a BPM process from ERP system

    Hi,
    I created a process in Netweaver Developer Studio with the Process Composer in SAP CE 7.1 BPM, now I want to automatically start the process by saving a SAP document like purchase requisition or purchase order. Therefore I think about implementing a UserExit / Badi or something else.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event?
    Greetings,
    Christian

    the process by saving a SAP document like purchase requisition or purchase order.
    Based on your business process, you will have to decide what data should be sent to other system. It could be in the form of Idoc trigger or an RFC calls. If there are non-SAP systems involved, you should be using PI 7.1 too. In that case, you can communicate using Abap proxy call too. For this you may either call an RFC internally in a report and schedule it.
    Regards,
    Prateek

  • Starting a CAF process from UWL?

    Hi Guys,
    I can see list of workflow items from R/3 in my UWL in Portal. Now I want to start a CAF process from the workflow item and not any R/3 workflow. Is it possible? If yes how can it be done? I've referred to documents explaining how to call a BSP or MiniApp  or WebDynpro  for ABAP , but that is not my requirement.
    Any inputs/ pointers are welcome and would be rewarded suitably
    Thanks in advance.
    Best Regards,
    -Vaibhav

    Hi,
    Check this blog on Netweaver workflow capabilities,
    Workflow in SAP NetWeaver
    Hope this helps !
    Regards
    Srinivasan T

  • Problem in Starting a GP Process from Webdynpro Code

    Hi Experts
    I have a problem in starting a GP Process from webdynpro code. I have imported the following used DCs in my Webdynpro DC
    caf/eu/gp/api/wd
    caf/eu/gp/api (external)
    com.sap.security.api.sda
    Once I deploy I get the following error. No Syntax, Build errors in the application.
    java.lang.NoClassDefFoundError: com/sap/caf/eu/gp/process/rt/api/IGPRuntimeManager
    I have used the following code to start the GP Process - getUserDetails Context is of type IUser
              //Starting GP Process
    try {
    IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
    IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
    IGPUserContext userContext = GPContextFactory.getContextManager().createUserContext(
         wdContext.currentContextElement().getUserDetails());
    IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate(
                        "00A897714C5A11DE8E33005056A260C3", userContext);
    IGPStructure params = GPStructureFactory.getStructure(process.getInputParameters());
    IGPProcessInstance prInstance = rtm.startProcess(process,
                        "New User Registration Process",
                        "New User Registration Process",
                        wdContext.currentContextElement().getUserDetails(),
                        roles,
                        params,
                        wdContext.currentContextElement().getUserDetails());
    } catch (Exception e) {
         e.printStackTrace();
    Please do the needful EXPERTS.
    FYI... SP17
    Thank you
    Best Regards
    Ramamoorthy D

    Hi Ram,
    You have to add Library reference to your DC.
    in the context menu of your DC select
    properties->webdynproReferences->LibraryReference
    add sap.com/cafeugp~api as refernce.
    I hope this will solve your problem.
    Regards,
    Rajesh

  • How to Start and Stop Processes?

    How to Start and Stop Processes?
    Im trying to create a program which allows me to Start and Stop (and Restart) GameServers. I will then expand on this so i can start and stop them through a web applet with build in useraccounts.
    Currently the way we do this is to log into the server using a RemoteAssistance. Which is not very safe as the users have the abbility to do anything on the server and potentially corrupt it.
    Below is my code for how i start the servers. But i dont know how i would stop the process.
                    private void startServers()
                   for(GameServer gs : servers)
                        int ID = Integer.parseInt(gs.getID());
                        if(isChecked(ID))
                             try
                                  String cmd[] = gs.getStartString();
                                  Runtime.getRuntime().exec(cmd);
                                  int sleepPeriod = Integer.parseInt(sleepField.getText());
                                  Thread.sleep(sleepPeriod*100);     
                             catch(Exception e)
                             System.out.println(e);
                   }//end of iterator
                   JOptionPane.showMessageDialog(null,"All Selected Servers Have been started.","Servers Started",2);     
         }//end of startserversAnyhelp would be great thanks.

    Using the process class would give you a nicer API, but using destroy isn't a nice way to shutdown a process. Its like killing the process with your task manager. You should make a connection in some way with the game server and tell it to shutdown in stead (gracefull termination).

  • How to start an executable program from a java program ?

    Hi,
    does someone know how to start an executable program from a JAVA program ?
    Thanks, Fred.

    Take a look at the Runtime class.
    -S-

  • HT204350 Started the transfer process from my old MacBook to a new MacBook pro using Migration assistant 12 hours ago. The screen says transferring your information. Moving about 270 GB using an Ethernet cable  directly connected. Is this normal?

    Started the transfer process from my old MacBook to a new MacBook pro using Migration assistant 12 hours ago. The screen says transferring your information. Moving about 270 GB using an Ethernet cable  directly connected. Is this normal?

    You can get a thunderbolt to firewire adapter. You can then get a firewire 400 to 800 cable and put the old computer in target mode. Then you can follow these instructions.
    http://support.apple.com/kb/HT4889
    Choose migrate from other disk or volume.

  • How to export deployed SOA process from 10.1.3.4 and to use in JDeveloper

    I have a situation where I need to export deployed SOA process from 10.1.3.4 in order to make some changes since the source code is not available. If I export process from BPEL console in 10.1.3.4, I cannot use that in JDeveloper. Will anyone suggest me how to export the deployed process from 10.1.3.4 and then to import in JDeveloper 10.1.3.4. thanks!
    Regards,
    Suneel Jakka

    As far as i remember, i think you have option to export the deployed project as .zip file.
    When you deploy using jdev / ant script, the compiled code will be exported as .jar file into the server and in the server context path, the .jar file will be extracted.
    When you export from the server, it will zip the extracted content from the context path.
    So you need to create a empty project with that name and manually copy paste the project folders into your jdeveloper work space, then compile.
    Hope this helps !!
    *7) Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.*
    Thanks,
    Vijay

  • How to hide the PORT NUMBER from the URL

    Hi,
    We have Application on Node 1 and Database on Node 2
    Apps Version: 11.5.10.2
    DB: 9.2.0.6
    We recently added a new node to act as web server for iSupport.
    Now we are able to access the url using public Ip-address which looks like
    http://<Internet Ip-Address>:<PORT NUMBER>
    Eg: http://******.com:8000
    But we dont want the *'PORT NUMBER(8000)'* to be displayed.
    How to hide the port number ?..
    Thanks in Advance,
    Mahesh

    Hi Hsawwan,
    Can you plz explain me the steps how to hide the port number from the url as our network administrator is not aware of this.
    Regards,
    Mahesh

  • How to trigger the BPM process from WD Application

    Hello All,
    I have a simple business process with two ui activities. I am able to start the process from NWA -> Process Repository.
    But, I need to start the process from the application. Here is the requirement:
    User opens the application. ON completion, the BPM process for approval needs to be triggered. How do i access/obtain process?
    If I need to call a particular task in process, How do i do that?
    Kindly assist.
    Thank you.
    Regards,
    Sharath

    if you want to know the whole story, please refer to the doc
    http://help.sap.com/saphelp_nwce72/helpdata/en/44/4d2bb1c6b00597e10000000a155369/frameset.htm
    the profile, provider system,endpoint。。。。。
    search this doc in sdn, it is a good example regarding the configuration.
    How to Use SOA Configuration to Call RFCs and Web Services from within SAP NetWeaver BPM
    hope those may help.

  • Question: How to call a BPEL process from a PL/SQL procedure

    Hi All,
    Greetings to all BPEL people. I have a question on how can we call a BPEL process from a PLSQL procedure. It might be a stupid question but i wanted to know whether this fetaure is available in BPEL as our scenario requires us to explore if this functionality is available in BPEL.
    Please let me know and also if possible please send me the links for the tutorials if it is available.
    Thanks In Advance,
    Dibya

    Yes u can do it. there are two ways.
    1) First one is using utl_http package of PL/SQL
    In this case u can create SOAP request message & send it as Http request to your deployed BPEL process.
    This package provides some methods like
    set_header,write_text,get_response,read_text etc..
    Following is part of code which may be helpful to you.
    create or replace package body test_book_order_sub_pkg
    is
    FUNCTION test_book_order_sub(p_subscription_guid IN RAW,
    p_event IN OUT WF_EVENT_T
                                            Return VARCHAR2 IS
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    launch_url varchar2(240) ;
         begin
         DBMS_OUTPUT.Put_Line('Subscription : Order has been booked');
         soap_request:='<?xml version="1.0" encoding="UTF-8"?>
         <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header/>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/BES_BookOrder">
    <ns1:BES_BookOrderProcessRequest>
    <ns1:input>725</ns1:input>
    </ns1:BES_BookOrderProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    http_req:= utl_http.begin_request
    ('http://172.28.5.191:8888/orabpel/default/BES_BookOrder/1.0',
    'POST',
    'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'initiate');
         utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    DBMS_OUTPUT.Put_Line(soap_respond);
    return('SUCCESS');
    end test_book_order_sub;
    end test_book_order_sub_pkg;
    2) Second way is make your BPEL process listening to some database Queue(use AQ Adapter). & then put some message in tht queue from ur Pl/SQL code . This will also initiate BPEL instance. Check out AQAdapter tutorials.
    /mishit

  • How to call a BPEL process from Oracle Apps Java Concurrent program

    Hello,
    I need to trigger a BPEL process from Oracle Apps. Can anybody tell me how to do that? I have two triggering option--
    1. On button click from a Form 6i screen
    2. Using Java Concurrent program.
    Thanks in advance.
    Debkanta

    I am not sure how concurrent program works, but may be one of the way might work out, let me know if Java Concurrent Program works a bit different way
    - [if async] Through concurrent program, you can insert message token to db or aq, and BPEL can be instantiated from there
    or
    - If it supports pure java call, then you can look at multiple documents (e.g. http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf) to invoke your process
    - You can also use oracle db utility to invoke soap operation and get the result back
    HTH,
    Chintan

  • How to call a BPEL process from Java ?

    How can I call a BPEL process from Java?
    The Java client should be outside of the PEL engine.
    Does someone have a piece of sample code for
    a "Hello world" java-to-bpel call (+ java client src)?

    http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf

  • How To Start Forms and Reports From Start Command

    Hi All,
    How to start Oracle Forms and Reports in Oracle8i My OS is Windows 2000.Please tell the procedure to get into forms and reports.
    Otherwise we have to install other software for Forms and Reports.
    Thanks
    Sujan

    Sujan,
    what does the database have to do with starting Forms and Reports ? If you are on Wondows2000 then navigate to the \bin directory if the Oracle Home you installed Oracle9iDS to. Type ifbld90 for Forms and rwbuilder for Reports design environment.
    If your ability to start Forms and Reports from the command line is your only exit criteria in evaluating software for a project , how far will you go with it?
    Frank

  • How to start a BPEL Process using the File Adapter

    Hi
    I would like to automatically start a BPEL Process when I store a file in a specific directory. Can this be done using the File Adapter?.
    Regards,
    Néstor Boscán

    Yes, there are samples of how to do this in the BPEL samples directory.

Maybe you are looking for