on 2023 Jul 25 9:33 AM
Hi Expert,
I have created a F4 help for a particular field in table control. By using the F4 help I am able to select only one value. But I want to select multiple values from F4 help and for that I have also enabled multiple choice parameter in FM F4IF_FIELD_VALUE_REQUEST. But it's not updating all the values which are I am selecting only last one getting updated.
Can any help me in my code what changes I need to done for this to getting desired output?
DATA : lt_return TYPE TABLE OF ddshretval.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'MCHB'
fieldname = 'CHARG'
searchhelp = 'ZSH_TEST'
* SHLPPARAM = ' '
dynpprog = sy-repid
dynpnr = sy-dynnr
* DYNPROFIELD = ' '
* STEPL = 0
* VALUE = ' '
multiple_choice = 'X'
* DISPLAY = ' '
* SUPPRESS_RECORDLIST = ' '
* CALLBACK_PROGRAM = ' '
* CALLBACK_FORM = ' '
* CALLBACK_METHOD =
* SELECTION_SCREEN = ' '
* IMPORTING
* USER_RESET =
TABLES
return_tab = lt_return
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5.
IF lt_return IS NOT INITIAL.
LOOP AT lt_return ASSIGNING FIELD-SYMBOL(<ls_return>).
ls_mchb-charg = <ls_return>-fieldval.
ENDLOOP.
ENDIF.
Request clarification before answering.
User | Count |
---|---|
48 | |
10 | |
8 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.