Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

How to solve problem with where-used list?

$
0
0

I've the problem that in many places of my FPM (floorplan manager, web dynpro) code the where-used list does not work anymore because the FPM functions force the developer to specify structure of column names by literals. So for example in the UIBB's GET_DEFINITION methods or when using the following piece of code in some PROCESS_EVENT function:

 

CASE io_event->mv_event_id.     WHEN if_fpm_guibb_list=>gc_guibb_list_on_cell_action.     io_event->mo_event_data->get_value(          EXPORTING               iv_key = if_fpm_guibb_list=>gc_event_par_column_name          IMPORTING               ev_value = lv_col_name          ).          if ( lv_col_name = 'FOO' ).               ...          endif.
endcase.

 

Here one must comapare (line 9) the variable lv_col_name with some literal containing the name of an element of a structure. So the where-used list on STRUCT-FOO does not find this source. Is there any way to fix this problem? I thought to use RTTI for it, but could not find any way to do this. Possibly, is there any pragam or pseudo comment to update the where-used list of a specific structure at a given place?


Viewing all articles
Browse latest Browse all 8150

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>