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

F4 Help

Former Member
0 Likes
829

Hi

I am working on a module pool development.

I need to get a F4 help for a 100 char lenght field.

I mean i need to concatenate values of 2 fields and show in the help.

I created a internal table and stored the values the concatenated values and then i called the FM

F4IF_INT_TABLE_VALUE_REQUEST.

In the screen, i created a field with list box and used the Search help

When i see the screen, some of the values in the F4 help are shown properly, but some of the values are getting concatenated and shown twice in the same field.

Can you pls help in the same

Regards

MD

8 REPLIES 8
Read only

Former Member
0 Likes
769

just before calling the function module F4IF_INT_TABLE_VALUE_REQUEST, keep a break point and see the values in the interanl table if it is proper

Read only

Former Member
0 Likes
769

Hello Madhan,

CHeck ur internal contents.

Properly populate the data to ur itab.

If useful reward points.

Regards,

Vasanth

Read only

0 Likes
769

Hi Madhan,

Then check the search help function module. WHether the code is correct

Regards

Arun

Read only

Former Member
0 Likes
769

before displaying the contents Refresh the itabs...

then after displaying also Refrssh...

Read only

0 Likes
769

Hi All

My Internal table is having right values.

I am facing this problem, when i am using the field with list box.

If i remove the list box, the values are displayed properly.

Regards

MD

Read only

0 Likes
769

Hi Madhan,

Then check the Listbox function module.

Regards

Arun

Read only

0 Likes
769

Hi,

Do like this , you can remove duplicate values from list box.those are list keys only.

go to SAP Easy access menu ->customizing of local layout button (last button) -> select options->click on the expert tab->deselect 'show keys in all dropdown lists' from controls subscreen. it will work.

Regards

Appana

Read only

Former Member
0 Likes
769

Hi Madhan,

You cannot use F4IF_FIELD_VALUE_REQUEST Function Module and Listbox attributes of the screen field together.

If you have set the field name as Listbox(by setting the listbox attribute as Listbox/Listbox with key ), then you must use the FM VRM_SET_VALUES to load the values into the listbox.

Otherwise, you can leave the Listbox attribute as blank and use the search help by assigning the search help to the field.

Just check this link for reference.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm

Regards,

SP.