Dropdown Event  in Search Screen (BT111S_OPPT)

Hi Gurus,
I have a requirement in which I have to code 3 dropdowns in Oppt Search Screen. When the user selects some value in first dropdown, the related entries are filled in the next dropdown. I am able to code dropdown (not in.htm page) in V_get method and I able to see that dropdown on my view. But I am not able to generate event (server request) when the user selects some value in the dropdown. Kindly let me know how I can generate a server request when a user selects some value in the dropdown.
Also let me know how to catch that event in do_handle_event.
Thanks & Regards,
Suresh Narra

hi,
in get_P method of your field write following code.
CASE iv_property.
    WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
      rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
    WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
      rv_value = 'YOUR_EVENT_NAME'.
  ENDCASE.
when user will select any field in any dropdown, debugger will go to method eh_onYOUR_EVENT_NAME.
Best Regards
Pankaj Kumar

Similar Messages

  • How to hide the dropdown box in my search screen

    hi,
    I am new to jsf. Here , i am posting the question first time.
    I am developing a search screen. I want to hide one dropdown box in that. can anybody help me on that?
    This is the code :
    <h:panelGrid rendered="true" width="100%" border="0" cellpadding="10" cellspacing="10" columns="2" styleClass="tabletext" style="vertical-align: top">
    <h:panelGrid rendered="true" border="0" columns="1" style="vertical-align: top;">
         <h:outputLabel rendered="true" value="Ranger District:"> </h:outputLabel>
         <h:panelGroup id="regionDropdown">
                                  <h:selectOneMenu rendered="true" id="rangerDistrict" value="#{energySearchBean.district}">                    
                                  <f:selectItems value="#{energySearchBean.districts}"/>
                   </h:selectOneMenu>     
                   </h:panelGroup>
              </h:panelGrid>
    </h:panelGrid>
    Thanks in advance.

    If you want to hide it at the server side, use the 'rendered' attribue and let its value evaluate to 'false'. If you want to hide it at the client side, use the CSS 'display' property and set it to 'none'.
    By the way, having 'rendered="true"' hardcoded in all components is superfluous. It is just the default value.

  • Performance Issue with Search screen

    I am not sure to post on JSF or Hibernate forums. This one is for Performance Gurus
    I have a "Advance Search" screen built with JSF/Facelets/Ajax4JSF
    When i click on the link Advance Search it will take more than a minute to load the form.
    The screen has 21 form fields out of which 8 are dropdowns out of which 6 are populated while loading the form. They are like LookUp tables. The other two form fields dropdowns launch popups
    Now when i hit Search button it will go on for more than minute and most of the times it results in
    java.lang.OutOfMemoryError: Java heap space
    I am using Myeclipse and Tomcat.
    Here is the memory parameters from right clik eclipse properties
    "C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe" -vm "C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe" -vmargs -Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=164m
    In addition i have also set Tomcat properties in Myeclipse under "Optional JVM Arguments" as
    -Xmx1024m
    I am thinking of doing Hibernate Query Caching for populating dropdowns while loading the form
    Any other pointers/suggestions will be greatly appreciated

    Run a Profiler.

  • Formatted Search screen - populate multiple fields

    I have an Employee Id field in my screen.
    On clicking Choose button,I use a Formatted Search screen to populate value to that field.
    I also have other fields like employee Name,department which should be populated, once an employee Id is chosen from Formatted Search screen.
    The functionality is like that of "Purchase Order screen".
    Once a vendor Id is chosen Name,Contact Person etc get populated in "Purchase Order screen".
    How do I do that?
    Should I trap the Choose button event of Formatted Search screen?
    Please help.

    I think all you are missing is a check to make sure you don't try and re-run the lookup when you are validating the return value from a previous lookup.
    I made a minor change to my code and achieved the behaviour you described.  I have extracted the relevant  code from the application .  Unfortunately it looses its indentation when I post it, so it might be quite hard to read.  It uses recordsets for the validation as in practice most of the real validation is more complex than this cut-down sample.
    This particular example is from a screen with a Customer Code prompt, and displays the customers name below it.
    Regards,
    John.
    <b>Constant holding menu uid of Formatted Search</b>
    Public Const AZU_MNU_SEARCH             As Long = 7425
    <b>Declare a variable at module level</b>
    Dim mblnCardLookup as Boolean
    <b>Create validation routine (cut down sample included)</b>
    Sub ValidateCustomer(sboApp As SAPbouiCOM.Application, sboCompany As SAbobsCOM.Company, BubbleEvent As Boolean)
        On Error GoTo ErrorHandler
        Const AZU_PROCEDURENAME     As String = "ValidateCustomer"
        Dim sboRecordset            As SAPbobsCOM.Recordset
        Dim sboForm                 As SAPbouiCOM.Form
        Dim sboDSCard               As SAPbouiCOM.UserDataSource
        Dim sboDSName               As SAPbouiCOM.UserDataSource
        Set sboForm = sboApp.Forms(strUID)
        Set sboDSCard = sboForm.DataSources.UserDataSources("UCARD")
        Set sboDSName = sboForm.DataSources.UserDataSources("UNAME")
        If sboDSCard.value <> "" Then
            Set sboRecordset = sboCompany.GetBusinessObject(BoRecordset)
            sboRecordset.DoQuery "Select CardCode, CardName, Currency From OCRD where CardCode Like '" & sboDSCard.value & "%'"
            If sboRecordset.RecordCount < 1 Then
                If sboDSName.value <> "" Then
                    sboDSName.value = ""
                    sboForm.Items("edtName").Update
                End If
                If Not mblnCardLookup Then
                    LookupCustomer sboApp
                End If
                BubbleEvent = False
                Exit Sub
            End If
            sboRecordset.MoveFirst
            sboDSCard.value = sboRecordset.Fields(0).value
            sboDSName.value = sboRecordset.Fields(1).value
            mstrCurrency = sboRecordset.Fields(2).value
            sboForm.Items("edtName").Update
        Else
            sboDSName.value = ""
            sboForm.Items("edtName").Update
            BubbleEvent = False
        End If
        Set sboDSName = Nothing
        Set sboDSCard = Nothing
        Set sboForm = Nothing
        Set sboRecordset = Nothing
        Exit Sub
    ErrorHandler:
        Call AZU_STD_ERROR_MSGBOX(AZU_MODULENAME, AZU_PROCEDURENAME)
    End Sub
    <b>Create lookup routine (cut down sample included)</b>
    Private Sub LookupCustomer(sboApp As SAPbouiCOM.Application)
        On Error GoTo ErrorHandler
        Const AZU_PROCEDURENAME     As String = "LookupCustomer"
        Dim sboForm                 As SAPbouiCOM.Form
        Set sboForm = sboApp.Forms(strUID)
        mblnCardLookup = True
        sboApp.ActivateMenuItem AZU_MNU_SEARCH
        Set sboForm = Nothing
        Exit Sub
    ErrorHandler:
        Call AZU_STD_ERROR_MSGBOX(AZU_MODULENAME, AZU_PROCEDURENAME)
    End Sub
    <b>Add the following code to the ITEMEVENT handler</b>
        'Validate Customer Code
        If pVal.EventType = et_VALIDATE And pVal.ItemUID = "edtCard" And pVal.Before_Action = False Then
            Call ValidateCustomer(sboApp, sboCompany, BubbleEvent)
        End If
        'Customer Code Lookup on TAB Key
        If pVal.EventType = et_KEY_DOWN And pVal.ItemUID = "edtCard" And pVal.Before_Action = True And pVal.CharPressed = 9 Then
            Set sboDSCard = sboApp.Forms(strUID).DataSources.UserDataSources("UCARD")
            If sboDSCard.value = "" Then
                LookupCustomer sboApp
                BubbleEvent = False
            End If
        End If
        'Force Validation on Return from Lookup
        If pVal.EventType = et_FORM_ACTIVATE And mblnCardLookup = True Then
            sboApp.Forms(strUID).Items("edtRef").Click
            mblnCardLookup = False
        End If

  • Not able to display and search on CLOB attribute in default search screen

    Hi,
    My requirement:
    I have three VARCHAR attributes and 1 CLOB attribute. i need to search the values on these 4 attributes.
    Created View crieteria on these 4 attributes and created default ADF search screen. but not able to add the CLOB attribute as search attribute.
    is there any solution for this or we can't search on CLOB attribute.
    FYI: i have created Converter using ClobDomain and and using this converted for editing the CLOB data.
    If i try adding the CLOB attribute in view criteria with ClobDomain and not able to see that attribute on search panel.
    Please help on this.
    Thanks in advance!!
    Thanks & Reagrds,
    Madhu

    Madhu, please tell us your jdev version!
    The search is done on the DB (query) so the converter is not used. To search clob columns you can use special SQL statements called contains or catsearch. These are using special index to find the data in blob or clob columns.
    Check my blog on how to integrate this into VC: http://tompeez.wordpress.com/2011/08/21/extending-viewcriteria-to-use-sql-contains-4/
    Timo

  • Required values should be displayed in forst search screen for Variable

    HI Gurus
    I have a Variable CUSTOMER which has 20000 values. In the first search screen we are getting 1 to 1000 values by default ( I have selected 1000 in properties). But I want the Values between 6000 to 7000. Is it possible?
    Thanks in advance.
    Best Regards
    Raj

    Hi
    I want to give single value in between 6000 to 7000. The single values which appear in first search should not be 1 to 1000. It must be 6000 to 7000
    Thanks
    Raju

  • Why is it that when I go to the search screen to find a particular message in a conversation it comes up with the message but when I click on it it takes me to the conversation where the most recent message was sent and not the message I wanted

    Why is it that when I go to the search screen and type in a particular message I want to view, my iPhone finds it but when I click on it it only takes me to the conversation at the most recently thing texted and not the particular message I clicked on?

    Never occurred to me you can search messages that way, thanks.
    Another way to do it is to scroll from the most recent message to the top of the screen and tap load more messages, repeatedly till you reach the one you want.
      I like your method better, but with both methods it refreshes to the most recent message.

  • How to change the default operators in sap web ui Search screen?

    How to change the default operators in sap web ui Search screen?
    For eg. Using advance search option , I have some fields with default operators like equals, contains,is between, is less than and is greater than. I don't need all these operators for this field.
    I need only "equals" operator. How do i remove the rest of the operators?

    There is a view cluster crmvc_dq where all the standard setting is present related to you r issue. Please try if you can modify that, that way you will avoid the code.
    Incase you are not able to make any changes there then in that case you have to redefine the method GET_DQUERY_DEFINITION () of the IMPL class to delete the operators for a particular serach field.
    Regards,
    Harshit

  • Issue with programmatically created LOV on Advanced Search Screen in OCO.

    Hi All,
    I am trying to create a LOV programmatically on Advanced search screen of Oracle Customer's Online module for the country field present there, i have extended a controller and
    in it i am carrying out the creation for this.
    i am using the below code to do this.
    i am able to access the particular rowlayout bean and code below is starting after that.
    OARowLayoutBean CountryRowLayoutBean =
                            (OARowLayoutBean)RgtColTableLayoutBean.getIndexedChild(8);
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "CountryRowLayoutBean: " +
                                                         CountryRowLayoutBean,
                                                         PROCEDURE);
                        int CountryRowLytChldCount =
                            CountryRowLayoutBean.getIndexedChildCount();
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "CountryRowLytChldCount : " +
                                                         CountryRowLytChldCount,
                                                         PROCEDURE);
                        OAMessageTextInputBean CountryMsgTxt =
                            (OAMessageTextInputBean)CountryRowLayoutBean.getIndexedChild(2);
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "CountryMsgTxt : " +
                                                         CountryMsgTxt,
                                                         PROCEDURE);
                        CountryMsgTxt.setRendered(false);
                        OAMessageLovInputBean CountryLOV =
                            (OAMessageLovInputBean)createWebBean(pageContext,
                                                                 LOV_TEXT, null,
                                                                 MatchRuleAttrId); //MatchRuleAttrId - the fields are rendered through DQM so, this is the Id for the text input , same is taken as id for LOV, to enable search later.
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "CountryLOV : " + CountryLOV,
                                                         PROCEDURE);
                        CountryRowLayoutBean.addIndexedChild(CountryLOV);
                        Integer webBeanRegionAppId =
                            (Integer)webBean.getAttributeValue(REGION_APPLICATION_ID);
                        CountryLOV.setAttributeValue(REGION_APPLICATION_ID,
                                                        webBeanRegionAppId);
                        // Specify the path to the base page.
                        CountryLOV.setAttributeValue(REGION_CODE,
                                                        "/oracle/apps/imc/ocong/search/webui/ImcSearchPage");
                                  CountryLOV.setAttributeValue(LOV_REGION_APPLICATION_ID,
                                                        webBeanRegionAppId);
                        // Specify the LOV region definition.
                        CountryLOV.setLovRegion("/oracle/apps/ar/hz/address/webui/HzCountryLOV",
                                                   webBeanRegionAppId.intValue()); //Standard LOV region used
                        // Validation should be enabled for LOVs unless it's essential for the field to allow a partial value (in a "Search" region, for example).
                        CountryLOV.setUnvalidated(false);
                        CountryLOV.setAttributeValue(SELECTIVE_SEARCH_CRITERIA,
                                                        true);
                        CountryLOV.setAttributeValue(SEARCH, true);
                        // Configure the LOV mappings.
                        // Note that you must call this method after you add the messageLovInput item
                        // to the web bean hierarchy.
                        // base page item
                        // lov item
                        // direction
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "webBeanRegionAppId : " +
                                                         webBeanRegionAppId,
                                                         PROCEDURE);
                        if (pageContext.isLoggingEnabled(PROCEDURE))
                            pageContext.writeDiagnostics(this,
                                                         "MatchRuleAttrId : " +
                                                         MatchRuleAttrId,
                                                         PROCEDURE);
                        CountryLOV.addLovRelations(pageContext,
                                                      MatchRuleAttrId,
                                                      "TerritoryShortName",
                                                      LOV_RESULT,
                                                      LOV_REQUIRED_NO); // base page item
                        // lov item
                        // direction
                        CountryLOV.addLovRelations(pageContext,
                                                      MatchRuleAttrId,
                                                      "TerritoryShortName",
                                                      LOV_CRITERIA,
                                                      LOV_REQUIRED_NO);
    I am facing the issue that the torch icon is visble on the screen but when i click on it, it does not display the LOV region and a blank page saying website declined to show the page is displayed.
    Please suggest what needs to be added that i am missing right now.
    Thanks,
    Mayank

    on the first option I mean you can add new region  programaticaly like this on Processrequest
                OAStackLayoutBean newLocationLovs=
                    (OAStackLayoutBean)createWebBean(pageContext
                                                        ,"/yandex/oracle/apps/csi/instance/location/webui/YaLocationLovsRN"
                                                        , "xxnewLocationLovs"
                                                        ,true);
                  webBean.addIndexedChild(newLocationLovs);   

  • Custom Search Screen Question

    I have a search screen where the user can enter multiple search criteria fields and click 'FIND' button.
    Below is the code behind the find button. As you can see if the use doesn't enter any of the search criteria
    then it is supposed to get all the records in the block BLI_DATA (this is a db block built on a view of a table).
    At the bottom of the BLI_DATA screen, there are two buttons 'OPEN' and 'CANCEL' (these belong to a diff. block called
    BLI_DATA_ACTION). Open opens up the record selected in BLI_DATA. Cancel cancels out of this and takes back
    to the search screen. That scenario works ok. Else if the user enters any of the criteria, then the dynamic where
    gets the required records. That works too.
    What is not working is, if I enter say state = 'LA' in the first pass and click find, it gets
    me the records for LA. Then if I click'CANCEL'and come back to the search screen, remove all the search criteria
    and now click 'FIND' in the 2nd pass, it still gets me the LA information.
    Code behind the FIND button
    DECLARE
      v_where varchar2(1000):=null;
      v_orderby varchar2(1000):='BLI_ID';
      al_id ALERT;
      al_button NUMBER;
    BEGIN     
    IF :BLI_SEARCH.BLI_STATE IS NULL AND :BLI_SEARCH.BLI_STORE_TYPE IS NULL
        AND :BLI_SEARCH.BLI_COUNTY IS NULL AND :BLI_SEARCH.BLI_COUNTY_NAME IS NULL
        AND :BLI_SEARCH.CITY IS NULL AND :BLI_SEARCH.GEO_IND IS NULL
        AND :BLI_SEARCH.BLI_PLAT_LEASE IS NULL AND :BLI_SEARCH.FORM_DATE_FROM IS NULL
        AND :BLI_SEARCH.BLI_LEASE_DATE_FROM IS NULL AND :BLI_SEARCH.FORM_DATE_TO IS NULL 
        AND :BLI_SEARCH.BLI_LEASE_DATE_TO IS NULL THEN
       --app_find.find('BLI_DATA');
       -- P_GET_BLI_DATA;
    --   v_orderby:=':BLI_ID ASC';
    --SET_BLOCK_PROPERTY('BLI_DATA',ORDER_BY,v_orderby);
      message('i am here' ||'-'|| :BLI_SEARCH.BLI_STATE);
      GO_BLOCK('BLI_DATA');
      Execute_Query(all_records);
      GO_BLOCK('BLI_DATA_ACTION');
      GO_ITEM('BLI_DATA_ACTION.OPEN'); 
    ELSE
         v_where := 'WHERE state = nvl( ''' || :BLI_SEARCH.BLI_STATE ||''',state)
                                       and concept =  nvl( ''' || :BLI_SEARCH.BLI_STORE_TYPE ||''',concept)
                                       and county_type = nvl( ''' ||:BLI_SEARCH.BLI_COUNTY ||''' , county_type)
                 and county_name = nvl( ''' || :BLI_SEARCH.BLI_COUNTY_NAME || ''', county_name)
                 and city = nvl( ''' || :BLI_SEARCH.CITY || ''', city)
                 and platform_lease = nvl( ''' || :BLI_SEARCH.BLI_PLAT_LEASE || ''', platform_lease)
                 and geo_ind = nvl ( ''' || :BLI_SEARCH.GEO_IND || ''', geo_ind)
                 and form_date >= nvl(to_date(''' || to_char(:BLI_SEARCH.FORM_DATE_FROM,'DD-MON-RR') || ''',''DD-MON-RR''),form_date)
                            and form_date <= nvl(to_date(''' || to_char(:BLI_SEARCH.FORM_DATE_TO,'DD-MON-RR') || ''',''DD-MON-RR''),form_date)
                 and lease_date >= nvl(to_date(''' || to_char(:BLI_SEARCH.BLI_LEASE_DATE_FROM,'DD-MON-RR') || ''',''DD-MON-RR''),lease_date)
                            and lease_date <= nvl(to_date(''' || to_char(:BLI_SEARCH.BLI_LEASE_DATE_TO,'DD-MON-RR') || ''',''DD-MON-RR''),lease_date)';
    SET_BLOCK_PROPERTY('BLI_DATA',DEFAULT_WHERE,v_where);
    GO_BLOCK('BLI_DATA');
    DO_KEY('execute_query');
    message('i am here1 ' ||'-'|| :BLI_SEARCH.BLI_STATE);
    IF :BLI_DATA.STATE IS NULL THEN
          al_id := Find_Alert('AOK');
         Set_Alert_Property(al_id, alert_message_text, 'No Records were found');
         al_button := Show_Alert(al_id);
         GO_BLOCK('BLI_SEARCH');
         GO_ITEM('BLI_SEARCH.BLI_STATE'); 
         RAISE FORM_TRIGGER_FAILURE;
    ELSE
      GO_BLOCK('BLI_DATA_ACTION');
      GO_ITEM('BLI_DATA_ACTION.OPEN'); 
    END IF;
    END IF;
    END;Code behind the CANCEL button:
    GO_BLOCK('BLI_DATA');
    CLEAR_BLOCK(NO_VALIDATE);
    GO_BLOCK('BLI_SEARCH');
    CLEAR_BLOCK(NO_VALIDATE);
    :BLI_SEARCH.BLI_STATE :=NULL;
    :BLI_SEARCH.BLI_STORE_TYPE:=NULL;
    :BLI_SEARCH.BLI_COUNTY:=NULL;
    :BLI_SEARCH.BLI_COUNTY_NAME:=NULL;
    :BLI_SEARCH.CITY:=NULL;
    :BLI_SEARCH.GEO_IND:=NULL;
    :BLI_SEARCH.BLI_PLAT_LEASE:=NULL;
    :BLI_SEARCH.FORM_DATE_FROM:=NULL;
    :BLI_SEARCH.FORM_DATE_TO:=NULL;
    :BLI_SEARCH.BLI_LEASE_DATE_FROM:=NULL;
    :BLI_SEARCH.BLI_LEASE_DATE_TO:=NULL;
    :BLI_SEARCH.BLI_LL_REF_CODE:=NULL;
    :BLI_SEARCH.BLI_LOC_TYPE:=NULL;
    :BLI_SEARCH.BLI_CLASSIFICATION:=NULL;
    show_view('BLI_SEARCH');
    GO_ITEM('BLI_SEARCH.BLI_STATE');
    hide_view('BLI_DATA');When I remove all the search criteria in the 2nd pass, why does it still get the LA information?
    Thanks,
    Chiru
    Edited by: Megastar_Chiru on Sep 21, 2010 9:44 AM

    I had a similar requirement and I put it in a procedure like this.
    PROCEDURE BUILD_WHERE_CLAUSE IS
      hold_clause varchar2(2000);
    BEGIN
          -- check location code and add condition if it is not null
       IF :key_block.locn_code IS NOT NULL THEN
          hold_clause := hold_clause ||
          ' and (cwvcatr_locn_code = :key_block.locn_code)';
       END IF;
          -- check case type and add condition if it is not null
       IF :key_block.case_type IS NOT NULL THEN
          hold_clause := hold_clause ||
          ' and (cwvcatr_ctyp_code = :key_block.case_type)';
       END IF;
          -- check action code and add condition if it is not null
       IF :key_block.cwvatyp_code IS NOT NULL THEN
          hold_clause := hold_clause ||
          ' and (cwvcatr_cwvatyp_code = :key_block.cwvatyp_code)';
       END IF;
          -- check case assign day and add condition if it is not null
       IF :key_block.case_assn_day IS NOT NULL THEN
          hold_clause := hold_clause ||
          ' and (upper(cwvcatr_case_assn_day) = upper(:key_block.case_assn_day))';
       END IF;
          -- strip off initial 5 characters ' and '
       IF hold_clause IS NOT NULL THEN
          hold_clause := SUBSTR(hold_clause,6);
       END IF;
       -- Set the DEFAULT_WHERE to newly built WHERE clause
       SET_BLOCK_PROPERTY('CWVCATR_1_BLOCK',DEFAULT_WHERE,hold_clause);
          -- Set the ORDER_BY clause
          IF :key_block.sort_by = 'C' THEN
                 SET_BLOCK_PROPERTY('CWVCATR_1_BLOCK',ORDER_BY,'cwvcatr_case_id');
          ELSE
                 SET_BLOCK_PROPERTY('CWVCATR_1_BLOCK',ORDER_BY,'cwvcatr_assn_date');
          END IF;
    END;So regardless of what user puts in parameters, the default where is set accordingly. If there is no parameter entered, it does not set anything. And if only one parameter is entered, only one condition is set and so on. This might be helpful in your case too.
    Edited by: Zaafran Ahmed on Sep 21, 2010 10:49 AM

  • Enforcing event AT-SELECTION-SCREEN OUTPUT

    Hi Gurus
    Does anybody know how to force event AT-SELECTION-SCREEN OUTPUT ?
    What I'm aiming for is changing screen somewere outside of this event. For example.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_param.
      IF p_param = 'change'.
        changes_in_screen = 'X'.
        *???*   "forcing AT-SELECTION-SCREEN OUTPUT event
      ENDIF.
    AT-SELECTION-SCREEN OUTPUT.
      IF changes_in_screen = 'X'.
        LOOP AT SCREEN.
          "do something
        ENDLOOP.
      ENDIF.
    I would be grateful for any hints.

    One alternative to define two selection screens.  First selection screen (default selection screen of report #1000) having Client_type.  After user hits execute (F8) then show the second selection screen with corresponding parameters.
    PARAMETERS: p_client(1).
    SELECTION-SCREEN BEGIN OF SCREEN 9000 AS WINDOW.
    PARAMETERS: p_name(20),
                p_lname(20),
                p_cname(20),
                p_oname(20).
    SELECTION-SCREEN END OF SCREEN 9000.
    AT SELECTION-SCREEN OUTPUT.
      CHECK sy-dynnr = '9000'.
    *  Hide corresponding fields on second selection screen
    *  based on values of P_CLIENT.
    *  Also should make key parameters obligatory!
    START-OF-SELECTION.
      CALL SELECTION-SCREEN 9000 STARTING AT 5 5.
    Another alternative is to use a dialog/module pool program to handle this.  Such screen field controlling can easily be done in dialog programs because you have full PAI/PBO control, unlike report program selection screen 1000.  Unfortunately in a dialog program it is not easy to reproduce the functionality of a select-option.

  • Crawled the UCM through SES but unable to search on Search screen. I have to use OID as identity management. How to configure SES for this??

    I have crawled the UCM through SES, but when I try to search on the Search screen nothing is searched.
    followed the following document - http://www.oracle.com/technetwork/search/oses/stellent-white-paper-178229.pdf
    But at the end I need to configure the identity management for OID not for Content Server. I have activated the OID plug-in in SES, but nothing is searched in both the foloowing cases:
    1) When I login with a OID user
    2) When i do not login, even the public data is not displayed.
    What could be the problem??

    Thanks for the reply. Authorization was use source ACL, and I tried logging in as every user that had access to the content and could not bring up anything.
    However, this is no longer an issue as we are not going to be using this content database. We are going to be using the new Beehive collaboration instead. I don't know if there will be a different plugin for SES or what, but it should be interesting.
    Jennifer

  • Problem with search screen with iphone 4s, iOS5.1

    sorry for my bad english grammer or writing:D
    my problem is, when i go to search screen and turn back to home screen, the keyboard is steel there...
    i am running iOS 5.1 on iphone 4s

    Have you tried Restart? Reset? Restore from Backup? Restore as new?

  • Event at selection-screen output

    Hi all,
    we have common include for all the reports. Now i need to add few selects to all screens based upon some conditions.so i added the seletions to the common include. Based upon some conditions ,i need to activate or deactivate these selections. this can be done at the event at seleciton-screen output. so i did that but few programs are giging dump as these programs already have the above mentioned event(ie at selection-screen output) now how to solve this issue.
    Please suggest me .
    Thanks
    Jaffer Vali shaik

    Hi Jaffer,
    The conditions to display the additional selection, are they based on user input data? If not, you could try to put the logic in the initialization event. Check the 'where-used list' to see whether all programs accessing this common include already has initialization event or not.
    If the display for selection are based on other selection criteria, then you need to evaluate the common include. Based on your project standard, does the include should have events processing in it? If yes, maybe the few programs that cause shortdump should move their logic to this common include (using the SY-REPID condition).
    Regards,
    Dewi

  • Regarding the event AT SELECTION-SCREEN ON FIELD ..

    Hi experts,
    Can u plz tell the real advantage of the event AT SELECTION-SCREEN ON FIELD than
    AT SELECTION-SCREEN ..
    in which type of situations  AT SELECTION-SCREEN ON FIELD is needed??
    Thanks & Regards,
    sathish.

    Hi,
    when we are going to do two are more field validations at a time
    we can use AT SELECTION-SCREEN ON <fieldname>.
    if it is there single field we can use AT SELECTION-SCREEN.
    have a look.
    select-options: s_vbeln like vbak-vbeln,
                          s_vkorg like vbak-vkorg,
                          s_vtweg like vbak-vtweg,
                          s_matnr like vbap-matnr.
    AT SELECTION-SCREEN ON s_vbeln.
    select----
    if sy-subrc <> 0.
    error message.
    endif.
    AT SELECTION-SCREEN ON s_vkorg.
    select----
    if sy-subrc <> 0.
    error message.
    endif.
    AT SELECTION-SCREEN ON s_vtweg.
    select----
    if sy-subrc <> 0.
    error message.
    endif.
    AT SELECTION-SCREEN ON s_matnr.
    select----
    if sy-subrc <> 0.
    error message.
    endif.
    Regards.
    sriram.

Maybe you are looking for

  • How do I get Firefox to display the information bar when a pop up is blocked

    I accidentally clicked on "Don't show this message when pop-ups are blocked" when a pop up was blocked. How do I get this message to reappear again when a pop up is blocked? I generally find pop ups annoying, but sometimes they are necessary to use c

  • Jsp Xml database combination

    Can anybody please help me with a small programme of how to use xml to store data retrieved from database and then display it on a jsp page.

  • Hard Drive Replacement - Easy/hard?

    I took my PowerBook G3 to an Apple Store yesterday to try and fix a hardware issue. It turns out that my hard drive is dead. The tech told me they were going to send it to Apple for repairs, but Apple said the model I have is considered vintage and t

  • Date F4- Calendar to start with Sunday to Saturday instead of Mon to Sunday

    Hi Client wants to see the dates from Sunday to Saturn day instead of SAP standard Monday to Sunday. Can you please help us ? Regds Tiag

  • How to get file line count.

    Hey guys, How to get file line count very fast? I am using BufferedReader to readLine() and count. But when dealing with big file, say several GB size, this process will be very time consuming. Is there any other methods? Thanks in advace!