cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Component in Enhancement Set

Former Member
0 Kudos
393

Hello expert,

Previoulsy a developer who has left the company has created some Componets relating to Charm (such as ZAIC_CMCD_S, ZAIC_CMCD_H, ZAIC_CMCR_S and extra) using BSP_WD_CMPWB and all of these enhanced components are kept within enhancement set ZCHARM_ENHSET. Recently we discovered a bug in one component ZAIC_CMCR_S and we decided to use the standard component AIC_CMCR_S as a temporary workaround while waiting for our new developer to fix the component ZAIC_CMCR_S. May I know Is there a way to temporary disabled only one enhanced component (in our case ZAIC_CMCR_S) but leave other components remain active in the enhancement set?

It is not feasible to use parameter WCF_IGNORE_ENHANCEMENT = A as this will disable all enhancement set and all enhanced objects. Also, we have tried to blank out the rv_result in debug mode on BaDI component_loading but this also disabled all components.

We are now facing the problem to disable only one component within the entire enhancment set. Will appreciate your advise on how to do this.

Thank you.

View Entire Topic
jorge_ocamposbenito
Contributor
0 Kudos

Hi Brian,

You have two ways to achieve this:

  1. Vía debuggin into CL_BSP_WD_COMPONENT_DESCRIPTOR->CONSTRUCTOR method in your component.
  2. Modifying BSPWDVC_CMP_EXT table in SM34 transaction, in order to unassign the enhancement of component. Be careful with this modifications, you have to restore the changes to avoid further errors.
  3. Using BADI COMPONENT_LOADING to determine the enhancement set during component load.

Please, check this link How to check and identify whether an issue on CRM WebUI is caused by enhancement of some component o...

Regards

Former Member
0 Kudos

Thanks Jorge.

I temporary removed the component in SM34 view (as per your point 2) and it works. As you said, it is recommended to backup the SM34 view first in a transport and released the transport prior to removing the entry.