Using Search Help with ALV and Dynamic context node

The topic subject already describes my situation.
I have to create, populate and remove context nodes at runtime, and bind them to an ALV, to let user display the data or modify the data. The nodes I create are always typed with a table name, but the table name is of course, dynamic.
This is all working: what's not working is help for entries inside the ALV; since the table has foreign keys and domains with check tables or fixed values, I expected that search helps were detected and managed by the framework.
Instead, no help search is displayed except the input help based on data-type of the one "Date" input fields.
I think I have to work on the dynamic node creation, and not on the ALV itself, since the latter only takes the node/attributes information, but i could be wrong. I tried with both the two following codings:
  CALL METHOD lo_nd_info_root->add_new_child_node
    EXPORTING
      static_element_type          = vs_tabname
      name                         = 'SAMPLE_NODE_NAME'
*    is_mandatory                 = abap_false
*    is_mandatory_selection       = abap_false
     is_multiple                  = abap_true
     is_multiple_selection        = abap_false
*    is_singleton                 = abap_false
      is_initialize_lead_selection = abap_false
      is_static                    = abap_false
    RECEIVING
      child_node_info              = lo_nd_info_data .
cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
      parent_info = lo_nd_info_root
      node_name = 'SAMPLE_NODE_NAME'
      structure_name = vs_tabname
      is_multiple = abap_true ).
The result is the same...is there any way to let the ALV know what search helps it has to use, and doesn't force me to manually build a VALUE_SET to be bound on the single attributes? There are many tables, with many fields, and maintaining this solution would be very costly.

I have checked with method GET_ATTRIBUTE_VALUEHELP_TYPE of interface IF_WD_CONTEXT_NODE_INFO, on an attribute which i know to have a search help (Foreign key of a check table).
The method returns 'N', that is the constant IF_WD_VALUE_HELP_HANDLER~CO_VH_TYPE_NO_HELP. So, the framework was not able to find a suitable search help.
Using method GET_ATTRIBUTE_VALUE_HELP of the same interface, on the same attribute, returns me '111', which is constant C_VALUE_HELP_MODE-AUTOMATIC.
Therefore, the WD framework knows it has to automatically detect a value help, but fails to find one.
Also, this means in my opinion that the ALV and the dynamic external mapping are not the culprits: since node creation, no help is detected for any attribute but the date. Honestly, I don't have a clue on what's happening.

