cancel
Showing results for 
Search instead for 
Did you mean: 

Return a search help value list

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi all,

I used the following FM to return a search help value list but looks like only 1 field in the code is supported. Can I get multi fields/columns of lt_hu displayed in the value help return list? Besides, other fields are not UI (dynpro) fields.

2024-02-27_18-27-16.png

Regards,
Ming

Sandra_Rossi
Active Contributor
0 Kudos
For information, F4IF_INT_TABLE_VALUE_REQUEST is not related to the DDIC Search Help concept, it's only simulating the look and feel. It can be generically called a "value help" or "F4 help". Yes you can display several fields. See the inline documentation of F4IF_INT_TABLE_VALUE_REQUEST.

Accepted Solutions (0)

Answers (2)

Answers (2)

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos

It's resolved. A DDIC structure should be defined and used as value help internal table.

And TABLE parameter field_tab should be built like:

DATA(lt_fieldVALUE dfies_tab(
  tabname 'Z_DDIC_STRUCTURE' fieldname 'HUIDENT' ) ).

Here is also a helpful reference discussion.

https://community.sap.com/t5/application-development-discussions/how-to-get-two-fields-help-using-on...

raymond_giuseppi
Active Contributor
0 Kudos

Try to pass parameter VALUE_ORG as 'C', and fill the table parameter FIELD_TAB with every required field.

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos
Yes, FIELD_TAB should be filled. But I still use 'S' and it is working now. Thanks for the reply.