2007 Aug 29 7:30 AM
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.
2007 Aug 29 7:42 AM
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.
2007 Aug 29 7:43 AM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |