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

elementary search help

Former Member
0 Likes
453

Hi All,

create the search help (elementory search help) from se11, but i want to provide the search help depending on the condition

ex: from but000 table i want to display 3 fields

partner ,  name_first ,  name_last      these three fields should be display depending on bu_sort2 = 'PDD'

here bu_sort2 is also from the same table but000 .

i just create elementory search help , but how to provide this condition base only

(requirement is : provide search help for a field which is in module pool screen)

please tell me the process...

Moderator message: described in SAP documentation for search helps, please do more research before posting.

Message was edited by: Thomas Zloch

Hi All,

create the search help (elementory search help) from se11, but i want to provide the search help depending on the condition

ex: from but000 table i want to display 3 fields

partner ,  name_first ,  name_last      these three fields should be display depending on bu_sort2 = 'PDD'

here bu_sort2 is also from the same table but000 .

i just create elementory search help , but how to provide this condition base only

(requirement is : provide search help for a field which is in module pool screen)

please tell me the process...

Moderator message: described in SAP documentation for search helps, please do more research before posting.

Message was edited by: Thomas Zloch

2 REPLIES 2
Read only

Former Member
0 Likes
417

Try to look at this thread. http://scn.sap.com/thread/414626

Regards,

Jake

Read only

Former Member
0 Likes
417

Place below code in POV module of that specific field.

select single bu_sort2  from but000 into l_sort.

IF l_sort = 'PDD'.

select partner  name_first  name_last   from but00 into table t_f4help.

and then pass this internal table to below FM

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = field from int table whose value will be returned

DYNPPROG = SY-CPROG

DYNPNR = SY-DYNNR

DYNPROFIELD = 'screen field'

VALUE_ORG = 'S'

TABLES

VALUE_TAB = internal table whose values will be shown.

RETURN_TAB = internal table of type DDSHRETVAL

EXCEPTIONS

parameter_error = 1

no_values_found = 2

others = 3.

ENDIF.