Skip to Content
0
Mar 15, 2010 at 07:29 AM

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

31 Views

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