F4 help for the field enhanced in IT 21 - Urgent!!!!!!!!!!!!!!!

Hi All,
I have enhanced IT 21 with a new field called "Country of citizenship" in custom include CI_0021.
For this i have assigned LAND1 as the domain and the data element. The value table for this is
T005. but the problem is i am not able to get any value in the F4 help for this field in PA30 screen
for IT 21.  Please help me in solving this issue. its very urgent.
Rupesh

Hi,
    Use the follwoing function module, you get search help. But you have to pass your table name, field names below.
data: it_itab type help_info,          
        rsmdy_ret type rsmdy.          
data: it_itab1 type table of dselc initial size 0,
        it_itab2 type table of dval initial size 0. 
it_itab-tabname = 'GMGR'.                " Table Name
  it_itab-fieldname = 'GRANT_NBR'.         " Field Name
  it_itab-MCOBJ = 'GMGRANT'.               " Name of the Search Help
  it_itab-TCODE = 'CJ20N'.                 " Transaction Code
& Function Module for calling Search Helps from DYNPRO               &
CALL FUNCTION 'DD_SHLP_CALL_FROM_DYNP'
  EXPORTING
    HELP_INFOS         = it_itab
IMPORTING
   SELECT_VALUE       = SELECT_VALUE
   RSMDY_RET          = RSMDY_RET
  TABLES
    DYNPSELECT         = it_itab1
    DYNPVALUETAB       = it_itab2
  exceptions
    others = 1   .
Pass the search help value to a temporary variable
l_temp = select_value.
Hope it helps you.
Regards,
CS.
Note: Reward points if helpful.
Edited by: CSY on Mar 19, 2008 4:51 PM

