Hi Experts,
On Lead screen, I have REASON picklist. If i select the REASON as "Extended for 3 Months"
then an custom error message is displayed asking to set the "End Date" to 90 days.
"Reson" Component details as follows
BT108H_LEA/Detail
BTSUBJECT/STRUCT.CONC_KEY
"End Date" Component details as follows.
BT108H_LEA/Detail
BTLEADEND/BTLEADEND
I used the following code to display that message.
if typed_context->BTSUBJECT->GET_REASON( attribute_path = '' ) = 1."For 3 Month * Create Message DATA: lr_msg_service TYPE REF TO cl_bsp_wd_message_service. lr_msg_service = cl_bsp_wd_message_service=>get_instance( ). CALL METHOD lr_msg_service->add_message EXPORTING iv_msg_type = 'E' iv_msg_id = 'ZERR_MSG' iv_msg_number = '000'. endif.
Now the problem is once i change the 'End Date' to 90 days, the error message which is dispalyed to
"set the date to 90 days" should disappear. What should i do to take out the displayed error message
once the 'End Date' is set.
Thanks in advance.
Cheers
Mythili