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.

Similar Messages

  • 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

  • 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

  • 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.

  • With input disabled field search help is not working.

    Hi Web dynpro abap Gurus
    Please help me on below requirement.
    If i make a input field disable then the attach search help is not working. Is there is any way by which
    I can make input field disabled and search help will also work for this field.
    I really need help on this, Please help me.
    Many thanks in advance.
    Sandeep Sharma
    09971995045

    Hi
    I dont think that a field can be disabled and allows to choose data using f4 simultaneously. you can enable the field and allow the user to select whatever he/she wants.
    Then in any action like on press of save or submit button which the user will trigger after entering the values, get the value entered by the user in that perticular field and fire a query on the table/view, which you have used as selection method of your search help, it help is coming from data element then look for check table in domain. if sy-subrc comes 0 than go ahead else give error that value selected is modified.
    Thanks
    Vishal

  • How to add costume fields search help in BUPA collective Search Help

    Hi,
    I need to add a new Tab in BUPA search help in transaction BPO business partner search help i need costume fields in the new search help tab, that costume fields are already added in the business partner table BUTOOO.
    Thanks,
    Harinath.

    Hi,
    Find the name of the search help to whcih you want to add tab.You can do this by using F1 and technical setting key.After finding the name go to that search help and add your newly created search help to the existing one.After adding to the existing searchhelp write code in search help exit.

  • Definition of new search help in report RFBILA00

    Hello,
    I have created a new search help which I would like to include in the selection screen of the report RFBILA00.
    Does anyone know how to include a new search help in this report which can be used in the screen "Dynamic selections"?
    Best regards
    Peter

    Try by extending collective search helps - like SAKO for SKA1-SAKNR - by appending your custom search help.
    Then I think when you select GL Account description in chart or accounts it will call your custom search help inside it.

  • Standard field search help

    Hai ,
    I have requirement , I need  to assign a search help for a standard field , is it possible if it is possible without access key can we do that  or else is there is any method from customising side .
    Regards,
    K.Vinay Kumar

    Search Help can be implemented at following place
              At Data Dictonary level.
              At screen Attrb.
              In Flow Logic.
    if its standard filed i dont think we can do without Access key.....
    Rgds,
    Edited by: J P Pancras on Nov 26, 2009 7:23 PM

  • Multiple Field Search Help

    Hi Folks,
    I was wondering if its possible to create a Search Help, with several fields to export, assigned to a field on a dynpro and when you make the selection of the row on the search help the export fields get assigned to the other fields on the screen with same data element.
    For example:
    Search Help export fields = BELNR and BUZEI.
    Fields on Screen = BUKRS, LIFNR, BELNR, BUZEI.
    The search help is assigned to the field BELNR, but I want that when I do the selection on the search help it does insert the value of BUZEI in the screen also.
    So my question is, is this possible? If this is possible, how can I achieve this? (Really appreciate if you can give me examples)
    Thanks in advance for your help.
    Regards,
    Gilberto Li

    Hi Gill,
         After you are calling  "F4_IF_FIELD_VALUE_REQUEST",use the following logic to populate the remaining field values to the corresponding row.
    Eg:
    CALL Function "F4_IF_FIELD_VALUE_REQUEST ".
    you have to read the document no choosen by the user from  the "return" tab.
    Then read the value of the remaing fields from itab for the corresponding doc.no.
    pass it to the following internal table.
    to get the line no in which the user clicked the search help ,you have to use "GET Cursor Line " statement.and populate that line no in SY-STEPL value of the following internal table.
      REFRESH dynpfields.
      CLEAR   dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELN'.
      dynpfields-fieldvalue = '1300000'   "wa_ekpo-ebeln.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELP'.
      dynpfields-fieldvalue = '00020'   "wa_ekpo-ebelp.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = 'SAPLZZ_EKKO'    "Program name
          dynumb     = '0100'           "Screen number
        TABLES
          dynpfields = dynpfields
        EXCEPTIONS
          OTHERS     = 0.

  • Change of Search help for location field in report incident

    Hi All,
             i have added new fields Region,BSA in the report incident form .here based on the region entered in the search help the corresponding bsa have to be displayed in the search help of BSA .these are achieved customising  the search help exit FM    EHFND_SHLP_EXIT_F4_BOBF_QUERY.
    similarly based on the BSA entered in the BSA field Location field search help should filter the values and display .the isues here are
    1. the location field and search help attached are standard and they are being used in many instances .
    2.when i click on the f4 help the control doesnt stop any where in the feeder class CL_EHHSS_INC_Q_LOC_UI_FRM of the form  though i put the breakpoints .ie the event on enter locid is not getting triggered.
    my question is where can i write the code to filter the values being displayed in the location search help.
    Thanks&Regards
    Luxmi

    Hi Luxmi,
    Dictionary-based search helps are triggered from directly within the WDA layer. Therefore, there is no callback from the FPM event loop. The filter would need to be implemented as an implicit enhancement of the aforementioned search help exit function.
    Thanks,
    James

  • Regarding Search help on selection-screen field

    Hi there,
    I am working on custom tables.
    I have a requirement to maintain search pattern on a selection-screen field.
    selection-screen parameter: p_name which is company name filed from Z table.
    By giving a string like Holl* and by  pressing F4 on the field p_name it has to popup a dialogbox having list of company names starting with Holl.
    Thanks in advance.
    -Tulasi

    Hi
    Go through the link given below :
    How to create a search help for my own fields in selection screen
    F4 search help on report selection screen
    also try :
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'VKORG'
    PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_VKORG'
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'C'
    TABLES
    VALUE_TAB = T_TABLE1
    FIELD_TAB = field_tab
    RETURN_TAB = RET_TAB
    DYNPFLD_MAPPING = DYN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    With Regards
    Nikunj shah

  • Hi how to attach search help to a field

    hi all,
    how to attach search help to a field.

    hi
    <b>Attaching a search help to a field</b>
    A search help can influence the behavior of a field when the input help is called. The search help must be assigned to the field in order to do this. You have the following options for this assignment:
    Attach search help to a data element / table or structure field / screen field / check table.
    Conventionally search helps are attached to table fields or data elements. We shall see the same.
    <b>Attaching a search help to a table field</b>
    Choose the field name, click on search help tab and
    provide the name of the search help.
    A search help is attached to a field of a table or structure in the maintenance transaction for this table/structure, analogously to attaching to a table. You must assign the interface parameters of the search help to any fields of the table/structure. The search field must be assigned to an EXPORT parameter of the search help at this time.
    Attach the search help to the table field
    The search help ZSTRAVELAG_NAME is therefore directly attached to the field AGENCYNUM of table ZSTRAVELAG.
    <b>Attaching a search help to a data element</b>
    Provide the search help name and the parameter name
    under the further characteristics tab of the data element.
    If the input help of a field is defined by its data element, no further screen fields can be used in the input help.
    Also note that the input F4 help would be available wherever the data element is used.
    <b>Attaching a search help to a screen element</b>
    A search help can be directly assigned to a screen field in two ways.
    The name of the search help must be entered in the Screen Painter in the Attributes for the field in the field Search help.
    The name of the search help can be defined for selection screens in ABAP reports in the PARAMETERS or SELECT-OPTIONS statement directly following the supplement MATCHCODE OBJECT.
    However, input help is only available for this particular screen.
    In this case, the search help is only available for this screen.
    <b>IF YOU WANT TO ATTCH A SERACH HELP TO THE SCREEN FILED THIS IS THE CODE</b>
    TYPES : BEGIN OF ST_OBJID_SH,
    OTYPE TYPE HRP1000-OTYPE,
    OBJID TYPE HRP1000-OBJID,
    END OF ST_OBJID_SH.
    DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
    DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
    ************SELECTION SCREEN DESIGN************************
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    *SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
    SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
    SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    ***********END OF SELECTION SCREEN DESIGN******************
    **********VALIDATION FOR SCREEN FIELDS*********************
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    * IF S_OBJID IS NOT INITIAL.
    SELECT OTYPE OBJID FROM HRP1000
    INTO TABLE IT_OBJID_SH
    WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    * SEARCH HELP FOR QUALIFICATION.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    * DDIC_STRUCTURE = ' '
    RETFIELD = 'OBJID'
    * PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'S_OBJID'
    * STEPL = 0
    * WINDOW_TITLE =
    * VALUE = ' '
    VALUE_ORG = 'S'
    * MULTIPLE_CHOICE = ' '
    * DISPLAY = ' '
    * CALLBACK_PROGRAM = ' '
    * CALLBACK_FORM = ' '
    * MARK_TAB =
    * IMPORTING
    * USER_RESET =
    TABLES
    VALUE_TAB = IT_OBJID_SH
    * FIELD_TAB =
    * RETURN_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.
    ENDIF.
    <b>REWARD IF USEFULL</b>

  • Search Help for field on table maintenance generator ECC 6.0

    Hi All.
    To maintain search help for a custom field on table maintenance generator.
    Only through coding.
    Cannot use domain or data element or table field search helps.
    Have to code only.
    Is there any way?
    Can I do modifications/additions to screen code and achieve this?
    Regards,
    Veeranji Reddy P.

    Scenarion:
    1. table with 2 fields.
    2. table maintenance generator.
    3. Function group with one screen(0001-mentioned in table maintenance) created.
    4. For one field on table maintenance generator...where we add new entries to table, i want a search help.
    Conditions : only coding has to be done..no search helps I can use.
    Coding where and what?
    one option is to code on the screen 0001- either in PBO/PAI.
    Is it a rite place...? or any other option? But no search helps as mentiond in my first message can be used.
    Thanks and Regards,
    Veeranji Reddy P.

  • Do we have search help facility in variable selection (F4 help).

    Hi All,
    At my client place users are comfort with R/3 search help (F4), and looking for the same feature in Bex Reporting. Is it possible to have the same kind of feature in Bex reports.
    Example.
    In R/3 T-Code MB5B, user searches with material description or with some other options like sales material by general product hierarchy. Can we get the same kind of feature.
    And my client says that if we drop down for material it is taking huge amount of time to display the material numbers and description, we want to know how to reduce the time for displaying the material or customer master data text in variable selections.
    In Bex we are aware of material text is going to display as small or medium or long descriptions, when we drop down.
    Your suggestions are most valuable to us.
    Thanks in Advance.
    Akash

    Goto se11
    in  data type  :  put  KIDNO  change  mode   ... avoid the  messges  ....
    there  in theDefinition   :  put your new  Search Help   activate  it  ....
    so that   it will be attached..
    otherwise there  so many ways of attaching the serach help   for F4 ..
    Implementing search Helps 
    Search helps can be implemented in a variety of ways:
    1 .Add to Table field Added via SE11: Place cursor on desired field within database and select menu path  Goto->Search help->for field
    Effect: If field used to create screen field, search help will be called when user executes F4/drop down input help. All fields on screen will be populated if appropriate fields exist in search help and screen.
    2.Add to Table  Added via SE11: Place cursor on desired field within database and select menu path  Goto->Search help->for table
    3.Add to Data element Added via SE11: Select desired data element (double click), enter search help name and parameters in appropriate fields on screen. Will be applied to all fields associated with that data element
    4.Add to Screen field Added via screen painter: One of field attributes is search help. Will only populate the one screen field.
    5.Add to Sel. screen parameter (MATCHCODE) Added using 'matchcode' addition for parameters declaration: Search help name must be no more than 5 characters long.
    e.g. PARAMETER p_prog LIKE trdir-name MATCHCODE OBJECT zsh.
    Rewatrd  points if it is usefull ...
    Girish

