Problem in Search Help[F4] - Values Not being Dsplayed

Hi,
Search help values are not being displayed.
F4 help pop up is being displayed with the text on top: ' xxxx number of entries found".
But no values are visible in that popup where it normaly displayes all values for selection. This is happening with all search helps.
Example: I tried for Tcode: ME21, for field Vendor.
=><i>No patch has been applied on Server recently.</i>
Any clue on that..??
Any help is appriciated.
Regards,
Vijay Raheja

Hello Vijay,
This is simple as well.
Go to help then settings and then F4 help. Under system defaults tab strip you will find Display tab strip. Here go to change mode and choose dialog. The other choice will be for control only ( 2 radio buttons only this time around). However to do so make sure you have the authorization object S_ADMI_FCD with value TCTR.
Ask yoru authorization adminstrator to make these changes. He would be having these authorizations. Normally all  users dont have this authorization as this is part of security audit considerations.
Please award points if issue got solved.
Regards.
Ruchit.

Similar Messages

  • Generic problem for search help without values

    Hi,
    Always I open a search help without values I get the warning popup "No values found" but after this no link let me come back to the previous screen.
    Does anybody know how I can solve this (in a standard way)
    thanks
    regards

    Hi
    It seems to be a bug in the system.
    <b>Please have a look at the following SAP OSS Notes -></b>
    <u>Note 574604 - Various correction reports for EBP business partner
    Note 1028643 - Input help for contact persons in purchase order
    Note 843008 - EBP4.0 and higher: Terms of Payment, Texts and codes
    526416 Structural enhancements LFA1
    698246 EBP 4.0 address maintenance: Default address for address use
    701321 EBP 3.5 address maintenance: Default address for address use
    701323 EBP 3.0 address maintenance: Default address for address use
    701384 BBP 2.0C address maintenance:Default address for address use
    690619 Plants are not transferred during location replication
    641960 New processing of terms of payment in EBP 3.5
    628386 Incorrect link for EBP for 'External business partners'
    Note 544392 Error in search helps EBP 2.0
    Note 544816 Error in search helps EBP 3.5
    Note 544713 Error in search helps EBP 3.0</u>
    Please raise a customer OSS message with SAP as well.
    Regards
    - Atul

  • Search Help Selected Values not reflected in WebUI

    Hello All, We have a requirement to create a standard F4 value help for PRODUCT_ID field and the selected value should be reflected in the WebUI field. This field is in a table view context node and the component is a stand alone WebUI component. Everything works fine till the Search help is called and the values is selected. But the selected value is not reflected in the Product_ID field. We have checked many forums and links and tried almost all the alternatives suggested. Here's is the code attached for reference.
    DATA:l_wa_map       TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
           l_i_inmap     TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
           l_i_outmap    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      DATA:  lv_str_index TYPE string.
    *  l_wa_map-context_attr = 'product_id'.
    *  l_wa_map-f4_attr      = 'PRODUCT_ID'.
    *  APPEND l_wa_map TO:l_i_inmap,l_i_outmap.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'KEY'. "'PRODUCT_ID'. "'
      APPEND l_wa_map TO: l_i_outmap.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'VALUE'. "'PRODUCT_ID'.   "
      APPEND l_wa_map TO: l_i_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
         EXPORTING
          iv_help_id        = 'COM_PR_SHTEXT'      "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name  "if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping  = l_i_inmap
          iv_output_mapping = l_i_outmap
          iv_object_ref     = me
          iv_trigger_submit = abap_true.
    Is there any further code or event call required to reflect the value in the WebUI? or what exactly is required to be done here?
    Thanks in Advance.
    Prasad

    Thanks Dharmakasi, your point to use Condense was the issue which was preventing the values from reflecting in the field.
    However, below code is not required.
    * lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].PRODUCT_ID' INTO l_wa_map-context_attr.
      l_wa_map-f4_attr = 'PRODUCT_ID'.
      APPEND l_wa_map TO: l_i_inmap.
    I had another requirement which worked in below way. Note this is for Custom data elements with value help in domain. Hope this is helpful for other folks.
    DATA:l_wa_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
    l_i_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
    l_i_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      DATA:  lv_str_index TYPE string.
      lv_str_index = iv_index.
      CONCATENATE 'table[' lv_str_index '].GC_CARD_TYPE' INTO l_wa_map-context_attr.
      CONDENSE l_wa_map-context_attr NO-GAPS.
      l_wa_map-f4_attr = 'KEY'.
      APPEND l_wa_map TO: l_i_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id        = '/GLB/CNPCR_GC_CARDTYPE'     "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_dtel
          iv_input_mapping  = l_i_inmap
          iv_output_mapping = l_i_outmap.

  • Restrict dictionnary Search help displayed values.

    Hi,
    my problem is that I have to display a search help. The search help already exists in the dictionnary and is defined using a Dictionnary Table.
    I need to display the same serach help but I have to filter the results using a range of values for one of the fields and I would like to know how to proceed.
    I know that user-exit exists in some search help, it's not the case here.
    The kind of solutions I'm looking for is :
    -  directly restrict the existing search hellp values
    -  found a way to display a search help from abap using an internal table ( cause it's easy in this case to do fill a internal table doing the sql request myself)
    - if the solutions above can't apply, doing my own search help in the dictionnary but in this case, I don't know to make this search help for values restriction.
    I specify that the screen use the screen painter, it may be important ?
    Thanks for your help
    best Regards,
    Morgan

    Hi,
    Search Hels exits is only for exceptions, so in our case, we won't use the search help exits, it is better create/change the Custome one and attach the same to the fiels, there you can give the Default value for the fileds, so there you can restrict the values
    or else, we have an option like, APPEND SEARCH HELPS, so by using this, we can restrict some field values, this Append Search helps, can be append to Standard Search helps also, so do Append the Standard Search help and add your field and give the Default values to restrict the user
    hope you get the answer
    Regards
    Sudheer

  • Problem in Search Help Exit

    Hi Experts,
    I have aproblem in Search help Exit. I have added tab to the standard search help by creating elemntry search help and assigned that search help to standard search help. I am calling function module for search help exit. I dont have any selection method.
    I am getting the epected results by using the funtion module F4UT_RESULTS_MAP. This funtion module displays all the results list. My only problem i have is when i select the value from the results list the value is not populating in to the field.
      CALL FUNCTION 'F4UT_RESULTS_MAP'
        TABLES
          shlp_tab          = shlp_tab
          record_tab        = record_tab
          source_tab        = lt_export
        CHANGING
          shlp              = shlp
          callcontrol       = callcontrol
        EXCEPTIONS
          illegal_structure = 1
          OTHERS            = 2.
      The callcontrol-step =  'RETURN'.
    how can i handle this step to populate the select record in the field.
    Thanks,
    Edited by: FRANCIS REDDY on Jun 11, 2008 5:42 PM

    Hi check my weblog: https://wiki.sdn.sap.com/wiki/x/du0

  • Problem in search help field clear

    Hi,
      I have two customised screen fields for these i created search helps through FM F4IF_INT_TABLE_VALUE_REQUEST.one is type and another one is subtype.If i select a type then corresponding subtypes will be displayed for subtype field.for this iam maintaining a table with these two fields.i have one blank value for subtype.my problem is if select a type, then i go for subtype if i choose a value it's displaying propely.After that if i select a blank value for subtype it's not replacing the value with blank.it's showing previous value.Here iam sending the code too.
    MODULE ONVALUE_REQUEST_ZZINSSUBTYPE1 INPUT.
      REFRESH: GT_ZZINSSUBTYPE,
               GT_RETURN1.
      clear ekko-zzinssubtype1.
    SELECT ZZINSTYPE ZZINSSUBTYPE FROM ZINS_DATA INTO TABLE GT_ZZINSSUBTYPE
                                          WHERE ZZINSTYPE = EKKO-ZZINSTYPE1.
      CLEAR: GT_RETURN1,
             EKKO-zzinssubtype1.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = 'EKKO-ZZINSSUBTYPE1'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = GT_ZZINSSUBTYPE
          RETURN_TAB      = GT_RETURN1
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS          = 3.
      IF SY-SUBRC EQ 0.
        clear ekko-zzinssubtype1.
        READ TABLE GT_RETURN1 INDEX 1.
        MOVE GT_RETURN1-FIELDVAL TO EKKO-ZZINSSUBTYPE1.
      ELSE.
        MESSAGE 'THERE IS NO INSURANCE SUB TYPE' TYPE 'I'.
      ENDIF.
    ENDMODULE.                  " ONVALUE_REQUEST_ZZINSSUBTYPE1  INPUT

    Hi,
    Try with this
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          retfield        = 'ZTABLE5-HEADER_NAME'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          value_org       = 'S'
    No need to move
    Cheers,
    Sasi

  • Problem  with search help and date fields

    Dear experts,
    I have two text fields and to each i assigned cacs_calendar search help.
    It works well normally but if i make text box output only then i cannot select date.
    I want that text box in its disabled form can be used to select date from cacs_calendar search help
    that i assigned.User should not provide manual input which means fiedls should be otherwise listed in grey.

    Hi Aditya
    If a I/P output field is provided an attribute as output only and though search help is provided , the values in the search help list will also be in read-only mode and u cannot select them at all, may be you can solve ur problem thru different approach.
    when a manual entry is done with wrong value which is not present in F4 help/search help list and
    execution is done SAP will by default throw error saying invalid value

  • Problem in Search help in Table control

    Dear ABAPers,
    I am using the Table control.In that i am using F4 help.the F4 Value should be based o the
    another field in the Table control.how to do this.
    Thanks & Regards,
    Ashok.

    I had a similar requirement. In this table control the values for the F4 help for the shipping conditions depend on the vendor the user selects in the first column.
    Here is my code:
    PROCESS ON VALUE-REQUEST.
      FIELD gs_pod_screen-ship_cond
        MODULE f4_ship_cond.
    MODULE f4_ship_cond INPUT.
      PERFORM f4_pod_shipping_conditions.
    ENDMODULE.                 " f4_ship_cond  INPUT
    FORM f4_pod_shipping_conditions .
      DATA: lt_return TYPE TABLE OF ddshretval,
            ls_return TYPE ddshretval,
            lv_line   TYPE i,
            lv_vendor TYPE bu_partner,
            ls_shlp   TYPE shlp_descr,
            ls_selopt TYPE ddshselopt,
            ls_if     TYPE ddshiface,
            lv_c(132) TYPE c.
    * where on the table control did we hit F4?
      GET CURSOR LINE lv_line.
      READ TABLE gt_pod_sales
           INTO gs_pod_screen
           INDEX lv_line
           TRANSPORTING vendor.
      CHECK NOT gs_pod_screen-vendor IS INITIAL.
    * the possible values always depend on the vendor => build it every time
    * get the search help parameters first
      CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
        EXPORTING
          shlpname = gc_shlp_shipcon
        IMPORTING
          shlp     = ls_shlp.
    * now we have to set restrictions based on the vendor
      CLEAR ls_selopt.
      ls_selopt-shlpname  = gc_shlp_shipcon.
      ls_selopt-shlpfield = gc_name_vendor.
      ls_selopt-sign      = gc_i.
      ls_selopt-option    = gc_eq.
      ls_selopt-low       = gs_pod_screen-vendor.
      APPEND ls_selopt TO ls_shlp-selopt.
    * set the field for the output
      READ TABLE ls_shlp-interface INTO ls_if
           WITH KEY shlpfield = gc_name_ship_cond.
      IF sy-subrc EQ 0.
        ls_if-valfield = gc_field_shipcon.
        MODIFY ls_shlp-interface FROM ls_if
               INDEX sy-tabix TRANSPORTING valfield.
      ENDIF.
    * pass in the base date and call the search help
      CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
        EXPORTING
          shlp                = ls_shlp
        TABLES
          return_values       = lt_return.
      READ TABLE lt_return INTO ls_return INDEX 1.
      IF sy-subrc EQ 0.
        gs_pod_screen-ship_cond = ls_return-fieldval.
      ELSE.
        CLEAR gs_pod_screen-ship_cond.
      ENDIF.
    * transfer the value
      MODIFY gt_pod_sales
             FROM gs_pod_screen
             INDEX lv_line
             TRANSPORTING ship_cond.
    ENDFORM.                    " f4_shipping_conditions
    Hope that helps,
    Michael

  • SAP CRM Search Help - defaulting values in search help screen

    Hi All,
    I am working on search help object in service order(Amount allocation )  BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
    Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
    Please find the attachment where I need to default the value. any help is appreciated.
    Thanks,
    Sapsar.

    At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
    Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
    1- Use a custom search help with a constant (static)
    2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
    3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback)

  • Control-break statements:value not being displayed.

    Hi all,
    Iam using the control break statement at end of ..., sum.
    value is not being displayed,instead it is showing *********.
    even in the debugging mode the value is not being displayed.
    iam passing the values into a temp IT,but still the values are not being dispalyed.
    here is the following snippet of code.
    what could be the mistake?
    Please give me the suitable answer.
    Thanks in advance.
    LOOP AT FT_ITAB INTO FT_WA.
        FTY_WA-EBELN = FT_WA-EBELN.
        FTY_WA-EBELP = FT_WA-EBELP.
        FTY_WA-NAME1 = FT_WA-NAME1.
        FTY_WA-ZTERM = FT_WA-ZTERM.
        FTY_WA-INCO1 = FT_WA-INCO1.
        FTY_WA-WAERS = FT_WA-WAERS.
        FTY_WA-SUBMI = FT_WA-SUBMI.
    AT END OF EBELN.
        SUM.
        FTY_WA-BRTWR = FT_WA-BRTWR.
        FTY_WA-KTMNG = FT_WA-KTMNG.
        FTY_WA-NETPR = FT_WA-NETPR.
       APPEND FTY_WA TO FTY_ITAB.
       CLEAR FTY_WA.
    ENDAT.

    Abhi,
    i tried as you said values are being diplayed,but they are not gettin totaled,i want the sum of values at the end of line item,I need to pass these valuse to alv.
    here is the complete code.Please tell me how should I proceed.
    TABLES:EKKO,EKPO,LFA1.
    TYPE-POOLS:SLIS.
    DATA:HEADER TYPE SLIS_T_FIELDCAT_ALV,
         WA TYPE SLIS_FIELDCAT_ALV,
         LAYOUT TYPE SLIS_LAYOUT_ALV.
    TYPES:BEGIN OF PH_TY,
            PH_EBELN LIKE EKKO-EBELN,
            PH_AEDAT LIKE EKKO-AEDAT,
            PH_LIFNR LIKE EKKO-LIFNR,
            PH_ZTERM LIKE EKKO-ZTERM,
            PH_EKORG LIKE EKKO-EKORG,
            PH_WAERS LIKE EKKO-WAERS,
            PH_SUBMI LIKE EKKO-SUBMI,
            PH_INCO1 LIKE EKKO-INCO1,
            PO_EBELN LIKE EKPO-EBELN,
            PO_EBELP LIKE EKPO-EBELP,
            PO_BRTWR LIKE EKPO-BRTWR,
            PO_KTMNG LIKE EKPO-KTMNG,
            PO_NETPR LIKE EKPO-NETPR,
          END OF PH_TY.
    TYPES:BEGIN OF PO_TY,
            PO_EBELN LIKE EKPO-EBELN,
            PO_EBELP LIKE EKPO-EBELP,
            PO_BRTWR LIKE EKPO-BRTWR,
            PO_KTMNG LIKE EKPO-KTMNG,
            PO_NETPR LIKE EKPO-NETPR,
          END OF PO_TY.
    TYPES:BEGIN OF VO_TY,
             VO_LIFNR LIKE LFA1-LIFNR,
             VO_NAME1 LIKE LFA1-LIFNR,
          END OF VO_TY.
    TYPES:BEGIN OF FI_TY,
             EBELN LIKE EKKO-EBELN,
           AEDAT LIKE EKKO-AEDAT,
           LIFNR LIKE EKKO-LIFNR,
             ZTERM LIKE EKKO-ZTERM,
           EKORG LIKE EKKO-EKORG,
             WAERS LIKE EKKO-WAERS,
             SUBMI LIKE EKKO-SUBMI,
             INCO1 LIKE EKKO-INCO1,
           EBELN_I LIKE EKPO-EBELN,
             EBELP   LIKE EKPO-EBELP,
             NAME1 LIKE LFA1-LIFNR,
             BRTWR LIKE EKPO-EBELN,
             KTMNG LIKE EKPO-EBELN,
             NETPR LIKE EKPO-EBELN,
           LIFNR1 LIKE LFA1-LIFNR,
          END OF FI_TY.
    TYPES:BEGIN OF FT_TY,
             EBELN LIKE EKKO-EBELN,
             ZTERM LIKE EKKO-ZTERM,
             WAERS LIKE EKKO-WAERS,
             SUBMI LIKE EKKO-SUBMI,
             INCO1 LIKE EKKO-INCO1,
             EBELP LIKE EKPO-EBELP,
             NAME1 LIKE LFA1-LIFNR,
             BRTWR LIKE EKPO-EBELN,
             KTMNG LIKE EKPO-EBELN,
             NETPR LIKE EKPO-EBELN,
          END OF FT_TY.
    DATA: PH_ITAB TYPE STANDARD TABLE OF PH_TY,
          PO_ITAB TYPE STANDARD TABLE OF PO_TY,
          VO_ITAB TYPE STANDARD TABLE OF VO_TY,
          FI_ITAB TYPE STANDARD TABLE OF FI_TY,
          FT_ITAB TYPE STANDARD TABLE OF FT_TY,
          FTY_ITAB TYPE STANDARD TABLE OF FT_TY,
          FTY1_ITAB TYPE STANDARD TABLE OF FT_TY.
    DATA:PH_WA LIKE LINE OF PH_ITAB,
         PO_WA LIKE LINE OF PO_ITAB,
         VO_WA LIKE LINE OF VO_ITAB,
         FI_WA LIKE LINE OF FI_ITAB,
         FT_WA LIKE LINE OF FT_ITAB,
         FT_WA1 LIKE LINE OF FT_ITAB,
         FTY_WA LIKE LINE OF FT_ITAB,
         FTY1_WA LIKE LINE OF FT_ITAB.
    SELECT A~EBELN
           A~AEDAT
           A~LIFNR
           A~ZTERM
           A~EKORG
           A~WAERS
           A~SUBMI
           A~INCO1
           B~EBELN
           B~EBELP
           B~BRTWR
           B~KTMNG
           B~NETPR
           INTO TABLE PH_ITAB FROM EKKO AS A
           INNER JOIN EKPO AS B
           ON AEBELN = BEBELN
           UP TO 25 ROWS.
    CHECK PH_ITAB[] IS NOT INITIAL.
    SELECT LIFNR
           NAME1
           FROM LFA1 INTO TABLE VO_ITAB
           FOR ALL ENTRIES IN PH_ITAB
           WHERE LIFNR = PH_ITAB-PH_LIFNR.
    CHECK VO_ITAB[] IS NOT INITIAL.
    SORT PH_ITAB BY PH_EBELN.
    SORT VO_ITAB BY VO_LIFNR.
    LOOP AT PH_ITAB INTO PH_WA.
      FI_WA-SUBMI = PH_WA-PH_SUBMI.
      FI_WA-EBELN = PH_WA-PH_EBELN.
      FI_WA-ZTERM = PH_WA-PH_ZTERM.
      FI_WA-INCO1 = PH_WA-PH_INCO1.
      FI_WA-WAERS = PH_WA-PH_WAERS.
      FI_WA-EBELP  = PH_WA-PO_EBELP.
      FI_WA-BRTWR  = PH_WA-PO_BRTWR.
      FI_WA-KTMNG  = PH_WA-PO_KTMNG.
      FI_WA-NETPR  = PH_WA-PO_NETPR.
      READ TABLE VO_ITAB INTO VO_WA WITH KEY VO_LIFNR = PH_WA-PH_LIFNR BINARY SEARCH.
      FI_WA-NAME1 = VO_WA-VO_NAME1.
      APPEND FI_WA TO FI_ITAB.
      CLEAR FI_WA.
    ENDLOOP.
    LOOP AT FI_ITAB INTO FI_WA.
        FT_WA-EBELN = FI_WA-EBELN.
        FT_WA-EBELP = FI_WA-EBELP.
        FT_WA-NAME1 = FI_WA-NAME1.
        FT_WA-ZTERM = FI_WA-ZTERM.
        FT_WA-INCO1 = FI_WA-INCO1.
        FT_WA-WAERS = FI_WA-WAERS.
        FT_WA-SUBMI = FI_WA-SUBMI.
        FT_WA-BRTWR = FI_WA-BRTWR.
        FT_WA-KTMNG = FI_WA-KTMNG.
        FT_WA-NETPR = FI_WA-NETPR.
    APPEND FT_WA TO FT_ITAB.
    CLEAR FT_WA.
    ENDLOOP.
    LOOP AT FT_ITAB INTO FT_WA.
    AT END OF EBELN.
    SUM.
        FTY_WA-EBELN = FT_WA-EBELN.
        FTY_WA-EBELP = FT_WA-EBELP.
        FTY_WA-NAME1 = FT_WA-NAME1.
        FTY_WA-ZTERM = FT_WA-ZTERM.
        FTY_WA-INCO1 = FT_WA-INCO1.
        FTY_WA-WAERS = FT_WA-WAERS.
        FTY_WA-SUBMI = FT_WA-SUBMI.
        FTY_WA-BRTWR = FT_WA-BRTWR + FTY_WA-BRTWR.
        FTY_WA-KTMNG = FT_WA-KTMNG + FTY_WA-KTMNG.
        FTY_WA-NETPR = FT_WA-NETPR + FTY_WA-KTMNG.
    ENDAT.
       APPEND FTY_WA TO FTY_ITAB.
       CLEAR FTY_WA.
    ENDLOOP.
    WA-SELTEXT_L = 'ebeln'.
    WA-COL_POS = '1'.
    WA-FIELDNAME = 'EBELN'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '15'.
    APPEND WA TO HEADER.
    CLEAR WA.
    WA-SELTEXT_L = 'SUBMI'.
    WA-COL_POS = '2'.
    WA-FIELDNAME = 'SUBMI'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '15'.
    APPEND WA TO HEADER.
    CLEAR WA.
    WA-SELTEXT_L = 'NAME1'.
    WA-COL_POS = '3'.
    WA-FIELDNAME = 'NAME1'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '15'.
    APPEND WA TO HEADER.
    CLEAR WA.
    WA-SELTEXT_L = 'ZTERM'.
    WA-COL_POS = '4'.
    WA-FIELDNAME = 'ZTERM'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '15'.
    APPEND WA TO HEADER.
    CLEAR WA.
    WA-SELTEXT_L = 'INCO1'.
    WA-COL_POS = '5'.
    WA-FIELDNAME = 'INCO1'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '15'.
    APPEND WA TO HEADER.
    CLEAR WA.
    WA-SELTEXT_L = 'WAERS'.
    WA-COL_POS = '6'.
    WA-FIELDNAME = 'WAERS'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '15'.
    APPEND WA TO HEADER.
    CLEAR WA.
    WA-SELTEXT_L = 'brtwr'.
    WA-COL_POS = '7'.
    WA-FIELDNAME = 'BRTWR'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '20'.
    APPEND WA TO HEADER.
    CLEAR WA.
    WA-SELTEXT_L = 'netpr'.
    WA-COL_POS = '8'.
    WA-FIELDNAME = 'NETPR'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '20'.
    APPEND WA TO HEADER.
    CLEAR WA.
    WA-SELTEXT_L = 'ktmng'.
    WA-COL_POS = '9'.
    WA-FIELDNAME = 'KTMNG'.
    WA-TABNAME = 'FTY_ITAB'.
    WA-OUTPUTLEN = '20'.
    APPEND WA TO HEADER.
    CLEAR WA.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        I_CALLBACK_PROGRAM = SY-REPID
        IT_FIELDCAT        = header[]
      TABLES
        T_OUTTAB           = FTY_ITAB[].
    IF SY-SUBRC = 0.
    ENDIF.

  • Search help default value in SE11

    Hello!
    I would like to set a default value to a self-made search help.
    I referred the following link in this theme:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/73/5414f0adbd11d194f200a0c929b3c3/frameset.htm
    This docu tells me, how can I enter default value to a field. But life is not so easy, because I have to EXCLUDE a constant.
    I mean default value can be a constant like this: 'A'.
    But I would like to set one like this: <>'C' to exclude all documents with the status C.
    If I test the help search in runtime it is accepting values to exclude but I would like to pre-set the value.
    Thank you for any answers
    Tamá

    Hi,
    There is no simple solution for this. If you have a view in your selection method instead of the table then you can define your requirement in the selection TAB to restrict based on your conditions.
    Without using a view the other option is to use a search help exit.
    Think view is a better and safe bet.
    Cheers
    VJ

  • Search Help default value

    Hi experts,
    I want to create a search help for the Material. In the search help I should set some default value like the language and the company. I know how can I set the default language, but how can I say that the default language could not be 'EN'.
    I need to set this one: SPRAS NE 'EN', but I don't know how.

    Hi,
    Create a help view first and include the tables ,in the selection conditions tab page restrict the data entry by adding all the condition such as EQ,NE.GT,LT AND ,OR operator as per your requirement.
    Then add this help view to the selection method in the search help created.
    eg:SPRAS NE 'EN'
    Hope this will help you!!!
    Try this It works!!
    Regards,
    Nishi.M

  • A student having problem with search help.

    Dear All,
    I'm studying from a book about search help.
    I have a field of a dictionary structure. From now on, I will call this field 'Field A'.
    In the book that I read, it is said that if Field A refers to a check table, then the contents of the check table are automatically offered as the Field A's input help. Furthermore, if the check table has a search help, then the search help is used as Field A's input help instead of the key fields of the check table. The search help is also used as input help for any field that refers to the check table I mentioned previously.
    Are the last 2 sentences true?
    Curiously, I created a dictionary structure of several fields. One of the fields refers to a check table. I also created a simple screen with fields that refer to the dictionary structure I mentioned earlier to test each field's input help. When I tried the field that refers to the check table, it is true that the contents of the check table are offered as the possible values. Later, I created a search help for the check table in a way that makes me easily notice that the search help is actually used as the input help, not the standard input help of check table contents. When I tested my screen again and tested the input help of the field that refers to the check table, the shown possible values were not changed. It still used the standard input help that shows the contents of the check table instead of my search help.
    Could I do something wrong or is the statements in my book incorrect?
    Regards,
    Haris

    Dear Suman,
    Thank you for the help. However, there are still some doubts in me. To improve tha clarity of my question, I'll rewrite it:
    Let 'CT' is the name of my check table.
    Currently there are many dictionary objects that refers to CT as their check table. Therefore, the contents of CT are offered as possible values / input help of those dictionary objects.
    Later, I created a search help.
    Let 'SH' is the name of my search help. SH is attached to the check table CT.
    Now, does this means SH is automatically used as the input help of all the dictionary objects that refer to CT as their check table,
    Or
    I still have to attach SH to all the dictionary objects that refer to CT in order to use SH as their input help?
    Regards,
    Haris
    Edited by: harissahlan on May 3, 2011 12:42 AM

  • Search Help Criteria Values

    Hi,
    I have a custom search help and I am calling the same using the MATCHCODE OBJECT in selection screen.
    Now my requirement is to pass the search help selection criteria values from the program. How to do that?
    Many thanks in advance!
    Regards,
    Benu

    Hi,
      Am not clear..
    Do you want to display your own records from the program in the F4 help?
    Thanks and regards,
    Senthil Kumar Anantham.

  • Problem on Search Help  for select-option

    Hi,
    Iam working on a search help for select-option,
    is there a way to incorporate select-all or multiple
    selection on this?
    Thanks!

    Hi catherine,
    1. Just copy paste this program.
      (It will POPULATE the SELECT-OPTION,
       based upon
       MULTIPLE Selection,
       selected by the user,
       in the  help provided thru F4IF_INT_TABLE_VALUE_REQUEST.)
    2. Eg. is for BUKRS (company code)
    3.
    REPORT ABC.
    TABLES : T001.
    DATA : ITAB LIKE TABLE OF T001 WITH HEADER LINE.
    DATA : RETURN LIKE TABLE OF DDSHRETVAL WITH HEADER LINE.
    SELECT-OPTIONS : BUKRS FOR T001-BUKRS.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR BUKRS-LOW.
    PERFORM MYPOPULATE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR BUKRS-HIGH.
    PERFORM MYPOPULATE.
    FORM MYPOPULATE.
      REFRESH ITAB.
      SELECT * FROM T001 INTO TABLE ITAB.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'BUKRS'
          dynprofield     = 'BUKRS'
          dynpprog        = sy-REPID
          dynpnr          = sy-dynnr
          multiple_choice = 'X'
          value_org       = 'S'
        TABLES
          value_tab       = ITAB
          return_tab      = return.
    IF RETURN[] IS NOT INITIAL.
    REFRESH BUKRS.
    CLEAR BUKRS.
      LOOP AT RETURN.
        BUKRS-SIGN = 'I'.
        BUKRS-OPTION = 'EQ'.
        BUKRS-LOW = RETURN-FIELDVAL.
        BUKRS-HIGH = RETURN-FIELDVAL.
        APPEND BUKRS.
      ENDLOOP.
    ENDIF.
    ENDFORM.
    regards,
    amit m.

Maybe you are looking for