on 06-04-2013 9:45 PM
Hi All,
in web UI (CRM7.0), I've configured a few fields (like description) in Lead as mandatory. When I created a new Lead, if I leave Description empty and try to save, it gives error because Description is mandatory, this is correct.
Now I enter some description and save it. Then I get out of the Lead, then come back in, open the Lead in Edit mode, now if I remove the Description and try to save the Lead, it is successfully saved without giving the error message ( remember Description is configured as mandatory and now the description is empty).
However after the successful save (with Description is empty), if I change it to Edit mode again, now I get the error message saying Description is not provided.
How come this is not working? did anyone experience the same issue? how to make it work?
Thanks
Jayson
Hi Jason,
We experienced some thing similar but not exactly the same thing. We were able to save document without providing the mandatory parameters , by pressing the back button.
Where have you configured the mandatory fields ? Also have you implemented the BADI ORDER_SAVE or written any code in EH_ONSAVE ?
~Kavindra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kavindra,
we configured it in Configuration Tool on web UI, it's the same as in the Configuration Tab in the BSP workbench when you have the view opened. So we don't need to do any coding, just config. I think your case was different, the Back button sometime does not call the same event handler as EH_ONSAVE, that's why your code was not called by Back button. You need to do some code in the DO_EVENT_HANDLER, or implement the BADI.
Thanks
Jayosn
I am a little confused now about Mandatory field in SAP definition.
is it Standard that for mandatory fields SAP only shows the asterisk (*) beside the field name, but SAP would not prevent saving the document and not even giving error or warning while saving?
I didn't pay attention to the behavior of mandatory fields in the past until this project. This behavior seems very odd to me. If I configure a field to be mandatory, I expect SAP prevents saving the transaction and give error message in hte message area. It just isn't happening in my current system, it simply saves the document without giving any message, but when I change the document to Edit mode, SAP then realize that the mandatory field is empty and show the error message then. But I need the error message to be displayed when saving, not when switching to Edit mode.
Is there any system config missing for this/
Anyone has any idea?
Thanks
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.