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

Similar Messages

  • 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 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

  • 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.

  • Invoking GP process from UWL

    I'd like to invoke a guided procedure on our EP (7.0 SP8 with Java stack) triggered by an organisational change in R/3 HR (4.6C). The Business Workflow is quite easy to set up, and a task can be seen & executed in UWL on portal.
    How do I easily start a GP instance either through an URL (from e-mail message) or a direct (RPC-style) call from workflow using the agent's credentials and pass an employee number as parameter?
    Possible techniques which came to mind are these:
    - expose WD application as a web service and call it from R/3 workflow; WD app in turn launches the GP process
    - as above but deliver link to service as an URL in e-mail message
    - call a function module which somehow can invoke the GP process on another SAP system
    Any ideas will be greatly appreciated.
    Thanks in advance
    -Arto-

    you can start a GP process via Web service
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/64db6d81896d12e10000000a1553f6/frameset.htm
    or via GP Java api, look at section "3.3.4.1 Starting and Terminating Processes Within a Composite" (page 284) from the How-to guide https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1eb928a1-0601-0010-f890-be9169f0d856
    or via a form like HTML or PDF
    see section "Interactive Forms" of the CAF Tutorial Center https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/webcontent/uuid/588540fa-0c01-0010-9cbb-93a7cf3cada2 [original link is broken]
    or from a UI like wedynpro using the GP web service or GP java api method

  • 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

  • Start a new process from a running process BPM 10.3 STUDIO!

    Is it possible to create a process in BPM Studio 10.3 from a running process.
    The scenario is that we have a process running listening to a jms queue an when a message
    arrives it's starts the process that was requested in the in message.
    /Getr

    if you have a Global Automatic activity listening to a JMS queue, here's how you can create a new work item instance in a process using logic in the Global Automatic activity's method. This uses the "Fuego.Lib.ProcessInstance.create()" method shown below:
    // "args" is an associative string array (Any[String])
    argsIn as Any[String]
    // this assumes that the Begin activity has two argument variables
    //   named "nameArg" and "amountArg" and you're setting them
    //   to the variables "name" and "amount" respectively
    argsIn["someArgVarName"] = "Hello"
    argsIn["someBpmObject"] = myBpmObject
    // logic here to determine the name of the process to create an instance in
    idOfProcess as String
    idOfProcess = <hard coded string that has the id (not the name of the process to instantiate>
    ProcessInstance.create(processId : "/" + idOfProcess, arguments : argsIn, argumentsSetName : "BeginIn") ProcessInstance is in the Catalog inside Fuego.Lib.
    The processId parameter (the "idOfProcess" variable in the above logic) is the thing I most commonly screw up with this. It is the text you see when you right mouse click the process in the Project Navigator tab -> "Properties". Look at the value in the "Id" field and not the "Name" field here (the name without any space characters). Prefix it with a "/" as is shown here and if you've deployed this using an organization unit (OU) then prefix this to the string also.
    The third parameter is almost always "BeginIn". Begin activities in a process can have many incoming argument mappings, the default is "BeginIn". To see yours, double click the process's Begin activity and look at the mapping's name in the upper left corner of the dialog.
    "argsIn" is the set of incoming argument variables you want passed into the process. A common mistake is to type in the names of the incoming argument variables without the double quotes like this:
    // this will *NOT* work
    argsIn[someArgVarName] = "Hello"
    argsIn[someBpmObject] = myBpmObject
    . . .Here is the correct syntax:
    // this *WILL* work
    argsIn["someArgVarName"] = "Hello"
    argsIn["someBpmObject"] = myBpmObject
    . . .In this example, the process has two argument variables. It does not matter if the incoming argument variables are primitive type arguments (e.g. String, Integer, Decimal...) or BPM Objects, it is always done the same way. In this example, there is a String incoming argument called "someArgVarName" and a BPM Object incoming argument called "someBpmObject".
    Dan

  • [Solved] Start a background process from within a loop?

    What I'm trying to do is this:
    for i in $(seq 3); do
    sleep $i &
    done
    but bash doesn't like the one-line version:
    [foutrelis@foutboxd ~]$ for i in $(seq 3); do sleep $i &; done
    -bash: syntax error near unexpected token `;'
    Halp?
    Last edited by foutrelis (2008-09-20 17:23:23)

    The '&' after the sleep command is the termination of the command, so you don't need the extra ';'
    $ for i in $(seq 3); do sleep $i & done
    See the section "Lists" under "SHELL GRAMMAR" near the top of the bash man page.
    Last edited by jcasper (2008-09-20 17:19:13)

  • Start BPM process from ABAP report. Need some investigations.

    Hi there!
    I have to start a BPM process from ABAP report. I found an article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d75b45-7fef-2b10-bc8e-c6012e0a9457?QuickLink=index&overridelayout=true and have done everything it describes but the process doesn't start.
    What I've done:
    1) Created a service proxy in SE80.
    2) Created a logical port in SOAMANAGER.
    3) Write a code to start a WebService in ABAP Report.
    But when I start a program nothing happens, no errors.
    What analysis I did:
    1) See logs and traces in SOAMANAGER - there is nothing appears after I start the report.
    2) Tried to test connection to my WebService in SM59 - the connection works, but it use a POST method instead of GET:
      Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    But I think it is OK and from the report it use a right method.
    3) Tried to delete a logical port - the error of communication problem appears. So it means that all settings are right.
    4) No logs in NWA logs
    My thoughts - if there is not any errors and no result, it can be because the user authorization. E.g. it tried to start a process by a user who doesn't have SAP_BPM_SuperAdmin role. But I can't find a way how to check what really happens. So I want to ask for a help, colleagues:).

    Dear Kirill Zhuklinets,
    Can you share your solution as i am facing the same error while trying to consume BPM webservice from SRM ECC
    Error Message from SRM ECC :
    Exception occurred in communication framework:Error in HTTP Framework:405Method Not Allowed
    Log from BPM Web service
    Error: process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    Please share your solution..
    Regards,
    Yasin

  • Problem with starting a sqlplus-process via java.lang.Process

    Hi,
    I want to start a sqlplus-Process from a java-application via java.lang.Process. Works great with XP. On a W2K-Machine, the process is started (I can see it in the Taskmanager), but it doesn't connect to the db - the OS-process hangs, also the java-application which invoked the process.
    If I start a sqlplusw.exe-Process instead of sqlplus.exe, it works as well.
    Does anybody know what's going wrong ?
    I'm using java 1.5.0_11 and Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Thanks in advance
    Jens

    java.lang.Process can be used to perform an OS Shell to launch specific tasks. But why are you interested in specifically launching sqlplus from here?
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Message Processing from Middle.

    Hi,
    I have a requirement in which I have to process the message from the last mapping component where it got failed. Is it possible that I can have an inlet between the mapping component. So that I do not have to process the message from the start.
    Thanks in advance.
    Gautam

    Not possible to start the message processing from the point where it failed...however restart of message (if Restart allowed) is possible from XI/ PI......not recommended to be used in Production.
    Regards,
    Abhishek.

  • Re-Start Active Sync process where ever it was left

    I was forced to delete the SA runner active sync process. By this time the process completed 200 records.
    Now I want to re-start the Async process from 201 record.
    Any ideas how to achieve this?
    THanks.

    ActiveSync sorts by the uniqueId for each record.
    1) Backup the full files as you will need to copy back over the modified files for processing a subset of the records
    2) Make sure the ActiveSync & FFAS files are sorted correctly
    3) delete the 200 records that processed already such that the 201 is the beginning
    4) Before processing the diffs of the modified ActiveSync & FFAS files you need to complete a processing of the modified FFAS file without any diffs (ActiveSync = FFAS). This tricks AS into starting at the 201 without reprocessing the 1st 200.
    5) Now process the modified ActiveSync against the modified FFAS.
    6) On completion set both the modified files back to the saved full AS so all records exist for future executions

  • No able run a GP Process from Portal

    Hi All,
    I am not able to run a GP Process from the portal.
    I have created a Guided Procedure with multiple steps.
    I am able to access a couple step. But in the third step the complete functionality is not working.
    If I run a process with out portal, Every step works well.
    Please help me in solving this.
    For integrating in portal, I ve used AInstantiation iview with URL Parameter from the process.
    Thanks in Advance,
    Anish

    Hi Anish,
    If your third step is an iView, a VC Callable Object or another "non java technology" UI, this only means that you need to open the process within the portal to be able to use the so-called "Portal Navigation".
    The AInstantiation WD App only exists for testing purposes (from the Design Time) and is not meant to be reused.
    I would rather recommend you to implement your own application for starting GP Process either by using the Public API or the Web Service
    See also how to start a GP process from a url within EP?, your problem should be solved
    Hope this helps,
    Best regards,
    David

  • To Bypass CAF Process Initiation default page

    Hi folks,
    I am triggering a CAF process from WebDynpro application and navigating to process iView from WD iView  in portal using Absolute Navigation approach.
    Note: i have created a URL iView to show CAF process in portal.
    I am able to navigate to process iView. Here i get default page of process which contains input parameters and buttons to Initiate process.
    I want to bypass this initial page.
    Pls help
    - Mandeep Virk

    Hi Mandeep,
    i can think of two reason for this "default page" to appear:
    1- You have exposed in input parameters with the " is required " checkbox activated , but you are not sending them any values in the URL, so as they are NULL the framework asks you to fill them.
    2- You said you are using URL Instantiation, please check if you are using the &process.autostart=t in the url, for example:
    ../../sap.com/cafeugpuiinst/AInstantiation?process.template.id=4CC025B0506A11DE98E000145E2A8FE2&process.autostart=t
    Regards,
    Marco.

  • BPM start process from WD UI

    Hi all,
    I am quite new with BPM in the SAP environment and for the moment I am strugling with the start of a process using an WD UI.
    What i have is a simple process with two activities. The process starts with no problems from the respository and also I created a wdsl and managed to start the process from the wsnavigator.
    Now I want to start the process from a simple UI. For that I created a WD component, assigned it to an app and connected to a model. Next I edited my portal to have a new folder with a page that contains my app.
    The UI has to fields and a button. My goal is to use that button to start my process.
    Probably I am doing something wrong when creating the action and maybe someone can help me with the java part on the actual button action.
    Please help. Thank you.
    Regards,
    Stefy

    I've made a lot of research and of course found a lot of forums and help. But for the moment I had some issues with addapting them completely to my situation, since I have to prior experience with this.
    For example I think this is the best solution that I have found so far: /people/arafat.farooqui/blog/2010/06/23/introduction-to-sap-netweaver-bpm-part-6
    but at the following step:
    / Bind the object
    wdContext.nodeRequest_Name().bind(objRequest);
    I can't figure out what is the nodeRequest_Name()...
    couldn't find this "asset" in my WDContext.
    Regards,
    Stefy

Maybe you are looking for