Threads Processing time

Hi
We have a MII 12.2.2.7 on NW 7.11.5.0 running in production setup with two server nodes. Unfortunately we have have experienced issues with one of the server nodes, where the threads get stuck in "processing" (See attached picture from sapmmc). The other server node keeps running just fine.
When I go through the log files (..\usr\sap\[SID]\J00\j2ee\cluster\server1\log) these entries appear roughly around the time of the issue:
#2.0 #2014 05 02 09:10:09:875#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204CB00000001000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.common.LocalServiceConnection#Drift#130##78844243D1C711E385550000006811FF#909307b2d1c811e391c70000006811ff#909307b2d1c811e391c70000006811ff#0#Thread[HTTP Worker [@280718725],5,Dedicated_Application_Thread]#Plain##
Response timed out, request terminated#
#2.0 #2014 05 02 09:10:53:515#+0200#Warning#/Applications/XMII/Scheduler#
##sap.com/xapps~xmii~ear#00215E54FD12006500000022000022DC#6820351000001110#sap.com/xapps~xmii~ear#com.sap.xmii.monitoring.SessionLogger#Guest#0##0079A11FD13611E38BA70000006811FF#0079a11fd13611e38ba70000006811ff#0079a11fd13611e38ba70000006811ff#0#Thread[SessionLogger,4,ApplicationThreadGroup]#Plain##
Session Information [24 active users, 21 unique users]#
#2.0 #2014 05 02 09:13:36:796#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204CB00000003000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.common.LocalServiceConnection#Drift#130##78844243D1C711E385550000006811FF#909307b2d1c811e391c70000006811ff#909307b2d1c811e391c70000006811ff#0#Thread[HTTP Worker [@280718725],5,Dedicated_Application_Thread]#Plain##
Response timed out, request terminated#
#2.0 #2014 05 02 09:15:52:734#+0200#Warning#/Applications/XMII/Monitoring#
##sap.com/xapps~xmii~ear#00215E54FD1204EB00000000000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.monitoring.MonitoringDataWriter#Drift#130##78844243D1C711E385550000006811FF#909307b2d1c811e391c70000006811ff#909307b2d1c811e391c70000006811ff#0#Thread[Thread-57863,4,Dedicated_Application_Thread]#Plain##
Write monitor data thread interrupted#
#2.0 #2014 05 02 09:16:44:359#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204CB00000005000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.common.LocalServiceConnection#Drift#130##78844243D1C711E385550000006811FF#909307b2d1c811e391c70000006811ff#909307b2d1c811e391c70000006811ff#0#Thread[HTTP Worker [@280718725],5,Dedicated_Application_Thread]#Plain##
Response timed out, request terminated#
#2.0 #2014 05 02 09:19:52:734#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204E400000002000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.Illuminator.tools.builder.XMLBuilder#grp_hfllf#2576##B20879F0D14011E392250000006811FF#a15b7d61d1c811e3ac0f0000006811ff#a15b7d61d1c811e3ac0f0000006811ff#0#Thread[HTTP Worker [@56080321],5,Dedicated_Application_Thread]#Plain##
javax.xml.transform.TransformerException: com.sap.bc.proj.jstartup.fca.FCAException: Output broken (-7).#
#2.0 #2014 05 02 09:20:20:187#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204CB00000007000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.common.LocalServiceConnection#Drift#130##78844243D1C711E385550000006811FF#909307b2d1c811e391c70000006811ff#909307b2d1c811e391c70000006811ff#0#Thread[HTTP Worker [@280718725],5,Dedicated_Application_Thread]#Plain##
Response timed out, request terminated#
#2.0 #2014 05 02 09:20:33:453#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204E500000002000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.Illuminator.tools.builder.XMLBuilder#Drift#130##78844243D1C711E385550000006811FF#aaff202fd1c811e3a93f0000006811ff#aaff202fd1c811e3a93f0000006811ff#0#Thread[HTTP Worker [@1189263173],5,Dedicated_Application_Thread]#Plain##
javax.xml.transform.TransformerException: com.sap.bc.proj.jstartup.fca.FCAException: Output broken (-7).#
#2.0 #2014 05 02 09:20:33:453#+0200#Warning#/Applications/XMII/Monitoring#
##sap.com/xapps~xmii~ear#00215E54FD1204EE00000000000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.monitoring.MonitoringDataWriter#Drift#130##78844243D1C711E385550000006811FF#909307b2d1c811e391c70000006811ff#909307b2d1c811e391c70000006811ff#0#Thread[Thread-57877,4,Dedicated_Application_Thread]#Plain##
Write monitor data thread interrupted#
#2.0 #2014 05 02 09:21:13:703#+0200#Warning#/Applications/XMII/Monitoring#
##sap.com/xapps~xmii~ear#00215E54FD1204F000000000000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.monitoring.MonitoringDataWriter#Drift#130##78844243D1C711E385550000006811FF#909307b2d1c811e391c70000006811ff#909307b2d1c811e391c70000006811ff#0#Thread[Thread-57895,4,Dedicated_Application_Thread]#Plain##
Write monitor data thread interrupted#
#2.0 #2014 05 02 09:21:14:671#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204E900000002000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.Illuminator.tools.builder.XMLBuilder#grp_hol33#23##26DF962ED13611E3B23B0000006811FF#b6272c98d1c811e3c96e0000006811ff#b6272c98d1c811e3c96e0000006811ff#0#Thread[HTTP Worker [@129612776],5,Dedicated_Application_Thread]#Plain##
javax.xml.transform.TransformerException: com.sap.bc.proj.jstartup.fca.FCAException: Output broken (-7).#
#2.0 #2014 05 02 09:21:14:687#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204E800000002000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.Illuminator.tools.builder.XMLBuilder#Drift#130##78844243D1C711E385550000006811FF#a2e25ac4d1c811e3caf60000006811ff#a2e25ac4d1c811e3caf60000006811ff#0#Thread[HTTP Worker [@403984690],5,Dedicated_Application_Thread]#Plain##
javax.xml.transform.TransformerException: com.sap.bc.proj.jstartup.fca.FCAException: Output broken (-7).#
#2.0 #2014 05 02 09:21:49:812#+0200#Error#/Applications/XMII#
##sap.com/xapps~xmii~ear#00215E54FD1204F100000001000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.Illuminator.tools.builder.XMLBuilder#grp_chol_t14#3##35A31DB2D13711E38B680000006811FF#f2666e77d1c811e3b6430000006811ff#f2666e77d1c811e3b6430000006811ff#0#Thread[HTTP Worker [@249795831],5,Dedicated_Application_Thread]#Plain##
javax.xml.transform.TransformerException: com.sap.bc.proj.jstartup.fca.FCAException: Output broken (-7).#
#2.0 #2014 05 02 09:23:19:281#+0200#Warning#/Applications/XMII/Xacute/Event#
##sap.com/xapps~xmii~ear#00215E54FD1204F300000000000022DC#6820351000000004#sap.com/xapps~xmii~ear#com.sap.xmii.Illuminator.logging.AuditLog#GRP_CHOL_PR1#2459##61F6E50BD13F11E3C70E0000006811FF#f25d139cd1c811e3aaae0000006811ff#f25d139cd1c811e3aaae0000006811ff#0#Thread[HTTP Worker [@1630471199],5,Dedicated_Application_Thread]#Plain##
Shared Property Value Changed. Property Name : SAP_DATA; Value: #
Is there anyone out there that can help me identify what is going wrong here?
Best Regards
Simon Bruun

