Hi all,
This is what I have done and yet i am not getting anything, I would like to the return to be something like this pcdshort:/VpKidawKvzy but it is always initial. Please help.
This method is called when teh BAdi HRESS_MENU (interface IF_EX_HRESS_MENU).
Please note that when i debug my method in lt_keys i have the following
C_REFRESH
FPM_HIDE_CLOSE
G_REFRESH
MV_ESS_SERVICES
May be these are wrogn but i am not sure..
Method GET_APPLICATION_PROPERTIES.
Data: lo_fpm type ref to if_fpm,
lo_fpm_parameter type ref to if_fpm_parameter,
lt_keys type standard table of string with default key,
lv_key type string.
ev_par_value type string,
eo_par_value type ref to data.
" Gets reference to FPM API
lo_fpm = cl_fpm_factory=>get_instance( ).
" Gets application parameters keys
lo_fpm_parameter = lo_fpm->mo_app_parameter.
if lo_fpm_parameter is bound.
" Gets web application parameters key list
lt_keys = lo_fpm_parameter->get_keys( ).
read table lt_keys into lv_key with key table_line = lv_key.
lo_fpm_parameter->get_value(
exporting
iv_key = 'sap-ep-iviewid' "lv_key
importing
ev_value = ev_par_value
er_value = eo_par_value
).
endif.
endif.
endmethod.