Making Workitems non-executable from SBWP or R/3

Hi All.
How to make Tasks non executable from SBWP and executable only from UWL.
Is the configuration supposed to be entered in SWFVISU.
Regards,
Sameer.

This is how this is achieved in MSS:
- Create (or use an existing method) that displays an error message (no need to raise an exception or anything). This method will display an error when executed in ECC
- When defining the step in the workflow that calls that "error" method, define a "Program Exit" class under the corresponding tab. The class needs to implement the interface IF_SWF_IFS_WORKITEM_EXIT.
Take a look at how task TS17900102 is used (if you have it in your system).

Similar Messages

  • Workflow not proceeding, when decision workitem is executed from WEB UI

    Hi Gurus,
    We are using the standard user decision task(TS00008267) in a custom workflow.If we execute the Decision task workitem from the SAP Inbox(backend SAP GUI) then if  we see the workflow log the outcome of the decision task is being populated in WIRESULT  & _RESULT fields and the flow is proceeding further and the workflow is working fine.
      But If we execute the same Decision task workitem from the CRM Portal worklist (WEB UI) and see the workflow log the Outcome is being populated in Process & Process fields  Overwriting WIRESULT  & _RESULT  the field names. The decision task status is set to 'Completed' and the workflow is not proceeding further and the workflw status remain 'in process'.
    I am not sure whether any settings to be made in the backend to make it work and flow the data from WEB UI to bakend? if so please let me know the setings . or
    Please let us know the solution.
    regards,
    Sateesh.

    Hi Govil,
       Thanks.
    The agent assignent is fine and the task is also made as general task . Even the object  i am using is standard 'BUS2000120' not  the custom one.
    i feel the problem may be due to someworkflow settings between Web UI and backend. Let me know if any settings like such (apart from SWU3).
    Any more suggesstions please????
    Regards,
    Sateesh

  • Hide workitems in SBWP or raise error when execute in SBWP

    Actually I want to make sure that workitems of some tasks should be executed in UWL only. At the moment they appear in both inboxes. I had 2 different solutions in focus 1) Raise an error message when executed in GUI inbox (SBWP) or 2) hide those items in SBWP.
    Any ideas how this could be implemented?

    If user doesnt need the workitem to see in SBWP, then you could filter the workitem by BAdI- WF_BWP_SELECT_FILTER
    Else, if user need to see the workitem in SBWP but should not execute in SBWP,  then raise an error message (while executing from SBWP) and put back the workitem to Ready state, so it will not affect the workitem's status in UWL
    Vinoth

  • Cancel WorkItem after execute a Method

    Hi all,
    Is there a way to cancel a workitem after executing a method?
    I put this method at the tab METHODS in the activity USER DECISION, but when the method is executed before the workitem, i need this closed.
    It´s because i am using a worklist at the PORTAL, and then what I need is to show the workitem at the UWL and then when the user click on the link to the WI, execute the METHOD (this method opens a webpage made with webdynpro).
    Best Regards,
    Ricardo

    I think you want to complete the workitem , once the workitem is executed from the UWL right?
    if this is the case as you said that you are using a Decision step which will open a webdynpro applicaiton once it is executed, then instead of using the methods tab, I suggest you to modify from the application side
    1. If the end user clicks on the Approve button or reject button UNder the actions of these button, call the standard SAP fm SAP_WAPI_DECISION_COMPLETE to which you have to pass the currently executed workitem ID and Decision for approve as 0001 and for reject 0002.
    this is more suitable and simple way of completing the worktem.

  • Problem in loading applet from non executable jar file

    hello ,
    I am new to jar concept plz help.. I am trying to call an applet from another applet through frame it is working fine but its download time is much more. now i want to store all my images , sound files and class files of other applets in a jar file and want to access these inner applets from this jar file so that it will make only one http connection with the server for this jar file only and can reduce the download time of applet.
    Can anyone can give me suggestion plz..
    Thanx

    You have to download what you have to download. You
    probably can't easily share images between 2 separate
    Jar files. Unless you can expose them through the
    other applet via a method that can be known once you
    have the reference to the other applet.Thanx but i think i have to elaborate the problem :
    my project structure is just like this ::
    on the top is ::
    Applet A---> from this applet i am callling Applet B & Applet C in frame
    and communication is established between these 3 applets successfully .
    now i have made a single non executable jar file which contains images , sound and class files of these applets .
    so i am referencing images and sound files in applets through this jar.
    but i wanted to load Applet B & C through this jar file only.
    How can i do this ??
    Thanx .. I hope now the problem is clear

  • Typical issue while approving workitems from SBWP.

    Hello All,
    I have an issue while approving workitems massivley from SBWP. I think we can approve bunch of workitems which corresponds to a single task at once.
    But for me iam not able to approve all the related workitems at once. When i select and try approve , it asks me to approve one at a time ( i get screen by screen) . Where some are able to approve at once, i verified my user settings with them and every thing seems to be normal ( Parametes of SU01D).
    What could be the reason, please suggest.Its very important for me.
    Regards
    Mahesh.

    Hi,
    Sometimes mass approvals are needed. At my client there is a rule that ALL refunds need to be approved by a person - they cannot go out automatically.
    So we allow multiple (small-value) refunds to be selected by one user and approved en-masse. It works quite well in SBWP.
    As for the problem being discussed, if it works for one user, it should work for all. Are there differences in authorizations between the users?
    cheers
    Paul

  • Error popup when workitem is executed

    Hi Wuggers,
         One of our user is getting an IDOC error kind of workitem.I have checked in the business object(idocmsg) but there is no any event associated with it. Our user needs a clear details on this issue. We are into Ecc6.Since there is no any idoc related activity is done. How can I avoid this work item from triggering this into SBWP.
    Once the workitem is executed, a pop up is displayed with -
    Workitem 000007750945:object IDOCMSG method ERRORPROCESS cannot be executed.

    Please check in SWI1 -Log for this Workitem.
    If a partiucular agent is assigned to that task or not.
    If yes try to remove it and the particular user will not be recieving it anymore in INBOX.

  • Unable to open URL attachment from SBWP in CRM WEB UI

    Hello Gurus,
    Need your help please. I'm having some problem opening the URL attachment from SBWP via CRM 7 WEB UI (I used a Transaction Launcher for SBWP). The attachment is a Webdynpro application.  I am able to open the attachment in SAP GUI, but not in CRM WEBUI. This problem occured when we update the SP level of CRM 7.
    Here's the scenario,
    - whenever I click the attachment, it open a new window, which also happen even before SP level update, with the following information:
      Execute an Application on FrontEnd
      Please wait. You will be forwarded automatically.
      This page is included for technical reason.
      Execute program.
      Status: Displaying Office Document ..........
      After a couple of seconds, it will return to the Workflow Workplace screen.
    I have checked the workflow log and found no inconsistency on the attached URL.
    Immediate response would be highly appreciated. Thanks in advance.
    Regards,
    Edwin

    Thanks for the reply WD ABAP.
    Yes, I did try to use the functionality of Worklist and the URL attachment successfully opened. However, there are some limitation in its functionality as indicated in the link below that opted us to use the SBWP in CRM WEB UI via transaction launcher.
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWorklist-AdvancewithDialognotSupported
    We don't want to adjust the logic of our existing workflow at this point as described in the above link as it will entails end-to-end testing again. We just encountered this issue when we update the SP level of CRM 7.
    Hope there is an alternative solution without shifting us to Worklist.
    Regards,
    Edwin

  • Can I use SubPanels to display and run multiple executables from the same GUI?

    I have two Labview executables that performs some A/D I/O, each using an independent USB-6008.  I would like to run both of these executables from a single UI.  Is this possible usin SubPanels?  Or some other method?
    I found KB regarding exe's and VI Server but can't seem to get the suggested workarounds implemented.
    http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C?OpenDocument
    I am using Labview2009
    Thanks
    Dan
    Solved!
    Go to Solution.

    DBerry wrote:
    No, of course I am not sure yet.  I have only begun testing this method. 
    Not sharing common hardware (separate USM-6008s).
    Here is the whole picture:
    I have developed a top-level VI that performs Daqmx IO using a single USB-6008.  The top-level VI references a Project Daqmx Task that points to the desired 6008.  I would like to create a single UI that uses this top-level VI to control twoUSB-6008s simultaneously.  I thought I could build the top-level VI into 2 separate exes, where the only difference between the exes is the hardware it points to (one exe to each of the 6008s).  But I have been unsuccessful at running these two exes within a single UI.  I attempted use subpanels on a tab control to do this but I am unable to obtain a reference to the top-level vis once they have been built into an exe.  I have also tried building a dll and exporting the top-level vi from the dll build but i can't seem to get that to work either.  In both of these cases my Open VI reference function returns errors (Error 1445).  I am aware of the changes in referencing VIs from within an exe/dll since LV8.2 - http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C
    The link seems to suggest that I should be able to obtain a reference to the top-level vi within the dll but I can't get it to work.
    So I then moved on to the above method (making all the subvis reentrant).  I just haven't figured this all out yet.
    If you have suggestions on other problems I may run into please share.  I think I can eliminate my FGs but haven't gotten back to this yet.
    Thanks
    Dan
    When I am designing apps of the type you described I have kept the ned goal in mind from the begining since of the issue you are mentioning. I also don't want to tell you to throw it all away and start over. So with that in mind I have been looking at your posts and only offering the least destrutive ideas first. With that in mind I would like to invite yo uto look at the code i posted in this thread (reply #18 has a zip).
    That code shows how to realize un-dockable GUI regions but it passes the ref of the top level VI to a reentrant VI it instanciate for each undockable region. It may have enough hints and technique to give you some ideas that will work for you.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I call a LabVIEW executable from within another LabVIEW executable?

    I have a customer requirement for two LabVIEW executables. Based on their current setup, they need to run executable "A" or "B", both of which are under independent revision control. I have created a third "selection" executable that allows the operator to choose between one of the two, but I am receiving errors when I attempt to call a LabVIEW executable from within a LabVIEW executable using either the "System exec" VI or the "Run Application" VI. If I call a non-LabVIEW executable (such as Windows Explorer) everything works fine.

    > I have a customer requirement for two LabVIEW executables. Based on
    > their current setup, they need to run executable "A" or "B", both of
    > which are under independent revision control. I have created a third
    > "selection" executable that allows the operator to choose between one
    > of the two, but I am receiving errors when I attempt to call a LabVIEW
    > executable from within a LabVIEW executable using either the "System
    > exec" VI or the "Run Application" VI. If I call a non-LabVIEW
    > executable (such as Windows Explorer) everything works fine.
    As with the other poster, I suspect a path problem. You might try the
    path out in a shell window, and if it works, copy the complete absolute
    path to LV to see if that works. LV is basically passing the comma
    nd to
    the OS and doesn't even know what is in it, so you should be able to get
    it to work.
    The other poster commented on subpanels, which is a good suggestion, but
    without going to LV7, an EXE can have open more than one VI. You can
    use the VI Server and the Run method to fire up another top-level VI.
    The decision is whether you want both to be in unique processes.
    Greg McKaskle

  • Error while building an executable from vi

    Hello,
    I am trying to make a .exe file from the VI which includes Vision Aquisition Software also and while building it I get a error message--
    Error 1502 occurred at AB_Source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass: Save.vi -> AB_Build.lvclass:Copy_Files.vi -> AB_Application.lvclass:Copy_Files.vi -> AB_EXE.lvclass:Copy_Files.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Build.lvclass:Build_from_Wizard.vi -> AB_UI_Frmwk_Build.lvclass:Build.vi -> AB_UI_FRAMEWORK.vi -> AB_Create_Build_Application.vi -> EBUIP_Global_OnCommand.vi -> EBUIP_Global_OnCommand.vi.ProxyCaller
    Possible reason(s):
    LabVIEW: Cannot save a bad VI without its block diagram.
    Can anyone tell me how to solve this problem ?
    Thanks in advance.

    I had done that and did not work.  I did not get rid of the old build defination, but started a brand new one via Tools>Build Application (EXE) from VI...  I got the same error 1502.  Inspecting the offending VI did not yield any obvious problem with the block diagram. 
    Upon searching for error 1502, I found this Know Issue link:
    http://www.ni.com/white-paper/11869/en.  Issue ID 255617 stated:
    Error 1502 can occur if dependencies are placed in non executing case structures
    In previous versions of LabVIEW you could place VIs in a case structure with a constant wired the the case selector. This would load the VIs at runtime. If you have this pattern and attempt to build an executable you could receive error 1502
    Workaround: Don't use unreachable code
    So the issue is I have an case structure with hard coded boolean, so the other case is unreachable.

  • PO Response approval Work item is not executing from approver inbox.

    Hi,
    PO Response approval Work item is not executing from approver inbox. After click the approve button system is not showing any error and also work item is not clearing from user inbox. When we checked the status of the work item in SWI1 Transaction is still READY.
    Standard Task: TS14508055 - Transfer purchase order response data to purchase order
    Business Object: BUS2209
    Scenario:
    1. Create PO in SRM System, Vendor belongs to SUS System Vendor
    2. SUS Vendor creates the PO Response SUS system, POR Value is greater Than PO Value
    3. Approval Work item will go to Buyers of purchasing group
    4. Buyer trying to approving The PO Response from his approval inbox
    Regards,
    Surya Sankar

    what all buttons do you see when you open the workitem in the approval inbox.
    as far as i know , there will only button 'transfer response to purchase order'..
    what happens if you click the above button.

  • [Solved] Cannot access non-executable directories

    After I copied some folders and files from CD I had permission denied trying to access as a normal user.
    So I did
    sudo chown -R doctor:users folder
    sudo chmod -R 777 folder
    After that, the folder and files became executable.
    So, in directory Music/ I had some executable folders and files.
    I thought I can make it all non-executable recursively...
    sudo chmod -R -x Music/
    And now it's non-executable.
    But wait
    [doctor@doctor ~]$ cd Music/
    bash: cd: Music/: Permission denied
    I cannot access non executable folders?!
    After I make them executable again, I can access.
    [doctor@doctor ~]$ chmod -R +x Music/
    [doctor@doctor ~]$ cd Music/
    [doctor@doctor Music]$
    wtf?
    Last edited by Doctor Drive (2010-09-15 12:55:44)

    Didn't get how it works though..
    But a way to solve is
    chmod -R 775 Music
    And for files...
    find ./Music/ -type f -exec chmod 664 {} \;
    Though still didn't get why must folders have different permissions...
    Too much to study that chmod thing...
    Last edited by Doctor Drive (2010-09-15 12:55:18)

  • Is it possible to call a VI that is inside a LabVIEW executable from a TestStand sequence?

    I have created a custom TestStand operator interface and have modified the default sequential process model to display a UUT information dialog that prompts for more information than just the UUT serial number.  This UUT information dialog is a LabVIEW VI.  To distribute the operator interface, I build it into an executable.  As part of the build process, I make a copy of the UUT information dialog VI (which is part of my operator interface project) and place it in the same folder as the executable.  I have then configured the sequential process model to call the dialog VI from this location.  It would be really nice if I could embed the UUT information dialog VI inside the operator interface executable so that I could distribute just an executable instead of an executable and separate VIs.  Is this possible?  In other words, is it possible to call a VI that is inside a LabVIEW executable from a TestStand sequence just like a standard LabVIEW VI call?

    Ryan,
    The dialog that you've created isn't being directly called by the OI at all and shouldn't need to be included in the same directory as the OI for distribution. Since you are modifying the PreUUT of the default process model, you will give the path to the VI in that step, create a deployment and then manually copy the VI to the directory referenced in the step. The VI is considered a support file for the process model and is not related to the OI at all.
    Test Engineer - CTA

  • How can I stop iMovie from making thumbnails of clips from past projects when opening the program to digitize new clips for new project. i have looked in the preferences and couldn't figure out what to disable.

    How can I stop iMovie from making thumbnails of clips from past projects when first opening the program to digitize new clips for a new project. It takes forever for it and is very annoying. I have looked in the preferences and couldn't figure out what would disable this problem.

    You do not need to move your cursor much when pressing the mouse button to cause the tab to tear-off/tear-away into a new tab. No "sensitivity" setting that I am aware of. The tab in the new window can be dragged back to the original window.
    To disable the feature, install this: https://addons.mozilla.org/en-US/firefox/addon/bug489729-disable-detach-and-t/
    *Read the information on the above page
    *Set options for the add-on: Add-ons > Extensions, click Options next to the specific Extension (the 2 options are defined/explained in the above page).
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

Maybe you are looking for