How to chnage th user status in QM?

Hi,
I have created a user status profile in QM with 2 statuses ( INIT - initial and RCHA-results changed). Now, I have to record the results, and whenever I do so, and save the results successfully ( using a digital signature) the user status should change from the initial i.e INIT to RCHA. Incase the digital signature fails the status should not be changed and should be the default one i.e INIT.  But this is not happening.
Can you please tell me the way out? Also if there is any specific BADI/BAPI that can be used for status changes.
Thanks

can anybody tell me how to code the problem??
I am using 2 FMs- 1. BAPI_INSPLOT_GETSTATUS ( to get the current status) and 2. STATUS_CHANGE_EXTERN ( to change the status)
I need to--
Compare a password. if sy-subrc =0 and the latest status is initial, then the status will change to "RCHA"

Similar Messages

  • How to retrieve the User Status on WBS Elements

    Hello,   could someone please tell me  how to retrieve the User Status for WBS Elements using ABAP?  Which table stores this information.
    Thanks.

    if you have the OBJNR there was also another FM status  in Se37 [link>>|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/changing-status-620444]
    also look in the similar requirement [discussion|http://sap.ittoolbox.com/groups/technical-functional/sap-bw/wbs-user-status-262089]

  • How to add new user status in Solman

    Hello,
    I wanted to add a new user status in Solman.i have added one new user status " reopen" . but when i checed it is showing as "no status".
    I have also checked the table TJ30T, in this table we have 2 entry for all other user status one is in english and one is in german.
    Please let me know how to add entry in this table or is there any other ways to add new user status in solman.
    Regards,
    Bhavesh

    Hi Abhyankar,
    Explain the scenario where you want to create a new user status?
    General remark:
    Creation of new user status can be for 2 cases: Whether you want the status to show up in the status field or you want to only use the status to search corrections and the status is displayed in "Further Statuses" tab.
    If you want to use the new user status for searching the corrections and this user status will be manually set, then you need to create the status in CRMBS02 transaction without specifying any status numbers.
    Then the new status will be available in "Further statuses" tab and you need to manually set or unset the status.
    If you need your user status to reflect in the status field then you've perform the following actions in SPRO:
    1. Create Authorization key for the new status
    2. Create the new status with status number and order of visibility; assign the authorization key to the status
    3. Create the action which will set the status
    4. Add the action in the action profile
    5. Write the schedule condition required
    These steps are on a high level. Hope this helps you to decide.
    Regards,
    Sameer

  • How to set a user status (complete) when ever system status is set complete

    Experts,
    We have configured status profile and few user status (say open, pre-release, complete) and assigned the status profile to the item category(zxxx).
    The problem we have is if we have a service order that is created with the item (item category zxxx) -- Say the header status is open and the item status is pre-release. Now end user comes and sets the header status to completed - then the item status is still set pre-release. It is not changing to complete as expected.
    Yes,  the Item system status is set to completed but not the user status. How do I configure to set a complete user status when the header and item system status are set to completed.
    Thank you
    Edited by: ram on May 4, 2010 8:51 PM

    I am not sure if this can be "reverse engineered" in Status profile.
    But here is some hint. You can use the BAdI CRM_ORDER_STATUS mehtod AFTER_CHANGE and actually break when the Header status is changed, and set the item status as desired.

  • CHARM how to add new user status to change document

    Can someone please suggest how to add a new user status to a change document ?
    I am looking into adding status "Pending" to Admin correction SDAD.
    Thank you in advance
    Elena

    Hello,
    Asides from the obvious adding of a new status to status profile SDADHEAD, you may want to have a look at the SPRO activities:
    SAP Solution Manager
    -> Scenario-Specific Settings
      -> Change Request Management
       -> Extended Configuration
        -> Change Request Management
         -> Change Transaction
          -> Change Transaction Types
            o Define Status Attributes
    Also activity "Make Settings for Change Transaction Types" in the same path is important.
    Best regards,
    Miguel Ariñ

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

  • How to add Product User Statuses?

    hi all,
    I need to add new user status values in the Sales Status list for the Products object.
    The standard only has 2 statuses : blocked with error, blocked with warning. (see field Status in the Sales data tab of the Commpr01 transaction in CRM gui)
    I tried to play with the status management entry of the SPRO (CRM/master data/Products/Status management) : i created a status profile, assigned it to the Master data object. But, the values do not appear in the list.
    Since, our CRM is connected to an ECC system, and the products are actually replicated from ECC, I also tried to change the values in ECC thanks to the menu Logistics general/Material master/settings for key fields/data relevant for S&D/Define sale statuses : i added a few statutes, then relicated the table TVMS to CRM. I can then see that the values have been replicated to the CRM table (CRMC_TVMS). But, i still cannot the values in the drop down list box of the sales status in the Product master.
    Any idea anyon?
    thx
    Lud

    hello lud ,
    The status profile can only be viewed in new UI not in SAPGUI.
    Please perform the following steps
    1. Go to transaction BSP_WD_CMPWB
    2. open the component PRDHS
    3. Go to the view PRDHS/Header
    4. In the configuration add the field 'Status Profile' to the view.
    Now test the again.This should solve the issue.
    Also ensure that the sap note : 1249450 is implemented in the system .
    Thanks & regards,
    krishnen Subramanian.

  • How can I analyse user statuses a maintenance order had in the past?

    I want to make an analysis from maintenance orders backlog (orders over required end date). I use IW39 and analyse the user status to define the status of the order in the proces......
    In this way, however, I am only able to make an analysis of the data in SAP at this moment, so not in history. Is there a way to analyse the status of maintenance orders user status in the past (or the change of user statuses in the past)?
    Thanks!

    Thanks for your answers;
    I learned that the data for change status and related time can be found in the table JCDS (and for a single order via I near the order status); So if I can get the data from JCDS table I can learn the status of an order in history. By using (incidental analysis) excel I can look if an order is over its required end date in history to analyse the backlog.
    Right?
    Thanks.
    Edited by: FvDiep on Jan 16, 2011 7:59 PM

  • How to modify operation user status

    Hi Team,
    I am created an order from IW31. Is there any way to change the user status of its operation.
    I mean I am looking for any enhancement or BAPI by which I can change the user status of operation.
    Mainak

    Hi
    BAPI to change user status is "BAPI_ISUSMORDER_USERSTATUSSET"
    and BAPI to change system status "BAPI_ISUSMORDER_SETSTATUSTECHN"
    Thanks,
    Prajakta

  • How to update user status in the QM notifications

    Dear Experts,
    PLz tell  how to update/change user status in the QM notifications..I have maintained the user status profile and assigned the same to the notification type,but user status are not getting updated in the notifications..
    Thanks in advance
    Ankush

    Hi,
    SPRO - Quality Management - Quality Notifications - Overview of Notification Type.
    In that select the concerned notification and click on the status profile and there you can assign the status profile for the concerned notification Type.
    There will be two types,
    status profile for notifications and status profile for tasks, assign as per the requirement.
    Regards,
    Naveen.

  • Planning board user status at operation level

    Hi Guys,
    Our user is not using planning board and therefore system status should not have DISP status as system status.
    Now user needs two profiles in the CM07 bases on the statuses SCH and RFS.
    Profile 1: For operation user status=SCH
    Profile 2: For operation user status=RFS
    I know how to create over all profile for planning board from the below path.
    IMG>Production>Capacity Requirements Planning>Evaluation>Profiles-->Define overall profiles
    Could any one please suggest me where and how to define required user statuses against the profile.
    Thanks,
    Lucky

    Hello,
    Please check the transction BS02. or Below Path in SPRO
    Production Planning for Process Industries>Master Data>Resource>General Data>Define Status Profiles
    Regards,
    Rakesh

  • Remove the user status in Sales order

    how to remove the user status in sales order header? could you give the function module or BAPI to get this?

    Hi,
    You Can try this-
    BAPI_SALESORDER_CHANGE,
    FM 'I_CHANGE_STATUS'
    Regards,
    Sujit

  • Change User status of Task of Follow up function

    Hi All,
    Does any one of you know how to change the User status of Task through customizing or programming.
    Basically I want to change User status from 'TINI' to 'TSNT' once the email is triggered. I could send the email but I am unable to change the status.
    Thanks in advance,
    Jagadish

    Hey Thomas,
    This should solve your problem..
    CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN'
          EXPORTING
            client              = sy-mandt
            objnr               = wa_new_user_status-guid
            user_status         = wa_new_user_status-status
            no_check            = 'X'
      SET_INACT                 = ' '
      SET_CHGKZ                 =
      XNOAUTO                   =
          EXCEPTIONS
            object_not_found    = 1
            status_inconsistent = 2
            status_not_allowed  = 3
            OTHERS              = 4.
    In this FM NO_CHECK parmeter must be set to True, else u wil not be able to set the Status.....
    Sample is given above...
    Reward points for usefull answer...
    Regards,
    Anand...

  • Activation of User status for Prod. order

    Hi,
    I have created a status profile with a status as a user status for production order. Now the thing is how to activate this user status for a specific transaction.
    the requirement is after settlement the user status should get activated for production order.
    Regards
    Amit Parkhi

    Hi Amit,
    As told by Ajay , after assigning Status Profile in OPJH you can assign User Status to production order as below:
    Pls. go through the following procedure for activating the User Status :
    Activating User Statuses
    Use
    You can activate a user status at order header and at operation level.
    Procedure
    Order Header Level
    Go to the order header.
    Choose .
    Choose Edit ® Direct entry.
    The system displays a dialog box in which you can select the permitted user statuses.
    Position the cursor on the required user status and choose Choose .
    Operation Level
    Go to the operation overview.
    Select the operation in question.
    Choose .
    Choose Edit ® Direct entry.
    The system displays a dialog box in which you can select the permitted user statuses.
    Position the cursor on the required user status and choose Choose .
    Pls. follow the above procedure as per rquirement and set user status accodingly.
    Pls. revert if any doubt and reward if useful.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Jun 23, 2008 8:10 AM
    Edited by: Tejas  Pujara on Jun 23, 2008 8:11 AM

  • User status for Service Issue{for particular Sales order} in CRM

    Hi Experts,
    I've an issue related to the User status in CRM.
    I've a Sales Order and I'm creating a service issue for it in CRM.
    For the service issue number has some user status and I want to know from where it is coming.
    Is there any configuration involved in it, or is it coming from the standard coding part.
    Please let me know how to find the user status for a service issue.
    Thanks
    Subbu

    Thank you PePe,
    I'm asking about the user status not the system status.
    The user status has only the values{open, worked & closed}.
    now for a service issue if it is rejected then the user status are automatically changed into "Closed".
    So if you have any idea in this please help me.
    thanks
    Subbu

Maybe you are looking for