on 02-23-2009 5:42 AM
Hi,
Is there a configuration to make partner field mandantory on a particluar status?
It is very common that requestor do not know who should be set in CAB field, so
I want developer to input CAB ID# when "in development" status is set.
Thank you
I am not aware of any standard functionality to achieve this. You could consider making an implementation of the Badi ORDER_SAVE. There you could first check the status via the FM CRM_ORDER_READ_OW and then check if CAB is filled out. If not then raise an error message and a no save info. Coding could look like this:
CALL FUNCTION 'CRM_MESSAGE_COLLECT'
EXPORTING
iv_caller_name = 'ORDER'
iv_ref_object = iv_guid
iv_ref_kind = 'A'
iv_msgno = '003'
iv_msgid = 'YCRM'
iv_msgty = 'E'
EXCEPTIONS
OTHERS = 0.
RAISE do_not_save.
/Anders
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.