Similar Messages

  • Help with ecomerce and dynamic table link

    I am new to dynamic pages. I am trying to build or use a
    template to display my tables.
    Here is an example of what I want to do.
    http://www.snaz75.com/ if you
    click on any of the links on the left side, it brings up the
    products on the right. I know this is done through tables. I have
    the website built and the tables built, but don't know how to get
    the product to display dynamically without manually adding each
    item.
    I am using yahoo e-commerce and have downloaded their table
    formats. I have all the tables created and uploaded to my hosting.
    I am trying to use these tables to display my product in a simple
    way. Yahoo has a site builder where you can build tables and upload
    them and your product is displayed, but I am extremely limited on
    the actual design of their website builder. I want to use my
    website, but do essentially the same thing. How can I get the built
    tables display my products. I have 1000's of products and I know
    there must be a way display the item through a table using
    template.. I can't imagine someone adding one item at a time to
    their website. Any idea's where to start.

    I have checked with method GET_ATTRIBUTE_VALUEHELP_TYPE of interface IF_WD_CONTEXT_NODE_INFO, on an attribute which i know to have a search help (Foreign key of a check table).
    The method returns 'N', that is the constant IF_WD_VALUE_HELP_HANDLER~CO_VH_TYPE_NO_HELP. So, the framework was not able to find a suitable search help.
    Using method GET_ATTRIBUTE_VALUE_HELP of the same interface, on the same attribute, returns me '111', which is constant C_VALUE_HELP_MODE-AUTOMATIC.
    Therefore, the WD framework knows it has to automatically detect a value help, but fails to find one.
    Also, this means in my opinion that the ALV and the dynamic external mapping are not the culprits: since node creation, no help is detected for any attribute but the date. Honestly, I don't have a clue on what's happening.

  • Adding dynamic context node

    Hello,
    I having problems with creating a dynamic context node.
    How can i add a new node to the context on runtime and not on design time.
    Best Regards,
    Smadar.

    Hi,
    IWDNodeInfo nodeinfo=wdContext.getNodeInfo();
    /* This will add a ValueNode */
    IWDNodeInfo customerNode=nodeinfo.addChild("Customer",null,true,true,true,false,false,true,null,null,null);
    /* This will add  a Attribute to the above Node */
    IWDAttributeInfo custAttr=customerNode.addAttribute("AttribName","com.sap.dictionary.string");
    Regards, Anilkumar

  • Is it possible to make a search help with dynamic  selection table?

    Hi Experts,
    Is it possible to create search helps with dynamic seletion tables means
    i dont know the selection table names at the time of creation of search help.
    These tables will be determined at runtime.
    if yes, Please give an idea how to create and pass the table names at runtime.
    Thanks
    Yogesh Gupta

    Hi Yogesh,
    Create and fill your itab and show it with FM F4IF_INT_TABLE_VALUE_REQUEST
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'field to return from itab'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = 'field on your screen to be filled'
          stepl           = sy-stepl
          window_title    = 'some text'
          value_org       = 'S'
        TABLES
          value_tab       = itab
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
    Darley

  • To access a dynamic context node defined in a Used Component

    Hi Gurus,
    I need your help with something.
    I have a dynamic context node in ComponentA. I want it in Component B too.
    Component B uses Component A, but I am not able to get access to the context node.
    Is it possible to do this? Any suggestions how to proceed.
    PS: I am trying to do a dynamic mapping. The initial scenario was here, Set data into Model Node on Navigating from a View
    Thanks in advance,
    Anjana R.
    Message was edited by:
            Anjana Raghav

    Hi Gurus,
    Its working now. Earlier, the code was something like this....
    IWDNodeInfo compNode = wdThis.wdGet<i>Comp</i>Interface().wdGetAPI().getContext().getRootNodeInfo().getChild(nodeNm);
    viewNodeInfo.setMapping(compNode,true);
    and was trying to map it using
    iewNodeInfo.addMappedAttribute("order",".<i>Comp</i>."+ nodeNm + ".order");     
    Now, I am mapping like this.
    viewNodeInfo.addMappedAttribute("order","order");
    Thanks,
    Anjana R.

  • F4 Search Help in ALV output

    hi experts,
            I have the Batch field as an editable field in ALV list display. I want to Give an F4 for this Field. I have given the reference field and reference table as 'MCHA'. I am getting the F4 values also. But i want like an search help dialog box instead of a whole list of values  as i get in VL02n when we f4 for batch in a modal kind of a box.Is there any way i could do it. I am Using Reuse_alv_list_display.Is there any way i could do it.
    With thanks in advance,
    Syed Ibrahim
    Edited by: SYED_ibbu on Jun 21, 2011 11:26 AM

    Hi.,
    I think using search help exit at domain leven you can get that.,
    also check  vijay's reply in this thread: [Custom F4 in ALV|Assigning F4 help in  REUSE_ALV_GRID_DISPLAY;
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Error creating dynamic context node in Webdynpro for ABAP. Plesae help!

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition

    Ok, I think I found a bug... It seems for adobe forms in WD4A, the root context node must be 1-1 and you must nest the 1-n node within that... Not sure why, but it worked. So in my case my context would look like this:
    FOO_NODE (1-1)
         Widget (1-N)
              -Widget_info (1-1)
                   *Name
                   *Sku
                   *Description
              -Widget_plant (1-M)
                   *Plant_Code
                   *Plant_State
                   *Plant_City
              -Widget_pic (1-1)
                   *Picture

  • How to use search help in layout of se51

    how to use search help in layout of se51.

    Hi,
      One of the important features of screens is that they can provide users with lists of possible entries for a field. There are three techniques that you can use to create and display input help:
    Definition in the ABAP Dictionary
    In the ABAP Dictionary, you can link search helps to fields. When you create screen fields with reference to ABAP Dictionary fields, the corresponding search helps are then automatically available. If a field has no search help, the ABAP Dictionary still offers the contents of a check table, the fixed values of the underlying domain, or static calendar or clock help.
    Definition on a screen
    You can use the input checks of the screen flow logic, or link search helps from the ABAP Dictionary to individual screen fields.
    Definition in dialog modules
    You can call ABAP dialog modules in the POV event of the screen flow logic and program your own input help.
    These three techniques are listed in order of ascending priority. If you use more than one technique at the same time, the POV module calls override any definition on the screen, which, in turn, overrides the link from the ABAP Dictionary.
    However, the order of preference for these techniques should be the order listed above. You should, wherever possible, use a search help from the ABAP Dictionary, and only use dialog modules when there is really no alternative. In particular, you should consider using a search help exit to enhance a search help before writing your own dialog modules.
    Input help from ABAP dictoinary
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    Field Help on the Screen
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaa6135c111d1829f0000e829fbfe/content.htm
    Field Help in Dialog Modules.
    http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
    Regards,
    Vara

  • Search help with programming

    Hai,
    Can any one give example for search help with Programming?
    I hope we can create search help with help of coding.
    With Regards,Jaheer.

    yes u can create search help by using match code in programs
    for eq
    go with abap editor se 38
    provide the name of program
    parameters : vendor like lfa1-lifnr matchcode object yzob.
    double click on yzob
    provide description for search help
    provide selection method
    provide search help parameter
    enable check box for import and export
    provide lpos
               spos
    save check activate
    press f4 for check and import values i.e it will display a records list available in database table
    rewards points please

  • Using SEARCH HELP exit in dependency of other parameters from my dynpro.

    Hello experts,
    how can I access the values of input fields (parameters or select-options) from my dynpro?
    I need to build a F4-help in dependencie of another field on the screen with help of the F4 - exit. I think this should be possible.
    If I do test the search help with SE11 it works fine. All parameters from screen are given in SHLP_TAB[1]-INTERFACE (the parameter of my f4-help-exit)
    The short example explains the problem more detailed.
    REPORT  test_dynpro_events_ck.
    PARAMETERS ea1 TYPE my_char_10_ck DEFAULT 'here I push F4' MATCHCODE OBJECT MY_F4_HELP_CK.
    PARAMETERS ea2 TYPE my_char_10_ck DEFAULT 'this is the value I need to generate the F4 help of field ea1'.
    MY_F4_HELP_CK:
    import: EA1 and EA2
    export EA1
    Many Thanks
    Christian

    Thank you so far.
    But how are these parameters passed to the search help without using global set/get parameters or DYNPRO_READ_VALUE? Why can I put these parameters to my search help as input parameters ... seems to be useless if I use search help on Selection-Dynpros?
    Is there not a better way to deal with search-helps which are dependent from other input fields? Btw. I need the value without passing PAI and PBO.
    In my Example:
    doing some text inputs in field EA2 -> hit search help on EA1 -> need a selection dialog in dependency of the input in EA2. This can not be that complicated?
    Many thanks
    Christian

  • Methods used in cl_gui_custom_container for ALV and for what purpose

    Methods used in cl_gui_custom_container for ALV and for what purpose and i want the exact senario for the usage of those method?
    2. What events are used in ALV?
    I anyone help me please,
    Points will be awarded.
    Thank you & Regards,
    Jagrut BharatKumar Shukla

    hey,
    look at this sample code....
    TABLES: SFLIGHT.
    G L O B A L   I N T E R N  A L   T A B L E S
    DATA: GI_SFLIGHT TYPE STANDARD TABLE OF SFLIGHT.
    G L O B A L   D A T A
    DATA: OKCODE LIKE SY-UCOMM,
          G_WA_SFLIGHT LIKE SFLIGHT.
    Declare reference variables to the ALV grid and the container
    DATA:
      GO_GRID             TYPE REF TO CL_GUI_ALV_GRID,
      GO_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    S T A R T - O F - S E L E C T I O N.
    START-OF-SELECTION.
      SET SCREEN '0100'.
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      CASE OKCODE.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE STATUS_0100 OUTPUT.
    Create objects
      IF GO_CUSTOM_CONTAINER IS INITIAL.
        CREATE OBJECT GO_CUSTOM_CONTAINER
          EXPORTING CONTAINER_NAME = 'ALV_CONTAINER'.
        CREATE OBJECT GO_GRID
          EXPORTING
            I_PARENT = GO_CUSTOM_CONTAINER.
        PERFORM LOAD_DATA_INTO_GRID.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Form  load_data_into_grid
    FORM LOAD_DATA_INTO_GRID.
    Read data from table SFLIGHT
      SELECT *
        FROM SFLIGHT
        INTO TABLE GI_SFLIGHT.
    Load data into the grid and display them
      CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          I_STRUCTURE_NAME = 'SFLIGHT'
        CHANGING
          IT_OUTTAB        = GI_SFLIGHT.
    ENDFORM.                    " load_data_into_grid
    <b>* the Events are</b>
    ITEM_DATA_EXPAND, REPREP_SEL_MODIFY, CALLER_EXIT, USER_COMMAND, TOP_OF_PAGE, DATA_CHANGED, TOP_OF_COVERPAGE, END_OF_COVERPAGE, FOREIGN_TOP_OF_PAGE, FOREIGN_END_OF_PAGE, PF_STATUS_SET, LIST_MODIFY, TOP_OF_LIST, END_OF_PAGE, END_OF_LIST,AFTER_LINE_OUTPUT, BEFORE_LINE_OUTPUT, SUBTOTAL_TEXT, CONTEXT_MENU.
    <b>the methods used with the class CL_GUI_CUSTOM_CONTAINER are as follows......</b>
    IF_CACHED_PROPGET_NEXT_PROP, IF_CACHED_PROPSEEK_FIRST_PROP, IF_CACHED_PROP~SET_PROP, IS_VALID, FREE, GET_PROPERTY, SET_PROPERTY, CALL_METHOD, ASSIGN_PROPERTY, CALL_METHOD_RESULT_GUI_OBJECT, GET_PROPERTY_GUI_OBJECT, IS_CACHED_PROP, ADD_CACHE_PROP, REMOVE_CACHE_PROP, GET_CACHE_PROP, SET_CACHE_PROP, IS_CACHE_VALID, INVALIDATE_CACHE, GET_FOCUS, SET_FOCUS, SET_NAME, GET_NAME, GET_ENABLE, SET_ENABLE, DISPATCH, FINALIZE, GET_ADJUST_DESIGN, GET_GRID_HANDLE, GET_GRID_STEP, GET_HEIGHT, GET_LEFT, GET_METRIC, GET_MODE, GET_REGISTERED_EVENTS, GET_TOP, GET_VISIBLE, GET_WIDTH, IS_ALIVE, REG_EVENT_LEFT_CLICK_DESIGN, REG_EVENT_LEFT_CLICK_RUN_MODE, REG_EVENT_MOVE_CONTROL, REG_EVENT_RIGHT_CLICK, REG_EVENT_SIZE_CONTROL, SET_ADJUST_DESIGN, SET_ALIGNMENT, SET_GRID_HANDLE, SET_GRID_STEP, SET_HEIGHT, SET_LEFT, SET_METRIC, SET_MODE, SET_POSITION, SET_REGISTERED_EVENTS, SET_TOP, SET_VISIBLE, SET_WIDTH, GET_PATH, CONTROL_REGISTER_EVENT, CONTROL_UNREGISTER_EVENT, GET_EVENT_PARAMETER, GET_REGISTERED_EVENTS_EX, GET_WINDOW_PROPERTY, INIT_CONTROL, INIT_CONTROL_WITH_HWND, REGISTER_CACHED_PROPERTY, REGISTER_CACHED_W_PROPERTY, SET_REGISTERED_EVENTS_EX, SET_WINDOW_PROPERTY, UNREGISTER_CACHED_PROPERTY, UNREGISTER_CACHED_W_PROPERTY, GET_CONTAINER_TYPE, RESIZE, GET_INNER_WIDTH, LINK, GET_LINK_INFO, GET_INNER_HEIGHT, SET_MODE_FOR_ALL, GET_DYNPRO_CONTAINER, GET_FRAME_CONTAINER, GET_CHILD, ADD_CHILD, REMOVE_CHILD, REMOVE_ALL_CHILDREN, CONSTRUCTOR.

  • Only Using Search Help Value When Entry Value

    Hi Experts,
    I'm using search help at my screen field for entry value. But I dont want to entry value with using hand/finger/manuel.
    I want to use only search help at my field.
    Is this possible?
    Best regards.

    Thanks All for answers.
    I mixed your solution and I find new way for my issue.
    I did like this.
    I added Input/Output Field at screen and I did input properties false.
    And I added button near the I/O Field.
    I wrote at PAI - User_Command for button on click.
    May there is different way but so my solution.
    My draft code below.
        WHEN '&BTN_PREPARE'.
       DATA : BEGIN OF ITAB OCCURS 0,
          KTANIM TYPE CHAR9,
          IPTPKOD LIKE ZKZN_004-IPTPKOD,
          KYPTYPEID LIKE ZKZN_004-KYPTYPEID,
          FIILOLS LIKE ZKZN_004-FIILOLS,
    END OF ITAB.
          CLEAR : ITAB.
          REFRESH : ITAB.
          SELECT IPTPKOD KYPTYPEID FIILOLS
          INTO CORRESPONDING FIELDS OF TABLE ITAB
          FROM ZKZN_004
          WHERE SILINDI = ''.
          LOOP AT ITAB.
            CONCATENATE ITAB-IPTPKOD ITAB-KYPTYPEID
            INTO ITAB-KTANIM SEPARATED BY SPACE.
            CONCATENATE ITAB-KTANIM ITAB-FIILOLS
            INTO ITAB-KTANIM.
            MODIFY ITAB.
          ENDLOOP.
          DATA : DFIES LIKE DFIES OCCURS 0 WITH HEADER LINE,
                 DDSHRETVAL LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE,
                 DSELC LIKE DSELC OCCURS 0 WITH HEADER LINE.
          CLEAR   : DFIES, DDSHRETVAL, DSELC.
          REFRESH : DFIES, DDSHRETVAL, DSELC.
          CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
            EXPORTING
              RETFIELD        = 'KTANIM'
              VALUE_ORG       = 'S'
            TABLES
              VALUE_TAB      = ITAB
              FIELD_TAB         = DFIES
              RETURN_TAB      = DDSHRETVAL
              DYNPFLD_MAPPING = DSELC.
          BREAK MELIHM.
          READ TABLE DDSHRETVAL INDEX 1.
          IF SY-SUBRC = 0.
            ZKZN_DATA01_S01-IPRJSCR01 = DDSHRETVAL-FIELDVAL.
          ENDIF.

  • Hi Guru Search Help with Restriction

    Hi guru,
    What is my requirment . I created elementry  search in se11 and i used this search in dialog program. Its shows all company code and commidity code.
    But boss I want restrict this search help only for one Company Code (GB).It should show company code and commidity code only GB comapny Code.
    Where I can restrict this search help.
    Please give me possible help.
    Point will rewards.
    Thanks&Regards
    Ramana

    Hi Mr. Kumar,
                    I'll give one examle for which I had done the same scenerio for PP module for version selection...Please find the eg. code. In this scenerio I had restricted only 4 versions....
    I'll give you code from select option till at selection-screen on value request...
    In this I have also done the validation part...
    First create a elementary search help with required fields... As per my scenario I had created two fields VERSB & VBTXT. In my scenario I have given restriction on VERSB....
    then the same search help you have to use in the program to pass to the parameters..
    ****Select Options....
    SELECT-OPTIONS: S_VERNUM FOR T459V-VERSB OBLIGATORY NO-EXTENSION NO INTERVALS.
    *****At Selection-Screen on value request....
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_VERNUM-LOW.
      PERFORM F4HELP.
    ******Form F4HELP....
    FORM F4HELP .
      REFRESH IT_DDSHSELOPS.
      CLEAR   WA_DDSHSELOPT.
      WA_DDSHSELOPT-SHLPNAME = 'ZVERSB'.
      WA_DDSHSELOPT-SHLPFIELD = 'VERSB'.
      WA_DDSHSELOPT-SIGN = 'I'.
      WA_DDSHSELOPT-OPTION = 'EQ'.
      WA_DDSHSELOPT-LOW = '04'.
      APPEND WA_DDSHSELOPT TO IT_DDSHSELOPS.
      WA_DDSHSELOPT-LOW = 'TC'.
      APPEND  WA_DDSHSELOPT TO IT_DDSHSELOPS.
      WA_DDSHSELOPT-LOW = 'TE'.
      APPEND  WA_DDSHSELOPT TO IT_DDSHSELOPS.
      WA_DDSHSELOPT-LOW = 'TL'.
      APPEND  WA_DDSHSELOPT TO IT_DDSHSELOPS.
      CALL FUNCTION 'F4_FIELD_ON_VALUE_REQUEST'
        EXPORTING
          TABNAME          = 'T459V'
          FIELDNAME        = 'VERSB'
          SEARCHHELP       = 'ZVERSB'
          DYNPPROG         = SY-REPID
          DYNPNR           = SY-DYNNR
          DYNPROFIELD      = 'VERSB'
          SELECTION_SCREEN = 'X'
          CALLBACK_SELOPT  = IT_DDSHSELOPS.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.
    *******At selection Screen on above select option field...for validation
    AT SELECTION-SCREEN ON S_VERNUM.
      PERFORM VALIDATEVERSIONS.
    *******Form VALIDATEVERSIONS
    FORM VALIDATEVERSIONS .
      REFRESH R_VERNUM.
      CLEAR R_VERNUM.
      R_VERNUM-SIGN = 'I'.
      R_VERNUM-OPTION = 'EQ'.
      R_VERNUM-LOW = '04'.
      APPEND R_VERNUM.
      R_VERNUM-LOW = 'TC'.
      APPEND R_VERNUM.
      R_VERNUM-LOW = 'TE'.
      APPEND R_VERNUM.
      R_VERNUM-LOW = 'TL'.
      APPEND R_VERNUM.
      IF NOT S_VERNUM-LOW IN R_VERNUM.
        CALL FUNCTION 'C14Z_MESSAGES_SHOW_AS_POPUP'
          EXPORTING
            I_MSGID = 'ZPP'
            I_MSGTY = 'E'
            I_MSGNO = '015'
            I_MSGV1 = 'Please Select'
            I_MSGV2 = 'One of these'
            I_MSGV3 = 'Versions'
            I_MSGV4 = ': 04, TC, TE, TL.'.
        CALL SCREEN 1000.
      ENDIF.
    ENDFORM.                    " VALIDATEVERSIONS
    This code will help you to work on your query...
    Please reward a point . I am sure this will help you....
    Cheers.....
    Sagun Desai....

  • Full text Search Issue with Boolean AND Search in 2012 server

    We are trying to use CONTAINSTABLE function with BOOLEAN AND search, but unable to get expected results in sql server 2012.
     If use BOOLEAN OR search we get expected results.
    Full text indexed table is having more than 10 millions of records. we checked index fragmentation level is 82%. then we done Rebuild. Even after rebuild, unable to fetch expected results with AND SEARCH.
    The below query is used
    SELECT ft.* FROM FT_ROWS ft
    INNER JOIN CONTAINSTABLE(FT_ROWS, summary,
    ' "manifest" AND "version" ') AS key_tbl
    ON ft.log_id = key_tbl.[key]
    if we remove ( "manifest" AND ) from the search string, then getting some results but AND search is not returning expected results.
    Please help any suggestion
    kkprasad

    The explanation that is closest at hand is that you have no documents with both of these words in them.
    An alternate explanation is that you have accidently entered "manitest" into your stoplist.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Search help with new selection within if more than 500 entries

    Dear all,
    I created a new search help and this works fine ... If I compare my search help with a default search help from SAP,  I have 1 small feature that not seems to work ... With the default one, it is possible to make a new selection within the search help by clicking on the arrow down :
    If I look at my search help, I don't have the possibility to make a new selection :
    Does anyone how this can be done ?
    Thanks in advance !
    Greetz,
    Kurt.

    HI,
    Here are the general steps to get you started.
    1. Identify the search help being used (on the ship-to-party field, F1 then Tech Info). I believe you want the collective search help SD_DEBI.
    2. Create your own search help with the fields you want to use with SE11, like 'ZDEBI' as an example.
    3. Append 'ZDEBI' to SD_DEBI. (Goto->Append Search Help).
    4. Clean things up by "Hiding" the old search help. In the 'Included Search Help' tab of the collective search help SD_DEBI, there is a check box that you can tick to hide included search helps.