Hi,
try to see if MII locking up and Java applet performance
helps. Verify the settings for the system and reboot MII.
Cheers,
Matt

Similar Messages

  • Error in File IC Work Order Report_v3-3: Max processing time or Max records

    Hello Friends,
                          While running the Crystal report in Business Object Infoview, I am getting the below mentioned error when i am trying to go to the next page or trying to export all pages of report into PDF and any other format. I can see the first page in output and can export 1st page into PDF.
    2010-12-29 17:28:05
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error in File IC Work Order Report_v3-3:
    Max processing time or Max records limit reached---- Error code:-2147215357 Error code name:internal
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.managedreports.ps.internal.f.getPage(Unknown Source)
         at com.businessobjects.report.web.event.q.a(Unknown Source)
         at com.businessobjects.report.web.event.q.a(Unknown Source)
         at com.businessobjects.report.web.event.bq.a(Unknown Source)
         at com.businessobjects.report.web.event.bt.broadcast(Unknown Source)
         at com.businessobjects.report.web.event.ak.a(Unknown Source)
         at com.businessobjects.report.web.a.p.if(Unknown Source)
         at com.businessobjects.report.web.e.a(Unknown Source)
         at com.businessobjects.report.web.e.a(Unknown Source)
         at com.businessobjects.report.web.e.if(Unknown Source)
         at com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
         at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.do(Unknown Source)
         at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Please Help.
    Thanks,
    Ziad Khan

    Ok it looks to me that there are more than 20000 rows in your backend system that have to be fetched.
    You can change this limit in the Central Management Console . Login as administrator and go to Servers . Double-click on the Crystal Processign server and change the value in the field Database Records Read When Previewing or Refreshing (0 for unlimited) according to your needs. AFter the change you have to restart the Crystal processing server.
    Regards,
    Stratos

  • How to find query processing time?

    im using Oracle Express Edition
    i want to find the processing time of a query?,
    anyone please specify briefly how to find the query processing time
    can i get the processing time of a query by using Express edition or should i install Enterprise Edition.
    with regards,
    ravikanth.

    This link will help
    http://forums.oracle.com/forums/thread.jspa?threadID=2210335&tstart=0

  • Thread execution time problem

    Hi everyone.
    I�m developing an application that creates multiple threads, does certain calculations, and runs a couple programs.
    The problem is: for some reason, the time that takes to run each thread tends to increment as the number of threads increments.
    That is, for 2 threads the time is x for 4 is x + n, and so on.
    I�d checked that every thread is doing the same (with few differences that not influences in a reasonable fashion), and that, skipping the external programs execution, the problem doesn�t exist. Moreover, there are no inter thread communication.
    My questions: there is any way in which I can reduce the amount of time?
              There is some reason for the amount of time the external process called takes to run to increment? (I checked that if I not call those programs the amount of time each thread takes to execute is near 0 millisecs).
              Something like Windows limits the use of a program multiple times, or something like that.(yes i have only tested it in Windows environment, and yes, the external programs i use are posix compliant)
    The actually time is about 120 secs., and I have to cut it to, at least, aprox. 40.
    A thread alone can run in less than 30 secs., in the worst case.
    Thanks in advance.

    Now imagine that most of the tasks involve fetching
    something from the refrigerator. Even if you have
    multiple chefs in the kitchen, they will, unless
    scheduled properly, all be contending to open the
    door and reach inside.I think that could be the case. All the threads are trying to execute the same archive. As far as I remember, a file isn't locked if it is accessed for reading (or executing) only, but, on the other hand, you're right, there is only one refrigerator on this kitchen, and too many chefs.
    Something else attracted my attention about this. When I run my project, there are two things that grow considerably: first the CPU's usage, and second, the amount of memory each of the external process called by my program consumes I think this could be related with my problem.
    Again: I ran my project commenting the calls to Runtime.exec(�command�) and the time dropped significantly. Running normally, the threads tend to increment their time of execution. Lets say the first thread takes to execute X seconds, the nth thread will take X plus M. In the test I ran, the first thread lived for 30 seconds and the last (150th) lived for about 130 seconds. Without the calls to Runtime.exec() the first threads lived for 0 milliseconds and the last(150th) lived for 6 milliseconds. Therefore, the CPU�s overhead for everything else isn�t the problem here, I think.
    I tried something else to discard the problem of the file access:
    I created ten copies of the ping program in a directory other than the system default, and called them �ping1�, �ping2�, and so on.
    Then, I created a program that creates some threads and executes a ping through a call to the program pingN (with Runtime.exec(), again), so each thread will access a different file (the first thread access ping1, the second ping2 �), and so, the bottle neck problem on the file system shouldn�t happen. But that hasn�t changed anything. With the calls to Runtime.exec() the execution time goes to the clouds, and without it, it�s near zero. And neither is fault of the ping, the I set the timeout to 3 seconds and the retries to 4, so the max amount of time it�ll take to execute is about 12 seconds, but it takes 40+-

  • Response processing time causing pdf streaming issue

    My servlet invokes JasperReports to generate streamed pdfs. One report has a lengthy processing time due to 5 second delay from complex stored procedure. Is the length of time to process this request causing my response to fail? Is there a setting to allow certain time for the request to process? Thanks.

    That depends on the client. An average webbrowser will timeout the request after 30~60 seconds. This is catchable on the server side when OutputStream#close() throws an IOException (which is in case of for example Tomcat subclassed as ClientAbortException).
    If it gets really that long, consider firing a new thread to process the long running process and return some page which fires repeated requests for "status update" until it is finished. In old times you could do that with a meta refresh header, but nowadays you can do that nicely with ajaxical stuff.

  • Dealing with ExtendScript hangs and long processing times?

    Just curious if an ExtendScript for some reason hangs (or takes really long time to run), you just have to kill it externally right? Or is there some other Adobe scripting feature I'm not aware of that deals with that scenario?
    So I'm guessing the best option to deal with hangs or long processing time is to:
    have an external monitoring tool/service to check up on the ExtendScript execution and handle appropriately as needed (kill it, log info)
    use the COM API (e.g. VBScript, though other COM compatible languages ok) or Applescript API (called directly or called by other programming languages) instead of ExtendScript for their additional programming and/or multi-threading capabilities

    Using whose in Snow Leopard is a lot slower for some reason. SInce you are already using a shell script, you might try using find. Various shell scripts to copy, find, move, etc, can also use wildcard characters.

  • Unnecessary Purchasing Processing Time in scheduling agreement

    According to its business logic, the scheduling agreement is a document  that has  already been  released  by purchasing department,  and  its scheduling lines, that have been created by MRP  are valid for goods receipt without any need for additional purchasing  processing time. However, MRP scheduling incorrectly takes purchasing processing time into account (as defined in the IMG in plant parameters for external procurement - TCODE  OPPQ) when calculating planned availability date. Please advise how to correct this issue.
    Best Regards,
    Itzik Eshed

    This can be customized in
    SAP Customizing Implementation Guide
    -> Production
    --> Material Requirements Planning
    ---> Planning
    > Procurement Proposals
    > Define External Procurement
    Here you can select the indicator "Scheduling according to purchasing info record or agreement" either at plant or MRP group level.

  • How to show the processing time taken for a BPEL process in BAM report.

    Hi All,
    I have the data as below in the Data object. I would like to show the time taken for each order to complete in the report.
    instance Id     order Id     product Name     product Code     price     status     instance Time      updaterName
    1360010     ord004     Guitar     prod003     2000     requested     9/22/2008 12:12:11 PM     Invoke_InsertSalesOrder
    1360010     ord004     Guitar     prod003     2000     Approved     9/22/2008 12:15:11 PM     Invoke_OrderStatusUpdate
    This data comes from simple BPEL process where sensors are configured at the start and end of BPEL process. Also have a human task activity in between to create the time difference.
    In Enterprise link design studio, I tried to calculate the time difference using expression calculator and store it as calculated field. But that doesn't seems to work because when I execute the plan, second sensor data reaches only after human approval whereas first sensor data would be waiting for calculation and ultimately nothing comes into data object.
    How and where the calculation be done to show the processing time in the report. Please someone throw some light on this.
    Regards
    Jude.
    Edited by: user600726 on Sep 30, 2008 1:30 AM

    I would suggest modifying your data object so that the data can all be in a single row and use the sensor at the end of the process to upsert (update) the row created by the sensor at the start of the process. The time difference between two fields in the same row is then an easy calculation on a BAM report -- No EL plan should be needed.

  • How to reduce process time in report

    Hi all..
    Is there any technique to reduce process time in report on programmer side??
    Plz help me...

    Hi
    check this and ensure that your code is as per the stds
    1) Dont use nested select statements
    2) If possible use for all entries in addition
    3) In the where addition make sure you give all the primary key
    4) Use Index for the selection criteria.
    5) You can also use inner joins
    6) You can try to put the data from the first select statement into an Itab and then in order to select the data from the second table use for all entries in.
    7) Use the runtime analysis SE30 and SQL Trace (ST05) to identify the performance and also to identify where the load is heavy, so that you can change the code accordingly
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d0db4c9-0e01-0010-b68f-9b1408d5f234
    ABAP performance depends upon various factors and in devicded in three parts:
    1. Database
    2. ABAP
    3. System
    Run Any program using SE30 (performance analys) to improve performance refer to tips and trics section of SE30, Always remember that ABAP perfirmance is improved when there is least load on Database.
    u can get an interactive grap in SE30 regarding this with a file.
    also if u find runtime of parts of codes then use :
    Switch on RTA Dynamically within ABAP Code
    *To turn runtim analysis on within ABAP code insert the following code
    SET RUN TIME ANALYZER ON.
    *To turn runtim analysis off within ABAP code insert the following code
    SET RUN TIME ANALYZER OFF.
    Always check the driver internal tables is not empty, while using FOR ALL ENTRIES
    Avoid for all entries in JOINS
    Try to avoid joins and use FOR ALL ENTRIES.
    Try to restrict the joins to 1 level only ie only for tables
    Avoid using Select *.
    Avoid having multiple Selects from the same table in the same object.
    Try to minimize the number of variables to save memory.
    The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)
    Avoid creation of index as far as possible
    Avoid operators like <>, > , < & like % in where clause conditions
    Avoid select/select single statements in loops.
    Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.
    Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,)
    Avoid using ORDER BY in selects
    Avoid Nested Selects
    Avoid Nested Loops of Internal Tables
    Try to use FIELD SYMBOLS.
    Try to avoid into Corresponding Fields of
    Avoid using Select Distinct, Use DELETE ADJACENT
    Check the following Links
    Re: performance tuning
    Re: Performance tuning of program
    http://www.sapgenie.com/abap/performance.htm
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    check the below link
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    See the following link if it's any help:
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    Check also http://service.sap.com/performance
    and
    books like
    http://www.sap-press.com/product.cfm?account=&product=H951
    http://www.sap-press.com/product.cfm?account=&product=H973
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    Performance tuning for Data Selection Statement
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    Debugger
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    Run Time Analyser
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/content.htm
    SQL trace
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/801f7c454211d189710000e8322d00/content.htm
    CATT - Computer Aided Testing Too
    http://help.sap.com/saphelp_47x200/helpdata/en/b3/410b37233f7c6fe10000009b38f936/frameset.htm
    Test Workbench
    http://help.sap.com/saphelp_47x200/helpdata/en/a8/157235d0fa8742e10000009b38f889/frameset.htm
    Coverage Analyser
    http://help.sap.com/saphelp_47x200/helpdata/en/c7/af9a79061a11d4b3d4080009b43351/content.htm
    Runtime Monitor
    http://help.sap.com/saphelp_47x200/helpdata/en/b5/fa121cc15911d5993d00508b6b8b11/content.htm
    Memory Inspector
    http://help.sap.com/saphelp_47x200/helpdata/en/a2/e5fc84cc87964cb2c29f584152d74e/content.htm
    ECATT - Extended Computer Aided testing tool.
    http://help.sap.com/saphelp_47x200/helpdata/en/20/e81c3b84e65e7be10000000a11402f/frameset.htm
    Just refer to these links...
    performance
    Performance
    Performance Guide
    performance issues...
    Performance Tuning
    Performance issues
    performance tuning
    performance tuning
    You can go to the transaction SE30 to have the runtime analysis of your program.Also try the transaction SCI , which is SAP Code Inspector.
    1 Always check the driver internal tables is not empty, while using FOR ALL ENTRIES
    2 Avoid for all entries in JOINS
    3 Try to avoid joins and use FOR ALL ENTRIES.
    4 Try to restrict the joins to 1 level only ie only for 2 tables
    5 Avoid using Select *.
    6 Avoid having multiple Selects from the same table in the same object.
    7 Try to minimize the number of variables to save memory.
    8 The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)
    9 Avoid creation of index as far as possible
    10 Avoid operators like <>, > , < & like % in where clause conditions
    11 Avoid select/select single statements in loops.
    12 Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.
    13 Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,)
    14 Avoid using ORDER BY in selects
    15 Avoid Nested Selects
    16 Avoid Nested Loops of Internal Tables
    17 Try to use FIELD SYMBOLS.
    18 Try to avoid into Corresponding Fields of
    19 Avoid using Select Distinct, Use DELETE ADJACENT.
    Regards
    Anji

  • How to calculate the Processing time for material based on its route ?

    Hello experts,
    I would like to calculate the Scheduled in-house production time based on route.
    Actually this is done in the prod. route in tcode CA02. (via menu Extras => scheduling => schedule).
    After getting the schedule table press the 'scheduling results' button I received the Processing time, Setup and teardown time,... Scheduled in-house production time.
    So I'm looking for a function or any tool to use it in report.
    thanks,
    Eli

    hi,
    from routing screen,extras>scheduling>schedule(give a variant name)>scheduling results>update material master.this writes the info in the temp file.use tcode CA96 to update material master.this updates lot size dependent in house production time in work scheduling view of material master and  deletes the lot size independent inhouse prod, time in MRP2 view.this tool gives more accurate results  for your  inhouse prod. time.
    > Hello experts,
    > I would like to calculate the Scheduled in-house
    > production time based on route.
    > Actually this is done in the prod. route in tcode
    > CA02. (via menu Extras => scheduling => schedule).
    > After getting the schedule table press the
    > 'scheduling results' button I received the Processing
    > time, Setup and teardown time,... Scheduled in-house
    > production time.
    > So I'm looking for a function or any tool to use it
    > in report.
    >
    > thanks,
    > Eli

  • Process Chain Load Processing Time Issue

    Hi All,
    One my process Chain is running daily , but after 2 hours of load it is showing Red in the Monitor screen, but after 5 hours load is successful.
    Why Monitor screen is showing Red?
    Is it possible to Extend the load processing time in the Infopackage level?
    for e.g-  if they set as 60 seconds -- go to Red
    I want to change to 120 seconds -- go to Red.
    If yes...where we can do it ...please let me know the steps...
    Regards,
    Nithi.

    hey hi,
    double click on the infopackage -> go to "scheduler" on the top left corner of the menu -> click "Timeout time" and you have the different option to change it.
    hope this helps.

  • Processing time

    Hi guys,
    my question is this: I should to use the Processing time(WRPL-BZTEK) defined in customizing (SPRO>Materials Management>Purchasing>Purchase Requisition>Processing Time) in according to material type and not to side/division as such is now.
    My purpose is to enlarge the processing time purchasing (or the planned delivery time) to modify the delivery date scheduled by MRP.
    Is there a user-exit\Badi to implement this?Is necessary to modify the standard and if this is the one way how and where can I act?
    Thanks in advance to all,bye
    Maximilian

    Hello, Riva
    Processing Time: (configuration setup)
    Here, you define the plant-specific purchasing department processing time.
    And the processing time is the time required by the buyer to convert a requisition into a purchase order. And the processing time is taken into account during the scheduling process for externally procured materials within the framework of materials planning and control.                                                  
    Actions                                                                
    Suggestion:   
    Maintain the purchasing department processing time for each plant.
    Processing time required by purchasing department.
    -> Time that the purchasing department requires to convert a purchase requisition into a purchase order.                                      
    The usage of this configuration setup is
    -> The purchasing department processing time is included in the computation of the delivery date.
    Table Name: WRPL (i.e, for Replenishment: quantities per customer/material)
    Field Name: SRP_BZTEK (i.e, for Processing time required by purchasing department)
    Data element: BZTEK (i.e, data element for processing time for purchase department)                                                                         
    If you want to change the length of the field BZTEK (allowable characters is 2), you can do it, by modifying the TWO TABLES (i.e, T399D (Control parameters for MRP &
    WRPL (Replenishment: quantities per customer/material)) using the Acess key (from SAP)
    Importent Note: Before you modify it, you need to check with the PP &MM (since this requirement belongs to both modules)
    Suggestion: As per my knowledge this (processing time for PR) configuration setup is for the plant (or plants).
    Hope this will clarifies you,
    Reward, if it helps,
    Regards,
    Srin.K

  • Scheduling Agreement - Priority for GR Processing Time

    Dear Forum Members,
    While defining Scheduling agreement for a material we can define the GR processing time and Planned Delivery time,likewise we
    define in the material master also.
    1.While running MRP which one has the higher priority?
    2.After running MRP for the schedule line we are able to see only the delivery date,is there any setting to display the release date
    or the start date based on the planned delivery time of the scheduling agreement?
    Please suggest.
    Regards
    S Mangalraj

    Hi Mangalraj,
    For your question:
    1.While running MRP which one has the higher priority?
    -->GR processing time MRP-run will take it from material master data
    -->Planned delivery time, you can use t-code OMI8 to define the higher priority of SA or material master data
    2.After running MRP for the schedule line we are able to see only the delivery date,is there any setting to display the release date or the start date based on the planned delivery time of the scheduling agreement?
    -->Yes, in standard SAP system, you only can see the delivery date after MRP-run! As to the release date or the starte date which take planned delivery time of SA into account, it's only used to inform the buyer with purchasing transaction.
    Hope my answers can help you!
    Good luck
    Tao

  • Field for GR Processing time in CLM

    Hi Experts,
    Is there any suitable field available in standard CLM system to maintain "GR processing time" in master agreement line item, to publish it into ECC?
    I also request to advice business relevance of below fields of master agreement line item (in CLM). If we maintain values in those fields of a master agreement and publish data to ERP, which of the fields in outline agreement must update?
    Field
    Description
    Program Lead Time (Days)
    Enter the lead time required to set up the program, if any.
    Order Lead Time (Days)
    Enter the lead time the supplier requires to place orders for items.
    Delivery Lead Time (Days)
    Enter the number of days to allow between order and delivery of the line item.
    Minimum Order Quantity
    Enter the minimum quantity of the line item you are contracted to order from the supplier.
    Please advice.
    With regards,
    Prabhakar

    Hi
    If GR processing time in Material Master say 5 days Then..
    During MRP run or when Scheduling or forcasting is done then this Lead time will be addd...
    Now inhouse production time eg 5 in days ......means it  determine the planned dates for planned orders in materials planning.
    This will add little valu in your understanding..
    Sujit

  • BZTEK - Purchasing Processing Time to convert PR in PO

    Hi all,
    In SAP stanrdard, Purchasing Processing Time to convert PR in PO is maintainable in customizing at plant level.
    As anyone any advice of solution to implement when there is a business need to have this time depending on:
    - PO type
    - PO type / material
    Thank you,
    Laetitia

    Hello, Laëtitia,
    not in standard; but you can modify the field FRGDT "Purchase Requisition Release Date" through customer enhancement MEREQ001 "Customers' Own Data in Purchase Requisition" / function EXIT_SAPLMEREQ_005 "Checking Customer's Own Purchase Requisition Data" -- yep, it sounds strange that you can change some standard fields thou function called " "Checking Customer's Own Data", but that is how it works (see enhancement documentation for details).
    Of course, the PO type (or rather PREQ type) / Material Purchasing Processing Time will have to be stored in custom tables.
    Kind Regards
    TomT

Maybe you are looking for