on 08-27-2010 10:39 PM
Dear all:
I want the user to enter a note in the text area, every time they press save, its to say, I would like the field text to be obligatory. I tried using the badi SOCM_CHECK_CONDITION and therein the function CRM_DNO_READ_ORDER_TEXT, but this function brings all the text used for the transaction, and there is no way to chck if this text was entered previously or in the last saving.
Anyone face a requeriment like that?
Thank you a lot!
Fede.
Hello there,
Have you tried checking the settings within the text determination procedure? There should be the option to make the text obligatory if I remember correctly.
Best regards,
Miguel Ariñ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have achieved this by creating my own customizing table and entering the status change and the text-id i wanted to check.
I used then ...
DATA lt_alltexts TYPE comt_text_textdata_t.
CALL FUNCTION 'CRM_DNO_READ_ORDER_TEXT'
EXPORTING
iv_header_guid = iv_guid
IMPORTING
et_alltexts = lt_alltexts.
to get all the text-id filled at this moment via SOCM_CHECK_CONDITION. Then just read table with the current status and in the text-id in my customizing table for this status.
Regards
Abosi
Thank you a lot Abosil!
I could manage to trigger an error message every time the user save the transaction without entering a text, even when he is saving after performing an action to change the status. My problem now is that in the activity "Concistency checks in change request management" - "Assign condition to status values" I have entered my condition in all status with a cancel message, and then go back to the previous state. The problem that arised is that it creates a sort of chained effect, if for example, it send the error message in the last status, it sends the user back to the previous status, which automatically detect there is an error message and send back to the previous message, so forth up to the first status. Weird!
Did you face something like that Abosil?
Hope you can help!
Best regards,
Federico.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.