Workflows on User Status

Hi All,
Can anyone help me on the the UserStatus concept
  I am having the requirement like this....
  When Workorder is not approved the approver sets the status to NPP(Not Approved) This should send a workflow to the System Owner. The System Owner is maintained in the Reference Object ( Equipment or Functional Location )
    Can anyone guide me in this......
Thanks in Advance,
   Ram

Hi,
I would suggest you to go through the documentation on help.sap.com where you have very detailed explanation on how to work with workflows. That is for you to get into speed with the concepts of everything.
Back to your specific question:
Step 1: Add an attribute to the business object which holds the System owner. You might have to read the right tables and fill this up.
Step 2: Enhance your Business object to accomodate the new events. You will have to create a subtype and then add the events and delegate the subtype to the supertype. For more information refer this:
http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4adb2453d11d189430000e829fbbd/frameset.htm
Step 3: Just go through the customizing to find the configured user status for the work order. I guess this is already done by your functional consultant. So take his/her help to find the right Status object type and maintain the entries in transaction BSVW under user status and have your business object's events there.
Step 4: Define your workflow.
Hope this helps,
Sudhi

Similar Messages

  • Work flow (User Status)

    Dear All
    Can any one guide me, can i trigger workflow through user status of project definition or work break down structure
    Best regards

    Hi,
    Yes you can trigger workflow based on userstatus of wbse. check with
    your abaper for object types.
    Regards,

  • How to set Changed_by field with User ID not by Workflow ID, when Status Update from Workflow

    Hi Frds,
    I am updating the Order Status from Workflow. So the Status update (or Order Changed) is save with Workflow ID. I need to insert UserID instead of workflow ID. Please help me out of this.
    Thanks
    Imran

    Hi Imran
    With the very few details available on your process, the workflow design and the "Order", all I can suggest is that:
    1) In your workflow definition, go to the step which sends the user decision, in the binding FROM the TASK TO the Workflow, set _ACTUAL_AGENT to a workflow container element , say DECISION_AGENT (of type SWHACTOR)
    2) Assuming that the next step in APPROVAL branch is setting of the status, go the task ID of that Step -> make it a dialog step (remove the Background Processing check) -> set it's agent assignment to general task
    3) Back in the workflow, set that STATUS SETTING step to Advance With Dialog under the details tab
    4) In the control tab of the same step, in the agents section, set agent as EXPRESSION and the value as &DECISION_AGENT&
    When a user approves the decision item, his ID will be stored in DECISION_AGENT
    The status set will execute immediately (because of "Advance with Dialog")  in the same session of approving as the user who approved is the same running this step now
    The status will be set by the ID of the Approver
    The above is hypothetical considering
    1) You do not have dynamic parallel processing
    2) Status setting happens immediately after the approval; as a first step in the approval branch
    3) The Decision Task does not has "Confirm End of Processing" checked.
    Regards,
    Modak

  • User exit/BADI for tracing change of User Status in IW22

    Hello,
    I am looking for a user exit or BADI that triggers whenever ther's a change made to User status field.
    eg. changing user status to APTC(Approved to be executed)
    I then need the exit/badi to trigger my workflow to send mails to list of reviewers. I can handle that but I am not able to find the suitable exit.
    I have seen BADI IQS0_STATUS_MAINTAIN, but no use.
    Can anyone help?

    Hi..
    Transaction Code - IW22                     Change PM Notification
    Enhancement/ Business Add-in            Description
    Enhancement
    IWO10026                                User check on setting status 'Do not perform'
    IWO10027                                User exit: Generate user-defined settlement rule
    IWOC0001                                Create PM/SM notification: Determine reference object
    IWOC0002                                PM/SM notification: Check whether status change is allowed
    IWOC0003                                PM/SM authorization check of ref. object and planner group
    IWOC0004                                Change single-level list editing PM/QM/SM ALV settings
      Business Add-in
    WOC_FL_DETERMINE                        Determine Date for Determining Installation Loc. Equi.
    NOTIF_AUTHORITY_01                      Additional Authorization Checks for the Notification
    IWOC_OBJECTINFO_CHNG                    Changes to Data of Object Info Screen
    IWOC_LIST_TUNING                        Performance Tuning for Lists in PM/CS
    IWO1_SUBSCREEN_0170                     Display Additional Data on Object Screen 0170 PhysicalSample
    IQS_MASS_CHANGE                         BadI for Mass Changes to Notifications
    IQS0_STATUS_MAINTAIN                    Control of Changeability of User Status
    No.of Exits:          6
    No.of BADis:          7
    Arunima

  • How to find the recent changes done in the workflow by user id ?

    Hello all,
    How to find the recent changes done in the workflow by user id ?
    I have made changed in Production system .
    Like changing the status ,
    changing the agent ,
    but for these it will , not ask for any request .
    So i want to know is there any method to find what are the changes done by me ?
    Thanks and regards
    Prem

    Hi,
    This is caused by mandant settings in scc4. It's better not to make changes in PRD, because then your DEV en QA systems differ.
    Kind regards, Rob Dielemans

  • User status for purchase requisition

    Dear all,
    I have a basic question. I have created a status profile using transaction BS02. Now I want to apply that to purchase requisition. However I could not find any way to assign it to the PR (specially in PR document type).
    Request your inputs in this regard.
    Snigdho

    Stefano,
       I dont think you can control the display mode on just one operation using any of the exisitng user exists or using the user status.
       The only way, that i think would be possible in this cenario, would be to intimate the responsble person or any specific user whenever there is change on the order which has a operation with a specific user status set. You can create a standard task (or workflow) to get this functionality accomplished.
    Thansk
    Narasimhan

  • In which table is the value of the field User-Status of trans IW22 stored?

    I have changed the user status of a notification in transaction IW22, to APTC. Now i want to retrieve this value for further process in workflow.
    Can anybody tell me in which table is the value of this field stored?

    Hi,
    these tables do not contain user statuses against respective notification nos...

  • Trigger Workflow on User sattus change !!!!

    Dear all,
    I need to develop a workflow which should get triggered when user status is changed in the Maintenance Order. I have used Event Trace (SWELS) to trace the event but gettinng nothing when user status get changed what could be the reason.
    Please help me to proceed as i m new to the workflow.

    Hi MB,
    I have checked the transaction SWEL there i have forund that on the BOR object AFVC_PM task TS2000015 is attached and the event linkage checkbox is checked but i don't know whether it is working correctly or not i have seen that there is a workflow WS20000031 for Maint. Order but don't know how to configure it.
    What i have dont till now is i have made my own workflow which will just send mail, now i want that i could include my Maint. Order No. when mail is sent to the addresed reciptient could you please help me on this .
    Second thing what i have done in is that in transaction SWE2 i have added a new entry for the BOR object AFVC_PM in this i have given the following entry:-
    Object Category  :-  BOR Object Type
    Object Type        :-  AFVC_PM
    Event                  :-  RELEASED
    Receiver Type      :-  WS80000003
    Receiver Call                   :-  Function module
    Receiver Function Modue :-  SWW_WI_CREATE_VIA_EVENT_IBF
    And then i have checked the box Linkage Activated.
    Now is this sufficient to trigger my workflow whenever the Maint. Order is released or something else is to be done.
    I m totally confused what to do now please guide me.
    Also i have one question
    When we say that we have to create our own event is this mean that we have to create a BOR object? If no then from where we can create our own event what is the procedure for it .
    Please help me.

  • USER STATUS For Inquiry at Item level in VA12.

    Dear Sir/Madam,
    In Customer Inquiry we have maintained User Status at item level as 10,20,30,40 as radiaobutton.
    Now we have to trigger event to initiate workflow as User changes User status from 10 to 20 like that.Currently
    if user changes status from 10 to 20 in VA12 we get BO BUS2030 & Event 'Change'.
    But we unable to trace exact changed status of that item in that particular Inquiry numbers.
    1.All such user status are stored in JESt table but its get updated only after save button.So if i also try to use User exit to trigger Event
    but i am unable to get Run time values of JEST table (USER STATUS).
    2.If i go for BSVW (STATUS MGT ), in that we have 'VBK-SALES Header' & 'VBP-SALES ITEM' status present.But we have maintained User status at item level
      so if we use 'VBP' then we didn't get BUS2030 BO & in Header 'VBK' we get BUS2030 but its at header level..so its didn,t give us item level status.
    So Pease suggest me some way to handle such situation.
    Thanks.

    So what is your problem? You are not able to trace for which item the event got triggered?
    I think you can make use of Change document table CDPOS and CDHDR to check which item had a latest change in status and accordingly incorporate this info in Workflow.
    Thnaks
    Arghadip

  • Reprocess - Workflow in process status

    Hi All,
    I am working with Workflow support,
    I don't know How to reprocess Workflow with the status is IN process.
    I know TC SWPR is a reprocess with error status.
    Thanks & regards
    Subramani.

    Hello Tom,
    I've had quite a similar problem with the terminating event in a dialog while the workitem is locked.
    I came across the same SAPNote 831443, but it doesn't seem to tell the whole story there. As I found out, the status change (from "in work" to "complete") is just skipped over, while the workflow continues with processing, leaving a last workitem "in work" hanging out to dry when the whole process has already finished.
    Basically the problem is, or was, that a popup dialog was shown to the user after the processed the transaction, which held the lock open. I have found no logs, saying that there was a problem with a locked workitem, anyhow.
    At last I have found out, that basically there shouldn't be much coding between the <b>COMMIT WORK</b> statement and the coding that just ends the method with <b>END METHOD</b>. This kind of procedure does definitly apply to the newer Versions, as I didn't have any problems like this before. Mayhaps and only a guess is, that the unlock-operation was previously registered with a perform like PERFORM unlock_workitem ON COMMIT. or something similar. This defenitly has changed under the new releases.
    In your specific case I would recommend to register the event processing in the update task and end the workitem's method as soon, as possible. For example:
    CALL FUNCTION 'SWE_EVENT_CREATE' IN UPDATE TASK   ...
    If this still does not help, you could further disjoin the transaction processing from the event creation by adding
    STARTING NEW TASK
    IN BACKGROUND MODE
    or whatever the correct syntax was here. This will schedule another tRFC on the database commit, which then is defenitly be picked up by another work process of the application server, just right -- hopefully -- after the object's method has completed.
    If you're feeling good with this answers, or it least it gave you new ideas to look upon, please assign points as appropriate.
    Best wishes,
    Florin

  • Change user status for WBS Elements

    Hi All,
    I am working on a workflow related to PS milestones.
    When a milestone is achieved the user status has to be set for that WBS element and to all the WBS elements that are next to it.
    I have tried to use the FM (ran FM independently as standalone), CJDW_INTEGRATED_USRSTAT_CHANGE with PROJECT NUMBER as input, but it throws an error NOT FOUND.
    I have gone through the documentation of it also, which says that user has to prefil the structure PROJ before this FM is called, which i could not understand.
    So can please anyone tell me, about the usage of this FM and how to run it so as to change the user status.
    Thank you all in advance,
    regards,
    vijay

    it is possible to have status with radio button and check box, by keeping status with status number and without status number.
    But I doubt about your requirement whether it is possible in standard or not.
    Please search SDN forums for some exit / BAdii which you can modify status profile.

  • BAPI_BUS2173_SET_STATUS should be able to set user status profile.

    Hi,
    I need use a workflow to setup user status profile for PHASE and TASK, but I found that the unique easy way to setup the user status profile for PHASE or TASK is manual operation.  I have created a user status profile of the BUS2173 and BUS2175. I can't use BAPI_BUS2173_SET_STATUS function to setup user status profile, but it can be used to setup a user status after the user status profiel has been setup by manuay.
    Why?
    Best regards,
    Arrow Yang.

    Hi,
    Try calling BAPI_BUS2173_SET_STATUS first time for setting the status profile by passing the status profile in iv_status_profile parameter and the phase guid but not passing the user status to the bapi.
    Now after this again call the same bapi, this time just passing the user status and phase guid and not passing anything in the status profile.
    We have used this bapi to set the status profile.
    Regards,
    Simmi

  • Automatic trigger of WBS user status

    Hi Guys,
    I have scenario here
    WBS Element--> User status phase I WIP, Phase I Complete, Phase II Wip....
    Network Header Phase I
    Activity 1
    Activity 2
    Activity 3
    Activity x--> When confirmed should trigger WBS user status to Phase I complete
    Network header Phase II
    Similarly.
    How do i do this in PS? I need the WBS user status to be triggered Automatically from activity confirmation.
    Regards,
    Paval.

    Hi ,
    I think it is possible throuugh Event Linkage Method( SWETYPV transaction), can get help from your ABAPer/workflow guy.
    I am just giving hints which may help your ABAPer .
    Get Business object for Network BUS2002,
    Check for Event of Confirmation if not available , create the event for custom Business object (copy of BUS2002).
    Maintain this through SWETYPV transaction,
    in Detail level enter Receive function module that should consist of actual logic.
    Thanks
    Ramesh

  • Authorization for changing the user status

    Hi all,
    I need to give authorization in such a way that after the initiator has creataed a DIR...:
    1. When it goes to the next approval, the person should be only able to change the user status and save.
        he should not be allowed to change anything else.
    I have tried using different authorization objects but none of them worked. Is there any tcode in DMS for just approving the DIR (changing it to next available user status), similar to release strategy. For ex ME29N for approval of PO (Purchase order) ?
    Thanks
    Anish

    Hi Anish,
    Based on your requirement, I would like to suggest to go by workflow to approve the document..
    With the help of workflow, you can approve the document in workflow inbox itself (workitem), no need to go to DIR, the status will get automatically change in the DIR.
    for this you have to use function mudule (set/get next status).
    you can do this by taking the help of Workflow consultant and abap.
    regards,
    nitin
    award point if useful

  • System status and user status for ECR

    Hello,
    As per our requirement, we have defined some 7 user statuses. We need to link system status with user status
    How to link the user status with system status or is user status needs to be selected manually in every status of ecr
    Thanks.
    Anirudh,

    The user statuses are
    unassigned - workflow is not initiated,
    pending - change is not submitted to analyst who reroute it to change board,
    cancelled - change is cancelled,
    submitted - subimitted to analyst for routing to change board,
    hold,
    released,
    implemented - ECO complete
    We change only Document through ECR.
    We want to link system status to these above user status.
    The user tracks ECR by means of  user status and not system status.
    Anirudh,

