Launching PCR-Workflow from Backend in Portal

Hello
We have a PCR-scenario running (ESS+MSS) with EP 6.0 SP2 Patch 4 HF 7 und CM SP2 P4 HF5 and it works great in the uwl in the portal. But some of our people still prefere working in the Business Workplace ("UWL of the Backend") instead of the uwl in the portal.
If someone tries to launch an item in the backend the portal is called with the old url of the xlauncher.
Ex:
http://h008xa.itelligence.ch/irj/servlet/prt/portal/prtroot/com.sap.tc.wf.wfx.xhandler/?wi_id=613456&logsys=lt30020&task=ts93500047&uname=zapfs&langu=d
The error message is:
Error occured while handling execution request:
Message: No service registered for task "TS93500047".
Please contact your administrator; Details can be found in the component's log.
If i call it in the portal the same item is opend with http://h008xa.itelligence.ch/irj/servlet/prt/portal/prtroot/com.sap.pct.hcm.isrdispatcher.default?iview=com.sap.pct.hcm.isrdispatcher.default&openinnewwindow=yes&wi_id=000000613456&destination=sap_r3_humanresources&item_id=6285&logsys=sap_r3_humanresources&task=ts93500047&uname=zapfs&langu=de
My problem is that the task is allready configured and that the xlauncher is the old technology of EP5.0. How can I change the entries in the backend system to call the correct iView?
Can anyone help me on this one?
Kind Regards
Stefan

Hi,
I don't think it is possible to launch the work item from the backend.. from what I understand, UWL is designed to work by connecting to the backend from the Portal and not the other way around.. what is the end
user trying to do.. appprove the PCR? If they want to approve without even looking at PCR form, they can do it via TCode IQS22 if they know the Notification Number.. But I wouldn't do it..
Regards,
Suresh Datti
Message was edited by: Suresh Datti