Maybe you are looking for

  • Can no longer see old or saved messages in iphone mail inbox

    I updated my phones software yesterday upon request and now i can no longer see old or saved messages in my inbox.  I can see the n ew ones when they arrive, and this problem is restricted only to the inbox as i can see messages in the junk and sent

  • FILE_GET_NAME and FILE

    Hi Experts,       Can any one explain the use of Function moudule File_Get_name and the use of Transaction Code FILE.

  • Navigate Value Interaction not working with UNIONs displayed as pivot

    hi all - If created dozens of requests the uses drilling. Now I'm getting strange behavior in a certain scenario... I have a request that is a pivot view and contains UNIONs. One of the columns, employee name, is set up as 'Navigate' for the Value In

  • Very serious issue with MSI K8N Neo2-FX: need urgent help!

    Hi! I am facing the following problems: 1. 3D Mark 05 demo, COD2 single player and Half Life 2 become semi-frozen. 2. The audio loops, and audio & video go out of sync. 3.VPU Recover/Infinite loop issue DOES NOT kick in. 4. The semi frozen game respo

  • Same Execution plan But different consistent read values

    hi, my db version 10.2.0.3 os version solaris 10. i have a query which has same execution plan but with diffrenet consistent read values when optimizer_mode is RULE and CHOOSE. what may be the cause of that? thanks, Here is the query: SELECT * FROM X