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

Re: Issue with f4 help

$
0
0

Hello Shakuntala,

 

1.

 

Create one attribute gv_attr of static type in z_component_controller_implementation class...and

 

set z_component_controller_implementation class=>gv_attr in get method of first f4 help attribute like below:-

 

z_component_controller_implementation class=>gv_attr = value.

 

2.

 

Now,


Are you maintaining any relationship between the total data options for 2nd f4 help and value present in 1st f4 help.

 

for example:--

 

for value A in 1st f4 help, we are maintaining any relationship in table like this:-

 

A-A1

A-A2

A-A3

A-A4

A-A5

 

if A will be selected then A1,A2,A3,A4 and A5 will be filled in F4 help selection value.

 

If you are not maintaining then maintain it....

 

3.

 

Now, go to get_p method of 1st F4 help attribute and write following code:-

 

WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
       rv_value = 'F4_SELECT'.

 

and, create event handler EH_ONF4_SELECT. Write code to fill table that will be used as selection table during creation of search help for 2nd F4 help.

 

I have discussed early that relationship between total data options for 2nd f4 help and value present in 1st f4 help. Maintain it. and fill selection table to be used based on 1st f4 help value.(

 

lv_attr = z_component_controller_implementation class=>gv_attr )

 

Note:-- delete all data from selection table before adding all data based on value in 1st f4 help...delete selectiontab..

 

4.

 

Now,write the code to fill data in F4 help..use custom search help here and use same selectiontab as selection method parameter during creation of search help.

 

 

It is my custom approach...that might be helpful for you.

 

Thanks,

 

Amit Singh


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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