Restrict status change

Hi,
I am wondering if it is possible to restrict the status changes on records. For instance, for an SR is it possible to create a restriction so that the status can't change from 'Closed' to 'Open' or from 'Cancelled' to 'Open'?
We need to do this for several statuses and I have tried to use Field Validation, but there is character limit on the validation field, which does not allow me to create the complete validation rule.
Regards,
Ingeborg
Message was edited by:
ingeborg.vlot

create a workflow that triggers "Before Modified Record Saved", and check for statuses of "Cancelled" or "Closed". Then create an action of "Update Values" that sets Status to PRE('<Status>')

Similar Messages

  • SP2013 Content Approval Process, restrict status change on updates after Approval

    Hi ,
    I had implemented the SharePoint content approval process for one internal requirement. Now, there is a need for modifying the content after Approval Status and by doing so SharePoint modifies the status as 'Pending' after edit. But, I have to retain the
    approval status.
    Please share any thoughts on how to achieve this ? 
    Thanks in advance.
    soundar

    Hi Soundar_SP,
    After you edit the list item, then the approve status will change to pnending. This is by design.
    There is no OOTB feature to achieve your requirement.
    As a workaround, you can create a custom Approve workflow with start Approval Progress action and set the workflow started when item created.
    Best Regards
    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]
    Zhengyu Guo
    TechNet Community Support

  • Status Profile - Restrict any changes made in sales document

    Hi SD Guru's
    I have a situation here. I have maintained status profile with one of the status as "REJ - Reject Sales Order". Now when i set that status "REJ" and save the order, and open it by transaction VA02, i can make any changes in the order document such as adding new line item. I want to restrict any changes for this order now. How can i tackle this situation. Can you please help me with the same, its urgent.
    Regards
    Ravi

    Dear Ravi
    This can be controlled in two ways.
    1)  Through User Exit : MV45AFZZ by not allowing the specific users to make changes
    2)   With the help of your Basis Team, authorization of VA02 should not be allowed for the said users.
    Thanks
    G. Lakshmipathi

  • Problem with Restricted Recruiter Requisition Status Change Approval Proces

    Hello,
    Our company is having a problem with Recruiters recieving any approval notifications for requisitions where the status change is performed by someone logged on as a Restricted Recruiter.  The approval notification never appears in the Recruiters approval page.  The Restricted Recruiter is able to submit the request without any problems.
    I was hoping that someone could help point me in the right direction so that I may begin troubleshooting this.
    Thanks for your assistance.
    Ryan

    I have been doing some digging on this matter on E-Recruiting workflow and have discovered transaction SWI2_FREQ (Work Items per Task), very useful.  Upon running this utility I found 8 pending approval request tasks.  I double clicked on the task to show the workflow status of each task.
    I double clicked on one of the request for status change tasks for a requisition which took me to the approval request for status change of Req ########.  Here I clicked on the activities tab selected the activities tab, selected the activity Approval request for status change of Requisition ######## then clicked on the execute icon.
    Doing this opened up a new web browser and prompted me to login.  Using the correct login credentials for this environment I click the login button and promptly recieve the error message...
    Error in Web service execution
    E:SWF_HTTP:050 TS51807979
    At this point I am unsure of where to go...
    Any help would be appreciated.
    Ryan

  • Batch status change with UD

    Hi Everybody,
    I have a question about batch status change while taking UD. I understand that stock posting and batch status for each UD code is decided by the value in 'Posting proposal UD' field in Selected Set settings. I understand that I can customize the movement types for the values (eg VMENGE01, VMENGE02 etc) in config. But that is only for stock posting. From what setting is the Batch status decided eg. If we approve, the batch is unrestricted and if we reject it is restricted.
    Can I customize those values which are available in the drop down in the 'Posting proposal UD' ? Can I create a value of my own ?
    Regards,
    Manish Saraswat

    Manish,
    execute tcode QS51
    you will be able to see 'Posting Proposal UD' in "Selected Set ". Now select that line (Posting Proposal UD line). Status for Posting Proposal UD should be "Released"
    After selecting that line on left hand side there is " Dialog Structure " in that there is " Selected Set Code " Click on that.
    Complete list of code will come you can add and modify those codes.
    Hope now its clear to you.
    Edited by: tejasg on Mar 24, 2010 4:21 PM

  • E-Recruiting:Status change Activities on screen

    Dear Experts,
    I need to understand a few things about performing activities on candidacies(Object NE) . Please help me out in the following queries :
    We are implementing eRecruiting 603,specifically succession planning.
    I have created some custom activities (of type status change) & assigned them to some cutom created processes.
    In the BSP page, the list of candidacies NE for each NB is shown.
    The various processes (custom as well as standard) are also shown on the screen as different tabs.
    I have one Z activity Assigned to object status "intended as successor" and another assigned to status " rejected".
    1) To begin with all the NEs are shown in the ALL tab.If i perform any status change activity(intended as successor or rejected), the NE completely disppears from the screen (even from tab ALL) . Is this the standard expected behaviour ? There is a Process called "Rejection".But the Rejected NE is not shown in this tab. Is there any way i can show the NE under the Rejection tab? The same happens for status "intended as successor".
    2)Is this how all the status-change activities behave on screen? The NE is not shown on the screen but the changed status is reflected in the table 5139
    3)At the end of the process,for a NB,how can a succession planner see the NEs with status "intended as successor" if the NEs disappear from screen on performing this activity.
    Any assistance and thoughts on this will be invaluable.
    Many thanks,
    Sowmya

    Hello Sowmya,
    I think the SAP customizing mght tricked you a bit. The status of the candidacy which you set with the status changing activity has nothing to do with the tabs in the screen you are talking of.
    The Tabs result from the processes (or process steps - wording is not very clear here). Either you see all processes that are assigned to recruiting or succ planning or if you have assigned a recruiting plan to the requisition you will have tabs for each process(step) for which are activities in the recruiting plan.
    The candidacy is counted on the tab in which its most recent activity is in. So the status change activity rejected and the process rejected have nothing to do with each other directly. Only if it is the most recent activity of the candidacy and it belongs to the process reject the candidacy will be counted on the tab.
    If the candidacy disappears at all this results from the filters you set in the upper area of the screen. In the recruiting candidacy list the default filter restricts the candidacies shown to "in process" that might be the reason why the candidacies disappear after status change.
    Best Regards
    Roman Weise

  • Sale Order Status Change after delivery of materials from projects

    have ETO sccenario which consists of all modules such as SD,PS.PP etc. Materials will be procured from external vendors & manufactured inhouse through project systems. After delivery of materials from project systems, billing & invoicing will be done at sales level.
    On delivery of materials from projects, sale order status remain open. Request you to look into the matter & suggest about status change of sale order after delivery / billing.
    Regards,
    Ranjan

    Hi,
    In sale order, WBSE is assigned. Delivery of materials are through cns0. then subsequently picking / packing / billing will happen at sales level. Billing is of delivery related. Please suggest to fix the issue.
    Thanks & Regards,
    Biplab Ranjan

  • Service Desk Settings, Automatic Email at status change of messages

    Hello experts,
    I need your help about this:
    I am configuring Service Desk Specific Scenario Settings -> Automatic Email at status change.
    I made the configuration suggested as described SAP Note 691303. Also I configured the status profile SLFN0001 in transaction DNO_CUST01, and the Action profile SLFN0001_STANDARD, both  for the SLF1 (Service basis message), but still when we change the status of messages, the email is not generated in SCOT, overview of send orders.
    I want to clarify that the configuration made for the action of send email was in transsaction SPPFCADM, selected DNO_NOTIF, and push Define Action Profile and Actions, then selected the Action profile SLFN0001_STANDARD for making he ocnfiguration as suggested in note 691303.
    SCOT is correctly configured and working OK.
    Business partners emails are mantained too.
    Thank you very much.
    Hector Longarte

    Hello. Thanks to all of you for your comments. I am answering to your questions below:
    Have you assign proper partner function to every status in action?
    I do not know where can I make this assigment.  I am thinking that this may be the cause. Please I kindly ask you to give me orientation about this.
    Have you defined condition for defined action?
    Yes, the condition was defined thru SPPFCADM. Now, I wonder if this must be configured for CRM_ORDER application as described in note 691303, or for DNO_NOTIF ??
    Have you maintained user deatils on identification tab in BP?
    Yes, the Business partners and emails adresses were correctly mantained.
    The configuration we are talking about and you want to change, is it regarding SLFN (Service Desk Messages) or SLF1 (Basis Service Message)?
    I supose that for Service desk messages we must configure SLFN, and not SLF1. Right?
    In DNO_CUST01, we have SLF1. We have not made any configuration in DNO_CUST04, it is still as original standard. Please let me know if we are right.
    You want to send an aut. email notification when status of SLF1 changes?
    We want to send email notifications to the message creator about the status change of service desk messages.
    Thank you very much.
    Best regards.
    Hector Longarte.

  • Question over the appraisal status change

    Dear All,
    Our appraisal has ( following the flexible template ) has planning, mid year review and final phases. With in each main status we have sub status configured. Example - In the planning stage ( say in the month of February ) , employee add objectives, change weights etc and send to manager for approval. If manager approves, the document status will be changed from planning  to mid year status and employee's form is changed to the display mode ( so he cannot update objectives / weight etc)
    Then again in the mid year  status ( say a few months later - June ist ), the employee needs to review the appraisal, add or update the objectives etc and submit for manager approval.
    My issue is -  After the employee's appraisal form is changed to display only from planning to review status - How the employee's appraisal  form can be changed from a read only to change mode in the same status ? As it is necessary for employee to add/ update in the form.
    I am seeking the best approaches for the below as I am considering two options ( as mentioned below )
    1)   For the  mid year status  , I will configure a sub status ( called start mid year ) and attach a push button. The employee select the push button during the mid year  period ( say June 1st ) and this push button triggers the status change from Mid year to Mid Year / Start Mid year. We also plan to apply a custom implementation for  BADI for column access and badi  (HRHAP00_COL_ACCESS) will decide the access control for columns etc.
    2) The other approach I am considering is we are considering a workflow (INFO_APPRAISEE_CHANGE_REVIEW ) to notify th employee 7 days before the mid year review starts. Can this workflow trigger the status change or read the column access from the BADI (HRHAP00_COL_ACCESS) ?
    Any other simpler approaches ?
    I saw in the Process config ( tabs and process ) that we can define the phase with dates and status / substatus etc. Can this be useful for the above scenario. For eg. On June 1st when the mid year review start, can the status be changed  like from Mid year  to Mid Year / Start Mid year ?
    Please let me know . Greatly Appreciated!
    Aneez Hameed

    Hi Aneez, both options are great,   HRHAP00_COL_ACCESS is configurable at each sub-status, so you have many options.  You can have the manager "approve" at beginning of year, but keep it in "in planning" by having a 3rd sub-status.
    You can have the employee or manager have access to the pushbutton so that mid-term can start. 
    you can also do a workflow option where it is changed automatically, your option 2.
    the final option is the HR adminstrator can change the status, by doing a mass select in phap_admin and then they change to the status to move it to "in review" with all of your mid-term substatuses. 
    they key to making this work is the additional config that goes along with HRHAP00_COL_ACCESS.  here you will want to do define a Z table with the following columns:
    object id - your template ID
    role - which are the same roles values defined at your template - apee for apraisee
    template status - integer - represents status ID
    template sub-status - ID
    column id - FAPP, OBJO, etc..
    availability indicator (char) - here you will configure H, X etc... which the badi uses to know how to handle it. 
    best regards - michael

  • Picking status change in Outbound delivery

    Hi All,
    I have to create a start condition in PPF actions, whihc is nothing but BADI... whihc will trigger when the Pcikinf status is changed....
    I have these threee condtions:
    Action will be triggered by outbound delivery order status change:
    1.     Picking planned status at header level changed after warehouse order creation/cancellation  (corresponds to Focus2 status      0 u2013 Forecast);:
    u2022     from u201CNot startedu201D to u201CCompletedu201D and back from u201CNot startedu201D to u201CPartially completedu201D and back ;
    u2022     from u201CPartially completedu201D to u201CCompletedu201D and back;
    2.     Picking status changed at header level after execution each of warehouse order in drop location (corresponds to Focus2 status      1 - BeginPicked);
    u2022     from u201CNot startedu201D to u201CPartially completedu201D and back;
    3.     Picking status changed at header level after execution of last warehouse order in drop location (corresponds to Focus2 status      2 - Picked):
    u2022     from u201CNot startedu201D to u201CCompletedu201D and back;
    u2022     from u201CPartially completedu201D to u201CCompletedu201D and back;
    any help????
    I want to know how can i code this??

    Hi,
    In the BADI, you can get reference to Delivey Object
    lo_dlv_ppf TYPE REF TO /scdl/cl_dlv_ppf.
    lo_prd                TYPE REF TO /scwm/cl_dlv_management_prd.
    get delivery reference
      lo_dlv_ppf ?= io_context->appl.
    Get the attributes DOCID, the find the status of the documents accordingly.
    Now get the instance of the Delivery management:
    lo_prd = /scwm/cl_dlv_management_prd=>get_instance( ).
    Then read Delivery header and items using the below method based on DOCID:
    APPEND is_docid TO lt_docid.
      ls_include_data-HEAD_PARTYLOC  = abap_true.
      ls_include_data-HEAD_DATE      = abap_true.
      ls_include_data-HEAD_TRANSPORT = abap_true.
      ls_include_data-ITEM_DATE      = abap_true.
      ls_read_options-data_retrival_only = abap_true.
      ls_read_options-mix_in_object_instances = abap_true.
    CALL METHOD lo_prd->query
            EXPORTING
              it_docid        = lt_docid
              iv_doccat       = is_docid-doccat
              is_read_options = ls_read_options
              is_include_data = ls_include_data
            IMPORTING
              et_headers      = lt_whr_headers
              et_items        = lt_whr_items.
    You can find header status in lt_wr_headers.
    Or based on DOCID, get status from table /SCDL/DB_STATUS.
    Hope that helps
    Vinod.

  • How to configure workflow for status change of a salesorder.

    Dear Friends,
    I want to generate Idocs after a sales Order delivery  status changes
    using workflow.
    Please tell me the procedure ,as i am doing this for the first time.
    thanks,
    jeevan.

    Suggest using "Modes" in PPM. Mode 01 will have "x" capacity, mode 02 will have "y" capacity and so on. You will have to give a slightly different resource name for each mode. E.g, If there is a multi capacity resource named "RESOURCE", then first create following resources in the Resource master : RESOURCE_X and RESOURCE_Y. Define individual capacities ( Resource is same, only we are separating capacities). Then include these in the PPM -  mode 01 = RESOURCE_X, mode 02 = RESOURCE_Y.
    Hoe this helps

  • Service Order status change thro' Action

    Hi all abaper
    After completing billing, thro the action I am changing service order user status as completed. i hv written my code in class method.
    After billing as action runs my code from method execute and changes the status properly and gets save into system but action status shows incorrectly processed and comes in red colour in action monitor. following is my code   plz help me        
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    Edited by: Rob Burbank on Oct 13, 2010 11:13 AM

    Are you processing status codes out of sequence?  Talk to your functional specialist or look at the status config for these documents...sounds like you're going to completed without first setting a status code that would have to be there prior to your status code...I seem to recall doing status changes for these documents that were a multi-step process...set TECO, then CLOSED or something like that?

  • To create the follow up transaction automatically on status change in sap crm?

    To create the follow up transaction automatically on status change in sap crm? If yes, how to make the setting for this?

    Hi vishal,
    As per the requirement transaction type is activity(ACTI) & sales order(TA). when the take order objective is complete system automaticaly craete a new activity of tele sales call or metting with wholesaler.
    this is requirement of client.
    now i am already create all type of transaction types of activity & sales order & create follow up transaction also. i have doam already create action profile also but when i am assign this action profile to transaction & try to create an sales order no follow up transaction could be create automatically. i think the condition is not right so please help me out in this. what should be the start & schedulec condition for this scenerio

  • Status change from 'Completed' to 'In Process' not allowed

    When configuring Appraisals in R/3 we want to change the  Status of 'Completed' when pressing the 'Reject' button so that it moves to the Target Status of 'In Process'
    However, we are getting an error message:
    Status change from 'Completed' to 'In Process' not allowed
    The SAP help states the following:
    In Process (only if final appraisal or part appraisal is defined)
    This has been defined at Template Level.
    So I don't understand why we are getting the message.
    Does any one else know of a way to configure the Appraisal template so that after it has been 'Rejected' it moves back into 'In Process'
    Thanks
    MN
    Points Rewards!

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • How can I hide a contact's status changes?

    It is a pain to scroll through the history of a conversation with all of the status changes mixed in with my conversations. Is there a way to suppress seeing these? It seems like I could hide these several years ago (perhaps with the older version of Chax) but I can no longer find this option anywhere.

    Hi,
    I have Chax 2.2.2 used with my iChat 4 computer
    In the tab "Notifications" it does have a box that Needs Ticking to Show the Status changes in Messages. (I have not tried Setting it and then Unticking it to see if that works - sort of in reverse)
    I also don't remember using it before to Set this.
    I consider several of the Chax settings to mimic the same thing iChat 4 already does.
    These maybe an hangover from previous version though.
    Having said that their Site suggests using the correct version for the OS/iChat version you are using suggesting they were created from the Ground up or very close to it for each version of iChat
    I have not seen anything on removing the Message's Notifications.
    9:05 PM Friday; March 18, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

Maybe you are looking for