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

Select-Option F4 Help Multiple Selection

Former Member
0 Likes
1,804

Hi

I have wriiten the code to provide custom F4 help for a field using F4IF_INT_TABLE_VALUE_REQUEST' and then updating the values back to screen using Function Module DYNP_VALUES_UPDATE.

It is working fine when the F4 is used on the main screen, But when i click on the multiple selection button and press F4, i do get the F4 values list, but selected value is not getting passed back to the field.

I guess the issue is the field name changes in the multiple section option, Please suggest how can i fix it.

&----


*& Form update_date_bATCH

&----


  • Updating the sel_screen with the retrieved values

----


FORM update_date_batch USING pt_filename pt_fieldvalue.

  • Rundate

st_dyn_fields-fieldname = pt_filename.

st_dyn_fields-fieldvalue = pt_fieldvalue.

APPEND st_dyn_fields TO it_dyn_fields.

  • Function Module to update the screen with the values retrieved

CALL FUNCTION 'DYNP_VALUES_UPDATE'

EXPORTING

dyname = sy-repid

dynumb = sy-dynnr

TABLES

dynpfields = it_dyn_fields

EXCEPTIONS

invalid_abapworkarea = 1

invalid_dynprofield = 2

invalid_dynproname = 3

invalid_dynpronummer = 4

invalid_request = 5

no_fielddescription = 6

undefind_error = 7

OTHERS = 8.

IF sy-subrc <> 0.

MESSAGE i006(zffi).

ENDIF.

ENDFORM. " update_new_date_time

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
956

You have added the F4 to a select-option for areport and would like to get the F4 values back into the select-option, when the user selects multiple values?

If this is the case you have to fill the internal table behind the select-option and this will have to based on waht the user selected.

The first value will go on to the screen the way you have done it.

If this is what you want to do?

Rene

1 REPLY 1
Read only

Former Member
0 Likes
957

You have added the F4 to a select-option for areport and would like to get the F4 values back into the select-option, when the user selects multiple values?

If this is the case you have to fill the internal table behind the select-option and this will have to based on waht the user selected.

The first value will go on to the screen the way you have done it.

If this is what you want to do?

Rene