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 with Search Help

Former Member
0 Likes
1,642

Hi All ,

Am working on Module pool pgm.(6.4) and I have two fields in screen. I have created search help for both the fields.

Now if i select a value from F4 in the screen the two fields should populate automatically at a time ... but we have to do this with out using this FM F4IF_INT_TABLE_VALUE_REQUEST (Already i have created search help)

Thanks & Regards,

Anil Kumar.

Hi All ,

Am working on Module pool pgm.(6.4) and I have two fields in screen. I have created search help for both the fields.

Now if i select a value from F4 in the screen the two fields should populate automatically at a time ... but we have to do this with out using this FM F4IF_INT_TABLE_VALUE_REQUEST (Already i have created search help)

Thanks & Regards,

Anil Kumar.

14 REPLIES 14
Read only

Former Member
0 Likes
1,457

Hi ,

In the window which shows you details of the element which you created , there is a filed called Search Help , enter your search help name in it.

Please do revert back in case of any futher queries.

Regards

Arun

  • Assign points if reply is useful

Read only

Former Member
0 Likes
1,457

hi,

use chain & endchain.

Read only

Manohar2u
Active Contributor
0 Likes
1,457

Hope you have added this search help in field attributes(module pool) of first and second fields.

in search help, you should check export check box for two fields and make use of Lpos and SPos fields.

Cheers

Manohar

Read only

Former Member
0 Likes
1,457

Thanks for all u r replies.

I have already given search help in the module pool at field attributes ... and F4 help is also coming but my problem is .. when am clicking and selecting the value the field is not capturing that value and if one field value is selected then the value for second field in the F4 help is also come to the second feild ...

Thanks & Regards,

Anil Kumar.

Read only

0 Likes
1,457

Hi,

Have you checked the import and export check boxes while creating search help.

Regards

Ashutosh

Reward points if helpful

Read only

Former Member
0 Likes
1,457

Ya Both boxes are checked ....

Read only

Manohar2u
Active Contributor
0 Likes
1,457

Then the field names might not be matching to export and place the values...

Means...the field names should match to expor the values from the F4 list..

Read only

Former Member
0 Likes
1,457

Thanks alot for ur time Manohar.

suppose the field names are matched how to export that values at a time to the two fields ... if one of the value is selected from F4 ....

Read only

Manohar2u
Active Contributor
0 Likes
1,457

Export field in search help should checked. this will takecare of exporting to the screen fields.

<i>Flag for EXPORT parameter of the search help

Flag if the parameter is an export parameter.

Values can be returned from the hit list to the input template (screen)

with an export parameter. The fields of the input template in which the

contents of the export parameter are returned are defined by the search

help attachment.</i>

Can you test from search help whether the export is working fine or not?

Read only

Former Member
0 Likes
1,457

Ya i have checked its exporting only for one field ....but its should come for two fields at a time ...

for ex : Name :

Designation :

if u select the name from F4 then designation also should come with the name ...

Thanks & Regards,

Anil Kumar.

Read only

Manohar2u
Active Contributor
0 Likes
1,457

Then for designation field, you need to check the export field. Then the list values from F4 will export to your screen field.

NAME

DESIGNATION : Export = 'X'

Read only

0 Likes
1,457

Dear Anil,

It will come for both the fields if the search help assignment is at the strucutre level. ONLY IN THAT CASE you can get value back for more than one field.

AND ALSO you should use that structure to create your screen fields.

Regards,

Sesh

Message was edited by:

Seshatalpasai Madala

Read only

Former Member
0 Likes
1,457

hi,

send me ur code

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
1,457

Hi,

Here is the procedure.

For the two fields in your screen create a DDIC structure. And then create your screen fields using this structure. that is filed1 type struct-filed1 and filed2 type struct-field2.

Then create a search help with TWO export parameters corresponding to the dataelements of your two fields.

Then go back to structure assign search help to field1 and then make field assignments in the search help. Thats filed1 of structure to export parameter1 of search help etc.

Once this is done when you select value for filed1 value for field2 is populated automatically.

Regards,

Sesh