F4 search help on report selection screen

Hi to all
I am developing a report.
There are four fields on selection screen.
ncode
ccode
mcode
mj_code
On these fields i want search help.
When I press f4  all possible values should display.
Then in second field, when I press F4 , only the values corresponding to that previous selection should display.
same for remaining two fields also.
Please tell me which function module to use at selection screen and how to select corresponding values only.
Please guide me.
Regards
Anubhav

Hi Anubhav Gupta,
Try like this code you will definetly get your answer
Parameters: carrid type spfli-carrid,
            P_connid(3).
DATA: BEGIN OF values,
         carrid type spfli-carrid,
         connid type spfli-connid,
       END OF values.
data: dinpro_values type table of dynpread,
      value_tab     like table of values,
      field_value   like line of dinpro_values.
at selection-screen on value-request for P_connid.
  field_value-fieldname = 'CARRID'.
  APPEND field_value TO dinpro_values.
  CALL FUNCTION 'DYNP_VALUES_READ'
       EXPORTING
            dyname             = sy-repid
            dynumb             = sy-dynnr
            translate_to_upper = 'X'
       TABLES
            dynpfields         = dinpro_values.
  READ TABLE dinpro_values INDEX 1 INTO field_value.
  values-carrid = FIELD_VALUE-FIELDVALUE.
  SELECT  CARRID
          connid
    FROM  sflight
    INTO  TABLE VALUE_TAB
   where  carrid eq FIELD_VALUE-FIELDVALUE.
   CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
       EXPORTING
            retfield    = 'CONNID'
            dynpprog    = SY-REPID
            dynpnr      = SY-DYNNR
            dynprofield = 'P_CONNID'
            value_org   = 'S'
       TABLES
            value_tab   = value_tab.
Reward if it is useful only,
Mahi.

