Linkage between Employee No. and Workflow

Hi all,
I have a requirement of Identifying all the workflows initiated by a particular employee, which are still "In Process" state. There are a few workflow tables that I have identified but for some reason, unable to find the linkage. My requirement is: to cancel all the workflows of a particular employee, on the basis of a particular condition. Any inputs would be helpful.Thanks.

You can get all the workitems with respect to a particular user by using the FM SAP_WAPI_CREATE_WORKLIST by passing SY_UNAME to the USER parameter and staus as INPROCESS to IM_STATUS_FILTER  parameter this will give you all the workitesm with status in process with respect to the user you have mentioned.
And to cancel the all the workitems, firstly make sure that you want to cancel then , by uisng the above FM entries you can get the Parent workitem ID of each workitem present in the user's inbox, then pass the parent workitem ID to the FM SAP_WAPI_ADM_WORKFLOW_CANCEL , which will logically delete the entire instance of the workflow.

Similar Messages

  • Difference between Business Process and Workflow

    Hi all,
    What is the difference between Business Process and Workflow? i have googled it and I don't really understand that complicated definition? Is there any examples to illustrate the difference between the both?

    Hi,
    I will try to put here , my perspective of this. If somebody knows better, they can update further on this.
    Business process is purely on the perspective of the users. It may or maynot have anything to do with the system. When a draw a business flow diagram, we dont take care of how each and every process is handled in the system. The best illustration is an example of authorisation.
    Let me say that I create a Purchase requisition. Once it is released a PO will be created by procurement managerD
    This is a business process. However if we look at the system perspective, it can be like this.
    1. Create a PR.
    2. Check the value of the PR
    3. If value <$100,an email needs to be send to person A, if it is $100 to 300$, an email should be send to person B and if >$300, an email should be send to B and C.
    4.Once it is released, an email shoudl be send to D for creating a PO on this PR.
    Here not only the process, but also how the work is delegated across  various entities of the process is mentioned.
    There are softwards like VISIO which actually take care of the business process in the perspective of the entities involved in the process. A workflow is a moredetailed version of business process with the roles of entities clearly defined and hence configured well in the system.
    The concept is workflow is mostly used in the processes of authorisations, business activity monitoring(BAM), etc.
    Hope I make it little clear to you.
    You can reward if my response is of some help to you

  • Need technically the linkage between Shopping Card and PO (SRM).....

    Hi SAP Gurus,
    I am using SAP SRM 7.0 and wanted to find out:
    1) Technically the linkage between Shopping Card and PO (SRM). (Basically looking for required table names and the fields)
    2) Technically the linkage between Shopping Card and Reservation (SRM) . (looking for required table names and the fields)
    Thanks....

    Hi Siobhan
    thanks. but every customer wants to know what happened to his cart if the status is COMPLETED or not. Why SAP missed this small piece of functionality to show COMPLETED status via WEb transaction. I can see only this via REDISTRIBUTION WORKLOAD transcation status. right hand side green tick mark. this green mark totally mislead every body. mixuter of status shows green tick mark (COMPLETED + FOLLOW ON DOCUMENT CREATED etc) in redistribution mark.
    Appreciate your reply .
    I tell you in detail .
    for ex CART went to ERROR IN PROCESS but no where the requestor can see his cart and he got dismayed and admin can see his cart . ok. if i go see in redistribution menu it shows COMPLETED logo. it mislead whole business.
    Muthu

  • Cost Center Linkage between Functional Location and Equipment.

    Hi Gurus,
    We have found in our analysis that it is impossible to copy the cost center of a superior functonal location to a subordinate one when the cost center of subordinate functional location is changed manually.
    We intend to do a mass change for our cost centers of all our functional locations and equipments for all our plants. We need to know how do we achieve this change of cost centers.
    Thanks:
    Siddharth

    Thanks All for your information.
    Actually the Master data team has to do a mass update of cost centers for the Functional locations and Equipments.
    And what we have found is that when we change the cost center for an equipment individually it changes the cost center origin of the equipment to "D" which means independent of the changes in the cost center at FL level.
    Be it IBIP or any other way what we have found that the linkage(cost center origin) between the FL and the EQUIP changes to "D"  when ever we change the cost center for the equipment.
    We don't want to change this linkage as it may have other consequences that we can not foresee at this point.
    So, my question is :
    If the FL and EQUIP linkage (cost center origin field) is changed(from H to D or D to H), what could be the effect on the FL and EQUIP relation?
    Cost center origin :
    D       Independent of changes in cost center at FL level
    H       It is dependent on the FL cost center.
    Thanks:
    Siddharth

  • Linkage between the reservation and the requisition is lost in case of MRP

    Input data:
    2 reservation documents are created from PS:
    reserv. 1212, Mat. 11111, quant. 50, date 01.08.08
    reserv. 2121, Mat. 11111, quant. 100, date 01.08.08
    after performing MRP and processing reservation 1 document is generated at MRP output -
    purchase requisition  Mat. 11111, quant. 150, date 01.08.08.
    Task: how to disable uniting similar requirements during MRP run, i.e.
    according to the above mentioned example there should be 2 requisitions at the output:
    purchase requisition 333, Mat. 11111, quant. 50, date 01.08.08
    purchase requisition 334, Mat. 11111, quant. 100, date 01.08.08
    Task 2:
    How can the analyst add to the newly generated requisition the number of reservation based on which this requisition has been generated or how to set (how not to lose) linkage between reservation and requisition:
    E.g.: purchase requisition 333, Mat. 11111, quant. 50, date 01.08.08, reservation 1212.
    Probably it may be done with BADI MD_PURREQ_CHANGE, but it is not clear how to define the implementation point.
    Thank you.
    Regards, Victor.

    Hi Victor
    The 1st part of your question:
    The requirement of reservation is on same date ,hence sigle PR is generated.you have not mentioned  what is lot size key being used.
    Probably you can try with Lot size key "EX" ( I am not sure).
    The second question:
    you can analyse like this:
    Got MD04 & see the pegged requirements . This way you can know what is the origin of requirement for a particular PR.
    Regards
    YMREDDY

  • Linking between organizational unit and workflow

    Hi
    I have created my organizational unit and workflow.
    Can anyone tell me how to link workflow with organizational unit?

    Hi Azra,,,
             You can link oraganisational unit and workflow by specifying the  organization unit name in the task screen.....
               Assgin values:
             Recipient type = organisational object.
             Then Select Position from Drop down list and then select the
             organisational number with f4 help.
    Simillarly assing the abbrevation of the task of workflow to the Oranisational
    plan position.
    If answer is suitable do give points.
    Thanx ....
    Mandeep      .....

  • Logical flow between User forms and workflows

    Hi,
    I want to know the logical flow among jsps,UserForms and workflows in IDM.
    This may appear as a silly quest. But I want to know how exctly the workflows are getting excuted when we click the buttons on the forms....
    For eg While creating the user after gving the user details in Tabbed User form when we click on save how it is calling Create User Workflow....
    where is the link and how its happening.....
    If any one know this please reply me....this a quest remaining in my mind since so many days....
    Thanks in advance....

    I dont think, there is any xml codes in any of the forms for calling workflow. One needs to render a form for any workflow. Whenever you hit new User , the create user workflow gets initiated and the form and the default form for create user is Tabbed User Form. activities and forms are mapped according to the authorisation level. If you create any Admin role, then we need to specify a form for the admin's capabilities. I guess for configurator , to create a a new user, the form has to be Tabbed User Form by default. For a custom Lanch user process, one needs to include a form along with the workflow. We can do that. Thats what I know till date.
    Thanks,
    Manila

  • Relation between employee data and SAP user ID

    Hi experts,
    I am searching a relation between a SAP User Id and the personal data of an employee like Infotype 2.
    Is there any relation like this?
    Thanks!

    Hi,
    The SAP User ID is attached to employee number using communications infotype IT 0105 subtype 0001.
    Also e-mail, fax, telephone number are stored in this infotype under different subtypes.
    hope this helps
    Ajay

  • Linkage between Payment advice and Invoice

    What are the ways in which Payment advice can be linked to A/P invoice? i.e. One remittance advice per invoice OR one remittance advice per vendor for given period, combining all the invoices OR One remittance advice per invoice in case of some vendors and combine the invoices at vendor level in other cases. How flexible is this setting?
    Thanks in Advance.

    Hi,
    this is set in payment run configuration (FBZP), based on payment method and company code. As this is configuration you cannot change this as required.
    You could set it for example 1 to 1, menas 1 payment would have 1 advice.
    Better probably to set at least 3 payments or more will generate payment advice.
    Check payment advice control section in config screen
    "Payment advice note upwards of ... lines
    The number of lines on the payment medium where note to payee information for the business partner can be stored is restricted. In the event that more lines are required, a payment advice note is displayed on the payment medium and a separate payment advice note created.
    This facility can be used for bank transfers, for example."
    At time of payment run the system would consider all open items and based on settigns made in config would create/ not create an advice.
    Regards
    Hein

  • Plant Maintenance - Linkage between Task List and Maintenance Plan

    Sir,
    In Plant Maintenance, I have an equipment for which there are 9 maintenance activities that have to be performed every year. Out of these 4 activities will be carried out every month. 1 activity will be carried out during the months of February, June and October. 5 activities will be carried out only in the month of December.
    I need to create Task List for all these activities and subsequently create Maintenance Plans for all these Task Lists.
    Can I group all the 4 activites which will be carried out every month into one single Task List, with separate operation nos and time against each activity?. I don't know whether it is correct or not.
    If I use the above method I can create 3 Task Lists for this particular equipment with same Group no and 3 Group Counters.
    How to create Maintenance Plan for the above scenario?.
    Eventhough, 4 activites are carried out every month and they have been grouped into a single Task List (Group counter 1) and if these activites are carried out on different dates within a month how can I create Maintenance Plan and subsequently create a Maintenance Order?.
    I need some help in this regard. A detailed reply will be helpful.
    Can anyone throw some light in this regard.
    Regards,
    R. Vijayakumar

    you need to create one task list with a maintenance strategy with packages and hierarchy to outline the work requirements i.e. some tasks to be carried out 3 monthly some 4 monthly etc, and also if common tasks appear in 3 monthly package vs 4 monthly package then to suppress the duplicating task
    you would then define a strategy based maintenance plan and run it to get the respective maintenance orders

  • There is any linkage between invoice no and cheque no.

    Dear gurus,
    how can we get the cheque no through invoice no.
    there is any table.
    pls help.
    Regrds
    Mahesh
    *assign full marks

    Hii..
    we did it like this.
    1.Go to table PAYR through check no. you can get clearing document  Number.
    2.Read this Clearing document number in BSAS to get BSAS-BELNR.
    3.Read this BSAS-BELNR in BKPF for getting BKPF-AWKEY.
    You have to do just reverse of this.
    hope this will help you.
    please revert if there is any query.
    Regards,
    Aakash

  • Obsolete blocking message - Flash Player Plugin between 11.0 and 11.7.700.169 (click-to-play) has been blocked for your protection.

    I cannot play Flash videos on any website using Firefox 35.0.1
    The current Shockwave Flash version is 16.0.0.296 as of 2015-02-12.
    The blocking message is obsolete, because it refers to a much earlier set of versions of Flash.
    Does every version of Flash have a vulnerability, or are there some that are actually clean (for more than a few seconds)?
    Can somebody fix the blocking message to reflect the real reason for blocking?
    Where can I find a version that is not vulnerable, or is that a pipe-dream?

    Thanks for the information about how to get the most recent version of Flash. Updating from within Firefox only got me to 296, and then claimed it was up to date, just a few minutes before I posted the question. Clearly it was days out of date.
    The obsolete blocking message seems to have been mentioned, in slightly different terms, by quite a few people over the past several months. It would seem to me that the linkage between blocking decisions and the message to the users is weak.

  • Relation between (IBASE)Premise and Partner

    Hello, Thanks in advance.
    Is there any field or way  to relation  Premise with Partner ??
    Thanks.

    Hi,
    I believe you are talking in the IS-U /CRM  context. Well according to the data model there is no direct relationship between Premise and BP, but in case you are using CRM contracts in your implementation then there is a direct linkage provided out of the box. Even if you are not using CRM contract and are using IS-U contracts only you can use one of the data environment views in order to view the linkage between your BP and the chosen premise.
    Hope this helps.
    Regards,
    Shalabh Jain.

  • Link between tables BBP_PDACC and BBP_DET_ACCOUNT

    Hi All,
    I am creating a shopping cart using function module BBP_PD_SC_CREATE. I can determine a GL account based on product category using table BBP_DET_ACCOUNT. But there are some other account assignment details which this function module requires and based on existing shopping carts that are created, I found that they are stored in table BBP_PDACC. Is there any linkage between tables BBP_PDACC and BBP_DET_ACCOUNT.
    Any help or guidance will be really appreciated.
    Thanks,
    Ameet

    Hi Ameet,
    Yeah you need to provide other account assignment if your business process do require? For example if you choose account assignment category as "Cost center" then standard account assignment category set up require Cost Center and GL account to pass in this function module. Account assignment configuration you can verify in SPRO in Cross application basic settings --> Account Assignment --> Define Account assignment category.
    BBP_PDACC as i mentioned earlier gets populated when you will create Shopping cart as it will store shopping cart account information.
    Hope this helps.
    thank you
    Ritesh

  • Between SAP Licenses and Employee Records Realtinship

    Hi Experts
    <u>The Scenario of the issue is as below.</u>
    <b>SAP Licenses held by the company is -- numbers.
    And the employee records including PD(appraisal),PA  & OM exceeds the allowed records numbers.</b>
    Qn1 Whats the realtion between SAP license and records ?
    Qn2 How to go about in this scenario?
    Qn3. Should i prioritise the existance of records in appraisals and delete the least priority after consulting the client?anyway OM & PA records should not be deleted.
    Please throw some light on the issue.

    Abhilash,
    Usually the SAP Licenses are with respect to named users and their rights to the system....
    If you have N licences of various types and M employees accessing SAp ( M > N ) then it will be an issue .. usually for services like ESS - you have a licence called employee user and for more access you have professional licenses etc...
    You could check the type of licenses that the company has and the number of licenses of each type and also the Contract signed with SAP as to the licensing policy..
    Arun
    Hope it helps...

Maybe you are looking for

  • Iomega USB Hard Drive won't appear on my desktop. Please help

    Hi, I purchased an Iomega desktop hardrive about 3 months ago and all has been working well. I had no problems working it with my MacBook Pro and backed up all my files easily. I now need to get some files from my Iomega hard drive, but now when I sw

  • Production Order Basic Finish Dates

    Our plant managers expect production order start and finish dates to freeze at release, even when operation confirmations are not made according to schedule or when the component availability situation changes.  Is there a way to freeze the productio

  • HTTP error .401 Unauthorized

    Hello experts, We are unable to upload image file, getting error " HTTP error .401 Unauthorized " what could be the reason , how can i resolve  this error . please help ....... Thanks & Regards, KNM

  • Tool to verify IDSM signature

    Looking for tool like virus/worm simulator to verfiy/test working of different Signatures specially related to worm/virus

  • Forbid a user group to modify an specific metadata field??

    Is it possible to forbid a user group to MODIFY an specific metadata field or group of fields? I know you can create a new metadata SET and forbid the user group to modify the entire set, but what about groups or fields?? Any help is welcome