Skip to Content
author's profile photo Former Member
Former Member

Using conditional searchhelp on tablecontrol

I want to define a searchhelp for one of my columns on a tablecontrol.

But in this searchhelp i only want to see values lower than a the value of a specific field.

so i would like to implement some sort of conditioned select method for my search help.

how can i obtain information about how this works???

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2004 at 04:53 PM

    Hi Tobias,

    One way of doing that is, by manually providing the search help.

    make use of the POV event, and you may use

    DYNP_VALUES_READ to read the screen values. You will have to set DETERMINE_LOOP_INDEX to X as u are talking about a table control.

    Now use whatever logic you want fill up a table and provide to the F4 function module F4IF_INT_TABLE_VALUE_REQUEST.

    Else you may use importing exporting in search help, if the field names match database table names.

    Regards,

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      To use F4IF_INT_TABLE_VALUE_REQUEST

      Please try an F1 on the same. You have extensive document but simply put if u want how to call it find below

      call function 'F4IF_INT_TABLE_VALUE_REQUEST'

      exporting

      retfield = column in internal table whose value to be used for the screen field

      dynpprog = Program name

      dynpnr = Screen number

      dynprofield = screen field which is to accept the value chosen from F4

      value_org = 'S' indicating that every line is a structure corresponding to one line of F4 help

      tables

      value_tab = any table structure whose values are to be displayed on F4.

      Hope this is helpful.

      Pavan

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.