Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with F4 help on select-options

Former Member
0 Likes
861

Hi experts,

I need to create F4 help for select-options.

Here I am using the FM 'F4IF_INT_TABLE_VALUE_REQUEST'.

for Parameters this is working fine.

but for select options do we need to call this FM twice like

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-LOW

Call FM 'F4IF_INT_TABLE_VALUE_REQUEST'.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-HIGH

Call FM 'F4IF_INT_TABLE_VALUE_REQUEST'.

or is there any other way?

Can anybody suggest please.

Thanks,

Sudheer

Edited by: sudheer kumar on Feb 19, 2010 12:20 PM

1 ACCEPTED SOLUTION
Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
800

Hi,

Yes you will have to proceed with the same way for SELECT-OPTIONS.

Refer


AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-low.
  PERFORM matnr_f4_help CHANGING s_matnr-low.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-high.
  PERFORM matnr_f4_help CHANGING s_matnr-high.

FORM matnr_f4_help CHANGING ch_matnr TYPE matnr.
  "Call FM 'F4IF_INT_TABLE_VALUE_REQUEST'.
ENDFORM.

Hope this helps you.

Regards,

Tarun

Hi experts,

I need to create F4 help for select-options.

Here I am using the FM 'F4IF_INT_TABLE_VALUE_REQUEST'.

for Parameters this is working fine.

but for select options do we need to call this FM twice like

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-LOW

Call FM 'F4IF_INT_TABLE_VALUE_REQUEST'.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-HIGH

Call FM 'F4IF_INT_TABLE_VALUE_REQUEST'.

or is there any other way?

Can anybody suggest please.

Thanks,

Sudheer

Edited by: sudheer kumar on Feb 19, 2010 12:20 PM

6 REPLIES 6
Read only

Former Member
0 Likes
800

hi

try this

SELECT-OPTIONS:s_tt FOR mara-aenam MATCHCODE OBJECT zcustom_b9.

zcustom_b9--->Search help name

some of the data element already having search help.

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
801

Hi,

Yes you will have to proceed with the same way for SELECT-OPTIONS.

Refer


AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-low.
  PERFORM matnr_f4_help CHANGING s_matnr-low.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-high.
  PERFORM matnr_f4_help CHANGING s_matnr-high.

FORM matnr_f4_help CHANGING ch_matnr TYPE matnr.
  "Call FM 'F4IF_INT_TABLE_VALUE_REQUEST'.
ENDFORM.

Hope this helps you.

Regards,

Tarun

Read only

Former Member
0 Likes
800

hi tarun sir,

your answer is help full,,

thank q  .

regards,

uday bhaskar,,..

Read only

Former Member
0 Likes
800

Hi,

You have to call the FM twice for LOW & HIGH.

Regards,

Lijo

Read only

Former Member
0 Likes
800

Hi,

if the search help is provided for the dataelement, there is no need to give the custum F4 help.

For ex: matnr dataelement contains MAT1 as searchhelp, so no need for explicit search help.

its always better and easy to maintain the search help at dataelement level instead of custum help.

thanks,

teja.

Read only

Former Member
0 Likes
800

Hi,

As already suggested by Teja,there is already an explicit search help maintained at the data element level.You can use this explixit searach help instead of craeting your own.

In case you want to craete your own search help then your approach seems to be correct.