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

Search Help Hierarchy?

Hi all,

I am maintaining some fields like ABKRS,AMBRS,ANKRS with value in a ZTABLE.

I created a elementary search help for the same table.

Now my problem is when i enter ABKRS value in the popup and when i press F4 for AMBRS,It need to display the filtered values from ZTABLE?

same for ANKRS also.

Sachin.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2009 at 01:43 PM

    Hi,

    Do u want to filter the values of AMBRS on the basis of field ABKRS VALUE.

    You can do that by following:-

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR ABKRS-low.

    PERFORM f4help_objid.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR ABKRS-high.

    PERFORM f4help_objid.

    FORM f4help_objid.

    DATA: BEGIN OF it_f4help OCCURS 0,

    ABKRS TYPE table-ABKRS,

    END OF it_f4help.

    SELECT DISTINCT ABKRS

    FROM ztable INTO CORRESPONDING FIELDS OF TABLE it_f4help where AMBRS between AMBRS-low and AMBRS-high.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    retfield = 'ABKRS'

    dynpprog = sy-repid

    dynpnr = sy-dynnr

    dynprofield = 'P_OBJ'

    value_org = 'S'

    TABLES

    value_tab = it_f4help[]

    EXCEPTIONS

    parameter_error = 1

    no_values_found = 2

    OTHERS = 3.

    ENDFORM.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2009 at 09:41 AM

    Does anybody havng idea abt this,Please share..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2009 at 10:20 AM

    Hi,

    When you create the elementary search help, in SE11,

    In the selection method: Give your ZTABLE name

    and In search help parameters give the required fields to be displayed.

    Regards

    Shiva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2009 at 10:53 AM

    HI,

    Depending upon your requirement I guess, you would require to go for Search Help Exit.

    Found a discussion similiar to your requirement.

    [Somewhat Similiar Thread in SDN|how-to-filter-a-table-data-field-vs-sy-datum-in-se;

    Anoop

    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.