on 08-16-2012 1:32 PM
Hi
In CATS for EHP5 SAP there is the current webdynpro-application and webdynpro-application-configuration hardcoded.
If it is the sap application und configuration then some dynamic change of the fpm will appear (f.e. the button "direct release" is not displayed).
Because I had to configure an additional (Freestyle-)WebDynpro into the floorplan of CATS, I made a new component- and application-configuration.
I don't want to overwrite the sap-standard-application-configuration with my new component-configuration, because in some cases
the user wants to use the sap-standard-cats without the additional WebDynpro.
I could resolve my issue, simply by hiding the mentioned buttons in the application configuration.
I have no idea, why this shouldn't be possible on customer created configurations.
Does someone have any clue about this?
Location:
WebDynpro | HRESS_C_CATS |
Method of the component-controller | OVERRIDE_EVENT_OVP |
IF ls_runtime_key-application = 'HRESS_A_CATS_1' AND
( ls_runtime_key-config_id = 'HRESS_AC_CATS_1' ).
*-The dynamic changes in this block is specific only to SAP delivered config HRESS_AC_CATS_1
*-In case of old config call or customer created config call this code will not execute
*-Checking for showing weekly and daily tab view
CALL METHOD lr_app_parameter->get_value
EXPORTING
iv_key = 'SHOW_DAILY_VIEW'
IMPORTING
ev_value = wd_assist->gv_app_param_show_daily.
*-Read application parameters
read_appl_parameters( ).
*-Checking if default period type is 'Daily' then setting application parameter SHOW_DAILY_VIEW to true (forcefully)
CALL METHOD cl_hress_cats_wda_utils=>get_profile_component
EXPORTING
iv_comp = 'PERTYPE'
IMPORTING
rv_value = lv_pertype.
IF lv_pertype EQ 1.
wd_assist->gv_app_param_show_daily = abap_true.
ENDIF.
*-SAP Provided Single Application settings
CALL METHOD wd_assist->modify_ovp_dynamically
EXPORTING
io_ovp = io_ovp
hr_enabled = cl_hress_cats_wda_utils=>check_hr_enabled( )
tab_enabled = wd_assist->gv_app_param_show_daily.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.