cancel
Showing results for 
Search instead for 
Did you mean: 

How to find CATS component configuration name inside class

Former Member
0 Kudos


Hi all,


For a customer requirement in ESS CATS (wd abap version ehp7), I need to enhance standard class CL_XSS_CAT_VALUE_HELP_POSID.

I would like my enhancement to be called only when ESS CATS screen is launched via Z component configuration created by me.

Can you please tell me how can I get the FPM component configuration name inside the class CL_XSS_CAT_VALUE_HELP_POSID?

Thanks

Arindam

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

is it not called currently? You can enhance above class and this will be indeed called. Are you trying to enhance search help?

Former Member
0 Kudos


Hi Siddharth,

Thanks a lot for the reply.

It is called everytime. And yes, I am doing enhancement.

Only thing, I want my enhancement not to be called when ESS screen is using standard application & component configuration. How can I achieve this?

I have written an IF inside the enhancement but want to add another IF to check if the configuration is custom or not.

IF cl_hress_cats_wda_utils=>check_source_wda( ) EQ abap_true.

Thanks

Arindam

Former Member
0 Kudos

Hi,

Below code helped.

DATA: l_v_config        TYPE string.

*-  Get application configuration name
  l_v_config = wdr_task=>client_window->get_parameter( 'sap-wd-configId' ).

Thanks

Arindam

Answers (0)