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

At another screen

Former Member
0 Likes
402

Hi all,

Dear abap experts,

I have created 3 screens, one of which is to use as a temporary screen for the purpose of selecting value.

In fact I want to make it exactly sap's screen that comes when clicked on the F4(possible values) button.

How could this screen be designed. I do not want list as search help, I want it to be like sap's one.

Thanks.

Hi all,

Dear abap experts,

I have created 3 screens, one of which is to use as a temporary screen for the purpose of selecting value.

In fact I want to make it exactly sap's screen that comes when clicked on the F4(possible values) button.

How could this screen be designed. I do not want list as search help, I want it to be like sap's one.

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
384

So u have to use the standard type.

c, if in ur selection screen, a select-option is MATNR, declear it MARA-MATNR.

Dont use another table which also contain MATNR.

Try with this. It will automaticaly open seach help which is defautl for SAP standard.

Regards.

Read only

Former Member
0 Likes
384

Hi Deniz,

You need to use FM "

  • F4 Help for MATNR

AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_matnr-low.

SELECT matnr

maktx

FROM makt

INTO TABLE i_matnr..

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

retfield = 'MATNR'

  • PVALKEY = ' '

dynpprog = sy-cprog

dynpnr = sy-dynnr

dynprofield = 'S_MATNR-LOW'

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

value_org = 'S'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

value_tab = i_matnr

  • FIELD_TAB =

  • RETURN_TAB =

  • DYNPFLD_MAPPING =

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.