on 11-06-2015 10:44 AM
Hello CRM Experts,
We have a requirement in status profile where in we should have status named 'closed', If the document contains error while processing the document then in status field the status 'Closed' needs to be disappear. when the document is error free then this status 'Closed' should be available in the status field, upon selecting the closed status, the document should be completed.
We have tried in different ways includes 'adding system status and business transaction control to corresponding status but we could not get it.
Please provide with your precious information to attain this functionality.
Thank you very much in advance Experts!
BR,
Thiru.P
Hi Thiru,
This can be achieved by implementing BAdi - CRM_ORDER_STATUS, method BEFORE_CHANGE. It is a filter dependent Badi, i.e. you need to add status profile and status in Badi implementation.
You can check your conditions there and raise exception NOT_ALLOWED. Your status will not be visible in drop down list.
Niraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
There is a Badi attached to the Status Profile configuration in SPRO.
Take a look at this, I believe it should be possible to influence what Status values are permitted using this Badi.
Regards
Arden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thiru,
One way of doing this is implementing an ORDER_SAVE Badi and checking the system status in the before save method. If the system status contains the Error Status ID then do not save the document.
You can also customize a message for the user on this event.
Regards,
Prajit
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.