Skip to Content
avatar image
Former Member

Need to change status of incident after creating CR

Hi Experts ,

I am creating a CR from my incident as folloow up document from CRMD_ORDER tcode. That is working fine .

After creating CR i need to change the status of incindent to 'CR created" .

Means at the time of creating CR i need to change the status of incident .

1 .Please suggest me where to add code related to update incdent ?

2 . Can i use ORDER_SAVE badi or any other BADI existed for that ?

Thanks in advance ,

Vijay vorsu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 14, 2009 at 06:58 AM

    Dear Vijay,

    Let me rephrase your problem. You have created a support desk message and based on that you have created a change request using the action provided. Once this is done, you want your support desk message to get changed to the status CR created. Is this your requirement? If yes, this has to be done based on the conditions scheduled for your actions. You modify your action for the transaction type SLFN (I hope you use this for your support desk message) and add a post action to the action create change request.

    Hope it helps.

    Rajeev.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rajiv ,

      Thnx for quick reply. I am new to CRM .I understood whats to be done.

      I am following these steps :

      In my CR action profile i am creating a new action called Z_status_change.

      In process type- "permitted process type of action " i am selecting as ' METHOD CALL" .

      Next i am clicking on "SET PROCESS' .

      Here i am getting problem . When i click on help for on METHOD system is showing existing methods .Here Which method i need to select to change the status .so i thought to create a custom method .

      So i created a BADI Z_STATUS_CHANGE and in attributes of BADI i have given filter type as PPFDFLTVAL .

      I created implementation for this BADI Z_STATUS_CHANGE_IMP and in attributes in method i have given Z_STATUS_CHANGE .

      But if i search in method in process type of action defination i could not see the method.

      Is the process i am following is right or wrong ?

      If i miss any thing to do pl guide me .

      Thanks in advance ,

      Vijay Vorsu