cancel
Showing results for 
Search instead for 
Did you mean: 

SRM RFx Response - How to check if a button is clicked or not

Former Member
0 Kudos

Hi All,

This is rani. Im very new to SAP.

Im into my first project, in which im having an Immediate enhacement.

In SRM Portal, I need to logged in as bidder to create a bid response.

"Participate" button is there, i need to clicked that button, this is mandatory.

So how and where to check whether the button is clicked or not.

else i need to raise the error message in BBP_DOC_CHECK_BADI and some fileds needs to be grayed out.

The webdynpro component is FPM_OIF_COMPONENT.

Can u please help me out in this regard.

Thanks in Advance,

Rani.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Rani ,

In SRM 7.0 the system variables ( sy-ucomm & sy-Tcode ) will not work .

if you want the action code triggered in the Webdynpro screen inside the BADI: BBP_DOC_CHECK_BADI

kindly study the SAP Note 1334202 - How to get current action ID and transaction group

Below piece of code will give you the action Id in side the badi

DATA: lo_trans_context TYPE REF TO /sapsrm/if_transaction_context,
        lv_action        TYPE /sapsrm/pdo_action_type,
        lv_tcode         TYPE /sapsrm/transaction_group.

  lo_trans_context = /sapsrm/cl_transaction_context=>/sapsrm/if_transaction_context~get_instance( ) .
  lv_action = lo_trans_context->get_current_action( ). "  replacement for sy-ucomm 
  lv_tcode  = lo_trans_context->get_transaction_group( )." replace ment for sy-tcode

kindly go through the SAP note provided .

Regards

Chinnaiya P

Edited by: chinnaiya pandiyan on Jun 27, 2011 7:34 PM

Former Member
0 Kudos

Hi Chinnaiya ,

Im really happy to receive ur reply... and ur answer is very very helpful to me.

Let me try that... If im facing any issues... i will ask u...

Thanks a lot...

Im gng thro that sap note, which u said.

Thank u once again.

Regards,

Rani.