How to change a status profile from existing in CRM 7.0?

Hi,
This is the scenario for which I need to change the existing status profile :
We are using categories such as Maintenance , Approvals etc.
There is a huge list of options which comes when we choose the category. We have assigned a status profile to each of these categories.
So for e,g when I choose Maintenance, it also displays other options not related to Maintenance.
Q 1) how to I change the status profile on this??
I tried using CRM_STATUS_PROFILE_CHANGE but it doesnot work
     CALL FUNCTION 'CRM_STATUS_PROFILE_CHANGE'
  EXPORTING
    OBJNR                          = iv_guid
    STSMA                          = 'ZV001'
  XNOAUTO                        =
  X_NOACTIVITY                   = ' '
EXCEPTIONS
   OBJECT_NOT_FOUND               = 1
   NO_STSMA_CHANGE_POSSIBLE       = 2
   STSMA_NOT_FOUND                = 3
   ERROR_OCCURRED                 = 4
   OTHERS                         = 5
Q 2) If the above is not the right way is there a possibilty to hide the statuses ??
Thanks and Regards,
Narayani

Hi,
I am not so clear about your requirement, would you please try to make it clearer.
Which transactions are you assigning the status profile to?
And what is the "categories" do you mean? As I could guess it is the item within the status profile, isn't it?
For example you have a status profile defined as
10 xx01
20 xx02
30 Maintenance
40 xx03
50 Approvals
60 xx04
Is it like the above? Or else, please clarify.
Thanks,
Hongyan

