Skip to Content
avatar image
Former Member

I Want to assign a search help on Popup Screen

Hi ,

I have designed a screen in which it gives a popup screen on runtime . I want to assign my own search help on that pop-up screen can anybody guide me how to do that along with the code .

Thanks in advnace

Regards

Shankar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 20, 2008 at 11:47 AM

    Thanks to all

    My requirement was this ... which i had solved through this i am copying the code so that further if some body requires can refer to the same

    FORM SEQ_HELP

    USING TABNAME

    FIELDNAME

    DISPLAY

    CHANGING

    RETURNCODE

    VALUE.

    DATA : RET_TAB TYPE TABLE OF DDSHRETVAL,

    RET_WA TYPE DDSHRETVAL.

    SELECT * FROM AFVV AS A

    INNER JOIN AFVC AS B

    ON BAUFPL EQ AAUFPL

    AND BAPLZL EQ AAPLZL

    INNER JOIN CRHD AS C

    ON COBJID EQ BARBID

    INTO CORRESPONDING FIELDS OF TABLE I_ARP

    WHERE A~AUFPL EQ AFKO-AUFPL

    AND VORNR EQ NXTOPRNO.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    RETFIELD = 'APLFL'

    DYNPPROG = SY-REPID

    DYNPNR = SY-DYNNR

    DYNPROFIELD = 'I_ARP-APLFL'

    VALUE_ORG = 'S'

    TABLES

    VALUE_TAB = I_ARP

    RETURN_TAB = RET_TAB.

    READ TABLE RET_TAB INTO RET_WA INDEX 1.

    IF SY-SUBRC = 0.

    VALUE = RET_WA-FIELDVAL.

    ENDIF.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 20, 2008 at 07:40 AM

    Hi,

    Create a zsearch help.

    and assign the same to the pop up screen field.

    Assigning search help to screen field.

    screen painter-> screeen number->change->referances->give the search help name againest screen field.

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi shankar,

      For that first you have to create a new Search help for the field APLFL(say ZSHLP_APLFL), then create a Ztable(say ZAFRU ) with fields MANDT and APLFL. and assign the search help to the APLFL field of the ztable.

      Now in the Fields of the function call give as Table name : ZAFRU and fieldname : APLFL Field Text : Enter Sequence number.

      I tried this in my system and it is working fine for me...

      Revert if u need more help.

      Regards

      Karthik D

  • avatar image
    Former Member
    Sep 20, 2008 at 07:48 AM

    Hi shankar,

    Can you explain the purpose of the popup and for what field you want to assign the search help?

    Regards

    Karthik D

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 20, 2008 at 10:47 AM

    hi,

    create search help for that pop up field and here is the procedure:

    you can use function module F4IF_INT_TABLE_VALUE_REQUEST

    or can follow these simple steps for search help:

    go to se11==> put some name after ticking search help radiobutton==> create==>

    then tick " elementery search help " and press enter ===>then put description and table name in selection method ===>then put the field on which u want search help

    in search help parameter==> tick IMP EXP ==> write 1 in lpos and spos===>save and activate===> double click on table name ===> select that field and press search help tab above===> then copy

    i hope it will help u a lot

    thaks and regards

    rahul sharma

    Add comment
    10|10000 characters needed characters exceeded