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

Select options , search help

Former Member
0 Likes
7,260

Hi Experts,

I declared one selection screen field as select-options,

EBELN FOR EKKO-EBELN.

BUT AFTER DISPLAYING SELECTION SCREEN , IN F4 HELP , IT IS GIVING SEARCH HELP SCREEN.

bUT I WANT IT TO REFER CHECK TABLE.

hOW CAN I AVOID SEARCH HELP REFERENCE

Regards

Ramakrishna L

Hi Experts,

I declared one selection screen field as select-options,

EBELN FOR EKKO-EBELN.

BUT AFTER DISPLAYING SELECTION SCREEN , IN F4 HELP , IT IS GIVING SEARCH HELP SCREEN.

bUT I WANT IT TO REFER CHECK TABLE.

hOW CAN I AVOID SEARCH HELP REFERENCE

Regards

Ramakrishna L

7 REPLIES 7
Read only

Former Member
0 Likes
2,206

Hi rama,

You can't do that.

EKKO itself is check table for EBELN.

Regards,

Pravin

Read only

Former Member
0 Likes
2,206
data: w_ebln(10).
SELECT-OPTIONS: s_ebln for w_ebln.
Read only

naveen_inuganti2
Active Contributor
0 Likes
2,206

Hi Krishna,

EBELN itself has one collective search help. To avoid that you need to create search help from program level i.e. by using F4_IF.. function module.

And one more thing don't declare select-options wrt table. Instead of that declare one global variable and use that.

like:

data: g_ebeln type EKKO-EBELN.

      select-options: EBELN FOR g_ebeln.

Thanks,

Naveen.I

Read only

Former Member
0 Likes
2,206

Hello

Declare like this:


select-options EBELN FOR EKPO-EBELN. " EKPO instead of EKKO

Read only

Former Member
0 Likes
2,206

Hi Rama,

If you dont want it to refer to a search help. Populate the data from the CHECK TABLE into an internal table & pass the same to the parameter VALUE_TAB parameter of the function module F4IF_INT_TABLE_VALUE_REQUEST.

Also Pass your selection screen field to the parameter DYNPROFIELD. Make sure you dont refer the select options field to the dictionary table rather declare it as a variavle & use it in SELCET OPTIONS declaration.

Regards

Abhii

Read only

Former Member
0 Likes
2,206

Hi Rama,

the best way for search help use this.

select-options : s_ebeln TYPE ekpo-ebeln MATCHCODE OBJECT MEKK_C.

check and confirm.

Regards,

Tarun

Read only

0 Likes
2,206

Thanks for the reply experts

Regards

Ramakrishna L