Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Limit the number of hits in F4 Help table

$
0
0

Hello experts,

 

I would like to ask if there's a possibility to limit the number of hits in the table showed on a new pop-up after clicking the icon, on which we can click on to get the list of available languages?

I have a language field and I use a custom GET_V method to get the list of languages using following code:

 

DATA:

ls_map TYPE IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING,

lt_inmap TYPE IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB,

lt_outmap TYPE IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB.

 

ls_map-context_attr = 'struct.countrysygnature'.

ls_map-f4_attr = 'KEY'.

APPEND ls_map TO lt_outmap.

 

ls_map-context_attr = 'struct.languagename'.

ls_map-f4_attr = 'VALUE'.

APPEND ls_map TO lt_outmap.

 

CREATE OBJECT rv_valuehelp_descriptor type CL_BSP_WD_VALUEHELP_F4DESCR

EXPORTING

iv_help_id = 'CRMST_ADDRESS_BUIL-LANGU'

iv_help_id_kind = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_COMP

iv_input_mapping = lt_inmap

iv_output_mapping = lt_outmap.

 

 

 

I get the list of over 20 languages but I want to limit them to just, lets say 5. I know how to do it using the picklist, but don't really want it. I want to use a table in a new popup as it works now. Is there a way to do it?

Thank you in advance.

 

Best regards,

RM


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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