Similar Messages

  • How to change the status profile of equipment?

    Hi Experts,
    Is it possible to change the user status profile for already created equipment? I tried to change the assignment of status profile to equipment category and found it works only for new equipments. It is not applicable to already created equipments. The status of the status profile is already used in equipments.
    Please suggest and do the neeful.
    Thanks and best regards,
    Praveen.

    No you can not change status profile assigned with already created equipment.
    Eg. You assigned status profile 00000003 to equipment category M of equipment. so whnever any new equipment created will get status profile 00000003 only.
    For your case, dont make any change status profile no .00000003--> make whatever changes you have to made about status naming,sequence keeping same status profile.
    After that goto equipment change master edit>change category>selet same category for assignment. so equipment will get same status profile with status changed.
    Hope this will help you.

  • How to Change Industry type in a existing running CRM system

    Hi Experts,
    We are running presently on CRM 5.0 and we went live on Nov 2006.Currently we found that the industry type has been configured as CG (We are HT industry type).
    If we change the industry type in the current running CRM system what will be the impact.Can we do it and what is the process to do it.
    Thanks
    Subhabrata

    Hi Subha,
    As far as my knowledge when the industry has beeen selected it should not be changed becuase once the industry is selected it would generate all the required objects objects of the CRM repositry. But I think you have a choice if you have a seperate client then you can Generate industry-specific objects for HT industry.
    Anyways check twice before you do a major change.
    Best Regards
    Shiven

  • Changing the Status profile in QM

    Hi,
    The status profile (QM_L_001 - Inspection lot profile1) in the Quality Inspection Lot is been manually entered and saved.
    This has set the User Status as IMAT: Material is not correct.
    Due to this, unable to do any of the further processing.
    In QA02, the Status Profile cannot be changed/deleted.
    So how to remove the Status Profile from the Quality Inspection Lot?
    Request your help.
    Regards,
    Sankar.N

    Hi
    An other workaround, you can go to the transaction BS02 and change the status profile to allow the status can execute the following actions temporarily.
    Leon.
    Regards.

  • How to change the status of IDOCS from 29 status to 53

    Guys
    how to change the status of IDOCS from 29 status to 53
    Thanks in advance

    Hi Krishna
    IDOC_STATUS_CONVERT Use this FM and reward me

  • How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    HI,
    How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    Thanks Florin,
    Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
    Points have been rewarded for your help.
    Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
    Note: The Exit will be executed if "exit_cancelled"  statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
    Please check the link for adding the code in Work Item Exits.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
    Please find the Code:
    method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
    Get the context of the workitem
      me->wi_context = im_workitem_context.
    After execution of the workitem call the method AFTER_EXECUTION
      if im_event_name eq swrco_event_after_execution.
        me->after_execution( ).
      endif.
    endmethod.
    METHOD AFTER_EXECUTION.
    This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
      DATA: LCL_L_WID TYPE SWW_WIID,
            L_STATUS TYPE SWR_WISTAT-STATUS,
            L_NEW_STATUS  TYPE SWR_WISTAT,
            L_SWR_MESSAG  TYPE STANDARD TABLE OF SWR_MESSAG,
            L_SWR_MSTRUC  TYPE STANDARD TABLE OF SWR_MSTRUC.
    Get work item
      CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
        RECEIVING
          RE_WORKITEM = LCL_L_WID.
      L_STATUS = 'READY'.
      CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
        EXPORTING
          WORKITEM_ID    = LCL_L_WID
          STATUS         = L_STATUS
          USER           = SY-UNAME
          LANGUAGE       = SY-LANGU
          DO_COMMIT      = 'X'
        IMPORTING
          NEW_STATUS     = L_NEW_STATUS
         RETURN_CODE    = SY-SUBRC
        TABLES
          MESSAGE_LINES  = L_SWR_MESSAG
          MESSAGE_STRUCT = L_SWR_MSTRUC.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDMETHOD.
    Thank You Once Again,
    Ajay Kumar Chippa

  • Change the status profile assigned to the line item from PROFA TO PROFB

    Hi Experts,
    The issue we are having relates more to the fact that the code we have written is changing the item category, however the status profile has already been retrieved from configuration based on the original item category and therefore the status selection that we are getting is incorrect.
    Item Category A -> Status Profile PROFA
    Item Category B -> Status Profile PROFB
    For example we have a line item and item category A is determined through config, this then retrieves its associated status profile PROFA. However we have then coded the system to change item category A to item category B.  However the status profile still remains PROFA.
    We need to find a way to change the status profile assigned to the line item from PROFA to PROFB.
    any quick inputs from any one please......
    Thanks in advance
    hemanth

    Hi
    There is perform which moves the values to VBAP field.
    This PRCTR field is stored in VBAP (i.e., SO line item table)
    USEREXIT_MOVE_FIELD_TO_VBAP
    Hope it works.
    VVR

  • Change status profile for existing incidents

    Hi experts
    We were using status profile SLFN0001 with service desk and it was working fine, but we had to create a new status profile ZLFN0001 because of new requirements and everything works fine for the new incidents. The problem is that the old incidents still have the status profile SLFN0001, is there a way to change those "old" incidents and assign the status profile ZLFN0001 instead of SLFN0001?
    Any help would be appreciate it

    Hi Osbaldo,
    As far as I know, you will not be able to change the status profile with already implemented all incidents.
    Regards,
    Sneha

  • How to cancel serial no. profile from material master ?

    dear all SAP experts,
                I have 1 mateial in which i assign serial no. profile in work scheduling view in material master. So how can cancel serial no. profile from material master ?
    Suggest me
    regards,
    Nitin Nerkar

    As long as no serial numbers exist for the material you are able to cancel or change the serial number profile.
    As soon as serial numbers exist for the material and you want to change or delete the serial number profile, you must note the following:
    The previously assigned serial numbers are no longer suited to the current serial number profile.
    The indicator for the stock check may have changed. If this is the case, you can copy the profile settings in the serial number using the executable report program RISERNR9. However, you should only start this program once the changes have been updated in the material master record.
    You can no longer delete the serial number profile in the material master record. Instead of this, you create a serial number profile without serialization procedures in Customizing and enter this in the material master record.

  • To change user status profile on sales order at run time.

    Hi Experts,
    We have defined status profile for Sales returns ( Doc type RE) which blocks the  return order on creation. There are two statuses here which are to remove the delivery block and to remove the billing block by authorised users.
    The requirement is now to have a three level block ( three statuses ) on the same document. We can create a new status profile and assign it to a new return sales order tpye  but we want to avoid creating new document types. Since this document type is used across various companies in the group we can not assign a new profile on the existing RE document as well.
    My question to all experts is
    Is it possible to dynamically change the status profile assigned to the document type based on characterstics like sales org or company code etc? If any body has done this please let me know the user exit , function module, BADI etc where the necessary coding has been done.
    Helpful answers will be rewarded with points.
    I look forward to your co operation.
    Regards,
    Kartik Shah

    Hi Liam,
    In the Program MV45AFZZ in the FORM userexit_save_document
    you use the following fn module to change the user status
    'STATUS_CHANGE_EXTERN'
    Example
    IF t180-trtyp = 'H'.  "Only creation time
      READ TABLE xvbap WITH KEY matnr = c_matnr.
      IF sy-subrc = 0.  "If above material exist then change status
        LOOP AT xvbap WHERE cuobj NE space
                       AND  matnr =  c_matnr.
          l_objnr = xvbap-objnr.
          CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            EXPORTING
              objnr               = l_objnr
              user_status         = 'E0013'  "Send ej IDOC
              set_chgkz           = 'X'
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDLOOP.
      ENDIF.
      sy-subrc = 0.  "Restore the previous condition
    ENDIF.
    Reward if helpful *********

  • How to change the status of a production order

    Dear All,
    May i know how to change the status of a production order.I want to de-active the status like OPGN (Operation generated).This status is updated as there was no routing assigned to that particular production order during its creation
    Thanks and Regards,
    Varun Siddharth

    Dear,
    When you create a production order, an operation created by the system is generated automatically if no routing is used for the creation. As a result the order header receives the status HOGAN; the operation created automatically also has this status.
    If you delete the operation created automatically and then do not have the status HOGAN.
    To avoid this maintain the Routing for the material or delete the setting of default operation from OPJG.
    Regards,
    R.Brahmankar

  • How to change the Status CRTD of the Inspection Lot?

    Dear all.
    I want to Complete an Inspection Lot 10000000005 In the T-CODE qvm2.When I select the Inspection Lot 10000000005 and press F8 to Complete the Inspection,the SAP show an error message "Status check error".
    And the detail info show that the error was cause by the Status CRTD of the Inspection Lot.I check the Status of the Inspection Lot 10000000005 and found that it's Status was CRTD CHCR SPRQ.My question was how to change the Status CRTD of the Inspection Lot?
    Regard
    Yoda

    Hi
    CRTD means ...
    In material master QM vew-inspection setup->Inspect with task list tick is there.
    Now to change status,
    Go to Qp01>create a task list for material(If not exists)>remember date of creation of task list must be prior to date to creation of inspec lot
    If task list is created/exists>go to QA02.<inspection specification -->click on Inspec Spec
    and attach task list
    go to sample tab....click on sample.
    Now save it.
    Status will change to REL
    Regards
    Sujit

  • How to change the status of Serial number

    Hi Experts,
    Would you please help in solving this problem.
    How to change the status of Serial number?
    I have material stock in a storage location: recieved from Intercompany through outbound delivery, when PGIed material document is created when I am checking the serial numbers of the recieved ones status of the serial numbers are ESTO, I want that into AVLB.
    How can we do that?
    Regards
    Sri

    Hi,
    Go to IQ02 on Header tool bar you will find edit(2nd option on header tool bar) => edit manually=> Click from Customer=> and then to Stock you will find the expected results...
    Generally Serial number Status use to change along with the movement of material linked with that serial number... So if you are changing serial number with manual trasaction then please remove all the details from IQ02 like plant storage location Batch and master batch so that i will not provide you error while doing next transactions.
    Regards,
    Ninad Kshirsagar

  • How to change view in iPhone from vertical to horizon and vice versa?

    How to change view in iPhone from vertical to horizon and vice versa?

    Not all applications will go from Portrait to Landscape. Changing just requires you to turn the device. However, if you have the orientation lock activated, then it will not change to landscape. To check, look in the status bar and see if you can see a small lock shaped icon near the battery icon. If you do, then orientation lock is activated. To turn it off, swipe upwards from the bottom of the iPhone screen to bring up Control Center. The orientation lock is the last icon on the top row to the right. Tap on it to turn it off. White is on, black is off.

  • Change in status profile of internal order

    I've changed the status profile assigned to an order type because of new requirements for disallowed transactions.  The new profile settings/ user status worked for new IO master data created.  However, for existing IO master data, the user status was not updated with the new status profile.  What's the transaction to reconstruct/correct the user status of old IO master data?

    Hi,
    Once you assign the sttus profile for an order type,this should work for all the orders assigned to that specific ord-type.
    create a new session and work.The orders will respond to the new status profile.
    Hope this helps.
    Regards,
    Ramesh

Maybe you are looking for