on 03-31-2014 7:11 AM
Hi
I've got a question and I'm not sure if it's possible.
Basically i have created a custom field in CRM WebClient UI and I have added this field to my Z configuration. This works fine.
Now, I'm wanting to make an error to appear if this field is blank (hasn't been filled in) when the status of the transaction type changes to a specific status.
i.e. if "custom field" is BLANK when SMTM changes to Closed, then error appears
I know the field can be made mandatory, but this particular custom field won't be filled out straight away. Therefore I want the check to occur when the document is closed. Can this be done via PPF Conditions? Or is ABAP/enhancement the only way?
Thanks
Shaun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Rob, yep I'm very familiar with actions and conditions. just wasn't sure how to use a custom field in this matter.
So for above requirements, would the correct BADI be CRM_ORDER_FIELDCHECK
I would definitely need an ABAPer to build my logic, yeah? or with the above BADI is it easy for a functional resource to perform?
thanks
Hi, depends on the time and necessity of this change really.
Although SSM/CRM has some specific coding aspects.
You'll need function module CRM_MESSAGE_COLLECT to get the error message on screen.
Oh regarding custom field in actions and conditions... For that find out the business object associated with the transaction, then copy that one in SWO1 and delegate it. Now you can add your own database attributes on your business object and you can subsequently use those attributes in conditions.
Kind regards, Rob Dielemans
Hi,
For customizing crm web ui, you must need AET or EEWB tools. Best Practices for SAP CRM Web UI Customization - CRM - SCN Wiki
but try by using the standard sap note 1772650 - ST710:You can save a message even though mandatory fields are not filled in. which can set certain warning message for custom fields or not and the other relevant 1931783 - Incident can be saved without filling mandatory fields
Please check.
Thanks
Jansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.