on 03-15-2010 7:29 AM
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 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.