Hello friends,
I have enhanced a WD component on SC(/SAPSRM/WDC_DODC_SC_I_BD) to add some custom fields on the click of a button.
I have added the custom fields in SPRO
>,...
> extension and field control-->.. configure custom fields at item level. and updated the same attributes in WD thru a Z enh.
Now I have to control the button to make it invisible or visible based on the SC , EDIT or DISPLAY mode.
I have two approaches.
1) In spro-> Define actions and assign actions and control actions.(thru dynamic class)
2) Webdynpro : Not able to capture the item details at init method to control the actions.
I tried option 1 thru trial and error method. But i guess i am missing something here to trigger correctly.
If anynone tried and succeeded thru either of the options or any other method, kindly post the same.
Regards,
Vinay