cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro table - Disable table entry editing and enable toolbar menu

Former Member
0 Kudos

Hi,

This is a technical query on webdynpro for SRM 7.02.

I have a requirement to disable the table entries in a webdynpro table and at the same time enable the toolbar menu options. This should work based on some conditions.

WD comp: /SAPSRM/WDC_MODC_SP_PD

View: V_PS_OIF_SP_DATA

I am checking the conditions in a post-exit in method WDDOMODIFYVIEW and disabling the table with below code. However as toolbar containing the menu options is a part of WD_TABLE only, the menu options are also getting disabled. Please advise if there is a way to disable the table entries for input and keep the menu options in the toolbar enabled.

lo_wd_table ?= view->get_element( 'TABLE_REF_SAP' ).

lo_wd_table->set_enabled( abap_false ).

Thanks in advance,

CM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Is requirement to disable (Non editable fields ) the table field,

Please explain your requirement.

Regards,

Neelima