PRT for operation

Please tell me the function module to get PRT for the operation in production order?
I need PRT specific to operation not for whole order...

Hi shailesh ,
check out
1) Check Valid Routing:-
Table name u2013 MAPL
Enter werks, plnty, plnal.
2) Check for valid operation:-
Go to PLPO
Enter plnty = N
Plnnr from MAPL- plnnr
Vornr if any
Aennr if any
Goto PLAS:-
Enter plnty = N
Plnal if any
Plnnr from MAPL- plnnr
Plnkn from PLPO- plnkn
3) Check for PRT existence:-
Goto PLFH,
Enter plnty = N,
Plnnr = MAPL-PLNNR
Vornr if any
Aennr if any
Plnkn = PLPO- plnkn
check it out and revert back.
Regards
Ritesh

Similar Messages

  • CA11 Create Document type PRT for Operation

    Hello,
    We're in an ECC 5.0 system, needing to load Reference Operation sets.  One of the requirements is to select an operation from the operation overview screen, select the PRT button and select Document from the popup.  My problem is that a recording doesn't allow me to select a line from the table control (OK_CODE POSI is not recognized), and selecting the PRT button requires that one of the rows be selected. I looked at the direct input program RCPTRA02 briefly, but didn't see how a document type PRT would be created.
    Thanks in advance for your help,
    Ted

    Found it in RCPTRA02, record type 11 by dumping an existing object.

  • Need to select all equipments (PRT) for a plan (routing) operation (PLPO)

    hi,
    I need to select all assigned equipments (PRT) for a plan (routing) operation (PLPO).
    Can anybody tell me the database table relation or is there a function module or a BAPI or something like this !?
    Thanks
    Olaf
    Edited by: Olaf Krüger on Feb 20, 2008 12:03 PM:  BADI to BAPI

    I suppose you have every PLPO needed (else look at function module WOSTS_TASKLIST_READ_FROM_DB)
    Then read
    PLMZ Allocation of bill of material items to operations
    STPO BOM item
    SELECT * FROM plmz INTO TABLE t_plmz
        FOR ALL ENTRIES IN t_plpo
        WHERE plnty = t_plpo-plnty
          AND plnnr = t_plpo-plnnr
          AND plnkn = t_plpo-plnkn.
      SELECT * FROM stpo INTO TABLE t_stpo
        FOR ALL ENTRIES IN t_plmz
        WHERE stlty = t_plmz-stlty
          AND stlnr = t_plmz-stlnr
          AND stlkn = t_plmz-stlkn.
    Regards

  • Memory full.Not enough memory for operation.

    To the Report Design Team,
    It has been suggested that I post this issue here based on another thread I started: Re: Memory full.Not enough memory for operation.
    The template contains a single 24 bit PNG image as a background in the Page Header section, plus 9 image records from a SQL Server image field over 3 pages (3 images per page).  The images are all JPG at 3000x2000 (digital camera).
    To summarize, we are experiencing three problems.
    1. CR2008SP2 Designer issues a Memory Full error when Exporting to PDF.
    2. Using a 3rd party PDF Printer (Bullzip PDF) and CR2008SP2 Designer generates a PDF, however, the CR2008SP2 API throws a "Memory full" exception suggesting Designer and API are different (see stack trace in linked message above).
    3. With only 3 images on 1 page, CR2008 Designer Export to PDF takes 110 seconds to generate a 24MB PDF while our third party PDF Printer generates the same report in 17 seconds and 580KB.
    Edited by: Don Williams on Sep 30, 2009 6:43 AM

    The .rpt file size is 14MB with the Data Save option enabled, 12MB without Data Save.  Presumably the 12MB file size is because of the 24bit PNG we have as our background.
    The Designer executes the report in less than a second and we can scroll through all pages and see the image fields perfectly.
    When we Export to PDF, the Designer takes a long time, eventually gets to the 77%, the 7th record and returns "Export report failed" followed by "Memory full".  If we export only page 1 of the 3 pages, it also returns a Memory full error.  However, when the same report is run with only 1 page, that page exports to PDF but with a ridiculously large size and export time.
    The machine has 2GB of physical memory with an 8GB pagefile with Windows 2003 (latest everything).  The process runs up to about 1GB before reporting the memory full error.
    We've also tried a variety of other suggestions posted in the other thread with no success.
    We're happy to provide the RPT file to the Report Team to diagnose the problem.  Ultimately, we need to be able to produce a 15 page report with approximately 45 images.
    Our preferred scenario is fixing problem 2.  The CR Designer seems quite capable of rendering our report and printing it to our third party PDF printer in a timely manner with small size.  However, the API reports memory full.
    The API resides in a dedicated reporting web service with NO other code except for loading the report, setting parameters and printing.  When executing, it uses up to about 1.1GB before reporting the error.
    Are there any other suggestions for fixing what we have?  Are there known problems with large images in reports?  Do we need to lodge a formal support request?
    Regards,  Grant.
    PS.  Grr and my message formatting is lost when I edited this message!!!
    There is a 1500 character limit and then all formatting is removed to save space. Break you posts into separate entries.
    Edited by: grantph on Sep 30, 2009 2:49 AM

  • Report for operation confirmations

    Hi
    Product A . production order qty is 100.
    It has 4 operations.10,20,30,40.
    for operation 10     confirmed qty 100 
          operation 20     confirmed qty 80
         operation 30      confirmed qty   85
                         40              100 
    I want a report in which i want pull all the orders with this kind of confirmations so that it is easy  for me to correct it.
    In coois report we can see all the orders and it is very difficult to check each and every order weather it  is confirmed properly or not.Please help.

    Dear,
    Go to COOIS,
    List :- Opertion
    Select Order Type :- PP01
    Plant = 1000
    Syst. Status      REL         and   CNF Exclude Tick
    And execute the report go inside and change lay out Here add two filed Operation quantity and Yield and save the lay out now you will have all required details  that you want  just try and come back.
    Edited by: R Brahmankar on Jan 28, 2011 12:22 PM

  • Daily production plan for operations

    Hi, One Production order generally runs for more than 1 month and consist of more than 100 operations and order qty will be one. in this case we want to prepare daily prod plan for operations not for qty. say on 1.6.09 we will do cutting operation, 2.06.09 willdo painting etc in monthly prod paln or weekly prod plan? pls guide how to map this?

    Dear,
    In production order you will get the details of operation plan and scheduling.
    So in OPK8 do the setting for print of LG02     Op. control ticket, LG03     Job Ticket, LV01Time ticket,
    Take a print through CO04N - Print and sent it on shop floor also.
    You use the report like MCPW - Lead times or MCPK.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • What are the values for operation code in order import open interface

    Hi,
    I am trying to create the sales order by populating the interface table and run the request import order i.e. open interace without standard OE APIs.
    I am also populating the actions interface table i.e. OE_ACTIONS_IFACE_ALL along with header, line, & price adjustment tables to hold the order. The sales order creates successfully but it fails at holding action due to invalid operation code. It has been tried with ‘CREATE’, ‘UPDATE, ‘INSERT’ for operation code in action interface table but no use.
    So my concern is what value needs to pass for operation code in action interface table.
    Any help would appreciate.
    Thanks,
    Sai Krishna

    If you are planning to apply holds, For holds the action is OE_Globals.G_APPLY_HOLD or APPLY_HOLD.
    Thanks
    Nagamohan

  • Scheduled report failure - Not enough memory for operation

    Crystal Reports Server XI R2 SP4
    SQL Server 2005
    Hi,
    I have a report that is scheduled. Most of the times it runs successfully, however for one parameter setting I continuously get the following error mesage:
    Status:  Failed
    Printer:  The instance is not printed.
    External Destination:  Copy the instance with default filename to the directory '//10.2.25.24/polling_in'.
    Creation Time:  03/04/2009 05:00
    Start Time:  03/04/2009 05:00
    End Time:  03/04/2009 05:00
    Server Used:  BWAQTSREP-1.reportjobserver
    Error Message:  Not enough memory for operation.
    Why would this happen, and how can I resolve? I can run the report successfully in Infoview.
    Thanks!
    Penny

    Hi Penny,
    do you run the report successfully in the infoview using the same parameter setting?
    If it does please try to reschedule the report and monitor (using the task manager) the memory consumption on your windows server.
    Please also make sure that there is enough disk space available on both your server and the destination directory ( '//10.2.25.24/polling_in'. )
    Regards,
    Stratos

  • Could not find binding output for operation getMessage

    Hi,
    I am getting a error while involking a service which is implemented using Axis2.
    The error is "[email protected]1 : Could not find binding output for operation getMessage".
    Please help me in solving the problem. The WSDL of the service looks like this...
    <wsdl:definitions xmlns:axis2="http://ws.fs.com" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://ws.fs.com/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.fs.com">
    <wsdl:documentation>GetMessageService</wsdl:documentation><wsdl:types><xs:schema xmlns:ns="http://ws.fs.com/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ws.fs.com/xsd">
    <xs:element name="getMessage">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="param0" nillable="true" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="getMessageResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="return" nillable="true" type="xs:string" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema></wsdl:types><wsdl:message name="getMessageMessage"><wsdl:part name="part1" element="ns0:getMessage" /></wsdl:message><wsdl:message name="getMessageResponse"><wsdl:part name="part1" element="ns0:getMessageResponse" /></wsdl:message><wsdl:portType name="GetMessageServicePortType"><wsdl:operation name="getMessage"><wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:getMessageMessage" wsaw:Action="urn:getMessage" /><wsdl:output message="axis2:getMessageResponse" /></wsdl:operation></wsdl:portType><wsdl:binding name="GetMessageServiceSOAP11Binding" type="axis2:GetMessageServicePortType"><soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /><wsdl:operation name="getMessage"><soap:operation soapAction="urn:getMessage" style="document" /><wsdl:input><soap:body use="literal" /></wsdl:input><wsdl:output><soap:body use="literal" /></wsdl:output></wsdl:operation></wsdl:binding><wsdl:binding name="GetMessageServiceSOAP12Binding" type="axis2:GetMessageServicePortType"><soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /><wsdl:operation name="getMessage"><soap12:operation soapAction="urn:getMessage" style="document" /><wsdl:input><soap12:body use="literal" /></wsdl:input><wsdl:output><soap12:body use="literal" /></wsdl:output></wsdl:operation></wsdl:binding><wsdl:binding name="GetMessageServiceHttpBinding" type="axis2:GetMessageServicePortType"><http:binding verb="POST" /><wsdl:operation name="getMessage"><http:operation location="getMessage" /><wsdl:input><mime:content type="text/xml" /></wsdl:input><wsdl:output><mime:content type="text/xml" /></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="GetMessageService"><wsdl:port name="GetMessageServiceSOAP11port_http" binding="axis2:GetMessageServiceSOAP11Binding"><soap:address location="http://192.168.74.248:8080/axis2/services/GetMessageService" /></wsdl:port><wsdl:port name="GetMessageServiceSOAP12port_http" binding="axis2:GetMessageServiceSOAP12Binding"><soap12:address location="http://192.168.74.248:8080/axis2/services/GetMessageService" /></wsdl:port><wsdl:port name="GetMessageServiceHttpport" binding="axis2:GetMessageServiceHttpBinding"><http:address location="http://192.168.74.248:8080/axis2/services/GetMessageService" /></wsdl:port></wsdl:service></wsdl:definitions>
    Thanks in advance.
    Kiran

    Im having the exact same problem.
    Has anyone found out how to fix this? Ive removed any extra soap bindings generated by axis2 and fixed a few problems with the wsdl but to no avail.
    Any ideas?
    Thanks in advance,
    Ian Harrigan

  • Could not find binding output for operation ...

    Hi all !!!
    I have a big problem:
    [email protected]5 : Could not find binding output for operation getScore
    I invoke a web service called IPODShopService from my process BPEL.
    this is the WSDL:
    wsdl:definitions targetNamespace="http://service.integration.ipodshop.it">
    <wsdl:documentation>
              Please Type your service description here
         </wsdl:documentation>

         <wsdl:types>

         <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.integration.ipodshop.it/xsd">

         <xs:element name="getScore">

         <xs:complexType>

         <xs:sequence>
    <xs:element name="nome" nillable="true" type="xs:string"/>
    <xs:element name="cognome" nillable="true" type="xs:string"/>
    <xs:element name="email" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

         <xs:element name="getScoreResponse">

         <xs:complexType>

         <xs:sequence>
    <xs:element name="return" nillable="true" type="xs:int"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

         <xs:element name="CreateOrder">

         <xs:complexType>

         <xs:sequence>
    <xs:element name="nome" nillable="true" type="xs:string"/>
    <xs:element name="cognome" nillable="true" type="xs:string"/>
    <xs:element name="email" nillable="true" type="xs:string"/>
    <xs:element name="list" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

         <xs:element name="CreateOrderResponse">

         <xs:complexType>

         <xs:sequence>
    <xs:element name="return" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </wsdl:types>

         <wsdl:message name="CreateOrderMessage">
    <wsdl:part name="part1" element="ns0:CreateOrder"/>
    </wsdl:message>

         <wsdl:message name="CreateOrderResponse">
    <wsdl:part name="part1" element="ns0:CreateOrderResponse"/>
    </wsdl:message>

         <wsdl:message name="getScoreMessage">
    <wsdl:part name="part1" element="ns0:getScore"/>
    </wsdl:message>

         <wsdl:message name="getScoreResponse">
    <wsdl:part name="part1" element="ns0:getScoreResponse"/>
    </wsdl:message>

         <wsdl:portType name="IPODShopServicePortType">

         <wsdl:operation name="CreateOrder">
    <wsdl:input message="axis2:CreateOrderMessage" wsaw:Action="urn:CreateOrder"/>
    <wsdl:output message="axis2:CreateOrderResponse"/>
    </wsdl:operation>

         <wsdl:operation name="getScore">
    <wsdl:input message="axis2:getScoreMessage" wsaw:Action="urn:getScore"/>
    <wsdl:output message="axis2:getScoreResponse"/>
    </wsdl:operation>
    </wsdl:portType>

         <wsdl:binding name="IPODShopServiceSOAP11Binding" type="axis2:IPODShopServicePortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>

         <wsdl:operation name="CreateOrder">
    <soap:operation soapAction="urn:CreateOrder" style="document"/>

         <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>

         <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>

         <wsdl:operation name="getScore">
    <soap:operation soapAction="urn:getScore" style="document"/>

         <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>

         <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>

         <wsdl:binding name="IPODShopServiceSOAP12Binding" type="axis2:IPODShopServicePortType">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>

         <wsdl:operation name="CreateOrder">
    <soap12:operation soapAction="urn:CreateOrder" style="document"/>

         <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>

         <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>

         <wsdl:operation name="getScore">
    <soap12:operation soapAction="urn:getScore" style="document"/>

         <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>

         <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>

         <wsdl:binding name="IPODShopServiceHttpBinding" type="axis2:IPODShopServicePortType">
    <http:binding verb="POST"/>

         <wsdl:operation name="CreateOrder">
    <http:operation location="CreateOrder"/>

         <wsdl:input>
    <mime:content type="text/xml"/>
    </wsdl:input>

         <wsdl:output>
    <mime:content type="text/xml"/>
    </wsdl:output>
    </wsdl:operation>

         <wsdl:operation name="getScore">
    <http:operation location="getScore"/>

         <wsdl:input>
    <mime:content type="text/xml"/>
    </wsdl:input>

         <wsdl:output>
    <mime:content type="text/xml"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>

         <wsdl:service name="IPODShopService">

         <wsdl:port name="IPODShopServiceSOAP11port_http" binding="axis2:IPODShopServiceSOAP11Binding">
    <soap:address location="http://192.168.0.4:8083/IPODv7/services/IPODShopService"/>
    </wsdl:port>

         <wsdl:port name="IPODShopServiceSOAP12port_http" binding="axis2:IPODShopServiceSOAP12Binding">
    <soap12:address location="http://192.168.0.4:8083/IPODv7/services/IPODShopService"/>
    </wsdl:port>

         <wsdl:port name="IPODShopServiceHttpport" binding="axis2:IPODShopServiceHttpBinding">
    <http:address location="http://192.168.0.4:8083/IPODv7/services/IPODShopService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    and the bpel code:
    <partnerLink name="ServiceIPOD_v6.1"
    partnerRole="IPODShopServicePortType_Role"
    partnerLinkType="ns31:IPODShopServicePortType_PL"/>
    <invoke name="CustInfofromIPOD_v4" partnerLink="ServiceIPOD_v6.1"
    portType="ns31:IPODShopServicePortType" operation="getScore"
    inputVariable="CustInfofromIPOD_v1_getScore_InputVariable"
    outputVariable="CustInfofromIPOD_v1_getScore_OutputVariable"/>
    <definitions
    targetNamespace="http://service.integration.ipodshop.it"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:axis2="http://service.integration.ipodshop.it"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://service.integration.ipodshop.it" location="http://localhost:8083/IPODv7/services/IPODShopService?wsdl"/>
    <plnk:partnerLinkType name="IPODShopServicePortType_PL">
    <plnk:role name="IPODShopServicePortType_Role">
    <plnk:portType name="axis2:IPODShopServicePortType"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    do have you any idea?
    please, help me!
    thanks
    Stefano

    Hi,
    Just in case someone runs into the same problem, I live here my solution:
    In may case the problem was the wsdl definition. I developed the web service in java and generated the wsdl with Maven. Automatically it generates the wsdl like this (I just copy the last section):
    <wsdl:service name="tso-ws">
    <wsdl:port name="tso-wsHttpSoap11Endpoint" binding="ns:tso-wsSoap11Binding">
    <soap:address location="http://localhost:8080/axis2/services/tso-ws"/>
    </wsdl:port>
    <wsdl:port name="tso-wsHttpSoap12Endpoint" binding="ns:tso-wsSoap12Binding">
    <soap12:address location="http://localhost:8080/axis2/services/tso-ws"/>
    </wsdl:port>
    <wsdl:port name="tso-wsHttpEndpoint" binding="ns:tso-wsHttpBinding">
    <http:address location="http://localhost:8080/axis2/services/tso-ws"/>
    </wsdl:port>
    </wsdl:service>
    The problem was the <wsdl:service name="tso-ws"> section. There were 3 port definitions with 3 different bindings but all of them have the same service location. So In the BPEL process I created the partner link using the service location.
    I guess BPEL was using the http binding, so I deleted two of the por definitions and just left this in the <wsdl:service name="tso-ws"> section of the wsdl
    <wsdl:service name="tso-ws">
    <wsdl:port name="tso-wsHttpSoap12Endpoint" binding="ns:tso-wsSoap12Binding">
    <soap12:address location="http://localhost:8080/axis2/services/tso-ws"/>
    </wsdl:port>
    By doing this, it works. I read in some forums that BPEL doesn't work with the http_post protocol so that's why I deleted that definition. And someone told me that it uses soap12 so that's why I deleted that definition also.
    That's the way I solved it. Hope this helps.
    Regards,
    Zaloa

  • User Exit or BADI for Operation tab of IW32 Transaction

    Hi All,
    Currently I am working on the transaction IW32. I am looking for a user exit or BADI which can trace the item level changed data for operations.
    Thanks in advance.
    Regards,
    Rajesh

    hi,
    User Exit IWO10012.
    BADi's
    IWO1_ORDER_BADI
    IWO1_PREQ_BADI
    IWO1_SCREEN_MODIFY
    Hope this helps
    Regards,
    Shashank

  • Logs for 'Operating mode' change in mirroring

    Logs for 'Operating mode' change in mirroring
    Hi Everyone,
    Is there any log,that shows when the Operating mode of a database involved in mirroring(SQL SERVER 2008 R2) has been changed from asynchronous to synchrous(or vise versa).
    Regards,
    Aspet
    A.G

    Try looking into trace log files
    DECLARE @filename VARCHAR(100), @filenum int
    SELECT @filename = CAST(value AS VARCHAR(100))
    FROM fn_trace_getinfo(DEFAULT)
    WHERE property = 2
      AND traceid = 1
      AND value IS NOT NULL
    SELECT @filename
    SELECT @filename = substring(@filename, 0, charindex('_', @filename)+1) + convert(varchar, (convert(int, substring(left(@filename, len(@filename)-4), charindex('_', @filename)+1, len(@filename)))-4)) + '.trc'
    SELECT @filename
    SELECT gt.EventClass, 
           te.Name AS EventName,  
           gt.TEXTData, 
           gt.NTUserName, 
           gt.NTDomainName, 
           gt.HostName, 
           gt.ApplicationName, 
           gt.LoginName, 
           gt.SPID, 
           gt.StartTime, 
           gt.EndTime, 
           gt.ObjectName, 
           gt.DatabaseName, 
           gt.FileName 
    FROM [fn_trace_gettable](@fileName, DEFAULT) gt 
    JOIN sys.trace_events te ON gt.EventClass = te.trace_event_id 
    WHERE EventClass = 116 
      AND TEXTData LIKE '%Alter
    database%' 
    ORDER BY StartTime; 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Blog:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance

  • Server has not enough memory for operation (Some .rpt files not removing from Temp folder )

    We have web application developed in ASP.NET 4.0 ftramework and published on IIS. And we are using 13_0_8 version of CR.
    I am creating report files and exporting these as pdf. And I am disposing streams and report documents at the end. Initially, there wasn't any problem and temporary files which are created by CrystalReport were deleting all. But, now requests to the web application increeased to about 50.000 in a day and now some .rpt files are staying in Temp folder and I can't delete them. After recycling application pool all files are removed by IIS. Then, after 1 or 2 hours new .rpt files are creating in Temp folder. And after somewhile, application throws Server has not enough memory for operation. And, IMHO the reason is temp files. Here is the code I am using to export report as pdf.
    Questions:
    1. Is the reason of this exception is temp files in Temp folder?
    2. What is wrong in that code?
    ReportDocument report = DownloadPDF.GetReport(id);
       MemoryStream stream = (MemoryStream)report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
       Response.ContentType = "application/pdf";
       Response.AddHeader("content-disposition", "attachment; filename=" + id+ ".pdf");
      report.Close();
      report.Dispose();
       try
       Response.BinaryWrite(stream.ToArray());
       Response.End();
       catch (Exception)
       finally
      stream.Flush();
      stream.Close();
      stream.Dispose();
    Here is the StackTrace

    Hi Farhad
    At 50,000 requests, you are more than likely running into the CR engine limit. E.g.; you're pushing way too hard... The following will be good reads for you:
    Crystal Reports 2008 Component Engine Scalability | SCN
    (The above doc does apply to current versions of CR - e.g.; no changes.)
    Crystal Reports Maximum Report Processing Jobs ... | SCN
    Scaling Crystal Reports for Visual Studio .NET
    Choosing the Right Business Objects SDK for Your Needs
    Choose the Right SDK for the Right Task
    How Can I Optimize Scalability?
    All of the above apply to your version of CR and thus the next question will be; how to proceed:
    1) Bigger, faster servers will not hurt.
    2) Web farms.
    How Do I Use Crystal Reports in a Web Farm or Web Garden?
    3) Crystal Reports Application Server, or perhaps even SAP BusinessObjects BI Platform 4.1
    Crystal Enterprise Report Application Server - Overview
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • System status LKD REL for operation & phases in Process order

    Hi Gurus,
    We have a process order in which system status for operations & phases is LKD REL due to which user is not able to confirm the process order. The status of process order is REL PRC APNG APRS BASC BCRQ GMPS MACM RESA SETC. One of the user from planning has set the status to LKD due to some artwork changes. Now another user set the status to unlock. Locked status from order status was reset but at operation & phases level the status is still LKD REL & hence order confirmation is not allowed.
    I try to again set the status to lock but i am getting message system status LKD is active (ACT 40547870 0010) which is similar to one which we get during order confirmation.Pls. suggest.
    Regards
    Amit 

    Hello Amit
    If the status LKD is not set for the order header, this is possibly an inconsistency.
    Please open an OSS incident to SAP for further analysis.
    BR
    Caetano

  • Error Message: Not enough memory for operation.

    Hi All,
    I'm having problem when try to connect to Oracle DB, check my details as below :
    Connector : Microsoft ODBC for Oracle
    Database Expert : Using Stored Procedure to populate data to excel.
    Server Used: DBCCSWST125.reportjobserver 
    Error Message: Not enough memory for operation
    Problem occurred when I tried to use stored procedure in my rpt file.
    Thanks.

    You are using multiple versions and it's still not clear what is happening but the CR 2008 reports should not be published to BusinessObjects Enterprise XI R2. CR 2008 has functionality that XI R3 does not support.
    Create reports in CR XI R2 for BOE R2.
    Also, your version of Enterprise has not been patched. You should have a Support contract which will allow you to get into our Gated site and update BOE. Then it may work but check with your administrators first before patching BOE.
    Thank you
    Don

Maybe you are looking for

  • Script To Update Month Text Field?

    Hello SharePoint Fam, I am wanting to add a choice field to existing list that contains each month(jan,feb,mar,etc) but was wondering is it possible for me to automate this at all so I don't have to manually change default month value to correct mont

  • HTTP 500 - Internal server error - not able to Export BI report to Excel

    Hi, We just upgraded to HFM 9.3.1.4. Unfortunately we are not able to Export BI report to Excel (in Workspace and in BI Studio). We receive the error message "HTTP 500 - Internal server error" (this worked fine in 411). We are able to preview in PDF

  • Profile for Nikon AFS 17-35 f/2.8?

    Is there a profile available for Nikon AFS 17-35 f/2.8?  I cannot find it.

  • Beginner font questions

    These are some beginner font questions if someone has the time/patience. I've never paid much attention to fonts over the years, never installed any other than those that might have come with applications. Early on, 15 years ago or so, I settled on P

  • Book features in iDVD ?

    Hi all, I have spent all afternon looking at existing posts but could not find any satisfactory answer to my problem. I created a book in iphoto and sent it to iDVD. It is read as a movie there and the "slideshow" has very poor photo quality. The pho