Thursday
Hello Group
I'm facing a weird situation, this is a custom screen where we have a field that shows available values upon doing an F4. We are using function F4IF_INT_TABLE_VALUE_REQUEST. We are passing the multiple choice option to the FM but even if the user is selecting one of the entries available, all of the entries displayed as options are returned as if they were chose.
Has anyone faces a similar situation?
Thank you
Francisco
Friday
There are working demonstrations in these two blog posts:
Editable ALV with F4 Help support Multiple Selecti... - SAP Community
Multiple Selection F4 HELP (With Check Boxes) - SAP Community
Friday
Hello Sandra
Thank you for the information, very useful.
The situation we are seeing is something different, here is how we are calling the FM:
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = ' '
retfield = 'BNAME' "c_BNAME
* PVALKEY = ' '
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = c_l1
value_org = c_s
multiple_choice = c_x
TABLES
value_tab = t_user
* FIELD_TAB =
return_tab = i_return_tab
* DYNPFLD_MAPPING =
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3
.
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The problem comes after the options are shown and a single entry is selected. The return tab is bringing back all the entries displayed regardless on whether they were selected or not.
This is happening in the production environment but not in the test box.
Now in the test environment we are seeing the checkboxes but in the production environment we dont see them.
Thank you
Friday
As you can see, the display is different so it's not the same code. Production has "OCX" on, probably because using MULTIPLE_CHOICE = ' ', while development has "OCX" off, because using MULTIPLE_CHOICE = 'X'.
Do a debug in the production system.
yesterday
Hello Sandra
I'm still waiting for the access to debug in production but just want to share something that may be the reason behind why it is not working.
On the left S4 on the right ECC, the code has changed and the OCX_OFF is not set in S4 unless mark_tab has something in it.
Will test once I have access to production.
Thank you
yesterday
Thanks. Good catch. Probably a different Support Package level (abnormal situation).