Error in Search help

Hi Sap Gurus,
     I have a problem regarding Search help of a field in Selection Screen of one program where the system is giving Short dump & showing the message " SAP Paging Overflow When Storing Data in ABAP/4 Memory ".....
    How can i solve this problem.Thanx in Advance...
Regards,
Bipasha..

Have you done the coding in the following way:
*& Report  ZTEST_SOURAV15
REPORT ZTEST_SOURAV15 .
TABLES: mara, marc.
PARAMETERS: matnr TYPE mara-matnr.
PARAMETERS: werks TYPE marc-werks.
TYPES : BEGIN OF ty_marc ,
werks TYPE marc-werks ,
END OF ty_marc.
DATA : it_marc TYPE STANDARD TABLE OF ty_marc.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR werks.
  DATA: l_i_dynpfields TYPE STANDARD TABLE OF dynpread INITIAL SIZE 0,
        l_wa_dynpfields  TYPE dynpread.
  l_wa_dynpfields-fieldname = 'MATNR'.
  APPEND l_wa_dynpfields TO l_i_dynpfields.
  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname                         = sy-repid
      dynumb                         = sy-dynnr
*   TRANSLATE_TO_UPPER             = ' '
*   REQUEST                        = ' '
*   PERFORM_CONVERSION_EXITS       = ' '
*   PERFORM_INPUT_CONVERSION       = ' '
*   DETERMINE_LOOP_INDEX           = ' '
    TABLES
      dynpfields                     = l_i_dynpfields
   EXCEPTIONS
     invalid_abapworkarea           = 1
     invalid_dynprofield            = 2
     invalid_dynproname             = 3
     invalid_dynpronummer           = 4
     invalid_request                = 5
     no_fielddescription            = 6
     invalid_parameter              = 7
     undefind_error                 = 8
     double_conversion              = 9
     stepl_not_found                = 10
     OTHERS                         = 11
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  READ TABLE l_i_dynpfields INTO l_wa_dynpfields
  WITH KEY fieldname = 'MATNR'.
  IF sy-subrc = 0.
    DATA l_matnr TYPE matnr.
    l_matnr = l_wa_dynpfields-fieldvalue.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
      EXPORTING
        input        = l_matnr
      IMPORTING
        output       = l_matnr
      EXCEPTIONS
        length_error = 1
        OTHERS       = 2.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    SELECT werks FROM marc INTO TABLE it_marc WHERE matnr EQ l_matnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield    = 'WERKS'
        dynpprog    = sy-repid
        dynpnr      = sy-dynnr
        dynprofield = 'P_WERKS'
        value_org   = 'S'
      TABLES
        value_tab   = it_marc.
  ENDIF.
START-OF-SELECTION.
  WRITE: / ' this is for testing'.