Similar Messages

  • Error while launching the workflow from OAF controller class.

    Hi Everyone,
    I'm using the below code from the submit button event to launch the workflow. The workflow works fine when I submit for the first time, when i try to submit for the second time from the same session it throws me the error as
    "Workflow with item type (XXCEDASP) and item key (SUNDRY-1061) is in progress. Abort existing workflow before launching a new process for this transaction."
    The item key which it is showing in the error is the item key for the previous transaction. Also I tried the code that is commented below (code between /* */). If I use the commented code, it doesn't throw me error but cancels all the transactions(that are initiated from the same session) except the last one.
    Is there any work around for this from oaf? Please help.
    Code:
    public void launchCustomWorkFlow(OAPageContext pageContext,
    String transaction_id, String requestor) {
    String wfItemType = "XXCEDASP";
    String wfProcess = "XXCED_MAIN_PROCESS";
    OANavigation wfClass = new OANavigation();
    String wfItemKey = transaction_id;
    /*if (OANavigation.isWorkflowInProgress(pageContext))
    String oldKey = OANavigation.getItemKey(pageContext);
    if (!OANavigation.abortProcess(pageContext, wfItemType,wfProcess, oldKey,
    null, null))
    throw new OAException("Error", OAException.ERROR);
    System.out.println("transaction ID = " + transaction_id);
    //Create Workflow Process
    wfClass.createProcess(pageContext, wfItemType, wfProcess, wfItemKey);
    wfClass.setItemAttrText(pageContext, wfItemType, wfItemKey,
    "TRANSACTION_ID",transaction_id);
    wfClass.setItemAttrText(pageContext, wfItemType, wfItemKey,
    "REQUESTOR_NAME",requestor);
    // Start Workflow Process
    wfClass.startProcess(pageContext, wfItemType, wfProcess, wfItemKey);
    Thanks
    Sunny

    Hi Haroon,
    Thanks for your reply. I tried doing it using the database procedure too. I'm having different problem if I do so. The problem is that when I submit the first transaction, the workflow is not kicked off. when i submit the second transaction, the first one gets kicked off, when I submit the 3rd one second one gets kicked off. So the last one never gets kicked off. This is the pattern I have observed.
    here is my code
    OAF Code:
    OracleCallableStatement cs = null;
    try {
    cs = (OracleCallableStatement)getOADBTransaction().createCallableStatement("{call XXCED_APWFL006_SUNDRYAPPR_PKG.INITIATE_WORKFLOW(:1,:2)}", -1);
    cs.setString(1,transaction_id);
    cs.setString(2,requestor);
    cs.execute();
    System.out.println("callable statement executed for transaction "+transaction_id);
    cs.close();
    catch(SQLException e) {
    throw new OAException("Error Raised:"+e,OAException.ERROR);
    Procedure Code:
    PROCEDURE Initiate_Workflow(transaction_id in varchar2,
    requestor in varchar2)
    is
    l_item_type varchar2(20):= 'XXCEDASP';
    l_start_process varchar2(30):='XXCED_MAIN_PROCESS';
    l_item_key varchar2(30):= transaction_id;
    begin
    wf_engine.createprocess(l_item_type,l_item_key,l_start_process);
    wf_engine.setitemattrtext(l_item_type,l_item_key,'TRANSACTION_ID',transaction_id);
    wf_engine.setitemattrtext(l_item_type,l_item_key,'REQUESTOR_NAME',requestor);
    wf_engine.startprocess(l_item_type,l_item_
    Can you please let me know what am I doing wrong?
    Also please send the code that has worked for you.
    Thanks
    Sunny

  • Stopping Workflow from backend?

    Hi is there a way to stop the workflow from running?
    So that all workflow processes are halted.
    Which job, process, etc would I have to stop, delete, etc in the DB? And how to start it again?
    Thanks
    Remy

    Remi,
    There are no seperate processes to monitor. The database itself is the main process.
    The workflow processes are initiated and resumed using API's. If there are no such API's being invoked, you are essentially not processing any workflow. However, workflow does use the background engine to process deferred processes. These could be submitted as dbms_jobs. So, you want to stop these processes to stop workflows from progressing forward.
    If you want a particular process from not getting processed, you can stop them by using the API's (wf_engine.abortprocess).
    Hope this helps,
    Raja

  • Problem related to pickup values from Backend in portal

    Hi,
    I am facing problem for Change Cost center & change Profit center.
    In the portal, that it is not able to pickup values from the Backend to show existing cost center and profit center for change in above mentioned forms.
    Thank you,
    Laxmikant

    Thank you

  • Error when launching PCR from action box

    We have a problem with our PCR's.  We're on ERP2004, but we're using the jsp-based forms.  I am trying to use the "display form" in the action box for personnel change requests in transaction IQS22.  I have set up the server in the required backend table.  However, when I launch the form I get a portal error screen that states:
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object: com.sap.portal.system/security/com.sap.portal.ep50/ep50_safety).
    Exception id: 01:14_15/12/05_0001_6872350
    See the details for the exception ID in the log file
    In the log I see:
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Access is denied: com.[companyname].pct.orgchange.default - user: Guest....  
    ....Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object: com.sap.portal.system/security/com.sap.portal.ep50/ep50_safety)
    I have tried the following:
    -setting up SSO from ABAP to the portal server
    -setting the AuthXXXX to 'none'
    -granting ep50_safety access to group 'everyone', 'anonymous users", "guests", etc.
    Has anyone else been able to launch PCR's from R/3 successfully? Any hints?

    Hi Dwight,
    We have been using MSS for over 2 years and did not have any issue while displaying the PCR form from IQS22. One thing you have to ensure is that the user is logged onto the Portal before trying to display the PCR form from the backend.
    Regards,
    Suresh Datti

  • Portal iView from Backend

    Hi,
    Can I lauch portal iView from backend screen? My query is related to PCR forms.
    Richard

    Thanks koushik RESOLVED.

  • Error when launching BEx analyzer from Portals

    BI Gurus...
    We are working on an initiative to migrate our user interface from SAP GUI to Enterprise Portal.
    Bex Analyzer is primary mode of reporting at this time.
    After importing the Roles into EP, I am able to execute the web queries successfully, in the BEx Wen analyzer. But, I get an error when I click on any of the excel workbooks. Our expectation was that once we click on the excel workbook name, the BEx analyzer will launch from EP. But it seems like the issue is with launching BEx Analyzer from BI Portal.
    Has anyone faced this issue before?
    Is it possible to launch BEx Analyzer from EP?
    Are their some key portal settings we have missed out on to enable launching BEx analyzer from EP?
    Please provide your thoughts/experience.
    Thanks,
    Ajay.

    Hi WernerS,
    Thanks for your response.
    The RRMXP Transaction works and it launching the BEx Analyzer as expected.
    Now, as per our research, I think there are 2 ways of launching BEx analyzer from BI Portals.
    1) Call via a URL
    You can call BEx Analyzer via the following URL: http(s)://<server:port>/sap/bc/bsp/sap/rsr_bex_launch/bexanalyzerportalwrapper.htm
    You can modify the URL to open BEx Analyzer with either a workbook, a query or a query view. You can use the following parameters to do this:
    ●      Parameter to open the workbook: ?WBID=<wb_id>
    I have tried calling via URL iView, but instead of launching the BEx Analyzer, it just throws a dialog box to "save" or "open" a file, RRMX.bex. When I try to open this file, it says "Invalid File Format".
    I tried opening the file in notepad and I see the following parameters passed.
               test
               Data=BX2,CONAJP,EN,mikoyan,17,,,250,
               9
    Any clue about what I am doing wrong?
    2) Calling via a Transaction
    You can generate BEx Analyzer in Portal Content Studio as an SAP Transaction iView.
    The iViews are of type SAP Transaction iView and have the code link com.sap.portal.app integrator.sap.Transaction.
    The most important properties are System, Transaction Code (TCODE) and ApplicationParameter.
    ●      The Transaction Code for all workbooks is RRMXP.
    ●      The ApplicationParameter property contains the value WBID=<WORKBOOK_ID>.
    I have tried this approach as well. When I open this iView, I see the RRMXP transaction in the Internet explorer, but the workbooks still does not open in the BEx Analyzer (Excel)
    Any thoughts on where am I going wrong ?
    Thanks,
    Ajay.

  • Several ADS Destination from Backend to different Portal Systems

    Hi Experten,
    I have created 2 ADS-Connections in the Backend System.
    Now, I want to use the first ADS connection from client 100 with ADS from Portal Training System.
    Next, I want to use the second ADS connection from client 800 with ADS from Portal Test System.
    Please let me know if it is possible to establish such configuration?
    If yes, please let me know how to go about it.
    Ich habe 2 ADS -Verbindungen  in Backendsystem erstellt und möchte einen Mandant mit ADS von einerm Portal verbinden (das soll ein Schulungssystem sein)und anderen Mandant mit ADS von dem anderen Portal (testsystem). Ist es möglich, obwohl die Verbindungen mandanten unabhängig sind? Wenn ja, dann an welche Stelle kann ich es einstellen, dass beim Aufrufen von Formularen die Kommunikation funktioniert so: Schulungsmandant  <-> Schulungsportal, Testmandant <-> Testportal?  Ich bitte um Hilfe!
    Best regards,
    R.Borodenko
    Edited by: Rodion Borodenko on Aug 22, 2008 12:56 PM

    Hi James,
    I know that I can realize SSO <b>from</b> a Portal <b>to</b> a backend R/3 System.
    What I am trying to do is create a SSO <b>from</b> a backend System <b>to</b> the Portal.
    Can someone help?

  • Starting Workflow mailer from backend

    Hi all,
    Greetings of the day...
    Have customized the workflow mailer by name 'WF_MAILER_FOR_ALR_ONLY' and have put a script like the below to send a mail if this mailer stops
    select COMPONENT_NAME,COMPONENT_STATUS,COMPONENT_ID
      from fnd_svc_components
    where COMPONENT_NAME='WF_MAILER_FOR_ALR_ONLY'
       and component_status != 'RUNNING';
    How do i start the manager from backend? Has anyone has written a script for automatically starting the workflow mailer when it stops?thanks,
    baskar.l

    I do not know of any way you can - pl see MOS Doc 459936.1 (Is it possible to restart The Workflow Agent Listener from prompt)
    HTH
    Srini

  • E-mail out of Workflow from UWL over federated portals

    Hello all,
    We want to create an e-mail, containing a link to the portal. Is there a possible way for constructing the hyperlink since we are using the federated portal approach? (means this E-mail coming from the workflow of the producer Portal and should be send to the consumer Portal). As a result the link is dynamic and not static. Nevertheless the link should function in any of both possible cases (producer AND consumer portal).
    Example for business case: User is signed on in Consumer portal but owns role/iView from ESS/MSS in producer portal over federated portal approach. The producer portal creates an e-mail and the hyperlink contained in it has to link to the task/UWL in the producer portal in spite of the fact that the user only owns “direct log in” in the consumer portal.  
    The E-Mail itself might be produced via an e-mail task in Workflow Builder or by using the function module SO_NEW_DOCUMENT_SEND_API1. The hyperlink should then be part of the parameter OBJECT_CONTENT of this function module.
    Have anybody a good tip / answer for this ??
    Thx
    Mario

    At this stage I run the workflow which reads the owner of the regarding customer and assign the email to this owner.(this step is working fine as expected). This workflow is written on E-mail entity and fires on Regarding field change of the email record.
    Problem is, our business wants this email to be automatically removed from the support queue so that it should only sit in the newly assigned owner's queue (at the moment they are manually remove it from support queue.)
    If this is where you are creating a queue item which is assigned to your support queue? If yes, you can assign this queue item to the owner of the record rather.
    Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/

  • Approve portal uwl workimtes from backend

    Hi,
    Is there a way to approve a portal workitem from backend?
    I have an MSS HRM form that is failing in portal so I cannot approve it there. What I want to do is to approve that qorkitem from backend, like from t-code SWI2 or something similar.
    Is there a way to do this?
    Thanks!!!!

    SNJY,
    the decision step it is calling the method WI_EXECUTION_VIA_R3_INBOX from class CL_HRASR00_WF_COMPONENTS and it has this program exit CL_HRASR00_POBJ_WF_EXIT.
    It is not a simple approval step with the approve/reject button. This step leads the approver to an HRM form and there he can approve or rejected, right throu the form. It hasn't got 2 outcomes (approved/rejected) it only has the step executed one and agfter that I'm checking is one of the fields inside the form is approved or rejected.
    The problem is that the form is failing so the WF got stucked at that point and I wanted to complete it from backend.
    When I try to execute it from SBWP or SWIA I get this message:
    "Workitem can only be executed usinbg the portal and the UWL".
    The problem is hat from portal we cannot do that as the form is in error so no action can be taken.
    Thanks is advance!
    Matias

  • Workflow integration with Web/Portal

    Hi All,
    I have been working on workflow front but only limited to R/3 front.
    Can anyone guide me as to steps involved for making worklfow capable of executing from Web or portal?
    Also would like to know what all things I should start to learn in order that I will be able to comfortably develop a small workflow scenario which can be executed from portal.
    e.g. I have heared about transactions SWFVISU,WF_EXTSRV QISRSCENARIO etc at various places. <b>But wanted to know step by step approach</b> (i.e whether I should look for SWFVISU first then WF_EXTSRV what are they exactly used for)and information about all the involved activities.
    Your any help is  appriciated.

    Hi Akshay,
    Coming to workflows that are executable in Enterprise Portal - Universal WorkList...
      -> Workitem calling a BSP Application.
      -> Workitem calling WD Application.
    I worked much on the second front, so lemme explain you something which I know. Instead of calling R/3 Based Form / Transaction as a workitem, you can call an Adobe Interactive Form / Webdnypro Application.The link between the Standard task and Webdnypro Application is done in <i><b>SWFVISU</b></i> Transaction.
    In the similar way, the ESS-Leave Service is also integrated(Leave Workitem calls the Leave WD Application). Please refer <i>WS12300111</i> template to get a fair idea.(Refer Leave Service Customizing in this link ... http://help.sap.com/saphelp_erp2004/helpdata/en/e6/ecec4082008631e10000000a1550b0/frameset.htm )
    To get idea of<b> ISR/PCR</b> Framework, please refer the following link
    <i>http://help.sap.com/saphelp_erp2004/helpdata/en/4e/3120386827c23ce10000009b38f842/frameset.htm</i>
    This <b>ISR/PCR</b> Framework involves Creation of Scenarios(in <b>QISRSCENARIO</b> txn),Development of Adobe Forms for the respective scenarios(in <b>SFP</b> txn.),related Workflow development and EP Content Development(IViews that call <b>IsrForm</b>,<b>IsrFormApprove</b> Standard WD Applications) to deploy these Forms in Enterprise Portal.
    Also refer this link for more info on ISR/PCR
    <i>https://websmp201.sap-ag.de/isr</i>
    For information about ADOBE FORMS DEVELOPMENT,Please refer the following links.
    <i>https://websmp201.sap-ag.de/adobe
    https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/21e4975d-0501-0010-1db9-8c45d832670a</i> [original link is broken]
    Please note that this ISR Framework requires import of ESS & MSS Business Packs on Enterprise Portal.
    For getting some idea about these ISR/PCR Based workflows, you can refer standard Workflows - <b>WS50000041</b> / <b>WS50000031</b>.
    And another way of developing the EP Based workflows are...
    Integrate the Custom WD Applications in our Workflows. I mean, the Custom WD Application that are developed using Java WD or ABAP WD are linked to a standard task using the <b>SWFVISU</b> Transaction.
    Coming to the BSP based stuff, we use WF_EXTSRV transaction to create a new Standard Task that calls the BSP Application(with all the required Import/Export Application Parameters).
    The <b>UNIVERSAL WORKLIST</b> in your Enterprise Portal must be configured in prior.
    I hope this information must be useful...
    Regards,
    <i><b>Raja Sekhar</b></i>
    Message was edited by: Raja Sekhar

  • UWL slow and disconnects from backend

    Hi  guys,
    The UWL is sometimes slow, it takes awhile to load the workflow items but after a portal bounce it is fine for awhile, the portal itself is fast it is just UWL. It sometimes tells you there are no items to retrieve, even if there are and if you look at the connection statuses of the connectors some fail and you can go to the UWL admin screen and reregister then, it does help sometimes but not always, the connectors show a failed status on the "actioninbox" and "adhocsystem" connectors as well, a deactivate/activate them doesn't help only a portal bounce.
    Any assistance will be much appreciated!
    We are on 2004s portal 7 sp12
    Thanks
    Theo

    Hi,
    you cannot use tcode RMPS_SET_SUBSTITUTE from backend when using UWL?
    From what I can see, they both update table hrus_d2. But there may be other implications that I do not see?
    I think if you use tcode in backend for substituatiion,user should do in backend only and it may not be available in portal.If you do substitution directly in portal,it will reflect  correctly in both portal and backend,
    You can try both options with tes workflow and see difference.
    Regards,
    Koti Reddy

  • SSO from Non-SAP portal to EP

    Hi.
    We need SSO from Non-SAP portal to EP.
    The Non-SAP Portal has publish Form-based authentification.
    I mean userid&password set to URL.
    Then the EP can generate SAP Logon ticket to backend system?
    regards,

    How to Enable Single Sign-on with Non-SAP Web Application                    
    I have very good material coollected for the same implement this.
    http://help.sap.com/saphelp_nw04/helpdata/en/12/9f244183bb8639e10000000a1550b0/content.htm                                             
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a7b5ba90-0201-0010-4dbc-8f999dcd2798                                                                                
    Cheers!!                                             
    SJ.

  • Error while trying to publish 2013 workflow via designer. Probably a workflow manager backend user account issue?

    Hello, I am getting error while publishing the 2013 workflow via designer. Also, under sharepoint designer if I try to delete any workflow then the page just refreshes and the workflow does not get deleted.
    I checked the services.msc and found that the workflow backend service was stopped. (this happened as the password of the user under which this serivce was running had changed).
    So, the network admin changed the service user to LOCAL SYSTEM and started the service.
    Now, the workflow backend service is started. We have run the iisreset also.
    However, I am still getting the same error:-
    System.IO.InvalidDataException: A response was returned that did not come from the Workflow Manager. Status code = 503:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
    <HTML><HEAD><TITLE>Service Unavailable</TITLE>
    <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
    <BODY><h2>Service Unavailable</h2>
    <hr><p>HTTP Error 503. The service is unavailable.</p>
    </BODY></HTML>
    Client ActivityId : ee94689c-4e08-b055-fe9c-268d7a94
    Please find attached snapshot.
    Is the error as a result of the change in service user? Can you tell me what priviledges should the account running the workflow backend service must have?
    UPDATE 1:-
    We have set the workflow service backend account user as farm admin and also tried to set it to site admin. The service is re-started. Now, for a new web application,
    I can delete workflows. However, for existing site, I am not able to delete the existing workflows.. Also, I am not able to publish workflows (present under new and previous sites) and the error is same as described earlier.

    Hi Nachiket,
    According to your description, my understanding is that you got an error while publishing the 2013 workflow via SharePoint 2013 Designer.
    As you have changed the password of this service. Please open IIS and make sure identify of the WorkflowMgmtPool is correct, you can re-type the identify. Then  make this pool is started.
    Open Services, find Service Bus Message Broker service and Windows Fabric Host Service. Make sure they are running. If not, firstly, start Windows Fabric Host Service, then start Service Bus Message Broker service. If Service Bus Message Broker service is
    started, stop and re-start it.
    Here are some similar posts for you to take a look at:
    http://developers.de/blogs/damir_dobric/archive/2012/10/23/deploying-sharepoint-workflows.aspx
    http://developers.de/blogs/damir_dobric/archive/2012/09/18/servicebus-message-broker-service-is-starting-and-starting.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Multiple ipads on same pc

    My wife has an original ipad and I have an ipad2 on the way. If I sync my ipad to the same itunes as she syncs to will we both have the same info on each unit? Can we do separate backups? do I need to sync mine to a different pc? thanks

  • Profit center from FI docs

    Hi I have some own report with open positions for customers (BSID) but I must read profit centers for it and group by it. In BSID isn't correct value because in invoice is on the GL account FI document side (koart = 'S') not for customer (koart = 'D'

  • Phone wont tell me when i get a call if locked

    when my iphone is locked (screen off) and i receive a call, it wont light up to say im getting a call. it just stays black. then i unlock later and it says i have a bunch of missed calls. anyone else have this problem or know how to fix it?

  • Bad image quality on stills

    I apologize if this has already been addressed somewhere, but I have searched the forums quite a bit and found nothing about this. I am creating a DVD for an advertising agency. One of the things they want on the disc is a section displaying print ad

  • Visual distortion after rendering (Apple ProRes)

    When I use the share project "Master File" option and select any of the "Apple ProRes" options my final rendering has horazontal distortion lines that apear around moving objects. My work around has been having to render using the share project "Emai