Exchange 2000 portlets time out

Running the exchange ASPs both in an empty browser window and as portlets goes awfully slow. Adding all three portlets to one page makes at least one of them time out, regardless of the timeout setting. Running only one takes up to ten seconds to complete. The ASPs are installed on the same server as is running the Outlook Web Access. When running the OWA's default GUI it completes downloading in a couple of seconds so the server's capacity should not be the issue.
Could this be a problem with the authentication since the ASPs use basic authentication while the OWA uses windows authentication? Anyone have tips on how to speed 'em up?

I will try and explain the implementation of MS Exchange Portlets and inturn try to solve the problem that we have at hand.
Outlook Web Access (OWA), is the default web access utility provided by Microsoft.
The MS Exchange portlets follow the earlier implementations OWA (OWA 5.5). This implementation is with Active Server Pages (ASP) and Collaboration Data Objects (CDO), these in turn rely on Messaging API (MAPI) function calls to retrieve messages from the Exchange Server. For each connected user, OWA must open a MAPI session with the Exchange server, but the number of open MAPI sessions that can be efficiently handled within an ASP session is limited. The architecture restricts the number of users that can simultaneously connect to an Outlook Web Access server.
Because of this, a major complaint that many users had with earlier OWA versions was performance.
Now coming to the implementation of OWA in Exchange 2000, rather than attempt to improve OWA's performance by tweaking the existing code, Microsoft developed OWA 2000 from scratch to take advantage of universal technologies like Web-Dav. In addition to this OWA 2000 uses XML and Dynamic HTML (DHTML) to improve performance and provide additional advanced features by offloading some rendering tasks to the client and reducing the amount of client-to-server communication.
So OWA 2000 will run fine without giving any performance issues. Same would be the case if you use IFrame to use load OWA.
Also contrary to what the OWA 2000 response time suggests, in these Portlets the server capacity would matter.
Information that would prove helpful to investigate this problem further would be;
1. What is the Exchange/IIS Server setup,
a. Are the Exchange/IIS on the same machine?
b. Machine configuration of each of the machines?(OS,RAM, Processor speed etc.)
c. Are the Exchange/IIS on the same Windows domain?
2. Number of users simultaneously accessing MS Exchange through Portlets.
If you can share this information regarding the setup/usage, we can investigate into this problem further, and try to solve the problem.