Similar Messages

  • How to link a search help to a selection screen field

    Hi All,
    I am using field PKWRG from PA0017 table in selection screen. I need F4 help there as in Tcode PA30 . But this field does not have value table or check table. However, it has a search help attached 'TRV_PKWRG' .
    But, I donot know how to assign a search help to a selection screen field. Please help.
    Regards,
    Nibha

    Hello,
    Fetch all the data which from the table which you want to show in the search help and pass the value to the FM
    F4IF_INT_TABLE_VALUE_REQUEST and the selection-screen event must be
    at selection-screen on value request parameter or selection option variable.
    BCALV_TEST_FULLSCREEN
    BCALV_TEST_FULLSCREEN_CALLS
    BCALV_TEST_FULLSCREEN_PRINT
    BCALV_TEST_FULLSCREEN_STATUS
    BCALV_TEST_GRID
    BCALV_TEST_GRID_DRAG_DROP
    BCALV_TEST_GRID_EDITABLE
    BCALV_TEST_GRID_EVENTS
    BCALV_TEST_GRID_INDEX
    BCALV_TEST_GRID_TOOLBAR
    BCALV_TEST_HIERSEQ_LIST
    BCALV_TEST_LIST
    BCALV_TEST_LIST_PRINT
    BCALV_TEST_LIST_STATUS
    BCALV_VERIFY_DTYPES_D0100_F01
    BCSMENUF01
    BDLCOF10
    BDLDVI10
    BDLTREDF

  • Error in search help button at selection-screen

    hi all,
    i have a small issue.
    i have created a seach help button in selection screen .
    my code is as bellow.
    TYPES: BEGIN OF ty_ZSD_SNID,
           KUNNR TYPE KUNNR,
           BAREA TYPE WERKS_D,
          END OF ty_ZSD_SNID.
    DATA : it_z TYPE STANDARD TABLE OF ty_ZSD_SNID.
    selection-screen : begin of block b with frame title text-000.
    select-options : skunnr for zsd_snid-kunnr.
    parameters :     pbarea like zsd_snid-barea obligatory.
    selection-screen : end of block b.
    INITIALIZATION.
      SELECT KUNNR BAREA FROM ZSD_SNID INTO TABLE it_z.
      SORT it_z BY BAREA KUNNR.
      DELETE ADJACENT DUPLICATES FROM it_z COMPARING BAREA KUNNR.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR SKUNNR-low.
      IF it_z[] IS NOT INITIAL.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
                 EXPORTING
              DDIC_STRUCTURE         = ' '
                   retfield               = 'KUNNR'  " data base table field name
              PVALKEY                = ' '
                  dynpprog               = sy-repid " program name
                  dynpnr                 = sy-dynnr          "screen name
                  dynprofield            = 'SKUNNR-LOW'  " layot field name
              STEPL                  = 0
              WINDOW_TITLE           =
              VALUE                  = ' '
                  value_org              = 'S'
              MULTIPLE_CHOICE        = ' '
              DISPLAY                = ' '
              CALLBACK_PROGRAM       = ' '
              CALLBACK_FORM          = ' '
              MARK_TAB               =
            IMPORTING
              USER_RESET             =
                 TABLES
                   value_tab              = it_z[]   " internal talble name
              FIELD_TAB              =
              RETURN_TAB             =
              DYNPFLD_MAPPING        =
            EXCEPTIONS
              PARAMETER_ERROR        = 1
              NO_VALUES_FOUND        = 2
              OTHERS                 = 3
        IF sy-subrc  <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ELSE.
        MESSAGE E000(zsdsn).
      ENDIF.
    my issue is , its working properly if records are there in my z table.
    if no records are there in the table then if i do comment the last message statement then its working.
    if i do uncomment like the above code, then its dumming.
    what i should i do ??
    kind regards

    closed because of no answer.

  • How to limit the search help in the selection screen?

    Hi All,
    I got a selection option in a selection screen,
    say SELECT-OPTIONS KSCHL FOR VAKE-KSCHL.
    I want to limit the output list of the search help of this field, e.g. 33 entries for a specific application and usage.
    What should I do ?
    Thz.

    Hi,
    U can check with these two
    <b>... NO-EXTENSION</b>
    Effect
    The user can only make an entry on one line. Calling the additional "Multiple Selection" screen is not supported and no pushbutton for this appears on the selection screen.
    Addition 12
    <b>... NO INTERVALS</b>
    Effect
    The selection option is displayed on the selection screen without a 'to' field. The pushbutton for calling the "Multiple Selection" screen appears immediately after the 'from' field.
    This addition thus allows you to generate a simplified display on the selection screen. This is particularly useful if you are not making any range selections for this selection option.
    Notes
    On the "Multiple Selection" screen, you can also enter ranges for selection options with "NO INTERVALS".
    By combining this addition with "NO-EXTENSION", you can restrict the user to entry of a single value for the selection option, but with the possibility of also choosing single value options like 'Greater than' or 'Less than or equal'.
    By using the addition " NO INTERVALS" with SELECTION-SCREEN BEGIN OF BLOCK, you can activate the simplified display for all selection options in a block.
    The function module SELECT_OPTIONS_RESTRICT allows you to restrict the set of selection options available for a SELECT-OPTION (for example, only single values and patterns, i.e. 'EQ' and 'CP' are allowed). You can also forbid the leading sign 'E' (= 'Exclude from selection'). This means that you can considerably restrict the selections which can be entered on the selection screen.
    Just now tried it out to limit the search help u have to use NO-EXTENSION.
    <b>Try this simple code.
    Tables: mara.
    SELECT-OPTIONS: s_matnr FOR MARA-matnr NO-EXTENSION.</b>
    Hope this helps.
    Kindly reward points and close the thraed if ur problem got solved.
    U havent rewarded any points?
    Message was edited by: Judith Jessie Selvi

  • Attaching a search help to a selection screen "Select-options"

    Hello ABAPers,
    I have  a requirement to attach a search help to "select-options" .
    When I checked the table corresponding to the field of select-options,I found that there is no search help assigned for that field.
    I have tried using AT Selection-screenON VALUE-REQUEST and Matchcode Object .
    However, Matchcode Object requests for standard search help name.
    On value-request assign shelp only for the lower linit,but on pressing F4, gives no values found.
    Tried using  the FM F4IF_INT_TABLE_VALUE_REQUEST also. But this is for the POV event.
    Could anyone please suggest a solution for this problem?

    Hi,
       As you are using this Z search help in select options there is no way of interfering with standard SAP table.
    You can declare it as:
    Select-options QNAME for TQRFCOUT-QNAME matchcode object <Z search help name>.

  • Attach search help to a selection screen field

    Hi All,
    I have a parameter p_kschl like nast-kschl in my selection screen.
    My requirement is whenever sales org equals to '3' i need to set p_kschl
    default ZE02 and make a picklist available with ZE02 and ZE04 available with the descriptions
    How to make that picklist having ZE02 and ZE04 with descriptions.

    Yes, then you will use a FM like [F4IF_INT_TABLE_VALUE_REQUEST|https://forums.sdn.sap.com/search.jspa?objID=c42&q=F4IF_INT_TABLE_VALUE_REQUEST]
    But as this event is in the POV, data may have been changed to screen and not yet in the program, so you will need to use FM [DYNP_VALUES_READ|https://forums.sdn.sap.com/search.jspa?threadID=&q=DYNP_VALUES_READ&objID=c42&dateRange=last90days&numResults=15&rankBy=10001] to get current value of some fields on the screen (sales org.). (and [DYNP_VALUES_UPDATE|https://forums.sdn.sap.com/search.jspa?threadID=&q=DYNP_VALUES_UPDATE&objID=c42&dateRange=last90days&numResults=15&rankBy=10001] if you want to change the current value of another field on screen)
    Regards,
    Raymond

  • F4 Help for the selection screen field

    Hi Gurus,
    I have to display F4 help for a selection screen field. i am using following code:
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
                  retfield        = 'CODE'
                  dynpprog        = lw_repid
                  dynpnr          = sy-dynnr
                  VALUE_ORG       = 'S'
             TABLES
                  value_tab       = gi_text
                 field_tab       = li_fields_tab
                  return_tab      = pi_return_tab
             EXCEPTIONS
                  parameter_error = 1
                  no_values_found = 2
                  OTHERS          = 3.
    My internal table gi_emp has two fields CODE & TEXT. When i select 1 particular value, it returns the CODE value in the pi_return_tab table.
    But my requirement is i have to capture the corresponding TEXT value for the Returned CODE. Ex: following is the F4 help being displayed: -
    001    test
    001    test1
    but is i select code 001(First Value), i also need to capture it's corresponding Text value. In return table pi_return_tab i have only Code value.
    Please help me out.
    Note: Based on return code i can't search into the internal table gi_code, because as shown in the example, code has multiple text.

    Sachin,
    I think this is what you need. The following code will return the key and the text (OR any other columns), if both columns are in the selection screen the selected values (both columns) will also be passed to the corresponding parameters. If you only need the text to be in the return table and not passed to the selection screen then set the parameter for text with NO-DISPLAY option.
    REPORT zktest01 .
    DATA :
      BEGIN OF value_tab OCCURS 0,
        field  LIKE e070-trkorr,
        text   LIKE e07t-as4text,
      END OF value_tab.
    DATA: t_fldtab LIKE dfies OCCURS 0 WITH HEADER LINE,
          t_rettab LIKE ddshretval OCCURS 0 WITH HEADER LINE,
          t_dynmap LIKE dselc OCCURS 0 WITH HEADER LINE.
    PARAMETERS : p_field  LIKE value_tab-field,
                 p_text   LIKE value_tab-text. "NO-DISPLAY.
    INITIALIZATION.
      t_fldtab-tabname   = 'VALUE_TAB'.
      t_fldtab-fieldname = 'FIELD'.
      t_fldtab-langu     = 'E'.
      t_fldtab-position  = 1.
      t_fldtab-offset    = 0.
      t_fldtab-fieldtext = 'Key'.
      t_fldtab-reptext   = 'Key'.
      t_fldtab-leng      = 20.
      t_fldtab-intlen    = 20.
      t_fldtab-outputlen = 20.
      t_fldtab-datatype  = 'CHAR'.
      t_fldtab-inttype   = 'C'.
      t_fldtab-headlen   = 20.
      t_fldtab-keyflag   = 'X'.
      t_fldtab-lowercase = ' '.
      APPEND t_fldtab.
      t_fldtab-tabname   = 'VALUE_TAB'.
      t_fldtab-fieldname = 'TEXT'.
      t_fldtab-position  = 2.
      t_fldtab-offset    = 20.
      t_fldtab-fieldtext = 'Text'.
      t_fldtab-reptext   = 'Text'.
      t_fldtab-leng      = 60.
      t_fldtab-intlen    = 60.
      t_fldtab-outputlen = 60.
      t_fldtab-headlen   = 60.
      t_fldtab-keyflag   = ' '.
      t_fldtab-lowercase = ' '.
      APPEND t_fldtab.
      value_tab-field = '101'.
      value_tab-text = 'dddd'.
      APPEND value_tab.
      value_tab-field = '202'.
      value_tab-text = 'aaaa'.
      APPEND value_tab.
      t_dynmap-fldname = 'FIELD'.
      t_dynmap-dyfldname = 'P_FIELD'.
      APPEND t_dynmap.
      t_dynmap-fldname = 'TEXT'.
      t_dynmap-dyfldname = 'P_TEXT'.
      APPEND t_dynmap.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_field.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'FIELD'
                dynpprog        = 'ZKTEST01'
                dynpnr          = '1000'
                dynprofield     = 'P_FIELD'
                value_org       = 'S'
           TABLES
                field_tab       = t_fldtab
                value_tab       = value_tab
                return_tab      = t_rettab
                dynpfld_mapping = t_dynmap
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc EQ 0.
      ENDIF.
    START-OF-SELECTION.
    Jeffrey Satriadi

  • Search help for a  select options

    Hi ,
    I need to place a search help for a select-options field on my report selection screen. It should work for a z-table field . I can create a search help for the Z-table field , but I do not know how to make it available for the select-options.
    Thank you .

    hi Krish,
    SELECT OPTIONS ... MATCHCODE OBJECT name_of_search_help.
    hope this helps
    ec

  • EKKO-ZTERM field search help in report

    Hello,
    In a report selection screen,i have Payment terms as one of the selection criteria's.But the search help(f4) values not getting for this EKKO-ZTERM field.
    How can i get the list for this field.
    thanks in aadvance

    Hi,
    You can use 'F4IF_INT_TABLE_VALUE_REQUEST' Function module to define your own search helps.Here is the sample code for the same.
    data:
        begin of t_values occurs 2,
          value like kna1-begru,
        end of t_values,
        t_return like ddshretval occurs 0 with header line.
      t_values = 'PAR*'.
      append t_values.
      t_values = 'UGG'.
      append t_values.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield        = 'BEGRU'
                value_org       = 'S'
           tables
                value_tab       = t_values
                return_tab      = t_return
           exceptions
                parameter_error = 1
                no_values_found = 2
                others          = 3.
      if sy-subrc = 0.
        read table t_return index 1.
        o_begru-low = t_return-fieldval.
        if o_begru-low = 'PAR*'.
          o_begru-option = 'CP'.
        else.
          o_begru-option = 'EQ'.
        endif.
        o_begru-sign = 'I'.
        append o_begru to s_begru.
      else.
        o_begru = i_begru.
      endif.

  • Assign Search help in report program

    Dear All,
    I facing problem to assign search help in report program.
    I crated one elementary search help in which three fields i include
    -carrid
    -carrier name
    -booking  
    all three fields having import and export parameter in search help.
    while executing this search help in se11 it gives proper output.
    but while assigning this search help in report program it only fetch one carried.
    my report is also having three parameter
    -carrid
    -carrier name
    -booking
    i assign search help like
    PARAMETER :  p_carrid TYPE scarr-carrid
                               MATCHCODE OBJECT z01_carrid,
    with all three field but it fetch only carrid ...

    Hi Chintan,
    For such types of requirements you can use this Function Module:
    F4IF_INT_TABLE_VALUE_REQUEST.
    Use this functiom modue under AT SELECTION-SCREEN ON HELP-REQUEST FOR P_CARRID.
    With this function module, you can fill your remainng parameters : P_carriername and booking also.
    Sample Code:
         DATA : TMP_RETURN_TAB  LIKE TABLE OF DDSHRETVAL,                                TMP_RETURN      LIKE DDSHRETVAL,                    
                    TMP_FIELD       TYPE  DFIES-FIELDNAME.               
    CASE AKIND.                                        
       WHEN '1'.                                        
         TMP_FIELD = 'AENNR'.                                        
       WHEN '2'.                                        
         TMP_FIELD = 'VBELN'.                                        
       WHEN '3'.                                        
         TMP_FIELD = 'ZZTEHAI'.                                        
      ENDCASE.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'                                                                 
       EXPORTING                                                                                     
         RETFIELD               = TMP_FIELD                                                                      
         WINDOW_TITLE           = ATITEL                                                                      
         VALUE_ORG              = 'S'                                                                                
       TABLES                                                                                          
         VALUE_TAB              = ATABLES                                                                           
         RETURN_TAB             = TMP_RETURN_TAB                                                                      
       EXCEPTIONS                                                                                
         PARAMETER_ERROR        = 1                                                                           
         NO_VALUES_FOUND        = 2                                                                           
         OTHERS                 = 3.                                                                                
      IF SY-SUBRC =  0.                                                                                
        READ TABLE TMP_RETURN_TAB INDEX 1 INTO TMP_RETUN.                                                            
        AVALUE = TMP_RETURN-FIELDVAL.                                                                      
      ENDIF.                                                  
    Jus analyze this code, you can get ur requirement done.
    Regards
    Sandeep Reddy

  • Creating search help through reports

    Hello experts,
    Is there a method so that I can create search help through reports?
    Thanks,
    Mohit.

    hi,
    we can create F4 help through report and also we can create Input Help from the ABAP Dictionary  .
    please check this link for Input Help from the ABAP Dictionary  .
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    and for F4 help in reports you can use some function modules:
    select-options :                 so_selgp FOR t458a-selgp  /
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_selgp-low .
      REFRESH gt_auskt[].
      here insert select query to fill your internal table .
      IF so_selgp[] IS NOT INITIAL.
        DELETE gt_t458a1  WHERE selgp NOT IN so_selgp[].
      ENDIF.
      SELECT aussl auslt FROM t458b INTO CORRESPONDING FIELDS OF  TABLE gt_t458b WHERE spras = 'E'.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          retfield               = 'SELGP'
        PVALKEY                = ' '
         dynpprog               = 'ZPPGL_MRP_LIST '
         dynpnr                 = '1000'
         dynprofield            = 'SO_SELGP'
         value_org              = 'S'
      IMPORTING
        USER_RESET             =
        TABLES
          value_tab              = gt_auskt   " internal table.
      EXCEPTIONS
        PARAMETER_ERROR        = 1
        NO_VALUES_FOUND        = 2
        OTHERS                 = 3

  • Bsid-gjahr field search help in report

    Hi friends
    In my report selection screen,i have Fiscal year as one of the selection criteria's.But the search help(f4) values not getting for this bsid-gjahr field.
    i don't want the FM, can anybody refer a table name so that i can define select-options of that type and can get f4 help.
    thanks in advance
    poorna

    If the search help does not come when defining
    parameter ... like bsid-gjahr
    try looking at the screen where you get the search help,
    find out which search help is being called and check your parameter additions (there is one for search help)...
    Enjoy

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

  • Creation of search help manually fro select-options

    hi friends i got a requirement for creating the search helps manually for select-options.
    but i am facing a progbalem.
    i am attaching a sample code for what i have written for select-opions low of which when i am pressing f4 button i am getting list of data but when i am selecting that particular it is not withstading on the screen...kindly help in this regard very urguent..plz...all answers are rewarded..
    tableS: kna1.
    datA: BEGIN OF ITAB OCCURS 1,
        KUNNR TYPE KNA1-KUNNR,
        END OF ITAB.
    data: kunnr type kunnr.
    select-options: cust for kunnr .
    at selection-screen on value-request for cust-low.
    select kunnr from kna1 into table itab .
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
    *   DDIC_STRUCTURE      = ''
        RETFIELD               = 'CUST-LOW'
    *   PVALKEY                = ' '
    *   DYNPPROG               = ' '
    *   DYNPNR                 = ' '
    *   DYNPROFIELD            = ''
    *   STEPL                  = 0
    *   WINDOW_TITLE           =
       VALUE                  = 'CUST-LOW'
       VALUE_ORG              = 'S'
    *   MULTIPLE_CHOICE        = ' '
    *   DISPLAY                = 'X'
       CALLBACK_PROGRAM       = SY-CPROG
    *   CALLBACK_FORM          = ' '
    *   MARK_TAB               =
    * IMPORTING
    *   USER_RESET             =
      TABLES
        VALUE_TAB              = ITAB
    *   FIELD_TAB              =
    *   RETURN_TAB             =
    *   DYNPFLD_MAPPING        =
    * EXCEPTIONS
    *   PARAMETER_ERROR        = 1
    *   NO_VALUES_FOUND        = 2
    *   OTHERS                 = 3
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hai  Saslove,
    I think Problem Lies In this Area When U r Creating   Search Helps.
    Import and Export Parameters
    When an input help is called, the entries that the user already made in the input template are taken into consideration. For example, if a user calls the input help for the flight number and already specified the carrier, of course only the numbers of flights of this carrier should be offered.
    On the other hand, if the user selects one row of the hit list, more than one field of the input template might have to be filled with data from the selected row of the hit list. For example, if the flight number is obtained from the hit list, the city of departure and the destination should also be returned in the screen template.
    The interface of a search help defines the context data that can be used in the input help and the data that can be returned in the input template.
    A parameter of a search help can be classified as:
    Import parameters: Parameters with which context information from the processed input template (screen) may be copied to the help process.
    Export parameters: Parameters with which values from the hit list may be returned to the input template.
    A parameter can simultaneously be an input and an export parameter. A search help can also contain parameters that are neither import nor export parameters. Such parameters could be required for the internal input help process, for example.
    When you attach a search help, you must define where the import parameters of the search help get their values from and the fields in which the contents of the export parameters are returned. See also Value Transport for Input Helps.
    Regards.
    Eshwar.

  • Add a button in report selection screen

    Hi Experts,
         I want to add a userdefined button in report selection screen....so far i have written code like this,...
    TABLES : sscrfields.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-010.
    PARAMETERS: P_ID LIKE ZBAPITABLE-ID,
                P_NM LIKE ZBAPITABLE-NAME.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (11) TEXT-001 FOR FIELD R1.
    PARAMETERS: R1 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (10) TEXT-002 FOR FIELD R1.
    PARAMETERS: R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (10) TEXT-003 FOR FIELD R1.
    PARAMETERS: R3 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (10) TEXT-004 FOR FIELD R1.
    PARAMETERS: R4 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN: FUNCTION KEY 1.
    MOVE 'SAVE' TO sscrfields-functxt_01.
    If i use code like this button was added in application tool bar
    but in my selection screen i have  two blocks ....in first block i have input fields, and in second there is set of radio buttons...Just below that i want to put one button ....how it is possible...
    can anyone plz help me?
    Regards,
    veena.

    Here's th docu link:
    [Pushbuttons on the Selection Screen|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm]
    Regards,
    Clemens

Maybe you are looking for

  • How do you set up a contact form with response in Muse?

    Contact forms are so easy in WordPress, there must be a way to set one up in Muse when a third party (1and1) is hosting your site.

  • Google redirects to google

    When I click on a item in the google searchlist, google doesn't open the site! Google always redirects to google itself!

  • Powerbook won't Boot--It will Kernel Panic and Freeze Though

    I'm trouble shooting a 17" Powerbook G4 1.33. When I received it, there was no hard drive, it would boot to a flashing "?". I installed a brand new 160 GB ATA drive and attempted to install 10.4. The installation went smooth and fairly quickly but wh

  • Batch Jobs for Reports?

    Hi, Is there a way to schedule the reports to run through a batch job in Production ? Say the job will run the report in the night so that the users can come and see it in the morning. The report also prompts for selections / filters before it runs.

  • Problem loading window

    i have window 7 on my hp 635 which i want to load window xp on it but when it got to starting window it will display this error{check for viruses with this technical information} stop o*00000007b,(o*f78d2524,0*00000000,0*00000000).please what can i d