on 07-27-2011 11:29 AM
Hi,
Can anybody tell me how to catch the event on click the button "Open Technical RFx Response" and check some validation logic and according to stop the event process by raisin an error message in SRM 7 Bid invitation process.
Edited by: Angshuman Chakraborty on Jul 27, 2011 12:37 PM
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 gone through the thread
I have got the event (PS_TNDR_TOPEN) on click button "Open Technical RFx response". I also raise error in the ET_MESSAGES in the BBP_DOC_CHECK_BADI.
CLEAR ls_message.
ls_message-msgty = 'E'.
ls_message-msgid = 'ZSS1'.
ls_message-msgno = '035'.
ls_message-msgv1 = 'Error text.'. "#EC NOTEXT
APPEND ls_message TO et_messages.
But could not able to stop the program flow further, ie. Technical RFx response open successfully even after raising the error.
Hi Chakri,
You can reset_mesages by deleting message log. try this.. it might helps.
data: l_wd_view_controller type ref to if_wd_view_controller,
l_api_wdr_msg_area type ref to if_wd_window_controller,
l_wd_message_area type ref to if_wd_message_area.
l_wd_view_controller ?= wd_this->wd_get_api( ).
l_api_wdr_msg_area ?= l_wd_view_controller->get_embedding_window_ctlr( ).
l_wd_message_area = l_api_wdr_msg_area->get_message_area( ).
l_wd_message_area->reset_messages( i_keep_current = 'X ' ). // try with 'X'. and ' ' .
Cheers,
Kris.
Hi,
The button I mentioned is configured in FPM. Are you asking me to copy the code you have given in the PROCESS_EVENT method in the component controller? But I would not take as it is using if_wd_view_controller not if_wd_controller.
can you say where to use the code snippet you have given?
Component : /SAPSRM/WDC_DODC_RFQ_H_BI
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.