Similar Messages

  • Portlet Exchange 2000 view content messages not found

    I installed and configured the portlet exchange 2000 (March 2003).
    I can access the inbox.asp, calendar.asp and contacts.asp the login is OK, but when I want to view the content for a message show me the error file not found,
    I review many times the configuration and was Ok.
    Do you have any information about this??
    Thank you
    Regards

    Hi,
    From your posts it seems like an issue with the setup of the Exchange Portlets.
    With Exchange portlet you need do the following:-
    1. Installing the ASP files on Internet Information Server
    2. Updating provider.xml
    3. Publishing the Microsoft Exchange 2000 Portlets
    4. Creating the External Application
    5. Registering the Microsoft Exchange 2000 Provider
    Each of these tasks have been elaborated in the install document and I am sure that you must have followed the same. Just verify these steps to ensure that you have not missed out on anything.
    Ideally with Exchange Portlets, if you have followed all the steps and your setup is in line with the requirements you should not run into these problems.
    If you still are running into erros, please mention the Portal version, Exchange version, IIS version and the Machine setup too.
    Take care,
    Manoj

  • Time-out problems with RV320 (after upgrade from RV042)

    config:
    dual wan
    WAN1: 4G router (DHCP) - approx 25Mbit/ 8Mbit
    WAN2: PPOE (DSL) - 1 Mbit/ 0.2 Mbit
    worked with a RV042 before and upgraded to a RV320 now.
    all other things are unchanged.
    3 problems - 2 solved/ not critical - one still open:
    a) not critical:  DHCP Status does not include all devices (changing view - but all-time problem)
    I would suspect a software bug.... DHCP itself works perfectly/ IPs are assigned (just not shown in status)
    b) solved (at least for now):  internet connection featured time-outs; after many tries, disabling the SPI in the firewall helped
    btw: this only happend for the WAN1 - WAN2 worked  (or is that slow that the additonal wait time did not matter ;-)
    c) very annoying: exchange connection (from Outlook client to external exchange) still has time-outs (mostly the whole mail client hangs/ ends to be restarted).
    As soon as I disable WAN1, it works!  But it´s not the LTE WAN itself - switching back to the RV042 does not show the same symptom.
    I tried: include IP into local DNS (in general I work with google DNS servers - but changing that does not help either), opening all traffic for teh realevant IPs and disabling the firewall completely.  no positive results....
    thanks for any hints....

    I agree with you on a, probably a bug of some sort.
    b is an issue I've seen before, and even on similar bandwidth (25/5) on my rv016.  What was able to figure out is that the carrier (ISP) is sending about 4k/sec of ICMP packets to the router, which in turn makes the router think it's under attack so it drops the connection.  As you can tell, disabling the SPI helps.  For me, putting another router in front of my rv016 (on 2 of 3 wans) was my only 'permanent' solution.
    c sounds like there's a protocol binding/static route in the rv042 that you need to add to the rv320.  I'd check that first.
    Huntsville's Premiere Car and Bike e-magazine: www.huntsvillecarscene.com

  • Get Some Problems when Installing Exchange 2003 Portlet

    Hi,
    I am trying to setup exchange 2003 portlet, all the prerequisitions are done. I follow the installation guide (http://www.oracle.com/technology/products/ias/portal/point/exchange2003/installation.html) and all works well till to step 6(Test the ASP page access to the sample Exchange 2003 mailbox). I am sure all the parameters passing in the url are correct, but still get and http not found error.
    I have referenced the thread here(Re: Installing Microsoft Exchange 2000 Portlets which said that the cdo lib should be registered first. But i still have this problem after i have register the exchange server 2003's cdo lib which version should be 1.21. So i am wondering whether the cdo version is restricted, if it does, which cdo version should i use in Exhcange 2003 environment? the 2000 one?
    i will appreciate anyone who gives me suggestions or hints to solve this problem.
    Thanks in advanced.

    Hi,
    Are you looking for Customizable portlets (Task,Calendar,Mail,Contact) for Exchange Server 2000/2003 on Oracle Portal Server ?
    do let me know..
    nJoy Work
    ~Neeraj Sidhaye
    try_catch_finally @ Y !
    ExtremePortal @ Gmail dot com

  • Netbeans JDBC to MSSQL 2000 Problem / No Time Out or Error

    Hello All,
    A Java/Netbeans Rookie question..(tried Google can't find answer)..
    Trying a New DB connection to MS SQL 2000 through Netbeans.
    Followed the instructions found
    HERE->http://www.netbeans.org/kb/50/using-netbeans/dbconn.html#73418
         Runtime
              -->Drivers
                   --->New connection
    I added the driver (mssqlserver.jar).
    Netbeans recognizes this.
    when I try to create a connection to a DB in SQL,
    I get an as expected "connecting to DB" message
    But, I never get a connection, nor do I get an Error, nor a time out.
    Tried intentionally a wrong user id/password to force an error, however do not get one.
    I assume the error is on the Netbeans side of house (since it's not throwing the login Error from MS SQL).
    My MSSQL server group is set up as
    Einstein\SQLGUY
         DB>Northwind
    The Netbeans DB Url I'm using is
    jdbc:sqlserver://Einstein\SQLGUY:1433;databaseName=Northwinds;
    I can Query Northwinds in SQL, so all looks o.k. In SQL.
    Thanks for the help.
    �Rookie�

    P.S.
    I do have
    msbase.jar
    msutil.jar
    mssqlserver.jar
    In my CLASSPATH
    thx.
    eom

  • Exchange 2013 issue / OWA time-out and WiFi/Cell problem.

    Hi everybody,
    I'm having some issues with an Exchange 2013 server.
    When some users try to logon to the OWA page it keeps loading the page and ends with a time-out.
    This only applies to 6 or 7 users, other users can login and open the page.
    I tried to replace the signed certificate to solve this problem, and did a online analyzer check, most tests come out good.
    I can't seem to find the source of this problem.
    There are also multiple users that are having trouble to receive e-mail through the wifi on phones and tablets at home but when they switch to 3g it works fine.
    You might need more information, just ask.. i don't know where to search anymore.
    I tried inheritance on the AD, disabled SSL in the IIS, restarted the server, replaced the signed cert. etc.
    Update:
    I set the selfsigned cert in the IIS default web page,, to check if it responds to the certificate and it does, so the issue doesn't come from the certificate.
    This issue probably came up after CU1, and i've read something about healthboxes..
    I'm going to install CU6 and hope for good result.
    Kind regards,
    Tim

    I've installed CU6, only one of the six users have gained access to OWA or ECP.
    Al the other users won't get a logon screen, just a blank page.
    So there is no option to insert a username or password to login, the page keeps loading and ends with "the page cannot be displayed"
    But on my working spot i can open owa or ecp without any issues.
    I've recreated the virtual directory for ECP and OWA with powershell, and checked the certificate.
    I checked if the same certificate was connected to the back-end port 444, and this is set correct.
    I even reconnected the cert on 444 with the following.
    Open the Command Prompt
    Run-
    netsh http show sslcert
    This will show the certs, copy and paste this information into notepad.  Under     IP:port   : 127.0.0.1:443, note the certificate hash and application ID.
    Run this command-  (Yes, I know there is no :444 listed in the output from the earlier command.)
    netsh http delete sslcert ipport=0.0.0.0:444
    Run this command.  Replace certhas with the certificate hash and appid with the application ID you saved in notepad.
    netsh http add sslcert ipport=0.0.0.0:444 certhash=123123123123123 appid="{123123123123-1231231235}"
    I used powershell to set the login authentication,
    et-Owavirtualdirectory -identity "YourMailBoxServerName\owa (Exchange Back End)" -WindowsAuthentication $True -Basicauthentication $false -Formsauthentication $false
    set-Owavirtualdirectory -identity "YourCASserverName\owa (Default Web Site)" -WindowsAuthentication $True -Basicauthentication $false -Formsauthentication $false
    and iisreset /noforce
    I unchecked the "require SSL" on the default website and left it enabled on the owa and ecp etc.
    Checked if HTTP over Proxy is installed, but this one is need to install exchange 2013.
    I've checked all ECP/OWA directories in in the IIS, the directories point to the Exchange V15 folders, this should be correct.
    Something is really broken, i really can use the help..
    I'm going to try to install Exchange 2013 SP1, but i don't know if this one is needed when CU6 has been installed.
    The strange thing is, it seem to be location based, not user based.
    I can login perfectly, but when i try this at one of the employees, it ends up blank.
    When i try to connect on a location dat does not work, at the exact time i press the enter-key to open the page, the eventviewer logs the following:
    Event 4634 - An account was logged off.
    For the issue on the smartphones and tablets, everything worked fine a few months ago, and happens to users on different ISP connections.
    I already checked the inheritance settings on the users in the AD.
    Kind regards,
    Tim

  • Exchange 5.5 2.5 Time out

    I have 100 users. One is experiencing a Time out on the Inbox (all of them actually) gadget for Exchange 5.5. Network admin has verified his uid and pass are correct and no exhange server issues. He has been getting his mail that way for some time then it stopped a week ago. There have been no other variables changed in his environment.
    Any thoughts?

    When it happens, please do the following:
    1) Get a "View Source" of the page
    2) Trace the request/respond. Use ptspy to capture any errors, if any
    3) Check the log file on the remote server

  • Session Time out happens on Win2k Advanced Servers

    Hi All,
              I have configured a Admin server and 2 cluster servers. All are on Win 2000
              Advanced Servers. After deploying EJBs to the cluster, when I try to log in
              to our application ( Presentation logic is done by servelets & JSPs ) it
              allows to log in but when I try to click a link to go to another page
              session time out happens. This happens whenever I click a link or browser's
              Refresh button. I have to repeatedly log in.
              Have anyone faced this problem ? Is there a session time out problem with
              WLS6.0 sp2 ?
              Please respond.
              Thanks
              Nalika
              

    Sorry I have fogottoned to add :
              This problem occurs when I try to setup clustering manually as well as, as a
              Win2k service (i.e Admin server & cluster servers as Win2k services)
              "Nalika" <[email protected]> wrote in message
              news:[email protected]..
              > Hi All,
              >
              > I have configured a Admin server and 2 cluster servers. All are on Win
              2000
              > Advanced Servers. After deploying EJBs to the cluster, when I try to log
              in
              > to our application ( Presentation logic is done by servelets & JSPs ) it
              > allows to log in but when I try to click a link to go to another page
              > session time out happens. This happens whenever I click a link or
              browser's
              > Refresh button. I have to repeatedly log in.
              >
              > Have anyone faced this problem ? Is there a session time out problem with
              > WLS6.0 sp2 ?
              > Please respond.
              >
              > Thanks
              > Nalika
              >
              >
              >
              >
              

  • Session Time Out Message on Portal

    Hi Guys,
    We do have an application with out logging in, user can come to our application. The session time out will be 10 min. I am configuring the session time in web.xml
    But when session timed out i need to forward to a session timeout jsp, when they try to access the functionality. We are using WLP 10.3 and application in JSF 1.2
    Thanks in advance.
    Siddu
    Edited by: Siddu4u on Jun 26, 2012 1:16 PM

    Sorry I have fogottoned to add :
              This problem occurs when I try to setup clustering manually as well as, as a
              Win2k service (i.e Admin server & cluster servers as Win2k services)
              "Nalika" <[email protected]> wrote in message
              news:[email protected]..
              > Hi All,
              >
              > I have configured a Admin server and 2 cluster servers. All are on Win
              2000
              > Advanced Servers. After deploying EJBs to the cluster, when I try to log
              in
              > to our application ( Presentation logic is done by servelets & JSPs ) it
              > allows to log in but when I try to click a link to go to another page
              > session time out happens. This happens whenever I click a link or
              browser's
              > Refresh button. I have to repeatedly log in.
              >
              > Have anyone faced this problem ? Is there a session time out problem with
              > WLS6.0 sp2 ?
              > Please respond.
              >
              > Thanks
              > Nalika
              >
              >
              >
              >
              

  • Load Balancing Time Out Settings

    Hi, getting error below and I'm sure its to do with Time Out on Load Balancing, anyone confirm as don't want to mess around with IIS...
    The average of the most recent heartbeat intervals [499] for request [Ping] used by clients is less than or equal to [540].
    Make sure that your firewall configuration is set to work correctly with Exchange ActiveSync and direct push technology. Specifically, make sure that your firewall is configured so that requests to Exchange ActiveSync do not expire before they have the opportunity
    to be processed.
    For more information about how to configure firewall settings when using Exchange ActiveSync, see Microsoft Knowledge Base article 905013, "Enterprise Firewall Configuration for Exchange ActiveSync Direct Push Technology" (http://go.microsoft.com/fwlink/?linkid=3052&amp;kbid=905013).
    Currently timeout is set to 5mins on LB...
    Thanks!

    I'm talking about Health Check Time Values below;
    http://blogs.vmware.com/vsphere/2012/11/load-balancing-using-vcloud-networking-and-security-5-1-edge.html
    Parameter
    Description
    Interval
    Interval at which a server is pinged.
    Timeout
    Time within which a response from the server must be received.
    Health Threshold
    Number of consecutive successful health checks before a server is declared operational.
    Unhealth Threshold
    Number of consecutive unsuccessful health checks before a server is declared dead.

  • I have Problem uploading photos to craigslist. It says it has a problem communicating with the server and times out. It works in explorer but not Firefox and I just recently downloaded the new version of firefox. Can you be of any help?

    Photos will not upload and the server times out.

    Well, two thoughts.
    The battery has completely discharged and will take overnight to recharge, so don't expect much in an hour.
    The battery has deep discharged and is now dead. It will never recharge and should be replaced.
    If your iPod Touch, iPhone, or iPad is Broken
    Apple does not fix iDevices. Instead they exchange yours for a refurbished or new replacement depending upon the age of your device and refurbished inventories. On rare occasions when there are no longer refurbished units for your older model, they may replace it with the next newer model.
    You may take your device to an Apple retailer for help or you may call Customer Service and arrange to send your device to Apple:
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes international calling numbers.
    iPod Service Support and Costs
    iPhone Service Support and Costs
    iPad Service Support and Costs
    There are third-party firms that do repairs on iDevices, and there are places where you can order parts to DIY if you feel up to the task. Start with Google to search for these.
    The flat fee for a battery exchange is, I believe, $99.00 USD.

  • SMTP very slow/errors and times out in mail.app

    I have a series of account set up that are working great except for my work mail (exchange IMAP). The server it's on is pretty slow, and this is complicated in mail app as I get constant SMTP send errors "the server rejected the address...." it's very intermittent - I can have an hour where everything sends just fine, and others where it just doesn't work. Connection doctor takes at least 10 seconds to successfully connect.
    Is there a way to adjust the time out value on mail.app so that it doesn't immediately fail to send?

    Let us separate between the intermittent SMTP errors and the slowing down for the time being. What happens (and how long it takes) when you open a shell and connect to the SMTP server ? For example, try something like this:
    ]# telnet smtp.google.com 25 (if your smtp server is imap google)
    try to send a simple message and see how long it takes, e.g.
    helo smtp.google.com
    --

  • HTTP time out Error in BPM.....

    Hi
    Error Description:
    We have created a Sync-Async Bridge BPM scenario in XI.
    In the BPM scenario we are calling the web service, and if the response from the web service is an error message then we have retry in a loop up to 24 times after wait for every 1 min.
    We are sending the data to the web service using a proxy created in the R/3 system.
    We are getting the time out error in the R/3 system. 
    We have changed the following parameters in XI.
    In SXMB_ADM of XI we have set the value for the following parameter.
    Category                      parameter                                                                    current value
    SA_COMM                    CHECK_FOR_ASYNC_RESPONSE_TIMEOUT                120
    In SXMB_ADM of R/3 we have set the value for the following parameter.
    Category                      parameter                                                                    current value
    RUNTIME                      HTTP_TIMEOUT                                                            120
    When we put the value as 120 for the above parameters and we try for 2 times in the BPM process, then it is sending the response back to the R/3 system after completing the whole BPM process.
    But when we increase the no of retries in the BPM process then it is not sending the response back to the R/3 system in the same way, at that time we are getting the error in SXMB_MONI of R/3 system as given below.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    -   <!--
        Inbound Message
      -->
    - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
      <SAP:Context />
      <SAP:Code p1="500" p2="Timeout" p3="" p4="">HTTP.HTTP_STATUS_CODE_NEQ_OK</SAP:Code>
      <SAP:Text language="EN">HTTP status code 500 : Timeout</SAP:Text>
      </SAP:ErrorHeader>
    Please provide the solution for the same.
    Many Thanks
    Rinku Gangwani

    Hi Prateek,
    Thanks for your replay. I am able to open the URL from XI/PI.
    I tried by testing the same URL by using XI 3.0, its working fine and i am getting required data, but in PI 7.1 i am getting an error.
    Error is:
    In MONI:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection refused: connect
    In RWB:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection timed out: connect
    What could be the reason?
    Regards,
    Venu

  • HT3771 set up for printing with HP Designjet 500ps (Using Mac os 10.4.11 Printer is set up correctly showing on Mac-Updates installed but still won't print-Printer shows TIME OUT)

    Set up for HP Designjet 500ps using Mac os x 10.4.11 Does any one know where to upload
    Leopard os x 10.5 The printer will not print until I have the updated software. Ebay sell the
    disc on their auction site, but only on disc not a download which is more convenient & faster
    to get in a hurry.The software installed in the mac is working the way it should & showing up
    as it would but it seems as though there is a driver that's needed. The results in any articals
    that I have read suggest you don't need any drivers if you use HP EasyPhotoSoftware installed. 

    Welcome to Apple Support Communities. We're users here, not "Apple Inc."
    You might have better a response to your questions by posting them in the OS X 10.4 Tiger forums: https://discussions.apple.com/community/mac_os/mac_os_x_v10.4_tiger
    or in the PowerMac forums:
    https://discussions.apple.com/community/desktop_computers/power_macof
    This forum is for OS X 10.6 Snow Leopard. Since that version won't run on your PowerMac, you're not likely to get many helpful responses here.
    In any case, I'll try to offer some basic troubleshooting suggestions:
    The PS designation on your printer denotes the PostScript printer language. Is your applications software and current printer driver configured to send PostScript (or HP-GL or HP-PCL or ???)
    Does ANY application print anything (even gibberish) to the printer?
    HP still shows a DesignJet 500 series raster driver for OS X 10.4 Tiger available to download here:
    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/? sp4ts.oid=377952&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Di dx%253D%257CswItem%253Dpl_97046_1%257CswEnvOID%253D2072%257CitemLocale%253D%257C swLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTo k=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken
    Does the printer time-out with every program, or just one? Have you tried another cable?
    OS X 10.5 Leopard is no longer sold by Apple. It was never sold as a download, sold only on CD/DVD disc. Discs might still be available for purchase on eBay.
    OS X 10.6 "Snow Leopard" is the oldest version of OS X still sold by Apple, and it too is available ONLY on CD/DVD for $20, but it will not run on your PowerMac, because Snow Leopard requires an Intel processor: os x snow leopard requirements
    HP DesignJet 500 basic printer documentation is available as a pdf document and downloadable file here: http://h20566.www2.hp.com/portal/site/hpsc/public/psi/manualsResults?sp4ts.oid=2 5301&ac.admitted=1391720518005.876444892.199480143
    How is the printer connected to the computer? Are you using a USB interface, a Centronics 'Parallel' interface, or a JetDirect network interface?
    It appears that the network timeout default for the printer was 30 minutes, but it can apparently be set in the range of anything 30-seconds and longer. The manual notes that some software does not send an 'end of job' postscript marker, so that is the reason for the time-out setting.
    http://h20566.www2.hp.com/portal/site/hpsc/template.BINARYPORTLET/public/kb/docD isplay/resource.process/?spf_p.tpst=kbDocDisplay_ws_BI&spf_p.rid_kbDocDisplay=do cDisplayResURL&javax.portlet.begCacheTok=com.vignette.cachetoken&spf_p.rst_kbDoc Display=wsrp-resourceState%3DdocId%253Demr_na-c00749274-1%257CdocLocale%253Den_U S&javax.portlet.endCacheTok=com.vignette.cachetoken

  • Time Out error problem when i run the report for the whole plant

    Dear all,
    pls find the below coding, when i execute this report for the whole plant , it gives me time out error since it has to process huge database. pls suggest me in which part of my below coding i can improvise or any other better way to fetch the same result.
    pls note that
    i m using Views for querying.pls also note the comments given in Bold to understand the reason behind the coding.
    Views used in are - ZVPOD and ZVPRDCONF.
    START-OF-SELECTION.
      Data: zstat type jest-stat.
      data: stklocaf type mska-lgort.
      data: stklocas type mska-lgort.
    <u><b>To collect the status of the production order by joining the ZVPOD and JEST table.</b></u>
      CLEAR it_ZVPRODDET.
      SELECT DISTINCT ZVPOD~bukrs ZVPOD~aufnr ZVPOD~objnr
      jest~stat ZVPOD~werks ZVPOD~arbpl ZVPOD~J_3AKORD2
      FROM  ZVPOD
      INNER JOIN jest ON ZVPOD~objnr = jest~objnr
      INTO CORRESPONDING FIELDS OF wa_ZVPRODDET where
      plnbez in FGM and arbpl in wc and werks in plant
      and SSAVD in eldate
      and J_3AKORD2 in cups and jest~inact ne 'X'.
        APPEND wa_ZVPRODDET TO it_ZVPRODDET.
      ENDSELECT.
      SORT it_ZVPRODDET BY aufnr stat.
    <u><b>Loop thru Itab to check and delete the records from itab for the specified status.</b></u>
      LOOP AT it_ZVPRODDET INTO wa_ZVPRODDET.
        IF wa_ZVPRODDET-stat = 'I0045' .  " TECO - compl
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0009' .  " CNF - Confirmed
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0012' .  " DLV - Delivered
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0046' .  " CLSD - Closed
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'I0076' .  " DLFL - Del Flag
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
        ELSEIF wa_ZVPRODDET-stat = 'E0003' .  " SCLS - Short Close
          CLEAR tj30t.
          SELECT SINGLE txt04
          FROM tj30t INTO tj30t-txt04
          WHERE stsma = 'PRDHOLD' AND
                estat = 'E0003' AND
                txt04 = 'SCLS' AND
                spras = 'EN'.
          IF sy-subrc = 0.
            DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
          ENDIF.
        ENDIF.
    *      Condition for Prod Order released - REL
        IF wa_ZVPRODDET-stat = 'I0002'.
          mreleased = 'Y'.
        else.
          mreleased = 'N'.
        endif.
        zstat = wa_ZVPRODDET-stat.
        IF mreleased = 'N'.
          DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr
          and stat = zstat.
        ENDIF.
      ENDLOOP.
    <u><b>Loop thru the filtered ITAB to get all the production order details for the production order number specified in the where clause( zaufnr ) and populate another internal table.</b></u>
          LOOP AT it_ZVPRODDET INTO wa_ZVPRODDET.
            zaufnr = wa_zvproddet-aufnr.
            zarbid = wa_zvproddet-arbid.
            at new aufnr.
              SELECT DISTINCT * INTO CORRESPONDING FIELDS OF  walnpln
              FROM zvpod where plnbez in FGM and arbpl in wc and SSAVD in
             eldate and werks in plant and J_3AKORD2 in cups and aufnr = zaufnr.
                APPEND walnpln TO itablnpln.
              endselect.
            endat.
          endloop.
          clear walnpln.
    <u><b>
    Looping thru Internal table and performs all the following calculations and inner loop
    and also relevant querying.</b></u>
    <u><b>Assume that ITABLNPLN holds appox. 8000 records.</b></u>
    LOOP AT itablnpln  INTO walnpln.
            contot = 0.
            SELECT distinct * INTO CORRESPONDING FIELDS OF TABLE itablnp
            FROM zvprdconf where aufnr = walnpln-aufnr and
            j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
            clear zvprdconf.
            SELECT single isdd
            FROM zvprdconf into  zvprdconf-isdd
            where aufnr = walnpln-aufnr and
            j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
            SELECT single isdz
            FROM zvprdconf into  zvprdconf-isdz
            where aufnr = walnpln-aufnr and
            j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
            IF sy-subrc EQ 0.
              <u><b>Assume that ITABLNP  holds appox. 30 records.</b></u>
              loop at itablnp into walnp.
                contot = contot + walnp-J_3ALMNGA.
                move walnp-J_3ASIZE to walnpln-J_3ASIZE.
                move zvprdconf-isdd to walnpln-zdate.
                move zvprdconf-isdz to walnpln-ztime.
              endloop.
              walnpln-output = contot.
            endif.
            walnpln-wip = walnpln-menge - contot.
            if walnpln-werks = '1000'.
              stklocaf = '1050'.
              stklocas = '1060'.
            elseif walnpln-werks = '2000'.
              stklocaf = '2150'.
              stklocas = '2160'.
            endif.
           select single kunnr into walnpln-ship from vbpa where
           vbeln = walnpln-KDAUF and PARVW = 'WE'.
            zship = walnpln-ship.
            move zship to walnpln-ship.
            select  single kalab into walnpln-zactqty from mska
            where matnr = walnpln-plnbez
            and j_3asize = walnpln-J_3AKORDX and LGORT = stklocaf.
            condense walnpln-kdauf.
            zsales = walnpln-kdauf.
            concatenate zsales 'S' into zso.
            select single kalab into walnpln-zsndqty from mska
            where matnr = walnpln-plnbez
            and j_3asize = walnpln-J_3AKORDX and LGORT = stklocas
            and J_4KSCAT = zso.
            zmatn = walnpln-plnbez.
            zsale = walnpln-KDAUF.
            walnpln-kdauf = zsale.
            walnpln-plnbez = zmatn.
            zcust = walnpln-kunnr.
            walnpln-kunnr = zcust.
            select single bezei into walnpln-season from TVV2T where
            kvgr2 = walnpln-kvgr2 and SPRAS = 'E'.
            select single bezei into walnpln-shipmode from T173T where
            vsart = walnpln-vsart and SPRAS = 'E'.
            STRL = strlen( walnpln-j_3akord2 ).
            if  strl = 4.
              move walnpln-j_3akord2 to walnpln-j_3akord3.
              clear walnpln-j_3akord2.
            endif.
            move zremk to walnpln-remk.
            MODIFY itablnpln FROM  walnpln.
            contot = 0.
            clear itablnp.
          ENDLOOP.
          PERFORM build_fieldcatalog.
          PERFORM build_layout.
          PERFORM display_alv_report.

    Hi raja,
    Plese go through the suggessitions.
    1.avoide the select ...endselect. write the below select
    CLEAR IT_ZVPRODDET.
    SELECT DISTINCT
         ZVPOD~BUKRS
         ZVPOD~AUFNR
         ZVPOD~OBJNR
         JEST~STAT
         ZVPOD~WERKS
         ZVPOD~ARBPL
         ZVPOD~J_3AKORD2
      FROM ZVPOD
      INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
      INTO CORRESPONDING FIELDS TABLE  IT_ZVPRODDET
      WHERE PLNBEZ IN FGM AND
            ARBPL IN WC AND
            WERKS IN PLANT AND
            SSAVD IN ELDATE AND
            J_3AKORD2 IN CUPS AND
            JEST~INACT NE 'X'.
      IF SY-SUBRC = 0.
        SORT TABLE IT_ZVPRODDET.
      ENDIF.
    2..first of all dont delete a record inside the loop. instead use the Field symobols.
    have u obsereved you code in the loop!!!!. wht u r doing..
    u r removing the same record which u in the loop..
    If u wanto delete the entires with check to<b> stat</b>... <b>then.. why dont u put the STAT field in Wher e condition..?</b> by this you reduce the data base select time..
    Now the select query is like the below....
    CLEAR IT_ZVPRODDET.
    SELECT DISTINCT
         ZVPOD~BUKRS
         ZVPOD~AUFNR
         ZVPOD~OBJNR
         JEST~STAT
         ZVPOD~WERKS
         ZVPOD~ARBPL
         ZVPOD~J_3AKORD2
      FROM ZVPOD
      INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
      INTO CORRESPONDING FIELDS TABLE  IT_ZVPRODDET
      WHERE PLNBEZ IN FGM AND
            ARBPL IN WC AND
            WERKS IN PLANT AND
            SSAVD IN ELDATE AND
            J_3AKORD2 IN CUPS AND
            JEST~INACT NE 'X' AND
            ( STAT <> 'I0045' AND
              STAT <> 'I0045' AND
              STAT <> 'I0009' AND
              STAT <> 'I0012' AND
              STAT <> 'I0046' AND
              STAT <> 'I0076' AND
              STAT <> 'E0003' ).
      IF SY-SUBRC = 0.
        SORT TABLE IT_ZVPRODDET.
      ENDIF.
    <b>3.</b> WHT IS MEANING OF THE SELECT
    <b>  CLEAR TJ30T.
      SELECT SINGLE TXT04
      FROM TJ30T INTO TJ30T-TXT04
      WHERE STSMA = 'PRDHOLD' AND
            ESTAT = 'E0003' AND
            TXT04 = 'SCLS' AND
            SPRAS = 'EN'.
      IF SY-SUBRC = 0.
        DELETE IT_ZVPRODDET WHERE AUFNR = WA_ZVPRODDET-AUFNR.
      ENDIF.</b>....... IN WHERE CONDION U R GIven all are constant values right?..
    why u need select it inside the loop.. u can write before the SELECT from ZVPOD..
    that why first checke this field then go for fur thure selects..
    <b>now u r code looks like this....</b>
    CLEAR TJ30T.
    SELECT SINGLE TXT04
      FROM TJ30T INTO TJ30T-TXT04
    WHERE STSMA = 'PRDHOLD' AND
          ESTAT = 'E0003' AND
          TXT04 = 'SCLS' AND
          SPRAS = 'EN'.
    IF SY-SUBRC = 0.
      CLEAR IT_ZVPRODDET.
      SELECT DISTINCT
           ZVPOD~BUKRS
           ZVPOD~AUFNR
           ZVPOD~OBJNR
           JEST~STAT
           ZVPOD~WERKS
           ZVPOD~ARBPL
           ZVPOD~J_3AKORD2
        FROM ZVPOD
        INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
        INTO CORRESPONDING FIELDS TABLE  IT_ZVPRODDET
        WHERE PLNBEZ IN FGM AND
              ARBPL IN WC AND
              WERKS IN PLANT AND
              SSAVD IN ELDATE AND
              J_3AKORD2 IN CUPS AND
              JEST~INACT NE 'X' AND
              JEST~STAT <> 'I0045' AND
              JEST~STAT <> 'I0045' AND
              JEST~STAT <> 'I0009' AND
              JEST~STAT <> 'I0012' AND
              JEST~STAT <> 'I0046' AND
              JEST~STAT <> 'I0076' AND
              JEST~STAT <> 'E0003' ).
        IF SY-SUBRC = 0.
          SORT TABLE IT_ZVPRODDET.
        ENDIF.
      ENDIF.
    there are so many select inside the loop...... please Delete all of them.... write them be for the loop.......using the FOR ALL ENTRIES.....
    THEN LOOP THE TABLE USING THE WHERE CONDITIONS.
    <b>Plese write u updated code here again</b>..

Maybe you are looking for

  • How to populate auditory coumns in jhs application???

    Hi, I have an application with: JDeveloper 10.1.2 Jheadstart 10.1.2 How to populate auditory coumns for create by and modified by ??? ...For the created on and modified on, run correctly... * I have a login page (jsp: user and password textbox) * I p

  • Problem connection with c3-00

    hi the problem is the connection gprs is start automatically , when i use the chat or nimbuzz or ebuddy the gprs start automatically i can't work the apliquation with WLAN !

  • Question about capturing clips

    I'm using Pre7 and capturing video from an HDV tape camcorder via FireWire connection. On the Capture window, I am able to record (capture) from the camera with no problems. But is there a way I can capture from the camera (miniDV tapes), without hav

  • JTabbed Pane

    I have a JTabbedPane with 2 tabs on it. When i launch my program the wrong tab comes up by default. How can I chage what tab is opened at run time. What code do I need for this? Thanks

  • Wierd Quicktime Issue....Ideas????

    Got a 3 Ghz Mac Pro...all is well....then all of a sudden when playing mpg files in quicktime, there is no sound though the internal speaker or headphones. mov, mp4, wmv, avi, etc all will play audio through the internal speakers or headphone...now h