on 08-22-2012 11:44 AM
Hello Gurus,
we are using SRM 7 and we want to use badi WD_BADI_DOMODIFYVIEW to hide fields. So far so good.
My problem is that we would like to hide fields in the component WDR_SELECT_OPTIONS, view SELECTION_SCREEN and this only for certain selection screens.
In our case configuration id SH_BBP_BUPA_VENDOR should be manipulated. It is possible to filter in the BADI?
thanks a lot
Hi,
You can filter for you configuration id by code executing the following logic:
DATA: component TYPE REF TO cl_wdr_component,
pers_manager TYPE REF TO if_wd_personalization,
config_key TYPE wdy_config_key.
component ?= view->if_wd_controller~get_component( ).
pers_manager = component->if_wd_component~get_personalization_manager( ).
IF pers_manager IS BOUND.
pers_manager->get_state( IMPORTING config_key = config_key ).
IF config_key-config_id EQ 'SH_BBP_BUPA_VENDOR'.
......
......
ENDIF.
ENDIF.
Best Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.