How to find ObjectKey for the workflow, or Task for a ObjectKey

Hi,
I am developing a custom workflow for a customer request,
I need to apply a condition like, If there is a open workflow request for this customer, then it should not start another workflow.
how do I do that ?
I tried to look into SWi6, it gives results till I keep the Object key Blank, if I use this with the object key then it gives no result.
I have also tried function module SAP_WAPI_WORKITEMS_TO_OBJECT, but still no success.
I have developed my own Business object for this with key fields.
thanks
Siddharth

Hi,
You can check in the table SWW_WI2OBJ, whether for the key and business object, there is workflow exist or not.
Get the last workitem based on the timestamp and pass that work item in SWWWIHEAD and get the top work item.
Now check whether the status is COMPLETED or INPROCESS or READY, based on which you can trigger or not.
Regards,
JMB

Similar Messages

  • How to find out what the latest update is for something from apple's site?

    i've never been able to do this, and has been a recurring problem for many years:
    how can you, using apple's web site -- presumably the support or downloads section -- find out what the latest update for/of a certain product is?
    without going into the details, the software update app is of no use to me.
    for example, i have a airport extreme base station 54 mbps. how do i go about finding out what it's latest software is? do such products not have a web page which has the latest update linked to from it?
    why is it so hard, impossible i find, to find out what the latest software is?
    any pointers much appreciated. (i'm not particularly looking for the answer to "what't the latest update for a airport extreme base station 54 mbps?" but a general method for finding out the latest update for anything using apple's web site)
    thanks very much.

    If you use the Advance Search function:
    http://search.info.apple.com/
    you can filter results to give downloads for the search words airport extreme base station. The return will be in date order from newest to oldest. Yo ucan also designate word pairs of groups to narrow the search.

  • How to find out if the stock is available for the sales orders

    hello gurus
    We have 25 sales orders.. for which we did not have any stock.. so we produced internally and now the stock is available physically and stock is updated in SAP as well.
    How can i know that for all the 25 orders ..if the stock is now available for all the orders.. we have a requirement that unless we have a stock available for each order we cant create deliveries.. againts the sales order.
    I would like to know what is the best possible way to check the stock availability for all the 25 orders at one time.
    Note : All 25 orders have different materials.. in them
    regards
    mohammed

    Hi,
    To check the stock availability tcode is MMBE, enter the material no, plant and storage location and then click the  EXECUTE button ,u will see the stock.
    For different materials , u ve to repeat the above steps.
    Reward points if it helps.
    Regds,
    Pallavi

  • How to find and replacing the path (url) given for data binding from type 'datasocket'

    Hi everyone,
    I'm sorry to pose this question as my own knowledge is still very limited.
    I have an assignment (bachelor level). We were asked to adjust a plc program in step7 so that multiple of an existing sequence could be run indepently.
    The settings for that sequence are controlled by labview. Sensor data is also viewed in labview.
    There is an existing labview VI that was made by someone else before us. It uses 'Datasocket' type for data binding. Because we would like to adjust this VI to be used with the other sequences, we would like to change the original path or URL quickly, as in a 'Find&Replace' solution. Yet the find and replace only works for objects or text, not entries in the properties.
    Can someone please tell me if there is a way to do is, without having to use shared variables, as we are not at all known with this type.
    Many thanks,
    Niels

    Dear Niels,
    Please find the attached example. I placed 5 controls on the front panel, all with a data socket URL (control 1 = URL1, control 2 = URL2 etc). Through property nodes I did the following;
    - I got a reference to the front panel
    - with this reference we can get an array of references to the controls on this front panel
    - one by one we will read the references and check the data socket URL from the control, we compare this with the URL we are searching
    - if found, stop we will use the reference to write a new URL to the control.
    Please notice the default values of the controls; it is set to search for URL3 and replace this with URL10, run the VI once and you will see that happening. I also included a sting indicator which will show you the label of the control which we find. Also a Boolean indicator in case we were not able to find the URL.
    I downsaved the VI to 8.6, I'm not sure in which version you are working, if you have 8.6 or higher you are able to open it. Hope this brings you further,
    Best regards,
    Martijn S
    Applications Engineer
    NI Netherlands
    Attachments:
    findURLexample.vi ‏12 KB

  • I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW

    I'm trying to find the plugin for camera raw, but all I can find is the page with the cameras that are supported. But I don't find how to find and install the actual plugin. The end name is ARW, and all I need is to find WHERE I can download it. Thanks.

    cr is installed by updating your app.  use help>update, or update manually
    pre cc updates:  http://www.adobe.com/downloads/updates/
    cc updates:  http://prodesigntools.com/adobe-cc-updates-direct-links-windows.html
    cc 2104 updates:  http://prodesigntools.com/adobe-cc-2014-updates-links-windows.html

  • How to find or bypass the password for unlock backup for iphone with mac?

    Hi,
    My Iphone is not working for some reason and i realy need the information that was on it.
    I have a backup in my itune and i tried to download it to my ipod using the "restore from backup" option.
    Unfortuanlty, it asked me for a backup password which i've never put and without it i can't get into my backup information.
    Is there any way to bypass it or find the password somehow?
    I've tried to find it in the keychain accses (i'm using mac) but didn't find anything there
    it is realy frustrating..
    Tnxs

    If it asks for a backup password you or someone else put one on it. Without the password there is no way you can recover the backup.
    But -- is is asking for the backup password, or for the phone password? You cannot restore a backup from one phone to another phone without the unlock code for the phone. This is to prevent someone from stealing your data.
    But in general, if there was a way around a password what would be the point of having a password?

  • When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?!

    When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?! and then I'd like to erase the original files since the space requirement is huge!!!! Why is upgrading software iPhoto such a pain. I've gotta get a presentation done and all I get for my money is roadblock!!!

    hello, it sounds like the library is damaged.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • How to find total recs in a local table for a particular condition

    Hi,
    How to find total recs in a local table for a particular condition?
    Thanks,
    CD

    Well, you may want to try this as well, and compare to the LOOP way.  Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it.  Again I think there may be some overhead in doing the copy.  Next, delete out all records which are the reverse of your condition.  Then whatever is left is the rows that you want to count.  Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
    data: itab type table of ttab.
    data: itab_tmp type table of ttab.
    itab_tmp[] = itab[].
    delete table itab_tmp where fld1 <> 'A'.
    lv_count = lines( itab_tmp ).
    Regards,
    Rich Heilman

  • How to find whether an Invoice is been posted for a particular PO

    Hi,
    How to find whether an Invoice is been posted for a particular PO.
    I have a scenario where I fetch data into an internal table T_CDHDR(It has PO and other details). For each and every entry(PO) in that internal table I have to see whether an Invoice is been posted or not. They told to use <b>EKBE(Purchasing document history)</b> table. But, I don't know which field to check for and based on what conditions.
    Can someone help me with sample code or some valuable inputs.
    Thanks in advance.
    Regards,
    Paddu.

    HI,
    TABLE IS RIGHT.
    IN THAT TABLE FOR THE FIELD BEWTP CHECK WHETHER ENTRY IS "Q".
    Q STANDS FOR IR-L THAT MEANS INVOICE IS DONE.
    ON THE SELECTION SCREEN OF EKBE TABLE ENTER THE PO NUMBER.
    THEN CHECK WHETHER IT HAS ENTRY FOR BEWTP 'Q'.
    YOU CAN CROSS-CHECK THIS DATA FROM TABLE WITH THAT IN ACTUAL PO IN T.CODE - ME23N.
    ENTER PO NUMBER ,THEN IN ITEM DETAILS , IN HISTORY TAB SEE FOR THAT INVOICE NO.

  • How to find out about the SMTP Server

    Hi,
    I have been trying to configure groupware in the portal - in particular I want to enable the sending of emails through the portal. I already have a how-to-guide that that seems to explain the steps quite well. However, it mentions that I need to know the SMTP Server of the email. Can you tell me how to find out about the SMTP Server? Where do I need to look for the name of it?
    Thank you and regards,
    Katharina

    Hi Katharina,
    you need the SMTP server of your company. This means you can't look for it in the portal, but have to ask the responsible person in your company.
    Kind regards,
    dominik

  • How to find out whether the system user is a vendor or a purchaser

    Hi,
    I am working in SRM 5.0. I have a requirement that some fields of Bid invitation can be visible by purchaser but not to bidder.
    How to find out whether the system user (user id though which system logged in) is a vendor or a purchaser. Kindly help me to resolve this issue.
    Sushmita Singh

    check his role.
    is surrogate bidding available for that bidder.
    via surrogate bid , purchaser can submit bid on behalf of the bidder.
    masa is correct
    pposa_bbp - search via user . so he might be  a purchaser.
    maintain business partner -supply your bidder bp number -edit
    go to bidder data .Under bidder data you must flag "PERMIT PROXY BIDDING"
    regards
    Muthu
    br
    muthu

  • How do I make Photoshop the default Edit App for .jpg in Windows 7?

    How do I make Photoshop the default Edit App for .jpg in Windows 7?    I want to be able to right click on a .jpg file, select the EDIT option in the Context Menu, then have Photoshop edit the file instead of Paint.
    In Windows XP it was very easy to use the File Manger to associate the file type .jpg and action edit with Photoshop.    No so easy in Windows 7.  It is easy to change the default OPEN application, but I would like to leave Windows Viewer as the default OPEN application and have Photoshop as the EDIT applicaiton.

    Before I posted the original question here, I had probably spent a couple of hours trying to research it.   I hate to find no answer for something I know can be done.   So I spent some more time and found the following in the bowels of a Tech Forum that is generally way over my head.  I have modified it to be Photoshop specific.
    These instructions will update the default EDIT action for image types - jpg,png,gif and the variations.     If you are unfamiliar with editing the program registry you probably will want to back up your registry or take a system backup.
    1. Open up the registry editor (Regedit.exe).
    You will need to be signed on as a Windows user that is an administrator
    2. Find HKEY_CLASSES_ROOT -> SystemFileAssociations -> image ->  shell -> edit -> command
    This seems like it would be easy but it is not, because there are many key names that are very close (like System.FilesAssociations).   Keep looking because you will find it eventually. 
    3. Double click on "Default" (on right window pane) and update the program location.
    You should see that MSPAINT.EXE is the current program.
    Erase the existing value and enter you photoshop location in quotes followed by %1 in quotes.  For me this is "C:\Program Files  (x86)\Adobe\Adobe Photoshop CS4\Photoshop.exe" "%1"  
    Hit return.
    4.  Exit Regit and test.

  • How to find unsued Transfer Rules and Data Sources for a Master Table...??

    How to find unsued Transfer Rules and Data Sources for a Master Table...?? My requirement is i need to delete those Transfer rules and Data Sources which are not in use

    Hi
    Go to manage of the Text or attirbute of the master data object, see what are being loaded daily from there and delete the remaining.
    Cheer
    Ans as expected, Please reward

  • HT4009 I did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    did not download the in-app purchase at time of original App download, now I cannot figure out how to find and download the in-app purchase.  Please help!

    Hello paddyliverpool,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Refund is an option.
    Best of luck,
    Mario

  • Failed to load configuration file for the workflow

    There are two of us who have full control on our Sharepoint 2013 site. I'm able to create workflows and publish them fine. The other user is able to create workflows, but he gets an error when trying to run them. I  tried opening his workflow and got
    the error "Failed to load configuration file for the workflow."
    Any ideas?

    Hi Carltonw1,
    Based on your description, I recommend to verify the things below:
    Clear the SharePoint Designer cache and then open the workflow.
    Ask the user to open the workflow in SharePoint Designer and check if the workflow contains error.
    Ask the user to create the same workflow and associated with another list to see how it works.
    Check the ULS log for more detailed error message.
    To reproduce this issue, could you please provide the detailed steps in the workflow for further research?
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • My 1st Gen won't update to iOS 3? :(

    So, I've been trying to update my 1st Gen to the iOS 3 so I can use apps, and for whatever reason my iTunes not only deleted everything from my iPod, but won't update to the new iOS. So now I have an iPod Touch that doesn't work, and I'm out 5 bucks

  • HOME SHARING PROBLEM

    Hi, I just bought an apple tv.  I have an IMAC running on 10.5.8 and i have Clear Wireless Rover puck (here is a link to specs:http://www.clear.com/support/download/clear-spots/rover-puck-by-clear). I currently have my wife and my IPHONE 3g, one IPAD

  • D2K (Reports 3.0) installation in Win NT

    During installation of D2k reports3 in Win NT i getting the follwoing error. pl advice me to resolve this problem. Your current oracle home C:\ORANT is in OCSM client installation managed by your systems administrator you may not install or remove pr

  • How do I fix my homepage for Internet Explorer use, when using dreamweaver?

    Hi, I have recently created my first two webpages, and they looked like they were working when I was using Firefox. But when using Internet Explorer one of the pages drop the text down to an area of the screen where it's impossible to read it. Can so

  • My PC shuts down when I open the Liquify tool in Photoshop CS6

    hello,when i open my Liquify tool in photshop CS6 my PC get shutdown. Can i know the reason behind this why my pc is crash. i have the original licenced product of adobe photoshop cs6 but still i have faced the problem. Thanks