Similar Messages

  • F4 HELP  for the field

    HI all,
    in the report selection screen i have one field for which F4 HELP  doesnt exits, even in the table for that field F4 HELP is not there but the user requests me to get the F4 HELP for that field in the selection screen .
    please help how to get F4 HELP  for the field
    thanks in advance.

    The following are the options for F4 help
    Code:
    PARAMETERS: p_ccgrp LIKE rkpln-ksgru. "Cost Center Group
    *Input help for Cost Center Group
    AT SELECTION-SCREEN ON VALUE-REQUEST   FOR p_ccgrp.
    TYPES: BEGIN OF ty_ccenter_group,
    setname TYPE setnamenew,
    descript TYPE settext,
    END OF ty_ccenter_group.
    DATA: it_ccenter_group TYPE TABLE OF ty_ccenter_group.
    CLEAR it_ccenter_group.
    SELECT a~setname
    b~descript
    INTO TABLE it_ccenter_group
    FROM setheader AS a INNER JOIN
    setheadert AS b ON
    asubclass EQ bsubclass AND
    asetname EQ bsetname
    WHERE a~setclass EQ '0101' AND
    b~langu EQ sy-langu.
    CALL FUNCTION 
    'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    ret field        =  'SETNAME'
    dynpprog     =  v_repid
    dynpnr         =    SY-DYNR
    dynprofield = 'P_CCGRP'
    value_org    = 'S'
    TABLES
    value_tab   = it_ccenter_group.
    F4IF_FIELD_VALUE_REQUEST:
    This FM is used to display value help or input from ABAP dictionary. We have to pass the name of the structure or table (TABNAME) along with the field name (FIELDNAME). The selection can be returned to the specified screen field if three
    parameters DYNPNR, DYNPPROG, DYNPROFIELD are also specified or to a table if RETRN_TAB is specified.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    TABNAME = table/structure
    FIELDNAME = 'field name'
    DYNPPROG = SY-CPROG
    DYNPNR = SY-DYNR
    DYNPROFIELD = 'screen field'
    IMPORTING
    RETURN_TAB = table of type DYNPREAD
    Getting F4 help based on other  field  .
    Suppose  if there  are  2 fields on selection screen  user name and Purchasing Document  and  the case is getting values of  Purchasing Document Number  based on  user name
    Code:
    TYPES:   BEGIN OF ty_match_nast,
                    objky TYPE na_objkey,
                    END OF ty_match_nast.
    Data: it_match_nast   TYPE STANDARD TABLE OF ty_match_nast.
    Data: it_dypr_val   TYPE STANDARD TABLE OF dynpread.
    DATA: wa_dypr_val  TYPE dynpread.
    DATA: it_return TYPE STANDARD TABLE OF ddshretval.
    Case when only username value is entered.
           SELECT objky
            FROM   nast
            INTO  TABLE it_match_nast
             WHERE kappl  = c_ef
             AND   kschl = c_neu
             AND   usnam = wa_dypr_val-fieldvalue.
          ENDIF.
    *Read User name  on  selection screen field value
      CLEAR wa_dypr_val.
      REFRESH it_dypr_val.
      wa_dypr_val-fieldname = 'P_UNAME'.      "User name
      APPEND wa_dypr_val TO it_dypr_val.
    *FM to get the value
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname             = sy-repid
          dynumb             = sy-dynnr
          translate_to_upper = 'X'
        TABLES
          dynpfields         = it_dypr_val_h.
    *Pass the values to f4 table
       CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield     = u2018OBJKY'
            dynpprog    = sy-repid
            dynpnr      = sy-dynnr
            dynprofield = 'P_EBELN'
            value_org   = 'P'
         TABLES
            value_tab   = it_match_nast
            return_tab  = it_return.

  • How to create Search help for the field /SAPSLL/PRGEN-ATTR20V

    Hi ,
    I need to add a search help for the field /SAPSLL/PRGEN-ATTR20V and their is a chk table used for this field is /SAPSLL/TCOATV20.
    In this table /SAPSLL/TCOATV20-ATTRV20V is a Primary key field.
    How can I add search help for this field?
    Any suggestions will be appreciated!
    Regards,
    Kittu

    HI,
    Fixed on my own..
    I am closing this thread!
    Thank you!
    Kittu

  • How to enhance F4 help for the field KUNNR

    Hi All,
    I have a requirement to create custom table with the fields kunnr auart prodh among these fields for the field KUNNR I want to enhance the F4 functionality when user entering the data into this custom table means i should restrict only kunnr values which falls under particular customer account group. How can overwrite the existing F4 functionality of the KUNNR for this custom table?
    Thanks&Regards
    Mahesh

    Hi
    U create ur own serach help using the searchelp option is se11 and create it based on ur requirement zand make it as elementary not as collective.
    go to SE 11 and click on KUNNR and click on scrh Help puchbutton and assign ur search help and it will be assigned to the same.
    If u want use already one then DEBI, C_KUNNR A_KUNNR  
    QVDM_KUN  REKUNNRCN RE_KUNNR  are there
    these are collective serach helps and assign ur help to any of these.
    kindly let me know if u need further help.
    Thanks
    Shiva

  • F4 help for the field requisitioner in ME51n

    hi friends,
    i got a requirement to give F4 help for the filed  requisitioner in Me51N which will be in item level .
    can any one give me the exit, badi, enhancement-point for this.
    thanks and regards,
    venkat.

    not answered

  • Custom Search Help for the field Equipment number

    Hi,
    I have enchanced sales order transaction and included a field Equipment number(EQUI-EQUNR).
    Here after pressing F4(Search help) standard search help is display.
    I have a requirement wherein, the standard search help should not appear and a customised search where a specific Equipment category type values should appear in the search help.
    Ex. Field equipment  category (EQTYP).EQUNR(Equipment Number).
    Please let me know how to work for the customised search help.

    Hi,
    You need to create a customized search help.
    [Elementary Search Help - Structure|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee38446011d189700000e8322d00/content.htm]
    [Creating Elementary Search Helps|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee5f446011d189700000e8322d00/content.htm]
    Then you need to attach the search help to the screen field..
    [Assigning Search Helps to Screen Fields|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee93446011d189700000e8322d00/content.htm]
    [Hierarchy of Search Help Call|http://help.sap.com/saphelp_nw04/helpdata/EN/0b/32e9b798da11d295b800a0c929b3c3/content.htm]
    regards
    Nitesh

  • Input help for AUART field on the selection screen

    Hi,
    I need to create a Z search help for the Field AUART ( sales document type ) .
    The search help should be created in this way :
       i need to group these Document types under one name  ( say  SALO) ZCM1, ZCM2,ZDM1,ZDM2,ZRE1,ZRE2,ZS01,ZS02,ZS04.
    Then i need to group these document types under another name ( say PRJO) ZCM3,ZDM3,ZS03.
    Then i need to group both SALO and PRJO under one name 'BOTH'.
    So my new search help will be SALO
                                                 PRJO
                                                 BOTH
    If i select SALO , it should pull data from the Table for all the document types specified. Similarly for PRJO and BOTH .
    Can anyone please advice  me in this regard at the earliest
    With Best Regards
    Mamatha.

    Hi Mamtha,
       Your Scenario can be achieved be defining Search help Exit available in the search Help creation Screen
    Regards,
    Kasi S

  • F4 help for a field on table control

    Hi All,
    I have to display F4 help for a purticular field on the table control depending on one of the value in the row if the table.
    There will be multiple entries in the table control and the F4 help for the field should change according to the value of other field in the row.
    Can anybdy help me out doing this.....
    Edited by: Alvaro Tejada Galindo on Feb 21, 2008 10:46 AM

    Check the FM: HELP_VALUES_GET_WITH_TABLE_EXT
    Check the documentation for example code.
    regards,
    Ravi

  • Search Help for a Field of a Table Control

    I have designed a screen using 'Table Control' with fields like Date, BoxNo,Quantity etc. Kindly tell me how to go about providing a search help for the field 'BoxNo' of this table control so that the user is not required to scroll down the entire table/list for selecting a particular box no.
    Thanx in advance,
    Alok.

    When you go to screen painer, in screen painter attributes window, there is an atribute called search help, fill it.
    Another way is, after PAI put:
    PROCESS ON VALUE-REQUEST.
      FIELD box_no MODULE f1_help_box_no.
    And gives logic in that module using FM F4IF_INT_TABLE_VALUE_REQUEST.
    Regards.

  • Issue with F4 help for the variables for the 0CALWEEK and 0CALMONTH

    We have custom IOs which refers to 0CALWEEK and 0CALMONTH.In the report we have variables on the custom IOs.For these variables F4 help does not giving any values .I tested with  0CALWEEK also. For the 0CALWEEK also F4 help does not working..Please help me on this issue.The variable I haveused d to test with 0CALWEEK is 0S_CWEEK.
    Edited by: Sudhakar Are on Jul 6, 2010 4:17 PM

    Hi Pramod,
    I don't know how it is done in infoset. But if you have a context node and attribute for the field which is displayed in the view, create a custom dictionary search help for the field you want. Design the search help as per your requirements (what fields to be displayed etc..).
    In the context attribute of that field property, select 'Dictionary search help' in the Input help mode. Enter the name of your custom search help here.
    Thanks & Regards,
    Satheesh.

  • Providing F4 help for a field

    Dear All,
    We have a requirement like providing f4 help for the field Purchase Requisitioner (appears in Items tab of ME51N). I know that we can extend the existing search help by using search help exits but not sure whether will i be able to <b>create a new search help for a field in Std SAP Transaction.</b>
    Any inputs on how to do this will be appreciated...
    Thank you all in advance,
    Regards,
    Lakshmi

    You can add the INPUT help in an user exit provided.

  • Hi search help for my field?

    Hi friends,
                   I have got a input field in screen painter with name FORMNo.
    Formnos are stored in Zform table.
    I want to create search help for this field please can anyone share me the procedure for createing the search help for my field. Its veru veru urgent please help me with answer.
    points will awarded for helpful answer.
    THks

    hi,
    PARAMETERS: p_filnam TYPE ibipparms-path.
    For value request use the below function
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_filnam. 
    And
    you have to call one functio nmodule
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       program_name        = syst-cprog
       dynpro_number       = syst-dynnr
      FIELD_NAME          = ' '
    IMPORTING
       file_name           = p_filnam-----pass the p_filnam here
    Reward Points if usefull
    Regards
    Fareedas

  • No search help for Custom field ZZKUKLA in vk11

    Hi,
    I have added the field KUKLA - Customer classification as a pricing field in KOMP. Created an access sequence as follows: Sales Org.-> Customer Classification - material group.
    In the creation of the record in VK11 I'm not getting the search help for the ZZKUKLA field. The thing is that if I'm in change or display, the search help for the field appears and lists the possible values.
    Anyone have a clue?
    Thanks!
    /Patrik

    Dear Pratik,
    Request you to first add Customer classification field (ZZKUKLA) in KOMK structure insted of structure KOMP. Becasue it is header structure filed. After add this new filed in KOMK structure, Add this new filed in your field catelog and than create table and new access sequence. Also request you to select KOMK structure in your access sequence against this new field Customer classification ZZKUKLA.
    Regards,
    Haresh Panara

  • F4 Help for standard selection field of tcode F-02 for the field of xblnr

    Hi Experts..........!
    I need F4 help fo the field of bkpf-xblnr in that selection screen of tcode F-02  .
    please help me....!
    Regards ,
    vamsi

    Hi,
    Go for Implicit enhancement...Pls go the link..
    Re: Executing a Planning Enhancement in Debug

  • How to get the F4 help for a field in the selection screen

    Hi all,
    I am working on a report program. In the selection screen, I have the field 'Brand Node ID'(ZNODEID). The requirement is to have the F4 help for this field. This field is available in a 'Z' table ZNODETAB. There is no Value table maintained for the corresponding data element. So, without disturbing the table data element/domain, I should get the F4 help in the selection screen of the report. In the F4 help, data should be fetched from the table ZNODETAB and the field is ZNODEID. Is there any way to do this.
    By searching the function modules, I could find that, we can use the FM F4IF_INT_TABLE_VALUE_REQUEST. But, I am not Sure. Can someone tell me the parameters to be passed to this function module to get the F4 help and the procedure to follow. S_NODEID is the select option used in the program. Please help me in this regard. Thanks in advance.
    Thanks & Regards,
    Paddu.

    look at this code and try
    select-options : S_NODEID for ZNODETAB-ZNODEID.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-LOW'.
    at selection-screen on value-request for s_nodeid-low
    perform f4_nodeid using 'S_NODEID-HIGH'.
    end-of-selection.
    FORM f4_nodeid  USING    p_field.
      declare it_node.
    select znodeid from ZNODETAB into table it_node.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ZNODEID'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = p_field
          value           = space
          value_org       = 'S'
          display         = 'F'
        TABLES
          value_tab       = it_node
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
    endform

Maybe you are looking for