Similar Messages

  • Date format error in Search help

    Hi,
    I am using standard search help in my ABAP webdynpro application.It is related to payscale group (field P0008-TRFGR). It works fine if I do not specify any date but gives a error message "Enter date in the format __.__.____ "   irrespective of the date format I use to enter.
    Any pointers ?
    Regards
    Deepak

    Hi Deepak,
    Try following things:
    1) check separator / instead of .
    2) date in format mm.dd.yyyy or dd.mm.yyyy
    3) enter date through search help
    4) enter 0 before one digit month or day i.e. 02/02/2009 instead of 2/2/2009
    Regards,
    Saket.

  • Error in search help AEN_TREX_SIMPLE and AEN_TREX_ADVANCED

    Hi.
    i've created and activated the index for business object ECM in SES_ADMIN.
    It was fully indexed.
    When i search on TREX side it seems that the index is okay.
    But when i try to search in CC03 with the TREX search help i get no results from TREX.
    The report COM_SE_SEARCH_TEST shows me results, but the report COM_SE_SEARCH_TEST
    show me nothing.
    Am i missing something ?
    Thanks.
    Sebastian

    The difference is that the test program COM_SE_SEARCH_IIF_TEST uses the official SES search interface method CL_COM_SE_SEARCH_IIF=>SEARCH_OBJECTS, whereas the test program COM_SE_SEARCH_TEST directly accesses the native TREX search interface, function module TREX_EXT_SEARCH_DOCUMENTS (which you are not allowed to use in customer development).
    Therefore COM_SE_SEARCH_TEST does not include the authorization check, whereas
    CL_COM_SE_SEARCH_IIF=>SEARCH_OBJECTS passes the raw search result from TREX to the object-specific authorization check routine. This check routine has to be implemented by the responsible application using interface method IF_COM_SE_BUSOBJ~CHECK_AUTHORIZATION.
    The implementing class can be found/set in customizing:
    Transaction SES_ADMIN, menu path: Goto -> Customizing -> Business Objects and Indexes
    On the screen "Display View ..." double-click in the tree to the left on: Settings for Business Objects
    So I guess:
    - either the obect-specific implementation of ~CHECK_AUTHORIZATION is erroneous
    - or the logon user is just not authorized
    For more and general information you should check the SAP notes
    1254901 - SES for customer projects on TREX search
    1345777 - FAQs Search Engine Service (SES)
    Enjoy! - Klaus

  • Error in search help button at selection-screen

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

    closed because of no answer.

  • Error while creating search help

    Hi,
    I am getting an error "Elementary search help without hit list is meaningless" while creating a search help,.what could be the problem?
    Thanks,
    Rakesh.

    Elementary search help without hit list is meaningless
    Diagnosis
    The flag that they should appear in the hit list is not set for any of the parameters in the elementary search help in question. An elementary search help without a hit list is meaningless because it is not possible to select a value from the set of possible values in the input help process which it describes.
    System Response
    The action is terminated abnormally.
    Procedure
    In the maintenance screen for the search help, assign at least one parameter a position in the hit list.

  • 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 Error while Publishing Query in Explorer

    Hi All,
    We have upgraded BW from version 3.1 to BI 7.0. SP level is 15. When we publish query in Explorer, selection screen appears, we get error in selecting variable(Fiscal Year/Period) entries from search help. After selecting a value from a list of possible entries, the format is changed on the screen.
    For example:
    If we select 002.2002 for variable FiscalYear/Period, we get
    002 02 i.e. it is truncating 20 from 2002.
    Now, we have to manually enter the values.
    While executing query in BEx analyser, no such error occurs.
    What will be the solution?
    Regards,

    887188 wrote:
    Hi,
    I have added the below query in the EBS dataset to retrieve only unique applications as APPLICATION_NAME column has some duplicate data. I imported data to DB.
    select distinct(APPLICATION_NAME) as NAME from APPLICATIONIs there any table in OIM schema which you have named APPLICATION? AFAIK, applications from EBS are imported into Lookups in OIM and you will have to query lookup to get the Application name in OIM.
    But, when I try to filter on application I get below error
    Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
    Error Code: 936
    Call: select distinct(APPLICATION_NAME) as NAME from APPLICATION WHERE UPPER ( DISTINCT(APPLICATION_NAME) ) like UPPER('%%') The UPPER ( DISTINCT(APPLICATION_NAME) ) like UPPER('%%') clause here is wrong. What are you trying to achieve through this query?
    >
    >
    -Bikash

  • Clear error message on F4 standard search help in webdynpro abap

    Hi Gurus,
    We have a check on the data entered by the user in our webdynpro producing a error message if the data are not correct. My problem is that this message is also diplayed in the search help afterwards when the user clicks on the search help. I know how to clear an error message but I can't find the event triggered by the F4 search help to put my code. The search help is a standard search help and thus I can't modify it.
    All I want is to find the event triggered when the user clicks on the search help. The field is in an alv but the alv click or alv action are not triggered when the user clicks on the search help.
    Thanks for your help in advance guys.

    Yes.  It is called a Freely Defined Value Help if you want to have complete control of the UI that is displayed in the dialog:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm

  • Populating error message based on search help

    Hi team,
    How can we populate error message in a shopping cart account assignment "order " field for the bellow two senarios. I am adding a custom field called "Operational Activity" in account assignment. based on which search help has to be done
    the 2 senarios are
    1. When user does not select the "Order" but tries to search for the operational activity, he should get error .
    2. When user selects the "Order" and this order has an operational activity linked to it, then give error message to input the OA The logic will be to do a RFC call to ECC by sending the SRM Order number BBP_PDACC-ORDER_NO to ECC table AFKO and see if there is AUFPL.
    Edited by: goutam kolluru on Nov 16, 2011 5:48 AM

    Hi Anshu,
    Thank for u replay.
    yes it can be done using doc_check_badi, but my question is how can we display error message by comparing search help values.
    if user is not entering value of order field and select  search help for custom operational activity field how it can be done in check badi.
    Edited by: goutam kolluru on Nov 16, 2011 6:54 AM
    Edited by: goutam kolluru on Nov 16, 2011 6:59 AM

  • Creating a Search help  error

    Hi guys ,  i did a search help and now trying  to assign it to my select-options field following this procedure :
    Using the Screen Painter
                                a.      Open the Object Navigator, navigate to the required screen and then open it.
    The Screen Painter for this screen appears in display mode.
                                b.      Choose  with the quick info text Display <-> Change.
                                c.      Go to the Element List tab page and then select the References tab page.
                                d.      In the Search Help column you can define the search help for the required screen field.
    i did it in the screen 1000 , however when i execute it , i got the error : NO INPUT HELP IS AVAILABLE .
    what im doing wrong ???

    screen 1000 is standard selection screen do try to change it..
    If you are refering to standard datalement then you will get the F4 help automatically
    example
    a)
        tables :  mara.
    parameters :
              P_MATNR  TYPE MARA-MATNR .
    b)    if you are refering to custom field then you need to add seacrh help at table level or programtically you can use below syntax.
          PARAMTERS :
           P_MATNR  TYPE  ZFIELD MATCHCODE OBJECT H_T134.
    Please let me know if you need further info.
    Regards
    Satish Boguda

  • Error when open search help

    Hey,
    I am getting the this error :- "Sending of dynpro SAPLHRBAS00SEARCH_INTERNAL 4100 not possible: No window system type specified" while using the search help PLOM.
    Any info will be of great help!
    Thanks
    Salah Afia

    Hi Salah Afia  ,
                Try using the search help KRED_C instead. please use and reply ..
    Regards
    Puneet

  • Getting error message in Business Partner search help

    Hi Experts,
    User is getting an error message while clicking the Search help for business Partner in all the transactions (FPL9, EEDM11, etc.).
    Only few users are facing this issue. We have compared the roles of the affected users and unaffected users and the roles are same. What will be the reason for few users getting the error?
    Thanks  & Regards,
    Dipin

    I'm not familiar with EEDM11, but FPL9 has parameter ids that can be set at the user level.  Look at
    System/User Profile/Own Data, Parameters tab between your two groups of users.  Also consider checking the settings in  Help/Settings, F4 Help tab.
    Lastly, you might try dropping debug on the error popup and see where it is being triggered from.  Maybe the answer is there.
    Regards,
    K--

  • Search help: Internal Error.

    Hi,
    I am getting information message : 'Search help: Internal Error' after incorporating code in RETURN event. My aim was to populate the value from Hit list to Value with restriction field and then by removing some search select criteria, again display the hit list. It is coming back to the value with restriction field screen  also populating the fields properly, below 1 information message is coming 'Search help: Internal Error'. If I remove some field from selection and again press the go button, it is doing nothing and system is hanging. The details are given below.
    I have created one search help ZTMVGR1 having the following details:
    Search help type : Elementary.
    Selection Method : MVKE
    Search help exit:  ZF4_MATGRP_EXIT1.
    Display value with restrictions : A
    Field          Import           EXPORT   LPOS      SPOS   SDis     Data Element
    MATNR       X                   X              5             5                     MATNR               
    VKORG      X                   X              1              1                     VKORG
    VTWEG      X                   X              2              2                     VTWEG
    MVGR1      X                   X               3             3                      MVGR1
    KONDM      X                   X               4             4                      KONDM
    MAKTX      X                   X               6              0                     MAKTX
    In the search help exit ZF4_MATGRP_EXIT1 I have used three events:
    1) PRESEL : Purpose of using this was I was not able to see F4 help for few fields in value with restriction screen . I found out that in SHLP-INTERFACE-F4FIELD is equal to 'X', sometimes in search help if that field's value is 'X' , F4 help does not come even if check table exists for that field.
    2) DISP : Purpose, I want to fetch material description field in exit only. MAKTX does not exist in MVKE, so either I need to create a view containing all my fields, or populate the one which is not there in selection method in exit.
    3) Return : Purpose,  I want to put VKORG, VTWEG and MATNR ( MATNR has collective search help, based on material description , we can put material ) . The hit list we get contains VKORG, VTWEG, MATNR, KONDM, MVGR1 and MAKTX. When we double click on hitlist the value returns , I want to populate these entries in value with restriction field. So KONDM and MVGR1 field will be populated. Now I will remove the value of material-low  from selection screen and find out for VKORG, VTWEG and MVGR1/KONDM what materials are there. But after writing the code for event RETURN I am getting information message 'Search Help: Internal Error'.
    My code snippet is given below.
    <removed by moderator>
    Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve formatting.
    Edited by: Thomas Zloch on May 13, 2011 1:35 PM

    HI,
    In search help exit you need to use the below mentioned function modules
    'F4UT_PARAMETER_ALLOCATE'          For allocating fields
    'F4UT_PARAMETER_VALUE_GET'       Get Value
    'F4UT_PARAMETER_RESULTS_PUT'     put Value
    In the same order.
    Thanks & regards,
    Bhargav.

  • Search Help error : Invalid field format Screen error

    Hi All,
    I have attached a search help to contract field for contract no and item number. (in my own screen developed in a  report)
    The search help picks up data and assigns it to the fields,
    But after this when I click on any other button, I get error saying :
    <b>Invalid Field Format (Screen Error) !!!</b>
    Any pointers guys !!!
    Warm Regards,
    Girish

    screen checks in abapautomatically checks for format of field when u enter data....i.e date, integer etc...the problem in this case is that when u seelct a value using the help it is filling a value which is not the correct format...so check for the data types and test it again...this is definitely the problem.

  • Copying ESS Bank Info - search help error

    Hi all,
    As I need to customise the bank information service PZ03 I have made a copy and was just testing before I start started making changes. For consistency with the other personal information transactions I have not published the service file or the templates.
    It all appears to work fine with the exception of the search help on the bank key field. I get a 'Interpreter Failed' error - 0x02101 message rather than the Find bank popup screen (SAPLBANK 1002). When I refresh the frame I get past the error to the search help 'data entry' picker screen, which works fine when I pick a bank taking me back to the original screen with the selected bank.
    So why doesn't WEB GUI want to display the 'find bank' popup for my version of the service?
    I have deleted the service file and templates for the original so that now uses WEB GUI and that works fine. The screen is standard SAP and seems to be getting called ok from the transaction, its just not rendered by the ITS.
    I wonder if people have seen the same thing with other popups on the ITS using WEB GUI ?
    BTW, ITS, Version 6200.1016.50133.0
    Any help, pointers, ideas would be most useful.
    Thanks
    Phil

    Hi,
    Refer to my code as follows:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_WERK-LOW.
      REFRESH ITEMP.
      CLEAR ITEMP.
      SELECT WERKS
             NAME1
             FROM T001W
             INTO TABLE ITEMP
             WHERE IWERK = 'M011'.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                  DDIC_STRUCTURE   = ' '
                RETFIELD         = 'WERKS'
                  PVALKEY          = ' '
                  DYNPPROG         = ' '
                  DYNPNR           = ' '
                  DYNPROFIELD      = ' '
                  STEPL            = 0
                  WINDOW_TITLE     =
                  VALUE            = ' '
               VALUE_ORG        = 'S'
                  MULTIPLE_CHOICE  = ' '
                  DISPLAY          = ' '
                  CALLBACK_PROGRAM = ' '
                  CALLBACK_FORM    = ' '
           TABLES
                VALUE_TAB        = ITEMP
                  FIELD_TAB        =
               RETURN_TAB       = T_RETURN
                  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.
      S_WERK-LOW = T_RETURN-FIELDVAL
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

Maybe you are looking for