Reoprt execution time out for particular Plant

Hi GURUS,
I am having ECC6.0 with MSSQL2005 combination here. One of my Sales register report executes fine with local plants but for plant which is about 2000 Km from here it gets timed out when executed. So i ran that report in background. It successfully got executed but when i click on spool button to get the report then it shows me only first 10 Pages and when i try to change it say 30 Pages then popup appears as "Displaying 30 pages may cause memory Overflow". Now what is the solution on this issue as there are 548 Pages in this report. Please help. Kindly suggest if any particular Printing format is needed for the same. End users use to download this data in excel sheet just to view the details. It is working fine for local plants. Is there any network or Database issue??
Regards,
Vaibhav gore

Vaibhav,
The report of which you speak exceeds this time limit when running for this particular plant .  This is common.  Assuming that your company does not wish to increase the interactive time limit, the normal solution is to run the report in background, as you have done.
The spoolfile warning message that you got was valid, but it is unlikely that the memory problem will actually occur in a normal business environment.  If it does, then it means that the memory (hardware) for your system is grossly undersized for the normal business load.  I suggest you proceed with reading the spoolfile in spite of the warning.  You can make the warning stop occurring by setting your user parameters once.  SP01>display your file.  When the file is displayed, clik on the settings button, make the settings large enough to accommodate the largest report.  Now check the 'Save settings section' to
'Permanently even betw logons'.  You will always then default to the larger page settings, thus preventing the annoying warning message.
Getting a spoolfile into Excel can be tricky, but it is not rocket science.  You may have to experiment a bit.
One way:
1.  With the report displayed in it's entirety in SP01, clik Spool Request>Forward>Save to Local File
2.  Select 'unconverted' or 'spreadsheet'.  'Unconverted' saves as a straight text file, 'spreadsheet' saves as a tab delimited file.  Here is the tricky part.  Depending on the type of data in your report, you may be able to save a step by saving as 'spreadsheet' and giving the filename as 'blahblahreport.XLS', using the standard excel suffix.  Depending on the contents of the report, you may get Excel to properly interpret all the cells to your satisfaction.  Sometimes, though, this will not work.  Dates may become numbers, text fields may appear as numbers, etc etc.
3.  Assuming that you downloaded the report without the filename suffix,   now open Excel, and select File>Open.  select 'All files' for filetype.  Open your file in excel.
4.  You will usually be presented with a single column of data, with each cell in the column representing a row in the report.  Select the Column and then select Data>Text to columns.  Parse the data to your specifications.  Once completed, save the file as an XLS spreadsheet.
There are a number of variations on this theme.  Your local Excel spreadsheet expert should be able to assist you.
Rgds,
DB49

