on 06-25-2022 9:53 AM
Hi Together!
Is there any standard pop-up that allows user to input a value ONLY with selecting from the search help of the field and restrict to input manually?
I have tried with POPUP_GET_VALUES and set its attribute "field_attr" to "02" as it means "Input is not possible". However once I did it, it blocked to input from Search Help too.
Any help would be appreciated, thank you in advance!
If the field in question is on one of your screens then you can set the field to display only.
You have to call the F4 processor yourself via a call to function F4IF_FIELD_VALUE_REQUEST.
The function is pretty well documented. The important part is that you set the parameter DISPLAY = 'F',
meaning that the function will also transfer data back into the field, even though it is marked as display only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
It is possible in PARAMETER option.
PARAMETERS : vbeln TYPE vbeln AS LISTBOX VISIBLE LENGTH 12. " MODIF ID sdn.
INITIALIZATION.
PERFORM build_user_drop_down_list.
START-OF-SELECTION.
WRITE 'teting'.
The subroutine
FORM build_user_drop_down_list.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list,
wa_vbrk TYPE vbrk.
SELECT vbeln FROM vbrk INTO TABLE @DATA(it_vbrk) WHERE fkdat = '20160930'.
LOOP AT it_vbrk INTO wa_vbrk.
CLEAR value.
value-key = wa_vbrk-vbeln.
value-text = wa_vbrk-vbeln.
APPEND value TO list.
ENDLOOP.
name = 'VBELN'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
ENDFORM.
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.