Control of TASK (Release/Complete) from User Status at Header Notification

Dear All,
I have configured a user status profile  for a notification type. In this a status is set to restrict following for Task used in Notification.
Complete Task : Forbidd.
Delete Task: Forbidd.
Release Task: Allowed.
Task Successful : Forbidd.
even after above setting done for the user status , iam not able to restrict the functions(mentioned above) for notification. Can any one tell me how to achieve this?
Raj

Raj,
Generally speaking, header user-statuses cannot control functions at a lower level (and vica versa) e.g. tasks, operations etc
You can control this via user-exits/BADIs (see link at the top of this forum)
PeteA

Similar Messages

  • Set a User Status for Quality Notifications only if they are "Activated".

    Hello experts:
    I need to be able to set a User Status for Quality Notifications only if they are "Activated".
    When defects are recorded for an inspection lot, a "Defect Notification" is created which can be activated to become a "Quality Notification".  Initially, the only difference between the inactive "Defect Notification" and the active  "Quality Notification" is that  the system status DEFR is active for the "Defect Notification", but is cleared when the notification is activated.
    So, I'm looking for the business process associated with the Activation to use as a trigger for my own user status.
    I checked the business rules for status DEFR and found that the following processes clear this status
      PMM1 -  Postpone Notification
      PMM2 -  Put Notification In Process
      PMM3 -  Assign Order
      PMM6 -  Put Notification In Process Again
    Any Ideas ?

    Perhaps some additional information would help you understand what I need to do.
    For notification type F3, we are recording all defects found in production.
    Most of these are expected defects that result in a minor reduction in yield.
    For this type of defect, we do not activate the notification, and the inspection lot is closed automatically at the end of production.
    However, sometimes defects are observed of an unexpected type or a higher than expected quantity.
    When this happens we manually activate the notification and assign tasks to find and correct the cause.
    It is only for these activated notifications that I want to automatically set a user status, which among other things, will prevent the notification from being closed until some other actions are complete and a different user status is selected.
    The function of the user status currently works exactly as I want, but if it is set as the initial status for all F3 notifications, it is also preventing the un-activated defect notifications from automatically closing.  I therefore want to use the Activation event as the trigger to set my user status.

  • User Status Profile for Notification PM

    Dear Masters,
    I know the steps to create the user statuses and user status profile for notification but I want a brief description on maintaining the user statuses. Can i have any document that can explain me the user statuses.
    Hope to find the reply soon. Thanks in advance.
    Chin2

    Hi Naveen,
    Thanks for such a valuable reply, this document is very much helpful to me. See the below example i am showing for the status profile i have created
    STATUS PROFILE:  ZP-NOTIF
    Status number        Status     description                                          Init      Lowest       Highest      position     priority
             1                    OPEN       Open Notification                                no        1                   1                 1               1
             2                    RUNG      Equip. Running Condition                    no         1                   2                1               1                
             3                    NRUN      Non-Running Condition                       no         1                   2                1               1                
             4                    CLSD      Closed                                                 no         1                   2                1               1                
    When I am trying to set the first status (OPEN) to the notification, it works fine but even after I am assigning the order to this notification, put notification in process, assign equipment I cannot set the next status (i.e., RUNG) it is showing me the following error:
    "Status RUNG is not allowed (QNF 100000000000) "  -> -> 
    Diagnosis
    The user status 'RUNG' has reference number 02.  In the current object status 'QNF 100000000000', the reference number of a status may not be higher than 01.
    Procedure
    You can only set user status whose reference number is not higher than 01.
    please help me solving this question its a bit urgent.
    Thanks once again for your replies.

  • Tasks get completed but workflow Status shows 'Error Occured' and not 'COmpleted' in Sequential Workflow Visual Studio 2010

    I have a custom approval sequential
    private void completeSPTask_MethodInvoking(object sender, EventArgs e)
    SPListItem task = workflowProperties.Web.Lists["Workflow Tasks"].GetItemById(WfApproveTaskItemId);
    task[SPBuiltInFieldId.WorkflowVersion] = 1;
    task["Status"] = "Completed";
    task.SystemUpdate(false);
    if (task["Status"].ToString() == "Completed")
    Hashtable HTdata = new Hashtable();
    // HTdata["Status"] = "Completed";
    // HTdata[SPBuiltInFieldId.Completed] = "TRUE";
    HTdata[SPBuiltInFieldId.PercentComplete] = 1;
    HTdata["FormData"] = SPWorkflowStatus.Completed;
    // HTdata[SPBuiltInFieldId.TaskStatus] = SPResource.GetString(new CultureInfo((int)task.Web.Language, false),"WorkflowTaskStatusComplete", new object[0]);
    SPWorkflowTask.AlterTask((task as SPListItem), HTdata, true);
    task.Web.Update();
    workflow which works properly, the task status gets completed
    When the tasks are 'In Progress' the workflow status also remains "In Progress" but when the task is completed , it shows error Occurred. The following is my code in CompleteTask method.

    I got it working by removing the complete task method and by updating the task in the ontaskchanged event , In that case both the task as well as the workflow gets updated

  • Controlling Schedule Line Cat by Item User Status

    Hi all,
    In VA01/02, I am now trying to update the Schedule line cat in user exit "USEREXIT_SAVE_DOCUMENT_PREPARE"
    I can successfully update the Schedule Line Cat, however, the subsequent effect of the Schedule line cat does not take effect.
    e.g., Schedule Line Cat is updated from CP to CN, but there is still requirement exits in table VBBE.
    Please kindly help me to make the subsequent effect to take place?
    Thanks all.
    Best regards,
    Chris

    You can do this in SPRO.
    Goto SPRO -> CRM -> Transactions -> Status Management -> Now execute the 'Change Status Profile for User Status' -> Create your own status profile using the create new button and then assign the new status to the desired transaction type in
    SPRO -> CRM -> Transactions -> Define Transaction Type.
    Now if you create a new transaction for the transaction type  that you assigned your own status type, you will be able to see your own statuses.
    Let me know if you did not understand any step, I shall explain in more detail.
    Message was edited by:
            Bharath Bali
    Message was edited by:
            Bharath Bali

  • User status for quality notification

    Hi All,
    from which table we can get user status for a particular notification which is  active status.
    Thanks in advance

    Hi,
    You need to get the OBJNR(object number) for the notifications and then use the FM: STATUS_READ.
    This FM will give you list of all the status or only active status( Set ONLY_ACTIVE = X in FM)..
    Hope this helps
    Regards
    Shiva

  • ECM - user status control

    Hi everybody,
    In Engineering change management,
    While creating a user status, we have option to set 1) what are system status can be controled by this user status
    2) which system status can set this particular user status.
    How do we set one user status control other user status.
    In my scenarios user status B should be allowed to set from user status A, ONLY after the system status P is set.
    thanks in advance for responce
    Thanks
    vennela

    Hello,
    This is possible by inserting the logic into the screen exit.
    Ask your abaper to check for the exit. Also you may have to create a ZTable to maintain the status sequence.
    We have done it in our project
    Regards
    Prasad K
    Edited by: Prasad K on Dec 17, 2010 1:37 PM

  • Maintain User Status for Maintenance Order

    Hi,
    I want to maintain User Status along with System Status. For that i have created a user profile for Maintenance and can view and modifiy define user statuses on the Maintenance Order. I have define following three statuses.
    - Created
    - Released
    - Completed
    Initially "Created" status is set on the Maintenance Order but so far i am unable to configure system to automatically change the status into "Released" when the order released and change it to "Completed" when the order is tech completed.
    In short, how to link business transactions with the User defined statuses?
    Regards,
    Shah

    Hi,
    Thanks Dhavan, it was really helpful..
    My requirement was to have a report on Maintenance order in terms of only three statuses "Created" , "In progress" and "Completed" to have a Pie Chart view of maintenance orders. The problem i was facing was that System Status shows multiple statuses depending upon the sequence of the business transactions conducted on the maintenance order and ultimately it ends up creating serveral statuses depending upon the sequence of actions performed on the order. That is why i opted to go for User Defined Statuses. And i linked those statuses with my Business Transactions i.e. like whenever i Release the order it automatically sets my User Status to "In Progress" and now i can have the report as per my requirement.
    Regards
    Shah

  • User status for Notification

    Hi all, I want to change the user status NOCO(Notification completed) for M2 type of notification in the Quality client.I did it in Dev client for M2(Break down Notn) and imported the TR to Quality.When i try to assign this status in Quality client, the system is throwing an error as follows.
    Status NOCO is not allowed (QNF 10039901).   Solution please.Also provide the path in SPRO.
    Thanks in advance,
    Venu.

    Have you completed all of the tasks in the notification. Has the Notification the following system status : ATCO ,
    If not, you would not be able to complete the Notification. Try Completing all the tasks and then mark the Notification as Complete.
    If you have defined any user status to be NOCO, then check that whether in the User status profile, against the current user status of the Notification, the lowest and Highest columns allow the NOCO status or not. Include the status number for NOCO against the current user status. This would solve the problem.
    Path for User Status Profile Creation and Assignment:
    SPRO>Plant Maintenance and Customer Service>maintenance and Service Notifications>Notification Processing>User Status For Notifications-->Define Status Profile
    Edited by: Usman Kahoot on Jun 1, 2010 5:19 PM

  • User status does not work for campaign automation

    Hi,
    We have 5  user status in our campaign. When we select the campaign automation option,   the user status appears but when we try to change from a status to another (sample: Open to Planificado) the next error appears:
    Diagnosis
    System error: An invalid transaction ID was used to check whether or not a business transaction is allowed.  Transaction %%%% does not exist.
    System Response
    You cannot carry out the requested function for object Campaign.
    Procedure
    Please contact your system administrator.
    We include the option release in each user status and everything works fine, however, we require that release status (system estatus) only appears in the latest  user status
    I hope someone help me
    Thanks,

    The error was resolved by applying the following note  1513934 - transaction %%% does not exist

  • User status- when selected it logs date/time & User in Work Not. long text

    Hello,
    Is there a way when a user clicks on a user status on Work Notification the long text will be updated to date/time and username.
    For example:
    If we have 3 approval process: Supervisor Approved, Deputy Manager Approved,, and Manager Approved.
    When the Supervior press the Supervior Approved (User Status and saves) the long text on the Work Notification will update with log of  time/date & user. Then the same for the next 2 approvals.
    This will help us a lot.
    Thanks,

    Jay,
    I really dont know why you guys need to update the long text when user status has been changed. You could simply trigger the email to the approver who needs to be notified. but anyway if this is your rqmt, I think you can do it thru field exit. Talk to ABAPer and get a help from him
    Mahee

  • User status for Notification and Work order

    We generate Service Notification IW26. I have already configured user status like PMND (Planning order not done), AWOP (Awaiting ordered parts) etc. in the Work order a while ago. Now the user wants same User status to the Notification as well. I like to know from experts what is the value added to have the same user status for both Notification and Work Order?
    Do you have any suggestions?

    Hey Chandra,
    The customer intent behind this requirement must be to check in reporting / List Display Transaction about the Order Status. If they want to know looking at a Pending Notification List about the Order Status, you can always provide similar report using SAP Query Builder or with help of your Developer.
    Apart from that If the Requirement is to have these User Statuses in Notification itself, Please advice them that it will be extra activity while performing transaction.
    I dont see any other benefit of having User Statuses added to Notification as well.
    Do let me know if you have some more info on Why Customer is requesting this....
    Regards,
    Avi

  • User status shift automatically?

    Dear SAPIENTS,
    I have created two user status:
    10 NWLD         lowest 10        highest  10
    20 ALWD         lowest 20        highest   20
    Now 1st one is active i want second to be automatically active after one movement on the same screen: eg say in inspection lot screen I am attaching task list so system status getting change. Now here I want as soon as task list assigned my user status should shift auomatically to 20
    Regards,
    Kaushal Rai

    Dear Shyamal,
    Followinf error is coming
    Diagnosis
    The user status 'ALWD' has reference number 20.  In the current object status, the reference number of a status may not be higher than 10.
    Procedure
    You can only set user status whose reference number is not higher than 10.
    For the status 20 I have taken transaction and selected SET button but then also its not shifting.
    Regards,
    Kaushal Rai
    Edited by: Kaushal Rai on Oct 22, 2008 2:18 PM

  • 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...

  • User exit to set user status for quote

    Hi,
    I need to update the user status in the header of quotation (using VA22) based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use.
    Could any one please provide me where I can write the code to put the conditions before upating user status in header
    Thanks
    Thang Tran

    Hi,
    Is there anyone can give me some suggestions?
    Thanks in advanced
    Regards,
    Thang

Maybe you are looking for