User status with authorization key

Good day experts!
I have user status schema with users status. Each status have Z authorization key. I add authorization object B_USERSTAT in my SRM role. But SAVE rfx or choose user status in "user-specified status" not react on my auth key.
How can i limit user status for my role?

Hi,
In user status per status there is a auth. code field. So the user needs to be authorized to set or delete the status if a auth. code is maintained for the status.
The object is B_USERSTAT. Give your specifications to your basis person & it should be possible.
Hope the above clarifies.
Regards,
Vivek

Similar Messages

  • User status with reference to characteristic value of the Functional locati

    Hi,
    For a Functional location for which a characeteristic values is maintained as"1",i  want "user status of the mainteance order,when created  to be updated as "XXX".Can any one of you tell me the user exit and code changes for this.Please reply at the earliest.
    EX:A functional location(XXXX) has a Characteristic(xxx) has  value as "1"
    we have created an user status as"xxx" for the order(through status profie).Now,My requirement is
    When i have created a maintenance order for the functional location(XXXX),upon on saving of the order,or Assigning the priority for the maintenance order,i want the user status has to be modified as "XXX".
    Could you please tell us what to do?
    is our requirement will be fulfilled with the exit"IWO10009".If so,please tell us the code to be made>
    Can we map our requirement through "Object dependencies" or any other means to meet our requirement
    you will be highly appreciated
    with regards,
    Joshita

    HI joshita,
    I had a similar issue in the past where i wanted to attach permit to an order based on some characteristic of functional location at user exit 'IWO10002 - Customer check for order release'.
    This will solve your purpose during release of the order.
    You can also use the exit 'IWO10009 - Customer Check for 'Save' Event', this will check irrespective of the status of the order.
    Regards,
    Deepak

  • User status with more than one status

    Hello to every one,
    In my project i need to configure the user stats in such a way that i can have more than one status active at same time. For example   DIR  P1 now in this DIR means directores approved ad P1 means period 1. Now may be after 1 month it will be BOD P2 which means bod approved and period 2 is going on.
    I am trying in system but at one time i can have only 1 user status and second one is overwriting the first one. Kindly suggest how we can achieve the scenerio  and is is possible in standard user status.
    Regards
    Abhishek Sinha

    Dear ahmed and virendra,
    thaks a lot for your helpf. Its solved my problem. Thank you both very much.
    Regards
    Abhishek Sinha

  • User status profiles for work orders and sub-orders

    Hi Experts,
    I have the following question regarding status profiles for SAP PM work orders (but I guess it relates to all user status profiles).
    Customizing
    A status profile is defined for order type "PM_A", which contains an authorization key "OP" for certain user states (to be set by the ordering party)
    Situation
    The ordering party A creates an order of type PM_A for contractor B, and B then creates a sub-order of type PM_A for contractor C
    Problem
    - If I assign the authorization key "OP" only to roles of party A, then party B can't set the user states reserved for the ordering party (correct for the order A->B, but not for the sub-order B->C)
    - If I assign the authorization key "OP" to roles of party A and party B, then B could set certain user states reserved for the ordering party in the order A->B, which is also wrong
    Question
    Is there a way to restrict sub-orders differently than "non-sub-orders", or do I have to create a "sub-order order-type" for each order type, in order to assign them different status profiles and authorization keys?
    Thanks a lot!

    hi
    since you have 3 roles to be assigned to the same order type with different authorization ,it is better you create an seperate order type for sub order and assign the user status with authorization for B and C
    regards
    thyagarajan

  • Authorization key for the user profile

    In SAP, there is a provision where we can create the authorization key and assign this key to the various user statuses in the user status profile.
    The application is that when the user status is changed from one to other and if to the user status, the authorisation key is assigned then the authorised person should be only able to change the status.
    But my query is that i have not come across any customization where a SAP user can be assigned to the auth. key so that he can only change the user status.
    Can anybody let me know that whatever i understood, is it correct? And if yes, let me know where to assign the user to the authorisation key?
    Thanks

    Hi Iyer ,
    Please see the below,if it solves your requirement
    M/CS Autorisation Objects
    SAP Standard Authorisation Objects:
    I_ALM_ME: Mobile Asset Management  (ACTVT)
    I_AUART: Order Type  (IWERK, AUFART)
    I_BEGRP: Authorization Group  (TCD, BEGRP)
    I_BETRVORG: Business Operation  (BETRVORG)
    I_CCM_ACT: Configuration Control authorization object  (CCACT, ACTVT)
    I_CCM_STRC: Structure gap maintenance authority  (ACTVT)
    I_ILOA: Change location and accounting data in order  (IWERK, AUFART)
    I_INGRP: Maintenance Planner Group  (TCD, IWERK, INGRP)
    I_IWERK: Maintenance Planning Plant  (TCD, IWERK)
    I_KOSTL: Cost Centres  (TCD, KOKRS, KOSTL)
    I_QMEL: Notification Types  (TCD, QMART)
    I_ROUT: Task List  (ACTVT)
    I_ROUT1: Task Lists by PM Planning Plant, Work Sched., Status  (TCD, IWERK, VAGRP, STATU)
    I_SOGEN: Permit  (SWERK, PMSOG)
    I_SWERK: Maintenance Plant  (TCD, SWERK)
    I_TCODE: Transaction Code  (TCD)
    I_VORG_MEL: Business Operation for Notifications  (QMART, BETRVORG)
    I_VORG_MP: Business Operation for Maintenance Planning  (MPTYP, BETRVORG)
    I_VORG_ORD: Business Operation for Orders  (AUFART, BETRVORG)
    I_WPS_MEB: Maintenance Event Builder  (DIWPSMEBAR)
    I_WPS_REV: Revision authorization object  (REVTY, ARBPL, WERKS, WPS_REV_AC)
    S_NUMBER: Number Range Maintenance  (NROBJ, ACTVT)
    C_TCLA_BKA: Authorization for Class Types  (KLART)
    *Authorisation Tables:*
    TOBJ: Authorisation objects
    TOBJT: Authorisation object texts
    AGR_1250: Authorisation object assigned to role
    AGR_USERS: Users assigned to a role
    AGR_TCODES: Assignment of roles to Tcodes
    Authorisation Objects for System-Statuses:
    Order: I_VORG_ORD  (AUFART, BETRVORG)
    (REL = BFRE, TECO = BTAB, delete component = RMKL)
    Notification: I_VORG_MEL  (QMART, BETRVORG (NOPR = PMM2, NOCO = PMM4))
    Maint. plan: I_VORG_MP  (MPTYP, BETRVORG)
    User-Exits:
    CPAU0001: Enhancement for Authorization Check in Task Lists
    IMRC0005: Measure point: Exit in AUTHORITY_CHECK_IMPT
    IWOC0003: PM/SM authorization check of ref. object and planner group
    QQMA0026: PM/SM: Auth. check when accessing notification transaction
    QQMA0030: Check validity of status change
    BADIs:
    DIP_SET_USERSETTINGS: Initial Object Check in DP Processor
    INST_AUTHORITY_CHECK: PM/CS Enhanced Authorization Checks
    IWO1_ORDER_BADI: Maintenance, Service, and Refurbishment Order
    NOTIF_AUTHORITY_01: Additional Authorization Checks for the Notification
    WORKORDER_GOODSMVT: PM/PP/PS/PI orders: auto. goods movement
    Authorisation Groups:
    These can be created via TCode SM30 and table T370B. They can then be assigned to the following objects:
    a.     Equipment (IE02)
    b.     Functional Locations (IL02)
    c.     Maintenance plans (IP02)
    d.     Entry List for Measurement Documents (IK32)
    e.     Object links (IN05, IN08)
    f.     User-statuses
    Authorisation Debugging:
    TCode SU53: Evaluate Authorization Check

  • System Status and User Status

    HI Team,
    Is there any way by which i can hide or make in display mode my user and system status icon in PM order, which i can do in notification.
    Thanx in advance

    To the best of my knowledge, you can not hide the Icon. But you can restrict the user not to change the status by Authorization key.
    For User status:-
    Create keys by
    SPRO setting
    Plant Maintenance and Customer Service >Master Data in Plant Maintenance and Customer Service>Basic Settings-->Create Authorization Keys for User Status Authorizations
    Assign this keys to your user statuses. Basis will use it for user roles.
    As the System statuses changed by the business transactions, need to find the authorization object (BASIS) and restrict the user.
    [Useful Info|http://www.sapfans.com/forums/viewtopic.php?p=823900].
    Babu

  • Notification user Status

    Dear All,
    In notification we have applied a user status  with 4 user status
    1 initial
    2 checked
    3  reject
    4 done
    Our requirement is we should be able to apply either 2 or 3 .
    right now we are not able to go on 3 directly from 1
    and one more thing how release can be restricted with user status
    Thanks

    Hello Armaan,
    Check the status profile in status details button.Then go to TCode OIBS and open that particular status profile.
    Now mainatain "Lowest status number" as 1 in status 2,3 & 4 and you will be able to go to status 3 directly from 1 as per your requirement.
    I am giving you the example given by SAP for better understanding.
    Status A has status number 30 and the 'lowest status number' 10. Status B has status number 40 and the 'lowest status number' 20.
    Once status B was active for the object, only statuses with numbers 20 or higher may be activated, even if status A is currently active.
    However, if status B has never been active, statuses with status numbers 10 or higher may be activated if status A is currently active.
    Also release can be restricted in the same T Code  by providing the correct authorization code.
    Regards,
    Deepak

  • Use of user status and business actions

    Hi all,
    I'm new at status profiles, user status and business actions.
    Currently we are using status profiles and user status for orders - but business actions aren't assigned to the user status. In a project I should evaluate whether we can use those business actions.
    After reading a lot of documentations there is still one question left. What are the business-actions for and how can I use them?
    Let's say I've a status profile with following user status with according business actions:
    - status: new;   business action: to progress
    - status: in progress;   business action: to confirm
    - status: confirmed;   business action: decline or close
    - status: closed;   business action: close
    What happens when a user sets the status of an order to "confirmed"? Will be done additional checks for my order? - If yes: Wich checks will be done and exists there an API to effect these checks or to implement additional checks?
    Regards,
    Christian

    Christian;
    If you´re wanting to speak about Status Profile in OP. You can execute whole theses steps in T-code BS02, when in this IMG:
    1. Enter a Status Profile.
    2. Assign the status profile to an Object Type.
    3. Define the User Status.
    4. Assign Business Transactions to user statuses.
    5. Translate the status profile and user statuses.
    You can also to use this function to simulate the status development for a particular object.
    To do this, select a status profile and branch to the screen "Allowed Object Types". Then place the cursor on one of the object types.
    Using the function Extras -> Status simulation, you can simulate the status changes that could be caused by performing various business transactions, or by changing the staus manually, during the lifetime of the object concerned.
    You can also branch directly from simulation to status maintenance for the object concerned, to display information on which transactions are allowed or disallowed in the current situation.
    The log function records all the changes you simulate and allows you to navigate freely to see what effects these are having.
    Status profile info
    Using the function Extras -> Status profile info, you can display a list of all the entries you have made for a particular status profile. The list is structured as follows:
    The first block contains the permitted object types.
    The second block contains the user statuses.
    The third block contains the following information for each user status:
    which transactions it allows
    which transactions it allows with a warning
    which transactions it disallows.
    I hope help to you
    Regards
    Luciano Nobrega

  • MRS and User Status

    Hi Gurus
    We are using MRS 8.00.
    We decided to activate the usage of user status with MRS. Now it seems that we are missing some configuration. There are three functionality in planning board,  one of them is not working which is  - on the demand item (PM Order Operation) "Set Status Dispatched". Now the question here is how MRS will understand what is meant to be by the status DISPATCHED> There was an abstract status in the initial configuration of MRS and we used that one. We used the configuration step "Assign Status for Demands (ERP)" and we have assigned the Abstract Status DISPATCHED  to an order type/plant and a user status. It seems that we are missing some more configuration steps.
    Many thanks in advance

    We had a similar requirement and this is what we did :
    1) Set up a task as a reciever for the WORKORDER SAVE event.
    2) In this task called a method of a business object.
    3) In the method called STATUS_CHANGE_EXTERN to change the user status.

  • Deleted user status

    Hi gurus,
    A user status with existing transactions was inadvertently deleted.  While it has now been created again, the transactions with this status that are created prior to the changes are now unviewable whenever the standard and customized reports are generated.  Upon investigation, the former user status had a diff. code from the newly created one.  We're thinking of adding a new entry on the DB table to add the status with the old code.  Pls. advise.  Thanks.

    Hi,
    I am the ABAP developer tasked to investigate Ms. Ng's problem.
    Completed transactions have the user status E0010.
    When this user status was accidentatlly deleted, the entry E0010 (with the appropriate status profile) in the table TJ30 ceased to exist. A similar user status was then created upon discovery of the deletion. However, the new user status now had a different identifier E0011.
    Custom reports have select statements with inner joins to CRM_JEST and TJ30. Since old completed transactions have E0010 in CRM_JEST but no E0010 exist in TJ30, these transactions will not be retrieved.
    Is there a configuration screen which I could explicitly assign E0010 to my user status? Right now we are seriously considering direct table inserts to TJ30 and TJ30T.
    Sorry for the lengthy post. Thanks in advance.

  • Production Order User Status

    Dear Experts,
    I have created User Status with T-Code BS02 and assigned to the production Order. With the User Status I am blocking the GR, if confirmation is not carried out.
    Everything is working fine along the process. System is blocking the GR if confirmations are not done. Upon confirming the user status is changing in Prd Ord and then allowing the Goods Movement.
    But now if I cancel the confirmation, the user status is not rolling back (Block GR Condition). After cancelling the confirmation even I am able to do the GR, which should be blocked. How to do this?
    Also, in confirmation parameters, I have given "Error if sequence is not adhered to". This is blocking the confirmation of operation if previous opn is not confirmed, But here I can delete the previous confirmation (CO13), after confirmaing the later operation. The deletion of previous confirmation should not be allowed if later operation is confirmed. How to achieve this?
    Kindly advice me what are the settings required for this.
    Regards,
    Rohit.

    Rohit,
    After cancelling the confirmation does the order get back the user status as defined by in BS02?
    Please check out this.
    Regarding your query about CO13, although you have made necessary setings in OPK4, it will be effective only for process of confirmation & not for cancellation.
    But you can certainly achieve the control of cancellation of confrimation as per your requirement by using userexits available in CO13. Those are listed below.
    CONFPP01
    CONFPP02
    CONFPP03
    CONFPP04
    CONFPP05
    CONFPP06
    Kindly take help of you ABAP guy.
    Hope this helps you.
    SmanS

  • Change sales order user status

    Hello experts,
    I'm trying to update the user status with the following code without success:
    DATA : LIT_STATUS_COMT       TYPE CRMT_STATUS_COMT,
           WA_STATUS_COMT        LIKE LINE OF LIT_STATUS_COMT,
           LIT_FIELD_NAMES       TYPE CRMT_INPUT_FIELD_NAMES_TAB,
           WA_INPUT_FIELD_NAMES  LIKE LINE OF LIT_FIELD_NAMES.
    SELECTION-SCREEN BEGIN OF BLOCK AAA.
    PARAMETERS: P_GUID  TYPE CRMT_STATUS_COM-REF_GUID,
                P_STAT TYPE   CRMT_STATUS_COM-STATUS.
    SELECTION-SCREEN END OF BLOCK AAA.
    CLEAR WA_STATUS_COMT.
    WA_STATUS_COMT-REF_GUID       = P_GUID.
    WA_STATUS_COMT-REF_KIND       = 'A' .
    WA_STATUS_COMT-STATUS         = P_STAT. " Pass the user status
    WA_STATUS_COMT-USER_STAT_PROC = 'ZOR00001'. " Value for the User Status Profile.
    WA_STATUS_COMT-ACTIVATE       = 'X'.
    INSERT WA_STATUS_COMT INTO TABLE LIT_STATUS_COMT.
    WA_INPUT_FIELD_NAMES-FIELDNAME = 'ACTIVATE'.
    APPEND WA_INPUT_FIELD_NAMES TO LIT_FIELD_NAMES.
      CALL FUNCTION 'CRM_STATUS_MAINTAIN_OW'
        EXPORTING
          IT_STATUS_COM        = LIT_STATUS_COMT
        CHANGING
          CT_INPUT_FIELD_NAMES = LIT_FIELD_NAMES
        EXCEPTIONS
          NOT_ALLOWED          = 1
          ERROR_OCCURRED       = 2
          WARNING_OCCURRED     = 3
          OTHERS               = 4.
      DATA: LT_OBJECTS_TO_SAVE  TYPE  CRMT_OBJECT_GUID_TAB,
            LS_OBJECTS_TO_SAVE  LIKE LINE OF LT_OBJECTS_TO_SAVE.
      LS_OBJECTS_TO_SAVE = P_GUID.
      APPEND LS_OBJECTS_TO_SAVE TO LT_OBJECTS_TO_SAVE.
      CALL FUNCTION 'CRM_STATUS_SAVE_OW'
       EXPORTING
         IT_HEADER_GUID           = LT_OBJECTS_TO_SAVE
    best regards,
    Ronen.

    R.R,
    I already tried that without success:
    INCLUDE CRM_STATUS_CON.
    INCLUDE CRM_LOG_STATES_CON.
    SELECTION-SCREEN BEGIN OF BLOCK AAA.
      PARAMETERS: P_OBJNR  TYPE CRM_JSTO-OBJNR,
                  P_STAT TYPE   CRM_JEST-STAT.
      SELECTION-SCREEN END OF BLOCK AAA.
    START-OF-SELECTION.
    CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
      EXPORTING
    *   CHECK_ONLY                = ' '
        OBJNR                     = P_OBJNR
        USER_STATUS               = P_STAT
    *   SET_INACT                 = ' '
    *   IV_REF_KIND               =
    *   IV_OBJECT_TYPE            =
    *   IV_NO_1O_MAINTAIN         =
    * IMPORTING
    *   STONR                     =
    * EXCEPTIONS
    *   OBJECT_NOT_FOUND          = 1
    *   STATUS_INCONSISTENT       = 2
    *   STATUS_NOT_ALLOWED        = 3
    *   OTHERS                    = 4
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    * IMPORTING
    *   RETURN        =
    any other suggestions?
    Ronen.

  • Automtic User Status updation in Service Order

    Hello ,
    Whenever I do "TECO" of service order , User status should automatically change."TECO" is a business transaction
    Do anyone have done this . Which exit is user to achieve above.
    Regards,

    Hi,
    Check the below FMs :-
    STATUS_CHANGE_EXTERN : This is used to set or delete User Status
    STATUS_CHANGE_INTERN :This is used to set or delete System Status
    STATUS_READ : This is used to read system status or user status
    First check up via User status , with proper status numbers
    If ur having many different than better u can go for user exit : IWO10009 PM Order: Customer Check for 'Save' Event. to check at save and set status accordingly ...
    For reading latest status - u may have to read from structure i think ..
    Tables :- JEST, TJ02T,TJ20 etc
    regards
    pushpa

  • Equipment User Status Update

    Dear Gurus,
    I want to update equipment user status with PM Order Status.
    for example, if i close the PM01 - Maintenance Order , equipment user status will be updated "001-Fixed".
    how can i update the user status like above example? I have found some user exit (STATTEXT) but it is not working in PM order. Is there any user - exit for this case?
    thanks for your help.

    Mahee,
    you are right, i guess my example is not clear for this case. I wrote this basic example for easy understanding.
    anyway, i wanna write a scenario, we have 4 user status for equipments. we wanna run with PM order status and good movements. equipments are on our customers so that we can refurbish and fix on the field or our refurbishment center.
    1.  if equipment is come  from customer for refurbishment , equipment status will be updated "001-waiting for refurbishment"  with good issue.
    2. if equipment is refurbished, (refurbishment)order will be completed so equipment status will be updated " 002- refurbished"
    3.if equipment is not refurbished, (scrap) order will be opened for removing equipment's spare so equipment status will be updated " 003- scrap"
    4.if equipment's spare is removed, (scrap) order will be closed and equipment status will be updated " 004 - write off"
    I hope it will be cleared.
    there is a bapi for updating equipment user status"BAPI_EQUI_GETSTATUS" but i don't want bapi because of locking the equipment. which can i use user-exit or badi for this case?
    thanks for your help

  • ISSUE IN USER STATUS IN WCD IN WCM

    Hi experts ,
    i am facing an issue in wcd(work clearance document). i set user status and when that user status  is active user is unable to do untagging, temporarily untagging. but due to some issue i deleted that user status and assign again. but after deletion when i create same user status with same checks system does not perform checks, it allows user to do untagging when that is active. please help me i am stucked very badly and not able to go ahead.

    hi sebastian,
    thanks for reply
    in my business scenarion tagging and untagging is done by respective department like mech , elec. after approval of operation department. i used two user status in user status profile INIT & work completed. init in initial status when wcd is created. when initail is active untemporarily tagging , utang, temporarily untag & untagged business transaction can not be performed. change of user status is only given to operation department. when operation department change the user status to work completed of wcd item after that respective department able to do  untemporarily tagging , utang, temporarily untag & untagged business transaction. but when i create check at wcd item leve it dosnt work.
    object type assigned in oibs is wcd item only
    in starting when make ths check by user status at wcd item level , it is working fine but after deletion i reassigned the same it it not working.
    then i try to assign it at wcd header it also not working.
    kindly help. if u want to take my sytem on remote i can do the same

Maybe you are looking for