How to Appove items in Workflow

Hi,
I have some 1,000 items in workflow, is there any possible way so that i can approve all the items at time??

'Approve' does release items to server BUT there is a difference from an audit perspective between someone approving an item (and it becoming released) or disabling a workflow (anbd it becoming released). The end result is the same though.
Disabling / Enabling a workflow is a simple configuration performed via the Workflow Admin Applet.
If you have no intention of checking the content items and just want them out of the workflow this is the easiest way by far!!!
You can reenable the worflow immediately. The only downsides are
1) The fact that the items have not been checked or approved
2)ALL items are released from the workflow.
Tim

Similar Messages

  • How to get all recipients of a particular work item in workflow?

    Hi Abapers,
    I want to get all recipients of a particular work item in workflow?
    is any FM avilable for this purpose?
    Regards,
    Vinay.

    Hi,
    Please check FM     SAP_WAPI_WORKITEM_RECIPIENTS
    -Abhijit

  • How to re-start the workflow for Shopping carts in WAITING status

    Hi
    We are using 1-step approval work flow, and we get some strange issue. We can add approver in the workflow, but after we click order button and back to check status again, sometimes there will be "Ad-hoc agent not found" issue. Do you know how to solve?
    And one workaround for user is to re-add the approval, and sometimes the shopping cart back to normal. But sometimes, after we add the approver, the shopping cart are in waiting status:
    Workflow Item:
    Workitem-ID 000000714642
    Task WS10000276
    Text One-Step Approval: Value limit: Shopping Cart
    1000114698
    Status WAITING
    Statustext Waiting
    Date 13.06.2008
    Time 10:41:22
    So may I ask how to re-trigger the workflow?

    Hi,
    Thx for that. I need to trigger the Approval workflow to go the the approval manager.
    Can u give me the document on this? thx,  kerry.liu [at] ap.effem.com.
    Thx very much
    Kerry

  • Delete Workflow items from workflow inbox.

    Hello All,
    We are using workflow in MSS for Compensation Management. As part of this an email will be sent to the managers when a compensation needs an approval. There are some workflow items under workflow inbox ( SBWP ) . How can I delete emails which I don't want to execute. I don't see any delete button. I can see delete buttons for the documents under inbox, but these emails that I want to delete are under workflow in Inbox.
    Thanks a lot for your help and points will be rewarded for any helpful solution.
    Thanks,
    Chakri.

    Thank You Suresh,
    You are refering to the emails in the inbox ( SBWP ) where I can delete my emails with the help of a delete button. But I am referring to the workflow items that are present under INBOX -> WORKFLOW. There is no delete button on these workflow items. If we execute these workflow items then they will be deleted automatically. I am looking for a solution by which I can delete (clean up) all the workflow items that are not executed from last year so that we can be ready for our compensation for this year.
    Thanks,
    Chakri.

  • How can i execute a workflow using a bapi/wapi??

    Hi All,
    How can i execute a workflow using a bapi/wapi??
    pls advice
    thanks

    Hi Hrus,
    it's not as simple as a single BAPI to approve a workflow.
    Workflow comes with a Workflow API (WAPI) that you can use to programmatically interact with the workflow system. The WAPI is implemented as a group of RFC-enabled function modules that are prefixed with "SAP_WAPI_".
    Approving a workflow is simply taking a decision path for a workflow item. It is logically no different to rejecting the same workflow item or any other workflow decision.
    As part of NetWeaver workflow is tightly coupled to the WAS platform you are running on so you may need to perform WAPI operations slightly differently on older releases.
    Some of the WAPI calls you might need to use include: -
      SAP_WAPI_GET_HEADER to get the workitem header
      SAP_WAPI_READ_CONTAINER to get the workitem container
      SAP_WAPI_GET_OBJECTS to get the attached objects
      SAP_WAPI_DECISION_READ to get a list of possible decisions
      SAP_WAPI_SET_WORKITEM_STATUS to set the workitem status
      SAP_WAPI_WRITE_CONTAINER to write to the workitem container
      SAP_WAPI_EXECUTE_WORKITEM to execute the workitem
    I usually do what you are trying to do by adding the decision to the workflow container and then executing the workflow.
    Be warned, you can really stuff things up if you get this wrong! Make sure you know what you are doing.
    Quoting from Practical Workflow for SAP by Alan Rickayzen, et al from SAP Press...
    Writing directly to the workflow container is dangerous because it can compromise the integrity of the process.
    ...be careful that you do not waste time duplicating existing ad hoc features of SAP's Workflow Engine.
    For example you can use events (combined with wait steps), instead of container modifications to force the workflow to restart.
    Cheers
    Graham Robbo

  • How to use tokens in workflows(ocm)

    i want to know how to use tokens in workflows .

    What do you want to know?
    Tokens are variables that eventually map to either individual user names or aliases (groups of users).
    The token is defined and then included in the workflow step in addition to or in place of a user or alias.
    A token is a piece of idoc script that ends like this <$wfAddUser("Name", "type")$>. Name, like i mentioned above, is a user name or an alias name. Type is a string identifier; either "user" or "alias".
    Because it's Idoc Script, the token can evaluate anything available in the databinder as well as execute other functions.
    A very easy way of using tokens is to map a metadata field that you know will contain a user name to the "Name" parameter. The dDocAuthor field will always contain a user name. So the token might look like this: <$wfAddUser(dDocAuthor, "user")$>. When set as a workflow user, this token will route the item to the person listed as the author.
    Because tokens are evaluated in workflow after the entry event (read the docco if you don't know what step events are), you can do some complex caluclations in the entry event and then pull the results into the token. For example, you might want to auto-escalate workflow content to my manger. If we presume that my manager's user name is part of my user profile, (say in a user metadata field called uManager), we can figure out who my manager is in the entry event, set my managers name into the companion file (read the docco if you don't know what this is), then pull it out in the token when the token is evaluated.
    this might look something like:
    --- ENTRY EVENT CODE ---
    <$me=dUser$> <!-- this sets the current user to the idoc variable "me"-->
    <$myManager=getValueForSpecifiedUser(me,'uManager')$> <!--this grabs the value of the uManager field for me-->
    <$wfSet("manager", myManager)$><!--this creates a variable in the companion file called "manager" and sets its value to the value of the myManager variable-->
    ----Token Code---
    <$wfAddUser(wfGet("manager"),"user")$> <!--this pulls the value of the "manager" variable out of the companion file and sets it as the token user.-->
    This is only the tip of the iceberg. One token can have multiple <$wfAddUser...$> declarations. They can be conditional: <$if ..some condition$><$wfAddUser...$><$else$><$wfAddUser...$><$endif$>
    Check out the workflow reference guide that is in the documentation library for more ideas.

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

  • How to Inactive Item Status at Org Level

    How to Inactive Item Status at Org Level and what are the implications of doing so.
    What are the prerequisits before inactivating an item status.
    The Procedure I am following is
    Changing the Item Attribute control to Org Level for Item Status
    Log on to Organization Items and Selecting the Item Status as Inactive.
    Can any one please let me know what are the pre requisits before Inactivating an Items and The procedure I am following is correct.
    Thanks
    Srinivasa Garikipati

    Hi;
    Please check serial attribute and org attribute problems with item master and see its helpful
    Also you can check:
    http://oz1-n.blogspot.com/2009/06/interview-questions-for-oracle-11i-apps.html part
    1. Once an item is assigned to an organization, is it possible to remove this association at a later time?
    2. How do I inactivate an item?
    Regard
    Helios

  • MM: Purchase requisition line Items - How many line items can we use

    Hi all,
    1. Purchase requisition Line items  (How many line items can we use?), is there any restrictions.
    2. While creating PO with only one tax code for the related PR to input Tax code (without selecting  line Items).
    Regards,
    Sudheer

    Hi
    There is no limitation for number of items in PR.
    Tax code is always applicable for individual item only.It cannot be selected form the whole PO.
    Regards
    Dev

  • WD(ABAP) - how to populate items in itemlistbox

    Is there any reference about how to populate items in Itemlistbox? I have tried to bind a context node with cardinality 1..n and Selection 0..n to the datasource of a itemlistbox element. The node contains two attributes jy and jy_text representing value and text repectively. I assign some sets of data to the attributes and finally bind the table to the node. But it doesn't display anything in the itemlistbox at runtime. Does anyone have idea?
    My code is like this:
    =====================
      DATA:
        NODE_HEAD                           TYPE REF TO IF_WD_CONTEXT_NODE,
        NODE_JY_LIST                        TYPE REF TO IF_WD_CONTEXT_NODE,
        ELEM_JY_LIST                        TYPE REF TO IF_WD_CONTEXT_ELEMENT,
        STRU_JY_LIST                        TYPE IF_MAIN=>ELEMENT_JY_LIST,
        tb_jy_list                          like table of STRU_JY_LIST,
        tb_is                               type table of v_tb038a_std,
        st_is                               type v_tb038a_std.
    * navigate from <CONTEXT> to <HEAD> via lead selection
      NODE_HEAD = WD_CONTEXT->GET_CHILD_NODE( NAME = `HEAD` ).
    * navigate from <HEAD> to <JY_LIST> via lead selection
      NODE_JY_LIST = NODE_HEAD->GET_CHILD_NODE( NAME = `JY_LIST` ).
    select ind_sector text into CORRESPONDING FIELDS OF TABLE tb_is from V_TB038A_STD where SPRAS = '1'.
    LOOP AT tb_is into st_is.
      STRU_JY_LIST-jy = st_is-ind_sector.
      STRU_JY_LIST-jy_text = st_is-text.
    insert STRU_JY_LIST into TABLE tb_jy_list.
    ENDLOOP.
    NODE_JY_LIST->bind_table( tb_jy_list ).
    Message was edited by: Fred Zhou

    Hi Fred,
    You should check the following:
    The text property of the listbox should bind to the text attribute of your context node.
    Regina

  • How to hide items on Windows 8 File Explorer Ribbon

    Scenario
    This article describes how to hide items on the file explorer ribbon in Windows 8 and Windows 8.1.
    Method
    We can implement it via customizing the permission of the related registry keys.
    Note: Before you make changes to a registry key or subkey, we recommend that you export, or make a backup copy, of the key or subkey.
    Before you make changes to a registry key or subkey, we recommend that you
    export, or make a backup copy, of the key or subkey.
    Step 1:
    Open
    Registry Editor and locate to following registry key under which you can find the corresponding keys of the items on the File Explorer Ribbon.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\
    In the following figure, it shows the Add a network location item on the file explorer ribbon, and the corresponding
    registry key in Registry Editor.
    Step 2:
    Take ownership of the registry key
    Note: You can take ownership
    of a registry key if you are logged on as an administrator or if you have been specifically assigned the permission to take ownership of the registry key by the current owner.
    Right-click on the registry key which you want to take ownership of,
    and then select
    Permissions... option.
    Click on
    Advanced button to grant special permissions in the key.
    At the top to the right of the current
    Owner, click on the Change link.
    Enter
    Administrator in the Enter the object name to select
    box, and then click on Check Names.
    Click on
    OK twice to apply.
    Step 3:
    Change the permission of the registry key.
    On
    Permissions for the key name display dialog, click
    Administrators in the Group or user names window, and then select the
    Allow check box for
    Full Control
    option.
    Click
    Users in the Group or user names window, and then select the
    Deny
    check box for
    Full Control
    option.
    Step 4:
    Click on
    Apply and OK to save the changes and the following figure shows the modified permissions and owner.
    Step 5:
    When you open File Explorer, the item you would like to hide disappears. For your information, the following is an example:
    Item: Add a network location
    Corresponding Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.AddNetworkLocation
    For advanced users
    You can also deploy script with Set-Acl which is a PowerShell command to take ownership and change permissions
    of the keys. For your information, please refer to the following articles to learn more about this command:
    Set-Aclhttp://technet.microsoft.com/en-us/library/hh849810.aspx
    SET-ACL on registry key
    http://blogs.technet.com/b/brad_rutkowski/archive/2008/09/29/set-acl-on-registry-key.aspx
    Apply to
    Windows 8
    Windows 8.1
    Welcome to your feedbacks.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    The reason they gave was it is possible for the file to stay open when done with the file. (not properly closing) As the driver would be accessing the file to retrieve the thumbnail.
    The thing is a driver is nothing more than a program it self. Therefore it is capable of opening and closing a file and placing the thumbnail into the database for that folder. It then would be capable to verify if the thumbnail exists in that database. Since the driver only has to run when explorer is open in that folder's view, it really is not running that often.
    The catch I can see it when both Illustrator and explorer are running at the same time. Which one should close the file? The solution would be a small app that verifies that both programs are running and has control of clean up when both have closed. The driver and Illustrator could also in theory check and see if the other is running, if it is do nothing if not then close the file.
    So it really boils down to having the driver and Illustrator talking to each other.

  • How to Create material master workflow

    Hi All,
    Can anybody tell me how to create material master workflow?
    i need to customize the workitem  for creating data in different views in MM01 transaction with restriction to particular user.
    Regards,
    Priti

    Hi,
    This link is to  display a material.My requirement is to create a workflow which will allow a responsible person to enter data for specific department data e.g Purchase,Accounting etc.Initially anyone can create data using basic data1 and basic data2 views.After this my workflow will be triggered and it will go to next person who is responsible to enter Purchase data and then Accounting data.
    Plz help me to create different views with respect to person.
    Thanks in advance.

  • Need FM/BAPI to get how many line items per given FI document...

    Hello Experts,
    IS there an available FM or BAPI to get how many line items there is for a given
    FI document? We are avoinding BSEG because of the performance.
    Hope you can help me guys. Thank you and take care!

    Hi,
    Not sure if there is a specific FMs or BAPIs whose specific purpose is to just count FI document lines. But you can use a number of FMs to read an FI document.
    i.e. FI_DOCUMENT_READ - pass the document keys (BUKRS, BELNR, GJAHR) and retrieve the T_BSEG table to get the document lines. Then you can just use DESCRIBE statement to get the number of lines in T_BSEG.
    Also, based on experience, I never had any problems with BSEG as long as I am providing the complete keys for an FI document (BUKRS, BELNR, GJAHR). But if you are trying to avoid BSEG, you can use the secondary index tables like BSIS , BSAS, BSAD, BSID, BSIK, BSAK to improve performance.
    Regards,
    Oscean Tortona

  • Object array - how to add items?

    Hello!
    I have little problem, how to add item to array, to get something like this:
    Object[][] someObject = {
    {"1", "2"},
    {"4","5"}
    };From this:
    Object[][] someObject = {
    {"1", "2"}
    };? Thanks in advance!

    Once you allocate an array like that, you can't
    resize it.
    Object[][] someObject = {
    {"1", "2"}
    };creates an array with size [1][2]. You can't makeit
    any larger. You can create a new Object[][]
    with the new size, copy the elements into the new
    array, then add your new objects in the newposition.
    or even better use arraylistExcept that he's using this for a JTable, so the best he could do is a Vector. Yuck. :)

  • How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId

    How to get ProcessInstanceId after Workflow KickOff. Am able to get the InvocationId.
    This is the Snippet :
    InvocationResponse response = myServiceClient.invoke(request);
    invocationId = response.getInvocationId();
    System.out.println("ClientParams="+response.getClientParameters());
    System.out.println("OutputParams="+response.getOutputParameters());
    System.out.println("invocationId="+invocationId);
    JobManager jobManager = new JobManager(myFactory);
    JobStatus jobStatus = null;
    JobId myJobId = new JobId(invocationId);
    jobStatus = jobManager.getStatus(myJobId);
    System.out.println("Job Status: " + jobStatus.getStatusCode());
    if (jobStatus.getStatusCode()==JobStatus.JOB_STATUS_COMPLETED)
    System.out.println("INVOCATION COMPLETED SUCCESSFULLY!");
    InvocationResponse jobResponse = jobManager.getResponse(myJobId);
    jobManager.terminateJob(myJobId);
    jobResponse.getInvocationId();
    Process id need to be fetched after Workflow Kickoff
    Can anyone please help me..?

    There are 5 process level variables that get populated when you invoke a process. They are
    /process_data/create_time
    /process_data/creator_id
    /process_data/id
    /process_data/status
    /process_data/update_time
    Within the xPath builder you can differentiate them from other process variable because they are italicized.
    Now you can create your own process variable - let's say called pid - and have it contain the process id which is stored in /process_data/id.
    The xPath would look something like
    /process_data/@pid = /process_data/@id
    If the pid variable is marked as an 'output' variable, then it will be returned as part of the InvocationResponse.
    Jasmin

Maybe you are looking for

  • My calendars won't sync between iPhone and iPad

    My iPhone and iPad calendars will not sync anymore.  I'm running the latest version of software which at this time is iOS 6.1.3 on both devices.  The calendars just stopped syncing for no reason really I don't know if I hit a setting by accident or a

  • RFC Adapter - Java Mapping

    Hello is it possible to map all incoming calls from SAP -> XI (RFC) to a single Java Mapping in detail: - in SAP (ABAP) i call a number of remote function modules with the same RFC destination - in XI i'd like to map all these calls to a single java

  • Getting Mail to work correctly with IMAP server (like Thunderbird does)?

    Hi guys, Is it at all possible to get Mail to work in the same way that Thunderbird does with IMAP servers? With my Mail setup as it is, if I save a message as a draft, it doesn't get put in the 'Draft' on the server, only on the mac. The junk filter

  • My ipod got wet and half works

    my ipod got wet and still turns on but doesn't work when i plug it into my laptop

  • Collection in SCCM 2012 of SCCM 2007 clients?

    Hi, I'd need to make a collection of SCCM 2007 clients in SCCM 2012. This way I know which clients need to be updated. Can that be done? I guess queries can only be run on what sccm 2012 client return on info (I tried a simple query: configuraiton ma