cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

suchita_phulkar
Active Contributor
0 Kudos

Hi Narayani,

SAP has given us utility classes with several ready to use methods for status handling.

Your requirement is not clear, could you please elaborate as what is exactly needed ? Are you saying that on selecting some category on the category dropdown on some view, you want specific statuses to be set on the Status dropdown or so ? Could you please also let us know the view you are working with so that we can resolve this faster.

Thanks & Regards,

Suchita

Former Member
0 Kudos

Hi Suchita,

I have similar kind of requirement on CRM7.0.

If user status is changed in web ui it has to reflect in ERP(GUI).

I am working on LORD opportunity to quotation.

give me suggetions, like which classes and structures need to be enhaced.

Raju,

sap gdc.

hongyan_shao
Active Contributor
0 Kudos

Hi Raju,

I believe your requirement is a bit different.

You might have to trigger ERP status changes, while this thread is trying to hide certain status in CRM based on different scenario.

For those status related function module in CRM:

CRM_STATUS_MAINTAIN_OW

CRM_STATUS_CHANGE_FOR_ACTIV_OW

CRM_STATUS_CHECK

CRM_STATUS_DETERMINE_EC

CRM_STATUS_*_EC

Hongyan

hongyan_shao
Active Contributor
0 Kudos

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