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

Search Help

Former Member
0 Likes
572

hi Experts,

I want to add search help to SAP standard screen field.

how i can do this.

Pls Reply ASAP.

Thanx & Rgds

6 REPLIES 6
Read only

Former Member
0 Likes
555

search and help urself

pk

Read only

Former Member
0 Likes
555

Hi ,

first create internal table for that field .

and call the functional module F4IF_INT_TABLE_VALUE_REQUEST

pass these fields .

EXPORTING

  • DDIC_STRUCTURE = ' '

RETFIELD = 'fiedl name

  • PVALKEY = ' '

DYNPPROG = sy-repid

DYNPNR = sy-dynnr

DYNPROFIELD = 'field name'

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

VALUE_ORG = 'S'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ''

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

VALUE_TAB = table name.

  • FIELD_TAB =

  • RETURN_TAB =

  • DYNPFLD_MAPPING =

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3 .

then u will get search help for that field.

if help full reward me.

thanks.

satish

Read only

Former Member
0 Likes
555

Hi Rohan kumar,

A search help can be directly assigned to a screen field. In this case, the search help is only available for this screen. If the same field is used on several screens, the search help should generally be attached to the referenced table field or structure field (see Attaching to Table Fields).

You can attach a search help directly to a screen in the following ways.

u2022 The name of the search help must be entered in the Screen Painter in the Attributes for the field in the field Search help.

u2022 The name of the search help can be defined for selection screens in ABAP reports in the PARAMETERS or SELECT-OPTIONS statement directly following the supplement AS SEARCH PATTERN.

In both cases this assigns the first parameter of the search help to the screen field. As a result, only a value from the hit list can be returned to the screen template.

Hope this helps you

Regards,

T.Durai murugan.

Read only

0 Likes
555

hi,

i want to add search help to sap standard screen not to selection screen.

Thanx

Read only

RoySayak
Active Participant
0 Likes
555

Hi Rohan,

To add search help to SAP standard screen field, you have to define a matchcode object.

Matchcode Object is the predecessor of search helps in the ABAP Dictionary.

like that:

> MATCHCODE OBJECT <search_help>.

effect: This addition links the input field of the parameter to a search help <search_help> from the ABAP Dictionary. The name of the search help must be entered directly. For the input field of the parameter on the selection screen, the input help key is displayed. When the input help (F4) is requested, the user is displayed the hit list from the search help. When an entry is selected, the respective value is placed into the input field. If no search help for the specified name exists in the ABAP Dictionary, a message is displayed in the status line when the input help is requested.

Best Regards,

Sayak...

"Giving points for helpful answer is always appreciating"

Read only

Former Member
0 Likes
555

thanx roy ,

how we can define matchcode and how we assign to sap standard screen

Thanx & Rgds