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

help with custom tables

Hello All,

I need some help with custom tables. I have created a custom table to maintain names and I also did table maintenance generation so that the user can maintain names in this table using SM30 transaction.

The question is, in my program on the selection screen when the user press F4 I need to display the values maintained in this custom table...

Can anyone help me with this.

Thanks

Pavan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Oct 21, 2005 at 07:41 PM

    If I understood you correctly, you have a program in which one or some of the selection screen fields refer to a custom database table field(s).

    You want to implement a F4 functionality.

    Fill an internal table with the values you want to show.

    Call the function module 'F4IF_INT_TABLE_VALUE_REQUEST' in the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR MYPARAM as follows.

    call function 'F4IF_INT_TABLE_VALUE_REQUEST'

    exporting

    retfield = MYITAB-FIELD

    dynprofield = MYSELSCREENPARAM

    dynpprog = sy-cprog

    dynpnr = sy-dynnr

    value_org = 'S'

    tables

    value_tab = my_f4_itab.

    Srinivas

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 21, 2005 at 07:42 PM

    You need to create a search help for this name field. Go to SE11, create your search help. Now assign this search help to the data element that this field uses. Now in your program, when you reference this field in your parameters or select-options statement, the search help will be there.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 21, 2005 at 07:44 PM

    or simply have your custom database field value table to be the same Z table.

    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.