Application Development 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: 

How to provide f4 help from available help view

former_member925838
Participant
0 Kudos

hello experts,

I need to provide f4 help for the field sales office in my module pool program.

there is a standard help view present for the sales office.

so... how can i use that help view for my f4 help?

or is there any other way to provide f4 help for my sales office(vkbur) field?

or any way to validate that field?

thanks,

Amar

6 REPLIES 6

raymond_giuseppi
Active Contributor
0 Kudos

Read some documentation like [Hierarchy of the Search Help Call|http://help.sap.com/saphelp_nw04s/helpdata/en/0b/32e9b798da11d295b800a0c929b3c3/frameset.htm] and choose the level to add the link to search help (POV, dynpro field, check table, data element, domain value)

Regards,

Raymond

0 Kudos

THANKS

Former Member
0 Kudos

Hi Amar,

Please find the below example It may help you.

REPORT zla_f4_values.

TYPES : BEGIN OF t_ekko,

ebeln TYPE ekko-ebeln,

bukrs TYPE ekko-bukrs,

ekgrp TYPE ekko-ekgrp,

END OF t_ekko.

DATA: it_ekko TYPE STANDARD TABLE OF t_ekko,

it_return TYPE STANDARD TABLE OF ddshretval,

wa_ekko LIKE LINE OF it_ekko.

SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

PARAMETERS : ebeln TYPE ekko-ebeln.

SELECTION-SCREEN : END OF BLOCK b1.

INITIALIZATION.

SELECT ebeln

bukrs

ekgrp

FROM ekko

UP TO 10 ROWS

INTO CORRESPONDING FIELDS OF TABLE it_ekko.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR ebeln.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'EBELN'

window_title = 'Ekko Records'

value_org = 'S'

multiple_choice = '' " X

TABLES

value_tab = it_ekko

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

Thanks,

Varun

0 Kudos

- He wants to use an existing search-help, better use F4IF_FIELD_VALUE_REQUEST than F4IF_INT_TABLE_VALUE_REQUEST, so he wont have to fill the internal table, and will provide user with the other options of seach help.

- He also wrote "module pool program", so better provide a sample for this kind of program and not a selection-screen sample.

Regards,

Raymond

Former Member
0 Kudos

Hi Amar,

You can configure , your own search help in Screen painter->Attributes->Search help field.There is also an option to have a Foreign key check to have the check table.

Regards,

Siva

0 Kudos

Thanks

I got the solution

Regards,

Amar