Skip to Content

How to avoid the selection of values in customized F4 help(Display mode) ?

Hi

I have created Customized F4 help for particular field in Table control.

when the field is in Editable mode it should allow to select the values.
when the field is in Display mode it should'not allow to select the values.

But in my case it allowing to select values in display mode.
Pls suggest me.
and regards

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2013 at 02:13 PM

    Hi

    Please refer the below code .You will get the solution.

    It wont allow to select value when that field is in display mode.

    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
    * DDIC_STRUCTURE =
    retfield = 'KUNN2'
    * PVALKEY = ' '
    dynpprog = sy-repid
    dynpnr = sy-dynnr
    dynprofield = dynpf
    * STEPL = 0
    * WINDOW_TITLE =
    * VALUE = ' '
    value_org = 'S'
    * MULTIPLE_CHOICE = ' '
    * DISPLAY = 'F'
    * CALLBACK_PROGRAM = ' '
    * CALLBACK_FORM = ' '
    * CALLBACK_METHOD =
    * MARK_TAB =
    * IMPORTING
    * USER_RESET =
    tables
    value_tab = it_partner
    * FIELD_TAB =
    return_tab = t_return3
    * DYNPFLD_MAPPING = DYNPFLD_MAPPING
    exceptions
    parameter_error = 1
    no_values_found = 2
    others = 3
    .
    if sy-subrc <> 0.
    * Implement suitable error handling here
    endif.
    endif.
    *BREAK-POINT.
    clear:it_partner[].

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2013 at 04:39 PM

    Hi Hiriyappa,

    What kind of a customized search help is it?

    Is it a FM? If yes, which one is you are using?

    If it is a FM, in the exporting parameter, you will have an option for not prompting the search help button pass that field as 'X', in display mode. It will work.

    Hope this will help you.

    😊

    Thanks & Regards

    😉

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2013 at 06:02 PM

    In the PBO performs a LOOP AT/MODIFY SCREEN in a module executed in the LOOP WITH CONTROL statement, there give SCREEN-VALUE_HELP the same value than SCREEN-INPUT.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.