cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 7: Open Technical RFx response

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Chakra,

Please check this thread,.. Same question.

Cheers,

Kris.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi kris,

can you say where to copy that code in the component you mentioned??