Similar Messages

  • Is it possible to increase user exit time out for a partcular user

    Dear Sir/madam,
    Is it possible to increase the User Time Out for a Particular user ?
    We do it through RZ10 and as per I know when it is changed, it is effected to all the users.
    Pls advice.
    Thanks,
    Pranab

    Hi Pranab,
    Not possible for a single user.
    Regards
    Ashok Dalai

  • Set time out for single webservice in NWDS 2004s

    hai,
      i created webservices for session bean.created webservices are consumed by webdynpro client.
    when the webdynpro client consuming it.if the response takes more than 60 sec the webservices are timed out so i want to set the time out for my webservice.
    how can i set the time out (more 60 sec)for my webserive(for one service)?
    thanks in advance.
    Edited by: lakshman balanagu on Jun 24, 2008 11:20 AM

    Hi
    Try out this thing: I am not sure as I have not done this.
    Go to this link: http://<server>:<j2ee port>/nwa --> System Management --> Overview --> Configuration
    Application Resouce ( Select your resource from the list)
    Check for "Connection Pooling".
    Here you can check different options.

  • To Avoid purchasing for particular plant

    Hi,
    My Client wants to prevent purchase requisition, purchase order, production order for particular plant.
    How do we go about this?
    Possible things i think is
    1. Restricting users to that particular plant though user roles.
    2. Creating user exits to give error when PR, PO raised for particular plant?
    Any other alternatives, please suggest.
    Regards, Muthuvel

    hi,
    You can block the plant for the procurement via making the plant(in combination with the material and vendor)in the source list...
    There is a block indicator given in the source list itself...
    So, when you use this indicator, the plant automatically gets blocked for the given validity period...
    OR
    If you don't wanna use it may be due to any other reason , then the best way is to rename the plant and by which the plant automatically gets blocked...
    Think abt it...
    Regards
    Priyanka.P

  • Can the time out for loading a page be extended for busy sites?

    (Error:)
    Problem loading page
    The connection has timed out
    The server at xxx.xxx is taking too long to respond.
    * The site could be temporarily unavailable or too busy. Try again in a few moments.
    Question: Is there a way to extend the time out for sites which are known to be busy?

    This issue appears under two different Mozzila "Questions". Both appear to have the same OUTDATED, INEFFECTIVE ANSWERS. A lot of us are on WIN7 now and still have erratic network speeds due to cable multiplexing -- but have been trained to leave the registry alone. Has not anyone solved this problem -- other than going notoriously unreliable FIOS ??

  • CO12- Yield quantity gets zeroed out for some plants.

    Hi Experts,
    While confirmation using CO12- collective confirmation, i get a message "Total confirmed quantity does not equal planned quantity"( ECC6.0 system). Moreover for  few plants, the yield is zeroed out, eventhough i enter the planned qty and after confirmation is executed, the yield shown is zero for those confirmed operations.
    1. Why does the message "Total confirmed quantity does not equal planned quantity" appear eventhough i enter the planned operation quantity for confirmation?
    2. Why does the yield quantity zeroed out for some plant? (maybe for some material also)?
    Any pointers would be of great help.
    Thanks,
    SudhaharN

    In OPk4, Confirmation parameters,  for ur plant and order type combinaation, check the tab "operation indiv.entry initial screen. "
    In that tick the Quantities PROPOSED..
    u ll get away from the issue...
    hope this helps..
    karthick

  • Chapter id for particular plant material - J1ID

    Hi Experts,
    ***How to  define the chapter id for particular plant , material, it should be extended to all the plants.?
    in J1ID transaction.
    Please guide me its a client requirement.
    Thanks in Advance
    GANESH

    Hi,
    To  maintain Chapter ID's  the path is :
    SPRO>Logistics - General>Tax on Goods Movements>India>Master Data>Maintain Chapter IDs.
    Please refer the below link.
    condition records and chapter id relation?
    How to Create & maintain Chapter ID.
    Thanks.

  • Report server times out for 3 mb of excel

    I'm using a report viewer control in our application and it is working fine while displaying data and exporting it in different format by clicking export button provided by the report viewer.
    I have another page but there will be a normal asp button to generate same report. so i am using report viewer control and calling the public method .Render exposed by the report viewer.
        byte[] bytes = rptViewver.ServerReport.Render("Excel", deviceInfo, out mimeType, out encoding, out extension, out streamids, out warnings);
    this time i am getting below exception.
        Exception :System.Net.WebException: The request failed with HTTP status 504: Connection Timed Out.
        at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
        at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
        at Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
        at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds)
        at Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
        at Reports_GenerateReport.DisplayReport(Boolean IsExport) in f:\Sunil\View Reports\Login\Reports\GenerateReport.aspx.cs:line 1702
    My doubt is like, why it is getting time outs while leveraging same report viewer control internally.
    any suggestions to get rid of this?

    Hi sGudivada,
    Please check the ExecutionLog view in ReportServer database to learn more information about the report. The report server execution log contains information about the reports that execute on the server or on multiple servers in a scale-out deployment. For
    example:
    TimeDataRetrieval fields. Record number of milliseconds spent retrieving the data.
    TimeProcessing fields. Record number of milliseconds spent processing the report.
    TimeRendering fields. Record number of milliseconds spent rendering the report.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms159110(v=sql.110).aspx
    There is an article about troubleshooting report performance, you can refer to it.
    http://msdn.microsoft.com/en-us/library/bb522806(v=sql.105).aspx
    Thanks,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • How can I set the query time out for SQVI?

    Hi,
      I want to setup query timeout for a particular user so that if his query (created in SQVI) takes more then say 10 minutes, it automatically times out and system resources are freed up.
    How can I do this for a specific user? Also in case I cant do it for a specific user how can I do it for all users?
    Thanks for reading

    Hello Srikrishna,
    The SQVI is a dialog transaction and henc its governed by your system's rdisp/max_wprun_time parameter.
    A dialog work process has a run-time limit that prevents users from interactively running especially long reports. By default, the system terminates any dialog work process in a transaction that exceeds 300 seconds. Although the value of the limit can be changed (in the system profile parameter rdisp/max_wprun_time), that limit is always in effect for dialog work processes. No such limit applies to background work processes.
    Regards,
    Siddhesh

  • Session Time Out For UNLOGGED IN USER During Search -pls help SIR!

    Hi,
    The problem lies in searchresultscontroller.java/searchcontroller.java file under search/web/handler of an application that supports educational note sharing.
    The problem is that -
    When I search with query strings in different fields(as you will find in the above mentioned java files)..the keywords in resourcedto and get some files as search results.
    Then I click on one of the file from within the search result and visit the file.
    Here if I m logged in as an user, and the session time out is set to 1 minute in the web.xml file of the web folder not the admin folder then when I hit the BACK TO SEARCH button it easily goes back to the previous search result page along with the queries string that I had input previously.
    The problem is that when I m NOT LOGGED in as an user, and I've performed a search with queries and other dropdowns in the search panel, I get the search result page, I visit the file by clicking on one of them but when I hit the BACK TO SEARCH button I don't see the previous search result page from where I had navigated to view the file.
    Please suggest on what changes shall I make in the code so that even if I m not logged in as an user, I get back to the search result page on hitting the BACK TO SEARCH button from the file view page.Sir I m herein pasting the code of the searchresultscontroller.java file, but please feel free to ask for anyother file whose code you might want to see.SEARCHRESULTSCONTROLLER.JAVA FILE CONTENT-
    package com.mgh.sps.search.web.handler;
    import java.util.Map;
    import java.util.regex.Pattern;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.log4j.Logger;
    import org.springframework.validation.BindException;
    import org.springframework.validation.Errors;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.SimpleFormController;
    import com.mgh.sps.search.business.facade.Search;
    import com.mgh.sps.common.dto.ResourceDTO;
    import com.mgh.sps.common.util.SessionAttributeKey;
    import com.mgh.sps.common.util.SessionManager;
    import com.mgh.sps.fileusage.web.constants.FileUsageWebConstants;
    public class SearchResultsController extends SimpleFormController {
    * SearchResults Controller
    * @author Muralikrishna.s
    * @Codedondate DD-MM-YY=26-07-07
    * @Usecase/s associated =UC504
    private static final Logger logger = Logger
    .getLogger(SearchResultsController.class.getName());
    private final static String REG_EXP = "^[A-Za-z0-9]*$";
    private final static Pattern EMAIL_PATTERN_REG = Pattern.compile(REG_EXP);
    * Spring framework method used to hold reference data
    * @param request
    * HttpServletRequest
    * @param command
    * Object
    * @param arg2
    * Errors
    * @return Map
    * @throws Exception
    @Override
    protected Map referenceData(HttpServletRequest request, Object command,
    Errors errors) throws Exception {
    logger.debug("SearchResultsController.referenceData() method entered:"
    + request + "," + command + "," + errors);
    SessionManager.setSessionAttribute(SessionAttributeKey.tabIndex,
    FileUsageWebConstants.TAB_SEARCH, request);
    Search search = (Search) super.getWebApplicationContext().getBean(
    "searchfacade");
    ResourceDTO resourceDto = (ResourceDTO) command;
    String[] allValues = new String[7];
    if (null != (String[]) SessionManager.getSessionAttribute(
    SessionAttributeKey.allValues, request)) {
    allValues = (String[]) SessionManager.getSessionAttribute(
    SessionAttributeKey.allValues, request);
    resourceDto.setKeywords(allValues[0]);
    resourceDto.setCountry(allValues[1]);
    resourceDto.setUniversityName(allValues[2]);
    resourceDto.setSubjectArea(allValues[3]);
    resourceDto.setQualification(allValues[4]);
    resourceDto.setYearLevel(allValues[5]);
    resourceDto.setSpecificType(allValues[6]);
    logger.debug("%%%%%%%%%%%%%%%%%qualification%%%%%%%%%%%%%%%"
    + resourceDto.getQualification());
    String flag = (String) request.getParameter("id");
    resourceDto.setFlag(flag);
    logger.debug("SearchResultsController.referenceData() method exited:");
    return search.retrieveReferenceData(resourceDto);
    * Spring framework method used to hold OnSubmit
    * @param request
    * HttpServletRequest
    * @param response
    * HttpServletResponse
    * @param command
    * Object
    * @param arg3
    * BindException
    * @return ModelAndView
    * @throws Exception
    @Override
    protected ModelAndView onSubmit(HttpServletRequest request,
    HttpServletResponse response, Object command, BindException errors)
    throws Exception {
    SessionManager.cleanup(request);
    logger.debug("SearchResultsController.onSubmit() method entered:"
    + request + "," + command + "," + response + "," + errors);
    Search search = (Search) super.getWebApplicationContext().getBean(
    "searchfacade");
    Map dynamic = (Map) getServletContext().getAttribute("config");
    ResourceDTO resourceDto = (ResourceDTO) command;
    SessionManager.removeSessionAttribute(SessionAttributeKey.allValues,
    request);
    //changed by sreelatha on sep21
    //resourceDto.setKeywords(request.getParameter("keywords"));
    //String key = request.getParameter("keywords");
    //logger.debug("&&&&&&&&&&&&& key &&&&&&&&&&&&" + key);
    String keywords = (request.getParameter("keywords"));
    if(null!=keywords) {
    keywords = keywords.trim();
    resourceDto.setKeywords(keywords);
    // changes end
    resourceDto.setUniversityName(request.getParameter("universityName"));
    resourceDto.setSubjectArea(request.getParameter("subjectArea"));
    resourceDto.setCountry(request.getParameter("country"));
    resourceDto.setQualification(request.getParameter("qualification"));
    resourceDto.setYearLevel(request.getParameter("yearLevel"));
    resourceDto.setSpecificType(request.getParameter("specificType"));
    String[] allValues = new String[7];
    //changed by sreelatha on sep21
    //allValues[0] = request.getParameter("keywords");
    allValues[0] = resourceDto.getKeywords();
    //changes end
    allValues[1] = request.getParameter("country");
    allValues[2] = request.getParameter("universityName");
    allValues[3] = request.getParameter("subjectArea");
    allValues[4] = request.getParameter("qualification");
    allValues[5] = request.getParameter("yearLevel");
    allValues[6] = request.getParameter("specificType");
    SessionManager.setSessionAttribute(SessionAttributeKey.allValues,
    allValues, request);
    if(null!=keywords) {
    keywords = keywords.trim();
    String words="";
    for(int i=0;i<keywords.length();i++) {
    String key=String.valueOf(keywords.charAt(i));
    if(key.contains("*")) {
    key = key.replace("*"," ");
    } else if(key.contains("?")) {
    key = key.replace("?"," ");
    } else if(key.contains("[")) {
    key = key.replace("["," ");
    } else if(key.contains("{")) {
    key = key.replace("{"," ");
    } else if(key.contains("(")) {
    key = key.replace("("," ");
    } else if(key.contains(")")) {
    key = key.replace(")"," ");
    } else if(key.contains("+")) {
    key = key.replace("+"," ");
    } else if(key.contains("
    key = key.replace("
    } else if(key.contains(" ")) {
    key = key.replace(" "," ");
    } else if(key.contains("_")) {
    key = key.replace("","");
    } else if(!EMAIL_PATTERN_REG.matcher(key).matches()) {
    key = key.replaceAll(key," ");
    words = words + key;
    keywords = words;
    resourceDto.setKeywords(keywords);
    SessionManager.setSessionAttribute(SessionAttributeKey.test, search.setInputValues(resourceDto, dynamic), request);
    String name = (String) SessionManager.getSessionAttribute(SessionAttributeKey.tempName, request);
    String flag1 = request.getParameter("id");
    String status="";
    if (flag1 !=null && flag1.equals("loggedInUser"))
    if(name==null)
    return new ModelAndView();
    if (flag1 !=null && flag1.equals("loggedInUser")){
    status = "redirect:SearchResults.htm?id=loggedInUser";
    }else if(flag1 !=null && flag1.equals("nonLoggedInUser"))
    status = "redirect:SearchResultsnlu.htm?id=nonLoggedInUser";
    super.setSuccessView(status);
    ModelAndView mav = new ModelAndView(super.getSuccessView());
    logger.debug("SearchResultsController.onSubmit() method exited:");
    return mav;
    }

    Cross-posted in many forums. Don't answer this one.

  • Session Time Out For UNLOGGED USER During Search -pls help

    Hi,
    The problem lies in searchresultscontroller.java/searchcontroller.java file under search/web/handler of an application that supports educational note sharing.
    The problem is that -
    When I search with query strings in different fields(as you will find in the above mentioned java files)..the keywords in resourcedto and get some files as search results.
    Then I click on one of the file from within the search result and visit the file.
    Here if I m logged in as an user, and the session time out is set to 1 minute in the web.xml file of the web folder not the admin folder then when I hit the BACK TO SEARCH button it easily goes back to the previous search result page along with the queries string that I had input previously.
    The problem is that when I m NOT LOGGED in as an user, and I've performed a search with queries and other dropdowns in the search panel, I get the search result page, I visit the file by clicking on one of them but when I hit the BACK TO SEARCH button I don't see the previous search result page from where I had navigated to view the file.
    Please suggest on what changes shall I make in the code so that even if I m not logged in as an user, I get back to the search result page on hitting the BACK TO SEARCH button from the file view page.Sir I m herein pasting the code of the searchresultscontroller.java file, but please feel free to ask for anyother file whose code you might want to see.
    SEARCHRESULTSCONTROLLER.JAVA FILE CONTENT-
    package com.mgh.sps.search.web.handler;
    import java.util.Map;
    import java.util.regex.Pattern;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.log4j.Logger;
    import org.springframework.validation.BindException;
    import org.springframework.validation.Errors;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.SimpleFormController;
    import com.mgh.sps.search.business.facade.Search;
    import com.mgh.sps.common.dto.ResourceDTO;
    import com.mgh.sps.common.util.SessionAttributeKey;
    import com.mgh.sps.common.util.SessionManager;
    import com.mgh.sps.fileusage.web.constants.FileUsageWebConstants;
    public class SearchResultsController extends SimpleFormController {
         * SearchResults Controller
         * @author Muralikrishna.s
         * @Codedondate DD-MM-YY=26-07-07
         * @Usecase/s associated =UC504
         private static final Logger logger = Logger
                   .getLogger(SearchResultsController.class.getName());
         private final static String REG_EXP = "^[A-Za-z0-9]*$";
         private final static Pattern EMAIL_PATTERN_REG = Pattern.compile(REG_EXP);
         * Spring framework method used to hold reference data
         * @param request
         * HttpServletRequest
         * @param command
         * Object
         * @param arg2
         * Errors
         * @return Map
         * @throws Exception
         @Override
         protected Map referenceData(HttpServletRequest request, Object command,
                   Errors errors) throws Exception {
              logger.debug("SearchResultsController.referenceData() method entered:"
                        + request + "," + command + "," + errors);
              SessionManager.setSessionAttribute(SessionAttributeKey.tabIndex,
                        FileUsageWebConstants.TAB_SEARCH, request);
              Search search = (Search) super.getWebApplicationContext().getBean(
                        "searchfacade");
              ResourceDTO resourceDto = (ResourceDTO) command;
              String[] allValues = new String[7];
              if (null != (String[]) SessionManager.getSessionAttribute(
                        SessionAttributeKey.allValues, request)) {
                   allValues = (String[]) SessionManager.getSessionAttribute(
                             SessionAttributeKey.allValues, request);
                   resourceDto.setKeywords(allValues[0]);
                   resourceDto.setCountry(allValues[1]);
                   resourceDto.setUniversityName(allValues[2]);
                   resourceDto.setSubjectArea(allValues[3]);
                   resourceDto.setQualification(allValues[4]);
                   resourceDto.setYearLevel(allValues[5]);
                   resourceDto.setSpecificType(allValues[6]);
              logger.debug("%%%%%%%%%%%%%%%%%qualification%%%%%%%%%%%%%%%"
                        + resourceDto.getQualification());
              String flag = (String) request.getParameter("id");
              resourceDto.setFlag(flag);
              logger.debug("SearchResultsController.referenceData() method exited:");
              return search.retrieveReferenceData(resourceDto);
         * Spring framework method used to hold OnSubmit
         * @param request
         * HttpServletRequest
         * @param response
         * HttpServletResponse
         * @param command
         * Object
         * @param arg3
         * BindException
         * @return ModelAndView
         * @throws Exception
         @Override
         protected ModelAndView onSubmit(HttpServletRequest request,
                   HttpServletResponse response, Object command, BindException errors)
                   throws Exception {
              SessionManager.cleanup(request);
              logger.debug("SearchResultsController.onSubmit() method entered:"
                        + request + "," + command + "," + response + "," + errors);
              Search search = (Search) super.getWebApplicationContext().getBean(
                        "searchfacade");
              Map dynamic = (Map) getServletContext().getAttribute("config");
              ResourceDTO resourceDto = (ResourceDTO) command;
              SessionManager.removeSessionAttribute(SessionAttributeKey.allValues,
                        request);
              //changed by sreelatha on sep21
              //resourceDto.setKeywords(request.getParameter("keywords"));
              //String key = request.getParameter("keywords");
              //logger.debug("&&&&&&&&&&&&& key &&&&&&&&&&&&" + key);
              String keywords = (request.getParameter("keywords"));
              if(null!=keywords) {
                   keywords = keywords.trim();
              resourceDto.setKeywords(keywords);
    //          changes end
              resourceDto.setUniversityName(request.getParameter("universityName"));
              resourceDto.setSubjectArea(request.getParameter("subjectArea"));
              resourceDto.setCountry(request.getParameter("country"));
              resourceDto.setQualification(request.getParameter("qualification"));
              resourceDto.setYearLevel(request.getParameter("yearLevel"));
              resourceDto.setSpecificType(request.getParameter("specificType"));
              String[] allValues = new String[7];
              //changed by sreelatha on sep21
              //allValues[0] = request.getParameter("keywords");
              allValues[0] = resourceDto.getKeywords();
              //changes end
              allValues[1] = request.getParameter("country");
              allValues[2] = request.getParameter("universityName");
              allValues[3] = request.getParameter("subjectArea");
              allValues[4] = request.getParameter("qualification");
              allValues[5] = request.getParameter("yearLevel");
              allValues[6] = request.getParameter("specificType");
              SessionManager.setSessionAttribute(SessionAttributeKey.allValues,
                        allValues, request);
                   if(null!=keywords) {
                   keywords = keywords.trim();
                   String words="";
                   for(int i=0;i<keywords.length();i++) {               
                        String key=String.valueOf(keywords.charAt(i));
                        if(key.contains("*")) {
                                  key = key.replace("*"," ");
                             } else if(key.contains("?")) {
                                  key = key.replace("?"," ");
                             } else if(key.contains("[")) {
                                  key = key.replace("["," ");
                             } else if(key.contains("{")) {
                                  key = key.replace("{"," ");
                             } else if(key.contains("(")) {
                                  key = key.replace("("," ");
                             } else if(key.contains(")")) {
                                  key = key.replace(")"," ");
                             } else if(key.contains("+")) {
                                  key = key.replace("+"," ");
                             } else if(key.contains("\\")) {
                                  key = key.replace("\\"," ");
                             } else if(key.contains(" ")) {
                                  key = key.replace(" "," ");
                             } else if(key.contains("_")) {
                                  key = key.replace("_","_");
                             } else if(!EMAIL_PATTERN_REG.matcher(key).matches()) {
                                  key = key.replaceAll(key," ");
                        words = words + key;
                   keywords = words;
                   resourceDto.setKeywords(keywords);
              SessionManager.setSessionAttribute(SessionAttributeKey.test, search.setInputValues(resourceDto, dynamic), request);
              String name = (String) SessionManager.getSessionAttribute(SessionAttributeKey.tempName, request);
              String flag1 = request.getParameter("id");
              String status="";
              if (flag1 !=null && flag1.equals("loggedInUser"))
              if(name==null)
                        return new ModelAndView();
              if (flag1 !=null && flag1.equals("loggedInUser")){
                   status = "redirect:SearchResults.htm?id=loggedInUser";
              }else if(flag1 !=null && flag1.equals("nonLoggedInUser"))
                   status = "redirect:SearchResultsnlu.htm?id=nonLoggedInUser";     
              super.setSuccessView(status);
              ModelAndView mav = new ModelAndView(super.getSuccessView());
              logger.debug("SearchResultsController.onSubmit() method exited:");
              return mav;
    }

    Cross-posted in many forums. Don't answer this one.

  • How to Increase Time-out for Agent Manager in OLT?

    Hello All,
    When using the Oracle Load Testing Agent Manager for a load test of multiple scripts, I often get time-outs at the start of a test from OLT:
    "Error communicating with.... : timed out after 60 seconds".
    When I check the agentmanager.log file on the remote PC (Win XP SP2) I can see that the communcation started with the last line saying
    "connected to server=......yaddayadda.... queue=queue/AgentPoolNotificationQueue"
    which I assume means there was communication. And there were 2 attempts to start. After the first attempt, the entry:
    05:31:09,513 WARN [AgentProcess] Forcibly terminating process 8041484 for agent agId1530_rndd49ae6b9-a8ec-4a0d-920d-16ee6c7021f4
    The agentmanager_auth.log file show 2 lines near the start time of the test:
    2010-05-12 05:30:18,606 INFO [URL:t3://..........au:8088;Requestor Username: oats;Requestor Key:f6272e33-9428-425b-b52d-c0363f863e43;Requestor Queue:queue/AgentPoolNotificationQueue;Request ID:36;Request:startagent;] - authentication successful
    2010-05-12 05:31:09,513 INFO [URL:t3://..........au:8088;Requestor Username: oats;Requestor Key:f6272e33-9428-425b-b52d-c0363f863e43;Requestor Queue:queue/AgentPoolNotificationQueue;Request ID:42;Request:stopagent;] - authentication successful
    Why was there a 'stopagent'?
    The log from a successful agent show lines after the "Connected to server...." line ( "startAgent( pathTo.....a.. Launching agent.... Launched process 8792944 for agaent agId.....") so something appears to have not happened on the failed agents.
    When starting a test immediately (rather than scheduling it as I want to for off-peak times) and the agents time out, I can stop it & restart test. Usually then they all start successfully.
    Does anyone have any suggestions on failure reasons & possible solutions?
    If there's nothing else that I might have missed, I'd like to trying increasing the time-out to say 120 or 500 seconds.
    How can I do this?
    Is there a way to get the agents to try starting again, or add a new vUser/script instance one the test is running?
    Many thanks,
    Neil
    Edited by: Neil S on May 12, 2010 9:16 AM

    Hi Ramesh,
                          I guess you need to increase the parameter "icm/keep_alive_timeout" value, it's default value is 60. please gothrough the link
    http://help.sap.com/saphelp_webas630/helpdata/en/0b/1c7e7abbc311d5993a00508b6b8b11/content.htm
    To increase this go to RZ10 and add this parameter in Instance profile and modify the value then restart the server to make  the changes effective.
    Regards,
    Hari
    PS: Point's are welcome

  • Time Out for a syncronus BPEL process

    Hi All,
    Need your help with regards to the following:
    From a parent BPEL process we need to invoke a synchronous BPEL Process .This(child) could take anything between 20-30 seconds for processing a request.
    Now the requirement is to time out the parent BPEL process if the BPEL process it is calling takes more than 25 seconds for processing a request.
    If( time taken to get from partner process >25 sec)
    time out
    Else
    Move along with the rest of the process.
    Approaches considered:
    1)     Pick activity :
    Fallout: the pick activity would work only when you are calling a asynchronous BPEL process.
    2)     Having the invoke activity in a scope and adding an on Alarm branch for the scope.
    Fallout: The BPEL process manager executes all the other activities even after exceeding the maximum time the process is set for timing out.
    That is if we consider the below scenario
    If( time taken to get from partner process >25 sec)
    time out
    Else
    move along with the rest of the process.
    Instead of executing the if block( onAlarm) it is executing the else block.
    Request you to suggests approaches to suffice this requirement.

    Hi Sai Madalli,
    An approach to it, would be use the syncMaxWaitTime with time that you need, its a configuration per domain.
    http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/events.htm#BABGGADB
    http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/app_trblshoot.htm
    Regards

  • Seelct query time out for single region

    Hi ,
    I am currently facing a problem with a report .The problem is in a select query.The report runs successfully when it is run for only more than 1 state but when it is run for single state then it times out.The select query is as given below.
    SELECT avbeln eposnr bvbtyp aerdat akunnr ckunnr d~regio
               ewerks aernam dname1 afaksk b~cmgst
               INTO TABLE t_block
               FROM vbak AS a
               INNER JOIN vbuk AS b
               ON bvbeln = avbeln
               INNER JOIN vbpa AS c
               ON cvbeln = avbeln
               INNER JOIN kna1 AS d
              ON dkunnr = akunnr                             
               ON dkunnr = ckunnr                             
               INNER JOIN vbap AS e
               ON evbeln = avbeln
                   WHERE a~faksk IN faksk
                     AND a~vkorg = vkorg
                     AND a~vtweg IN vtweg
                     AND a~spart IN spart
                     AND a~vkbur IN vkbur
                     AND a~vkgrp IN vkgrp
                     AND a~kunnr IN kunnr
                     AND a~ernam IN ernam
                     AND a~erdat IN erdat
                     AND a~vbeln IN vbeln
                     AND a~vbtyp IN vbtyp
                     AND b~spstg IN ('A','B','C')
                     AND ( b~fsstk NE space
                          OR b~cmgst NE space )
                     AND b~abstk NE 'C'
                     AND c~kunnr IN s_kunwe
                     AND c~parvw = 'WE'
                     AND d~regio IN s_regio.
    Please let me know if you require any more information.
    s_regio is the select option for state.Also I feel that for KUNNR the On conditon might cause soem problem becasue it does not involve key fields.
    thanks,

    hi ds,
    separate the select in several selects. The inner join is not always the best solution.
    take
    data : ivbak type table of vbak,
       field symbols : <xvbak>
    select +++ into corresponding fields of table ivbuk
              from vbuk
              where
    select +++ into corresponding fields of table ivbak
             form vbak
             for all entries in ivbuk
             where vbeln eq ivbuk-vbeln ...
    select ...
    if you want to have one internal table then do it with a loop.
    loop at ivbak assigning <xvbak>
    read table ikna1 with key kunnr = <xvbak>-kunnr.
    loop at ivbap whee vbeln = <xvbak>-vbeln.
    itab..= vbak..
    ? move corresponding ?
    append itab.
    endloop.
    endloop.
    that will not cause a time-out.
    if you want a verry quick program - use tables without heading lines and field symbols with loops with assigning.
    It is more to write but the effect is verry good.
    Hans
    Hans

  • Roll out for new plant need some informations

    Hi,
    We are going to roll out for our 2nd plant. So I need your help.
    I am explaining the scenario,
    Current scenario is: we have two manufacturing plants (ex:-one in noida and another in gurgaon) and in both plants we have six product line (in A plant=3, in B plant=3).
    For both plants we are using one Company code (1000). and we are not using the business area.
    But now the problem is this, that management wants separate reporting (P&l statement and Balance sheet) Plant wise and Product wise.
    We decide to create a separate co- code for 2nd plant and six business area for product lines.
    (In this regards I need your suggestions that how can we define the enterprise structure)
    Please tell me
    1. what new configurations we need to be done for new co-code?
    2. In which areas business area will be affected and how and where we will assign the business area?
    3. As we are doing transaction in sap since last year and we are doing this roll out in mid of 2008 so what will be the impact on the business.
    4. How we will transfer the transactional data from one co-code to another, because data of both plants lies in previous co-code(1000).
    Data like:- A. Transfer of General ledger balances
              B. Transfer of open line items of General ledgers
              C. Transfer of asset and accumulated depreciation from one co code to another.
              D. Controlling transfer postings.
              E.  Customer / Vendor open items and balances transfer posting. Etc
    If someone knew about something more to be taken care of, please guide so that we can successfully complete the roll out.
    Please advice me, its urgent. if any one can give me his mobile to make me understood i can call to him .
    Thanks and regards
    Kuldeep singh

    if they want to a seperate P&L and B/S the why dont you make them as profit centers where you can take a P&L n B/S. at this level

Maybe you are looking for