Maybe you are looking for

  • EXCEPTION EXCEL ERROR 0X800A03EC ON SAVE.AS COMMAND

    i am facing a problem on save as command. i m currently working on a project in which i take the data from the the database and row by row i print it on the excel file . but on saving it generates the error code 0x800a03ec .. dont know why .. the sim

  • My i-pod nano did not come with the CD to install software.

    My i-pod Nano did not come with a CD to install the software to computer. How do I install software without CD?

  • Forcing CD to run and open Software/program on Mac OS X Lion???

    I have a software that will only run on Snow Leopard or earlier Leopard. (Biblical Hebrew by Hebrew World/Yodea). Is there anyway to force the CD program to open on Lion? Also, will this problem be fixed with Mountain Lion? Thank you..

  • Configure CRS2008 to using AD and Kerberos with Java application servers.

    Hi All, I have configure CRS2008 to using AD and Kerberos with Java application servers. Domain Controller is installed on W2K3 Server. In addition, CRS2008 is installed on another W2k3 Server. I have create service account in domain controller: CMSA

  • Csv file as input?

    Hello, I have and csv file with voltages. Now I would like to read this CSV file with an LabView programme and send the voltages to an analog output of a DAQ Card. (Each microsecond one Voltage value) Is that possible? regards doctorbluex