cancel
Showing results for 
Search instead for 
Did you mean: 

Add standard field to the Bidder list display in tne RFX.

sergey_tuzov
Explorer
0 Kudos

Dear experts.

In the RFX-Bid display I would like to add standard column - e-mail for the Bidder table.

I have already found webdynpro component and view which contains the corresponing UI table and I have added

the column for e-mail and have mapped it to the context attribute.

The column appears in the RFX-Bid display but the value is always empty.

Would you be able to describe some setting e.g. in SPRO which allow to show Bidder e-mail field content in RFX-Bid display.

Sincerely yours, Sergey.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You would have to enhance the following method by your own logic to retrieve the necessary information, i.e. bidder email so that it has value:

Class: /SAPSRM/CL_CH_WD_DODM_BIDDER

Method: /SAPSRM/IF_CLL_MAPPER~REFRESH

Answers (1)

Answers (1)

sergey_tuzov
Explorer
0 Kudos

Dear Jay.

Thank you for your replay, it's a really brillian idea.

I use to be enhanece wd component

/SAPSRM/WDC_UI_DO_BIDDER. Add new column to

tne table in tne view V_DO_BIDDER_OVERVIEW

and at tne end of the method DOMODIFYVIEW

add the following code to bind new column to tne e-mail attribute in context.

data: el type ref to IF_WD_VIEW_ELEMENT,

table_column TYPE REF TO CL_WD_TABLE_COLUMN,

lr_text_view type ref to CL_WD_TEXT_VIEW.

if first_time = abap_true.

el = view->get_element( id = 'TABLE_OUTPUT_EMAIL' ).

table_column ?= el.

lr_text_view = cl_wd_text_view=>new_text_view(

bind_text = 'BIDDER_LIST.E_MAIL' ID = 'TABLE_OUTPUT_EMAIL_CP' ).

table_column->set_table_cell_editor(

the_table_cell_editor = lr_text_view ).

endif.