Maybe you are looking for

  • My Nano is no working because of wrong operation of updating ipod software

    i download the recent IPOD software and try to update it to my ipod nano(1st generation). the message box shows " updating our ipod now", but suddenly, my computer is unplugged by mistake. my ipod nano is no working after that. the apple log display

  • JVM optimization of load driver forName and db getConnection

    I am working on a site that already had these jsp pages. There is very little java code to the site. Almost everything is done through the jsp page plus one main java class to store state data. The site's jsp page may do up to 7 queries on the databa

  • Mac Acrobat Pro 9.5.4 will not "save as" to a smb file server

    This problem started a couple of days ago. When ever I try to "Save As" a document to our Windows file server (Windows Server 2003) Acrobat says "The file may be read-only, or another user may have it open. Please save the document with a different n

  • LiveType and Final Cut Express 4.0

    I have used Final Cut Express since the beginning. I updated to 3 then to 4. Now I just recently gotten a new intel iMac. I used the quick and easy method to transfer my old computer onto my new one. When I went to try to use LiveType, it wanted a se

  • File Input

    Maybe someone can clarify, I am looking for examples where a program allows me to input data from a file, http://chortle.ccsu.edu/CS151/Notes/chap22/ch22_8.html on the above webpage there is a good explanation, but it's still not clear when I am writ