IW32 change of user status

Hi,
In Plant Maintenance orders to help users to manage the work process of
user statuses,
When we open the order using tcode IW32, we should be able to set the
userstatus to JBDN, but it should not get reversed from JBDN to any
other previous status(like from JBDN to WIP i.e., high to low). We want to restrict the
authorizations in one role for this type of status change.
Similarly, we want authorizations to be restricted in another role
where we should ONLY be able to set the status from JBDN to WIP(It
means, it should not allow to change the status from WIP to JBDN in the
same role i.e., lower status to higher status).
It mean, we want the user status to be allowed to change in one way.
We tried to restrict the authorization with B_USERSTAT. But it is
allowing to change the status in both ways(i.e., from JBDN to WIP and
also from WIP to JBDN) which should not be the case.
Please let me know what authorization objects to be restricted for this.
Regds
Sekhar.

Hi,
As per my knowledge/experience, it is not possible to restrict the user from select options only 1 way and this kind of restrictions are not included in SAP authorizations. May be, you need to look for a customized program, which can lock the option once selected.
Rgds,
Raghu

Similar Messages

  • IW32 : User-Exit/BADI on Change of User Status

    Dear All,
                                     My requirement is to do some validations when a user changes the User Status of a Service Order to  'Cancel'.
    I am unable to find a user-exit/badi which will get trigerred when the above process occurs. I did find some user-exit at save but none of them will get me the new user status, so that I can check whether the Service Order going to be set as 'Cancel' .
    Regards,
    Antony

    Dear Wolfgang,
                         Thanks for your answer, it was indeed very helpful. I didnt find any luck with the FM you had mentioned but found some other FM:  QMEM_STATUS_OLD_NEW_READ , may be this will help me in solving my problem..There is one more Question which I hadnt mentioned in my post, If my validation over User Status  fails how can I get the old status back.. Because since the EXIT you had mentioned is at SAVE I dont think throwing an Error message will be the right option
    Regards,
    Antony

  • Is it possible to change the user status of a TECO Order

    Hello Folks
    Is it possible to changes the user status of a TECO Order?
    I have tried to change it using the FM 'STATUS_CHANGE_EXTERN'. Its working fine for NON TECO Orders but not for TECO Orders.
    On the other hand I was able to manually change the user status for a TECO Order in transaction IW32.
    I need to change the user status from NFBK to FBK.
    Please provide some inputs for the same.
    Thanks n Regards
    Ramesh

    The simple way is via the Internationalization settings via ARD or RDP or Screen Sharing, either via System Preferences or (if enabled) via the menu bar. If you're looking for a lower-level approach, there's not AFAIK a direct command for this. As for one possible approach, might [threadID=2106201|http://discussions.apple.com/thread.jspa?threadID=2106201] help?

  • Exit or Badi for controlling the change of user status in notification

    Hi,
    I want to check the current user status of notification while saving the notificaton. If the current user status satisifies particular situation, then the notification should be save else not.
    Is there any user exit or Badi which can be used to control the change of user status in notification.
    Thanks
    SUMIT

    Hi Pushpa,
    Thanks for the reply.
    the problem over here is that the BADi IQS0_STATUS_MAINTAIN only allows to disable the user status.
    the other function module STATUS_READ only fetches the data from JEST.
    whereas my problem is that i want to check on the changed status on the screen(which is not saved also).
    Appreciate your reply on the same.
    Thanks
    SUMIT

  • TO change the user status in the PM order

    Hi,
    My requirement is that a techician is assiged to do the work using MRS and based on that user status is update in the PM when the save button is clicked on the MRS board.
    Now according to my requirement if anybody click on the save button and the technician is assigned to do the operation is done through MRS than the User status in the PM order should get changed.
    As a part of standard functionality the user status is not updated.
    A new user status is created in the trasaction BS02.
    Can anybody please let us know how to achieve this functionality
    Thanks
    Mohit

    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.

  • Function Module to change the user status of a business transaction

    Hi,
      I want to change the user status of a business transaction. Plz let me know if there is a function module to change the user status.I found some FMs.
    - CRM_STATUS_MAINTAIN_OW
    - BBP_PROCDOC_STATUS_CHANGE_DIRE
    - CRM_ORDER_CHANGE_STATUS
      But these FM says that it has to be used for changing system status.
    Thanx,
    Sivagami.R

    hi Siva,
    here is some sample code :
    data :
      ip_guid            type  crmt_object_guid,
      ls_status            type  crmt_status_com,
      lt_status            type  crmt_status_comt,
      ls_input_field       type  crmt_input_field,
      ls_input_field_names type  crmt_input_field_names,
      lt_input_fields      type  crmt_input_field_tab,
      lt_obj_guids         type  crmt_object_guid_tab,
    ip_guid = <your guid>.
    ls_status-ref_guid = IP_GUID.
    ls_status-ref_kind = 'A'.
    ls_status-status = lv_newstat.
    ls_status-user_stat_proc = 'ZCRMCOM1'.
    ls_status-activate   = 'X'.
    INSERT ls_status INTO TABLE  lt_status.
    ls_input_field-ref_guid = IP_GUID.
    ls_input_field-ref_kind = 'A'.
    ls_input_field-objectname = 'STATUS'.
    ls_input_field_names-fieldname = 'ACTIVATE'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STATUS'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    insert IP_GUID into table lt_obj_guids.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
        it_status       = lt_status
    CHANGING
        ct_input_fields = lt_input_fields.
    CALL FUNCTION 'CRM_ORDER_SAVE'
    EXPORTING
        it_objects_to_save = lt_obj_guids
    EXCEPTIONS
        OTHERS              = 2.
    COMMIT WORK.
    please award points if helps
    cheers

  • Change of User Status for SDHF transaction type

    Hi,
    We have a requirement to change the user status of transaction of type "SDHF" creted using CRMD_ORDER.
    We are using FM " CRM_STATUS_CHANGE_EXTERN" for the above requirement, but stuck with the following error "Status REL is not allowed". On analysis of error, it is observed that the FM is not changing the user status to a status with higher status number than the present status.
    Eg: If the current status number(Code - PMAP) is 35 and the required status  number (Code - REL) is 40, then the FM is throwing the above error. we cannot change the status numbers, as this will lead to re-alignment of statuses which is not acceptable.
    kindly help with the solution for the above error or is there any FM or other method of achieving the same requirement.
    Points wil be awarded for the helpful amswers.
    Regards,
    Imran

    Hello,
    Since the status has no number it will appear under statuses W/O number bottom right in status overview window.
    These status will appear as additional text beside current user status. For example if user staus is BUG and status without number is DFL and sets when deletion flag is set and gets deleted when it is revoked than user status will appear as
    BUG DFL -
    Deletion flag set.
    BUG -
    When deletion flag revoked.
    You have to live with it. I don't think there is a way out for that.
    Thanks
    Saikishore Ganga.

  • Change of USER status for SDHF transaction type though CRMD_ORDER

    Hi,
    We have a requirement to change the user status of transaction of type "SDHF" creted using CRMD_ORDER.
    We are using FM " CRM_STATUS_CHANGE_EXTERN" for the above requirement, but stuck with the following error "Status REL is not allowed". On analysis of error, it is observed that the FM is not changing the user status to a status with higher status number than the present status.
    Eg: If the current status number(Code - PMAP) is 35 and the required status  number (Code - REL) is 40, then the FM is throwing the above error. we cannot change the status numbers, as this will lead to re-alignment of statuses which is not acceptable.
    kindly help with the solution for the above error or is there any FM or other method of achieving the same requirement.
    Points wil be awarded for the helpful amswers.
    Regards,
    Imran

    Hello,
    Since the status has no number it will appear under statuses W/O number bottom right in status overview window.
    These status will appear as additional text beside current user status. For example if user staus is BUG and status without number is DFL and sets when deletion flag is set and gets deleted when it is revoked than user status will appear as
    BUG DFL -
    Deletion flag set.
    BUG -
    When deletion flag revoked.
    You have to live with it. I don't think there is a way out for that.
    Thanks
    Saikishore Ganga.

  • FM STATUS_UPDATE to Change WBS User Status

    Greetings,
    I need to fine the best way to change the user status for WBS, I found STATUS_UPDATE function module and it can update the status , however, the changes does not get reflected in the Change Document log, any idea ?

    Hi,
    I would suggest using BAPIs instead of "regular" function modules. With BAPIs you are sure that they won't change, the API is stable. You can't be sure about internal FMs. I know that chance of changing STATUS_CHANGE_EXTERN by SAP is seriously low. You can also use FM incorrectly. Using BAPI incorrectly is almost impossible. What I just want to say is that preferring BAPIs is a really good practice.
    Cheers

  • 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

  • Changing Portal Role after the status change of user status at the CRM end.

    Hi,
    I have Portal with Java database as the default and CRM is connected to it using SSO.The database in both the case in separate.The users that are created in Portal will have a BP status in CRM sytsem.
    Now my requirement is that if the status of the BP gets changed at the backend simultaneoulsy its Portal role should also gets changed.How shall i facilitate this procedure of changing the Portal Role?
    Is there any RFC ,BAPi or Webservices required for this?
    Regards,
    Amarys
    Edited by: amarys on Sep 13, 2011 11:20 AM

    Hello,
    Since the status has no number it will appear under statuses W/O number bottom right in status overview window.
    These status will appear as additional text beside current user status. For example if user staus is BUG and status without number is DFL and sets when deletion flag is set and gets deleted when it is revoked than user status will appear as
    BUG DFL -
    Deletion flag set.
    BUG -
    When deletion flag revoked.
    You have to live with it. I don't think there is a way out for that.
    Thanks
    Saikishore Ganga.

  • 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

  • Iw32 - Fm for User status

    Hi i need a fuctional module to get the user status displayed in Iw32 for a order no.
    Keshav

    find out the status profile for the service order...
    then...
    SELECT * FROM jest INTO TABLE it_ustat
                           FOR ALL ENTRIES IN it_qmel
                           WHERE objnr = it_qmel-objnr                     "object number for the order
                           AND   stat LIKE 'E%'
                           AND   inact NE 'X'.
    SELECT * FROM tj30t INTO TABLE it_tj30t
                            FOR ALL ENTRIES IN it_ustat
                            WHERE stsma = 'ZXXX'                         "status profile       
                            AND estat = it_ustat-stat
                            AND spras = sy-langu.
    TJ30T-TXT04 contains the user status

  • How can i set automatic change of user status(for WBS)?

    Hi,
    Everytime when i create invoice for customer shipment using transaction code VF01, i need to change user status of WBS element manually in project to INTG in order to recognize the revenue. Is there any possiblity to change user status of WBS automatically after invoicing?
    If it is, could any one please help me to resolve this problem?

    I have Compressor 4 already, defined an own parameter set there (with 1024x680 resolution) but this was not displayed as an option in FCP X. I want to produce my resolution directly from FCP X, not produce it in another resolution and then convert it via Compressor. Let alone the fact that non of the FCP-included resolutions has a width-to-height ratio of 3:2 like mine. The solution would be to know where FCP stores its presets and to be able to modify them or add new presets.

  • How to change the user status from CJ01 transaction

    Hello All,
    I am doing a BDC in CJ01 transaction where there is a field called "User Status" .
    This field is not editable. However the requirement is to populate this field with some value based on some other entries.
    Is there any Function module / BAPI to update user status from CJ01.
    Thanks in advance.
    Regards
    Indrajit

    Hi Anbu
        Thanks for your kindness.
         I had got the proper badi definition ( RECN_CONTRACT ) before. I have try to implement the badi in my implementation YCL_IM_RECN_CONTRACT and below is my example codes. It can update the user status when the SAVE button is pressed. My example codes are below:
    METHOD if_ex_recn_contract~check_all.
      DATA:
          cl_recn_contract   TYPE REF TO cl_recn_contract.
      DATA: r_status_mngr TYPE REF TO if_reca_status_mngr.
      DATA: lv_status_profile TYPE j_stsma.
      DATA: lt_status TYPE re_t_status,
                ls_status TYPE LINE OF re_t_status.
      DATA: r_message TYPE REF TO if_reca_message_list.
      cl_recn_contract ?= io_object.
      CHECK if_before_store = 'X'.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->get_current_status
        IMPORTING
          ed_status_scheme = lv_status_profile
          et_status        = lt_status.
      lv_status_profile = 'ZBCIA01'.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->set_status_profile
        EXPORTING
          id_status_profile = lv_status_profile.
      READ TABLE lt_status INTO ls_status INDEX 2.
      ls_status-stat = 'E0001'.
      ls_status-inact = ''.
      MODIFY lt_status FROM ls_status INDEX 2.
       CALL METHOD cf_reca_message_list=>create
         RECEIVING
           ro_instance = r_message.
      CALL METHOD cl_recn_contract->if_reca_has_status~mo_status_mngr->set_status
        EXPORTING
          it_status           = lt_status
          if_only_user_status = 'X'
          io_msglist          = r_message.
      REFRESH lt_status.
    ENDMETHOD.

Maybe you are looking for

  • After running Adobe Download assistant I get a warning window.

    It took all day to run the Adobe Download Assistant for Adobe CS6 Master Collection. When the .dmg finished downloading, up popped the warning window, "MasterCollection_CS6_invalid schecksum. I tried to open the .dmg from the folder to which I downlo

  • Which snow leopard allows 2008 macbook pro to mirror onto your television from mac screen

    which snow leopard allow macbook pro to mirror streaming internet movies onto your tv?

  • .MAC Mail on Windows Mail

    Hello All, I just got a new laptop from work, it has Vista and ''Windows Mail'', how do I import .mac mail on there? My work uses my .mac email address and I have to go to mac.com to get mail. HELP PLEASE! P.S. Windows=Devil

  • My computer is crashing since I downloaded Download Helper

    I was able to successfully download Download Helper from this address - https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/; but when I tried downloading a video from You Tube it started the download but my computer crashed halfway t

  • Web pages inactive

    I am surely doing something wrong. It seems I have a large number of web sites that do not load or are not accessable on iPad. I browse on my other Mac computers with Safari and do not have this problem. I am not overly computer savvy but then that i