Way to increase "MAXIMUM UPTIME PROCESSES" during preprocessing phase

Hi All,
It has always been frustrated when your ACT_UPG, SHADOW_IMPORT_INC phases are running very slow due to low number of MAX UPTIME PROCESSES enter earlier.
I've been looking for a method to increase MAX UPTIME PROCESSES during upgrade, or shadow instance creation, but to no avail and guru here said there's no way to amend the Uptime Processes after you input the value during the preparation phase, but just to wait until it finish.
However, i found out this can be done by changing the value for parameter mainimp_proc in *.TPP files (located under EHPI\abap\bin). eg of *.TPP files to be changed are based on the *.ECO located under EHPI\abap\tmp)
For instance:
youu2019ll see below command in TPAPP.ECO file:
EXECUTING D:\usr\sap\EHPI\abap\exe\tp.exe pf=D:\usr\sap\EHPI\abap\bin\SHDUPGIMP1.TPP
Therefore, you can increase the number of UPTIME processes by changing the value mainimp_proc in SHDUPGIMP1.TPP
In order to change this, first, you need to kill the R3trans processes, and SAPehpi will prompt you the error message. take this opportunity to change the parameter. Make a backup before you change any files.
To maintain consistency, i think is good to amend parameter mainimp_proc in every *.TPP based on the time it created when you launch the EHPI. Because, SAPEHPI will generated the value you enter into *.TPP file base on the global template. Also, check on every *.ECO file in /tmp for each phase to determine what *.TPP file is being read.
example of .TPP files:
SHDUPGIMP1.TPP, SHADOW.TPP, DEFAULT.TPP, TOOLIMPM.TPP, TOOLIMPI.TPP, and etc
For your information, it is not recommend to change the processes during the upgrade and you should bear your own responsibility. The purpose of this post is just for sharing.
For my situation, my colleague has insert value "2" for MAX UPTIME PROCESSES and it's veryslow due to only 2 R3trans is running and the clock is ticking for us. I change the parameter to "6" after some analysis done how EHP read the value. The good news is i can see 6 R3trans are running and 6 Support Packages are importing in /EHPI/abap/tmp.
Time it takes to complete had shortened tremendously and upgrade completed without any error.
Please provide any feedback on how it works if youu2019ve tried it or going to try it in future.
Thanks,
Nicholas.

> Please provide any feedback on how it works if youu2019ve tried it or going to try it in future.
Just to throw in my EUR 0.02:
In most cases you do an upgrade not only one on a production system but also before on a test system - or at best - on a copy of the production.
At the end of the upgrade you get an UPGEVAL.XML file that lists the runtime of the various phases and also the configuration.
For such huge upgrades ('real' upgrades or e. g. EHP4) we do this upgrade several times with copies of the production (3+ TB database) and try to optimize the runtime for us plus avoiding most of the errors during activation and upgrade phases. For our EHP4 project I did a total of 6 upgrades in a copy of the production to find the optimum number of processes. This implies however, that resources are available (in sense of time and hardware) but we found out from the past, that this invest is of much more use than having a trembling administrator on a sunday evening sitting there and hoping that there'll be no restore of the database necessary.
With todays database and/or storage technologies (snaphots/clones) it's no more a big administrative task to copy a system and reset it after the upgrade and start over if it was too slow.
Out of my experience I would say, that I'd set the parameters always as high as the number of CPUs you have on the server executing the upgrade process, it's very rare that the machine comes to its CPU limit with nowadays CPU power, even if there's the production running.
Markus

Similar Messages

  • Error in phase SCEXEC_ALIAS in upgrade process(during preprocessing)

    Hi all experts,
    i encountered error during upgrade from 4.7 to ecc 6
    with message :
    severe error during SCEXEC_ALIAS phases
    file /usr/sap/<SID>/upg/abap/log/PTALDC00.LOG not found
    below is some related log content for this error:
    tail log of ULOG11_2
    Phase SCEXEC_ALIAS:
    <sid>adm       20110527220015    : /usr/sap/<SID>/upg/abap/exenew/tp pf=/usr/sap/<SID>/upg/abap/bin/EXDBNEW.TPP execdbscript <SID> -x PTALDC00.XQL DBEXECNONT DBEXECNOCHECK  (pid=512002)
    <sid>adm       20110527220016    : /usr/sap/<SID>/upg/abap/exenew/tp pf=/usr/sap/<SID>/upg/abap/bin/EXDBNEW.TPP execdbscript <SID> -x PTALDC01.XQL DBEXECNONT DBEXECNOCHECK  (pid=1204298)
    <sid>adm       20110527220017    :/usr/sap/<SID>/upg/abap/exenew/tp pf=/usr/sap/<SID>/upg/abap/bin/EXDBNEW.TPP execdbscript <SID> -x PTALDC02.XQL DBEXECNONT DBEXECNOCHECK  (pid=675990)
    tail log of SLOG701
    Phase SCEXEC_ALIAS:
    ERROR: Connect to <SID> failed (20110527190129, probably wrong environment).
    ERROR: Connect to <SID> failed (20110527190130, probably wrong environment).
    ERROR: Connect to <SID> failed (20110527190131, probably wrong environment).
    my questions are:
    1. where is the environment variable stored during this phase which is used by tp tool?
    i have checked the profile EXDBNEW.TPP and compared it with other profile in the same directory which have been used by tp before(phases before this one), which resulted in no different for every environment related value.
    2. i tried to emulate the execution of the command in ULOG11_2 with default environment of <sid>adm with adjustments(e.g db_ora_scheme=SHDTMP, DIR_LIBRARY= /usr/sap/<SID>/abap/exenew) it run with no error of wrong environment whatsoever >.<, so can i just point the environment scheme to <SID>SHD  and executed it manually?

    well, actually i did not looking at the right place at the error , my apologize for that.
    there are another error messages at this log file SCEXEC_A.ECO
    TRACE-INFO: 68:  [dev trc    ,00000]  -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=110b1b588)                          20  0.209414
    TRACE-INFO: 69:  [dev trc    ,00000]        SELECT USERID,PASSWD FROM SAPUSER WHERE USERID IN (:A0,:A1)                                                            
    TRACE-INFO: 70:                                                                                11  0.209425
    TRACE-INFO: 71:  [dev trc    ,00000]  -  oci_bind  ( 0: SQLT_STR, l=256, con_hdl=0, stmth_p=110b1b588, vp=9001000a10b6ea2,ip=0,rlp=0,rcp=0)
    TRACE-INFO: 72:                                                                                21  0.209446
    TRACE-INFO: 73:  [dev trc    ,00000]  -  oci_bind  ( 1: SQLT_STR, l=256, con_hdl=0, stmth_p=110b1b588, vp=fffffffffffd978,ip=0,rlp=0,rcp=0)
    TRACE-INFO: 74:                                                                                14  0.209460
    TRACE-INFO: 75:  [dev trc    ,00000]  -->oci_define ( 0: SQLT_STR, l=256, con_hdl=0, stmth_p=110b1b588, vp=fffffffffffda78,ip=fffffffffffd7a0,rlp=0,rcp=0)
    TRACE-INFO: 76:                                                                                13  0.209473
    TRACE-INFO: 77:  [dev trc    ,00000]  -->oci_define ( 1: SQLT_AFC, l=256, con_hdl=0, stmth_p=110b1b588, vp=fffffffffffdb78,ip=fffffffffffd7a2,rlp=0,rcp=0)
    TRACE-INFO: 78:                                                                                16  0.209489
    TRACE-INFO: 79:  [dev trc    ,00000]  -->oci_execute_stmt(con_hdl=0, stmth_p=110b1b588, iters=1, rowoff=0, dml_batch_errors=0)
    TRACE-INFO: 80:                                                                                13  0.209502
    TRACE-INFO: 81:  [dev trc    ,00000]  OCIStmtExecute() completed, rc=100=OCI_NO_DATA, no further data                  8738  0.218240
    TRACE-INFO: 82:  [dev trc    ,00000]    -> rc=1403=OCI_ERR_NOT_FOUND                                                    18  0.218258
    TRACE-INFO: 83:  [dev trc    ,00000]  <--oci_execute_stmt(rc=1403, iters-errors = 1-0) [time 0,009s]                    11  0.218269
    TRACE-INFO: 84:  [dbsloci.    ,00000]  *** ERROR => ORA-1403 when accessing table SAPUSER                                15  0.218284
    TRACE-INFO: 85:  [dev trc    ,00000]    set_ocica() -> SQL code 1403                                                    8  0.218292
    TRACE-INFO: 86:  [dev trc    ,00000]  -->oci_get_errmsg (con_hdl=0, rc=1403)                                              7  0.218299
    TRACE-INFO: 87:  [dev trc    ,00000]    OCIErrorGet -> SQL error code: 1403                                            20  0.218319
    TRACE-INFO: 88:  [dev trc    ,00000]    ORA-01403: no data found      
    TRACE-INFO: 101:  [dev trc    ,00000]  Assigning username to user session: con_hdl=0, usrhp=110c09428                      8  0.219570
    TRACE-INFO: 102:  [dev trc    ,00000]  Assigning password to user session: con_hdl=0, usrhp=110c09428                    12  0.219582
    TRACE-INFO: 103:  [dev trc    ,00000]  Starting user session: OCISessionBegin(con_hdl=0, usr=SAPR3SHD/<pwd>, svchp=110b045e0, srvhp=110b05e88, usrhp=110c09428)
    TRACE-INFO: 104:                                                                                133  0.219715
    TRACE-INFO: 105:  [dev trc    ,00000]    OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR                        6298  0.226013
    TRACE-INFO: 106:  [dev trc    ,00000]    OCISessionBegin(OCI_DEFAULT) failed with SQL error 28000:                      11  0.226024
    TRACE-INFO: 107:  [dev trc    ,00000]    ORA-28000: the account is locked                                                                              
    TRACE-INFO: 108:                                                                                10  0.226034
    TRACE-INFO: 109:  [dev trc    ,00000]  server_detach(con_hdl=0,stale=1,svrhp=110b05e88)                                    8  0.226042
    TRACE-INFO: 110:  [dev trc    ,00000]  Detaching from DB Server (con_hdl=0,svchp=110b045e0,srvhp=110b05e88)                9  0.226051
    TRACE-INFO: 111:  [dev trc    ,00000]  Deallocating server context handle 110b05e88 from con_hdl=0                      176  0.226227
    TRACE-INFO: 112:  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '28000'                                14  0.226241
    TRACE-INFO: 113:  [dev trc    ,00000]    set_ocica() -> SQL error code 28000                                              7  0.226248
    TRACE-INFO: 114:  [dev trc    ,00000]  -->oci_get_errmsg (con_hdl=0, rc=28000)                                            7  0.226255
    TRACE-INFO: 115:  [dev trc    ,00000]    OCIErrorGet -> SQL error code: 28000                                            8  0.226263
    TRACE-INFO: 116:  [dev trc    ,00000]    ORA-28000: the account is locked                                                                              
    TRACE-INFO: 117:                                                                                10  0.226273
    TRACE-INFO: 118:  [dblink      ,00433]  ***LOG BY2=>sql error 28000  performing CON [dblink#4 @ 433]                      22  0.226295
    TRACE-INFO: 119:  [dblink      ,00433]  ***LOG BY0=>ORA-28000: the account is locked [dblink#4 @ 433]                      8  0.226303
    From the log, the problem actually lies in authorization for ops$user + locked shadow user account. After corrected these problems, the process continued. But this still bother me how this error came up since other tp processes(phases before this one) run successfully. But i will mark this question as answered. Thanks for all the attention and hope this will help others too ^^.

  • Modification adjustments during Preprocessing phase in ECC6.0 EHP4 upgrade

    Hello All,
    We are upgrading our SAP systems from R3 4.7 to ECC 6.0 EHP4 and we are currently in the PreProcessing phase. The upgrade screen has prompted the below message
    *You must now include your repository modifications
    in the new SAP import.
    35 modified objects are found to be adjusted and
    0 objects are automatically maintained by import
    of an adjustment transport bound to this procedure.
    CAUTION: It is impossible to keep these modifications
             after you have confirmed this query.
    Do you want to make adjustments to ABAP dictionary
    objects ?*
    I had a few queries
    1. Can we carry out the modification adjustment now in the SPDD transaction or did we have to complete it in the Configuration Phase?
    2. When we login to the Shadow Instance we are unable to see any of our custom Z progams and transactions in SE38 and SE93 respectively. Is this an issue or will they be available only after the upgrade?
    3. If we create the adjustments to Dictionary objects how do we flag the request for transport in SPDD transaction?
    Appreciate any help in understanding the above queries and solution to proceed.
    Thanks

    Hi,
    > 1. Can we carry out the modification adjustment now in the SPDD transaction or did we have to complete it in the Configuration Phase?
    You have to perform SPDD now.
    > 2. When we login to the Shadow Instance we are unable to see any of our custom Z progams and transactions in SE38 and >SE93 respectively. Is this an issue or will they be available only after the upgrade?
    SPDD is not for your Z programs. SPDD is for if you have done changed in SAP standard objects. SPDD will show changes that you have done standard object.
    > 3. If we create the adjustments to Dictionary objects how do we flag the request for transport in SPDD transaction?
    >
    Go to SPDD transaction and changes accordingly and add to transport request there. For more information Check SAP note 485741.
    Thanks
    Sunny

  • Dynamically increase R3load processes during import phase

    I am currently importing a system export and sapinst didn't give me the option to choose the allocation of R3load jobs to do the import with. Currently, there are only 3 R3load processes running at this time. I have 8CPU on this system and it's not even phasing it with this load. I'd like to be able to dynamically (as in i don't want to restart sapinst) switch this to now use 8 processes (maybe even as high as 12). How would I go about doing this without impacting the jobs that are currently running?
    thanks for any help you folks can provide.

    Hello,
    There is no standard way to do it.
    If you have just started the Export and if you feel it is really going to take a long time, then better to 'cancel' the current execution of Export and Restart with new Export.
    Thanks

  • How to increate the  R3trans processes during upgrade ...

    Dears,
    I'm doing a Sap upgrade to ECC6+EHP4 and I selected the scenario "High resource use (minimal downtime, fast import, archiving off)" in the Configuration module.
    The Downtime module is started  but I saw the gui does not allow to modify the number of processes it's going to use like :
    > MAXIMUM UPTIME PROCESS
    > R3TRANS PROCESSES
    I saw the XPRA_UPG phase is using 1 batch only, despite there are a lot of resources available.
    As I'm planning others upgrade run in the next future for this sistem, I would like to know if there a way to increase the number of these processes, without changing the Scenario "High resource use (minimal downtime, fast import, archiving off)."
    In this run the parameter MAXIMUM UPTIME PROCESS I suspect is set to 1; I would like at least to set it to 2 in the next run .
    But I would like to continue to use this scenario "High resource use (minimal downtime, fast import, archiving off)." in the future, but increasing these parameters MAXIMUM UPTIME PROCESS and R3TRANS PROCESSES.
    I read the 'Troubleshooting and Admistration Guide' but it's not described here; it seems the only way to change these parameter is to choose a completely different scenario (so called "Manual Selection")
    How they can be changed ? Are they written in some file into the upgrade directory ?
    best regards

    Hello Roberto,
    with this option ("High resource use (minimal downtime, fast import, archiving off)") it is not possible to change the key parameters that you're looking for.
    For your case you should select the option "Manual selection of parameters". Please check the piece of log below to see the parameters you can change with this option:
    >> 2009/05/27 15:12:57  START OF PHASE PREP_EXTENSION/INITSUBST
    >>>> Choose configuration <<<<
    Select configuration
    01)  -  Standard resource use (archiving off)
    02)  -  High resource use (archiving off)
    03)  -  High resource use (archiving on)
    04)  *  Manual selection of parameters
    : Manual selection of parameters
    >>>> Archive Mode <<<<
    Choose an upgrade phase for disabling the archive mode. For more information,
    see the upgrade guide.
    If the archive mode is disabled, all production operation has to be stopped.
    01)  -  No disabling of the archive mode (Archiving on)
    02)  *  The archive mode should be disabled in phase STOPSAP_TRANS
    Choose the archive mode:: The archive mode should be disabled in phase STOPSAP_TRANS
    >>>> SGEN Execution Mode <<<<
    Choose an execution strategy for SGEN. For more information, see the upgrade
    guide.
    01)  -  Do not start SGEN during the upgrade.
    02)  *  Fill table GENSETC with relevant loads, but do not run SGEN.
    03)  -  Fill table GENSETC and run SGEN with low resource consumption.
    04)  -  Fill table GENSETC and run SGEN with high resource consumption.
    Choose the SGEN execution mode:: Fill table GENSETC with relevant loads, but do not run SGEN.
    >>>> Batch Configuration and Upgrade Processes <<<<
    You need to supply information about the batch server and the number of
    processes used.
    Enter the host name of your batch server:
    BATCH HOST: SAP_EXAMPLE
    Enter the maximum number of batch processes during the upgrade:
    BATCH PROCESSES: 5
    Enter the maximum number of parallel processes during uptime:
    MAXIMUM UPTIME PROCESSES: 1
    Enter the number of parallel import processes during downtime:
    R3TRANS PROCESSES: 3
    As you can see, all these parameters are editable with this option. You should consider it in your future upgrades, in my opinion.
    Best regards,
    Tomas Black

  • HT1338 Hi, Is there a way to increase the maximum size of a download? I'm trying to download Adobe premiere pro (1GB) and I'm getting an error message that says my maximum download is 10 MG

    Hi, Is there a way to increase the maximum size of a download? I'm trying to download Adobe premiere pro (1GB) and I'm getting an error message that says my maximum download is 10 MG

    That's between you and your internet service provider.  By the way, you posted to the 10.3 forum.  10.3 can't run on your MacBook Pro. Don't forget the following facts:
    b= bit
    B = Byte
    8 bits in a byte
    A typical DSL connection has 1 Mbps speed or 128 kBps speed.
    At that speed
    1 minute gives you 7.5 MB
    10 minutes gives you 75 MB
    100 minutes gives you 750 MB
    A typical cable connection can be 5 times faster although some are 30 times faster.
    A typical fiber connection is 15 times faster and some are 50 times faster.
    Ask what your speed is rated at.

  • The maximum report processing jobs limit configured has been reached -Error

    I have Created a common page that has a CrystalReportViewerControl (name of this page is ShowReport.aspx). The report name and database name that required for the report is being passed in a querystring. The database connection info is being pulled from the web.config file. All of the reports that I am dealing with have dynamic parameters and the Crystal Prompt page is automatically being created by the crystal viewer for these. Everything in my application is working fine except that when I try to access any report for the 76th. time I get the following error "The maximum report processing jobs limit configured by your system administrator has been reached."
    I have already researched this error and am aware that the PrintJobLimit can be modifed to increase this limit or can be set to -1 if we need to allow unlimited connections. However doing this is not an option due to the degradation of server performance.
    The other option that I have tried is to make sure I close and dispose of the report document object on the Page_unload or the page_SavedStateComplete() however on doing so even the session variable that I am using to store the originally created reportdocument is loosing all of the values it requires to display the report. The session variable is still available i.e. it is still of type report document but it has no values for any of the properties like FileName, database etc , basically for all of those properties it show an error "Invalid File Path" when viewed in debug mode.
    I have already tried several approaches but with no luck. Every single time I close the originally created ReportDocument object I loose all the required values in the Session
    I am using Crystal Report XI R2 , .Net 2.0 and ASP.net
    Following is the code: (Any help will be highly appreciated) Thanks:
    Option Strict On
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports System.Data.SqlClient
    Imports System.IO
    Partial Class _ShowReport
    Inherits System.Web.UI.Page
    Private FechReport As ReportDocument
    Dim strSelectedDatabase As String
    Dim strReportsFolderPath As String =
    System.Configuration.ConfigurationManager.AppSettings("ReportsFolderPath").ToString()
    Dim strReportFileName As String
    Dim strReportFullPath As String
    Dim iInsertedLogId As Integer 'This variable is used to store the inserted log id for the executed report.
    Dim strConnString As String = System.Configuration.ConfigurationManager.AppSettings("ConnString").ToString()
    Dim strServerName As String = System.Configuration.ConfigurationManager.AppSettings("CR_ServerName").ToString()
    Dim strUserName As String = System.Configuration.ConfigurationManager.AppSettings("CR_UserName").ToString()
    Dim strPassword As String = System.Configuration.ConfigurationManager.AppSettings("CR_Password").ToString()
    Protected Sub Page_OnSaveStateComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.SaveStateComplete
    If IsPostBack Then
    If iInsertedLogId > 0 Then
    UpdateReportLog_ReportServedTime(iInsertedLogId)
    If Not FechReport Is Nothing Then
    FechReport.Close()
    End If
    End If
    End If
    End Sub
    Sub Page_Unload(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Unload
    If Not FechReport Is Nothing Then
    'FechReport.Close()
    'FechReport.Dispose()
    'GC.Collect()
    End If
    End Sub
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim sRptFileName As String
    If Request.QueryString("database") "" Then
    strSelectedDatabase = Request.QueryString("database")
    Else
    Response.Write("A Valid Database has not been supplied to this page")
    Response.End()
    End If
    If Request.QueryString("ReportFileName") "" Then
    strReportFileName = Request.QueryString("ReportFileName")
    strReportFullPath = strReportsFolderPath & strReportFileName
    Else
    Response.Write("A Valid Report has not been supplied to this page")
    Response.End()
    End If
    sRptFileName = strReportFullPath
    If Not IsPostBack Then
    FechReport = New ReportDocument
    If Not FechReport Is Nothing Then
    ShowReport(sRptFileName)
    End If
    Else
    If (Session("oReportDocument") Is Nothing) Then
    FechReport = New ReportDocument
    ShowReport(sRptFileName)
    Else
    'FechReport = New ReportDocument
    'FechReport = CType(Session("oReportDocument"), ReportDocument)
    myCrystalReportViewer.ReportSource = Session("oReportDocument")
    'myCrystalReportViewer.ReportSource = FechReport
    End If
    End If
    End Sub
    Public Function ShowReport(ByVal strReportFileName As String) As Boolean
    Dim blNoErrors As Boolean = True
    Dim crDatabase As Database
    Dim crTables As Tables
    Dim crTable As Table
    Dim crTableLogOnInfo As TableLogOnInfo
    Dim crConnectionInfo As ConnectionInfo
    FechReport.FileName = strReportFileName
    myCrystalReportViewer.ReportSource = FechReport
    crConnectionInfo = New ConnectionInfo()
    With crConnectionInfo
    .ServerName = strServerName
    .DatabaseName = strSelectedDatabase
    .UserID = strUserName
    .Password = strPassword
    End With
    Try
    crDatabase = FechReport.Database
    crTables = crDatabase.Tables
    For Each crTable In crTables
    crTableLogOnInfo = crTable.LogOnInfo
    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
    crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    Catch ex As Exception
    Response.Write(ex.Message & ControlChars.NewLine & ex.InnerException.ToString & ControlChars.NewLine)
    Exit Function
    End Try
    Session("oReportDocument") = FechReport
    'FechReport.Close()
    'FechReport.Dispose()
    'GC.Collect()
    Return blNoErrors
    End Function
    End Class

    I have looked into Caching the report document as well. However, as you mentioned in the post it, it will only be usefull when the DB and the report parameters remain the same which is not the case in our application. We have multiple identical databases and hundreds of reports. Our users have the option of using a combination of any database and any reports, each report having numerous parameters.
    Since one user can only access one report at a time. i do have cleanup code that removes the session variable used to store the reportdocument object in the page that is initially used to call the ShowReport.aspx page.
    I understand now that the CR.net SDK is only good for light reporting only. Unfortunately when we started development based on all of the articles that I gathered, I didn't anticipate running to issues like this. But I guess that's the nature of the business :-).  And hence there are people like you who go out of the way to answer these difficult questions.
    Regards,

  • Ways of creating contract and process flow of contracts

    hi friends
    ways of creating contract and process flow of contracts
    thanks for ur help
    regards
    krishna

    hi,
    In the MM Purchasing component, a contract is a type of outline purchase agreement against which release orders (releases) can be issued for agreed materials or services as and when required during a certain overall time-frame.
    Contracts can take the following forms:
    Quantity contracts
    Use this type of contract if the total quantity to be ordered during the validity period of the contract is known in advance. The contract is regarded as fulfilled when release orders totaling a given quantity have been issued.
    Value contracts
    Use this type of contract if the total value of all release orders issued against the contract is not to exceed a certain predefined value. The contract is regarded as fulfilled when release orders totaling a given value have been issued.
    You can also set up corporate buying contracts with your vendors. These are valid for all plants and company codes within a client (see Centrally Agreed Contract).
    You can create a contract as follows:
    Manually
    You enter all data relating to the contract manually.
    Using the referencing technique
    As reference document (the document you copy from), you can use:
    Purchase requisitions
    RFQs/quotations
    Other contracts
    CREATION OF CONTRACT MANUALLY:
    Choose Outline agreement --> Contract --> Create(ME31K)
    The initial screen appears.
    Enter the necessary data. If you make any specifications under the group heading Default data, this data will appear as the default data in each item.
    In the Agreement type field, specify whether you are creating a quantity or value contract, for example.
    Press ENTER .
    The header data screen appears.
    Enter the contract validity period. Check the other fields on this screen and make any necessary changes (e.g. the terms of payment) and define the header conditions.
    Press ENTER .
    The item overview screen appears.
    On this screen, enter the information for each item (material number, target quantity, price, receiving plant, or account assignment, etc.) using the same procedure as with purchase orders.
    Material without a master record: leave the field for the material number empty and enter the following:
    u2013 Short description of the relevant material or service in the Short text field
    u2013 Material group to which the material belongs, in the Material group field
    u2013 Account assignment category
    You can enter u (unknown) or the category of an account assignment.
    u2013 The target quantity and the order unit
    If you specify an account assignment category other than U (field A), you must enter the relevant account assignment data for the item. To do so, choose Item ® Account assignments (see also Account Assignment).
    If necessary, review the details for each item. Select the item(s) to review. Then select Item -> Details.
    Enter the desired conditions.
    Enter further text for the item if any additional instructions to the vendor or Goods Receiving are necessary. Choose Item -> Texts -> Text overview.
    Save the contract.
    Hope it helps..
    Regards
    Priyanka.P
    AWARD IF HELPFULL
    Edited by: Priyanka Paltanwale on Aug 25, 2008 7:20 AM

  • Is there a way to increase the number of layers in PS touch for iPad? Can Adobe do something about this?

    Is there a way to increase the number of layers in PS touch for iPad? Can Adobe do something about this?  I have been using PS touch for iPad for a few years and ALWAYS end up with a message that I have reached the maximum allowable number of layers.  not to mention of course a simple tool for drawing straight lines which is a must.  I may be missing something.  I would have imagined that a respectable company like Adobe would have added over the years a small upgrade to solve these issues.
    thanks. 

    Hi Patrick,
    I'm working on a 30" monitor, so it's effectively 2560x1600.  It only seems to be showing 2 tracks at a time, unless there is a preference or setting I'm missing that I can't seem to find in the documentation.  Here is a screenshot:
    I don't see any areas for expanding the timeline.  I can scroll vertically in the timeline, but I can't seem to actually get a larger static vertical area for showing more tracks at once.  The only vertical resizing widget is to expand the bottom or top panels, not the timeline.
    Thanks,
    Jason

  • The maximum report processing jobs limit configured by your system administ

    I have Created a common page that has a CrystalReportViewerControl (name of this page is ShowReport.aspx). The report name and database name that required for the report is being passed in a querystring. The database connection info is being pulled from the web.config file. All of the reports that I am dealing with have dynamic parameters and the Crystal Prompt page is automatically being created by the crystal viewer for these. Everything in my application is working fine except that when I try to access any report for the 76th. time I get the following error "The maximum report processing jobs limit configured by your system administrator has been reached."
    I have already researched this error and am aware that the PrintJobLimit can be modifed to increase this limit or can be set to -1 if we need to allow unlimited connections. However doing this is not an option due to the degradation of server performance.
    The other option that I have tried is to make sure I close and dispose of the report document object on the Page_unload or the page_SavedStateComplete() however on doing so even the session variable that I am using to store the originally created reportdocument is loosing all of the values it requires to display the report. The session variable is still available i.e. it is still of type report document but it has no values for any of the properties like FileName, database etc , basically for all of those properties it show an error "Invalid File Path" when viewed in debug mode.
    I have already tried several approaches but with no luck. Every single time I close the originally created ReportDocument object I loose all the required values in the Session
    I am using Crystal Report XI R2 , .Net 2.0 and ASP.net
    Following is the code: (Any help will be highly appreciated) Thanks:
    Option Strict On
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports System.Data.SqlClient
    Imports System.IO
    Partial Class _ShowReport
        Inherits System.Web.UI.Page
        Private FechReport As ReportDocument
        Dim strSelectedDatabase As String
        Dim strReportsFolderPath As String =
    System.Configuration.ConfigurationManager.AppSettings("ReportsFolderPath").ToString()
        Dim strReportFileName As String
        Dim strReportFullPath As String
        Dim iInsertedLogId As Integer 'This variable is used to store the inserted log id for the executed report.
        Dim strConnString As String = System.Configuration.ConfigurationManager.AppSettings("ConnString").ToString()
        Dim strServerName As String = System.Configuration.ConfigurationManager.AppSettings("CR_ServerName").ToString()
        Dim strUserName As String = System.Configuration.ConfigurationManager.AppSettings("CR_UserName").ToString()
        Dim strPassword As String = System.Configuration.ConfigurationManager.AppSettings("CR_Password").ToString()
        Protected Sub Page_OnSaveStateComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.SaveStateComplete
            If IsPostBack Then
                If iInsertedLogId > 0 Then
                    UpdateReportLog_ReportServedTime(iInsertedLogId)
                    If Not FechReport Is Nothing Then
                        FechReport.Close()
                    End If
                End If
            End If
        End Sub
        Sub Page_Unload(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Unload
            If Not FechReport Is Nothing Then
                'FechReport.Close()
                'FechReport.Dispose()
                'GC.Collect()
            End If
        End Sub
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Dim sRptFileName As String
            If Request.QueryString("database") <> "" Then
                strSelectedDatabase = Request.QueryString("database")
            Else
                Response.Write("A Valid Database has not been supplied to this page")
                Response.End()
            End If
            If Request.QueryString("ReportFileName") <> "" Then
                strReportFileName = Request.QueryString("ReportFileName")
                strReportFullPath = strReportsFolderPath & strReportFileName
            Else
                Response.Write("A Valid Report has not been supplied to this page")
                Response.End()
            End If
            sRptFileName = strReportFullPath
            If Not IsPostBack Then
                FechReport = New ReportDocument
                If Not FechReport Is Nothing Then
                    ShowReport(sRptFileName)
                End If
            Else
                If (Session("oReportDocument") Is Nothing) Then
                    FechReport = New ReportDocument
                    ShowReport(sRptFileName)
                Else
                    'FechReport = New ReportDocument
                    'FechReport = CType(Session("oReportDocument"), ReportDocument)
                    myCrystalReportViewer.ReportSource = Session("oReportDocument")
                    'myCrystalReportViewer.ReportSource = FechReport
                End If
            End If
        End Sub
        Public Function ShowReport(ByVal strReportFileName As String) As Boolean
            Dim blNoErrors As Boolean = True
            Dim crDatabase As Database
            Dim crTables As Tables
            Dim crTable As Table
            Dim crTableLogOnInfo As TableLogOnInfo
            Dim crConnectionInfo As ConnectionInfo
            FechReport.FileName = strReportFileName
            myCrystalReportViewer.ReportSource = FechReport
            crConnectionInfo = New ConnectionInfo()
            With crConnectionInfo
                .ServerName = strServerName
                .DatabaseName = strSelectedDatabase
                .UserID = strUserName
                .Password = strPassword
            End With
            Try
                crDatabase = FechReport.Database
                crTables = crDatabase.Tables
                For Each crTable In crTables
                    crTableLogOnInfo = crTable.LogOnInfo
                    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
                    crTable.ApplyLogOnInfo(crTableLogOnInfo)
                Next
            Catch ex As Exception
                Response.Write(ex.Message & ControlChars.NewLine & ex.InnerException.ToString & ControlChars.NewLine)
                Exit Function
            End Try
            Session("oReportDocument") = FechReport
            'FechReport.Close()
            'FechReport.Dispose()
            'GC.Collect()
            Return blNoErrors
        End Function
    End Class

    please post your question in the Business Onjects SDK Application Development Forums.

  • HTML Client: post process a preprocess query?

    I am trying to set up a method for quoting jobs and keeping track of parts for the quote. Many quotes can have many parts, so I have a many to many relationship between Quotes and Parts via a table called QuoteParts.
    I am trying to design an Add Edit Quote screen with two tabs: one has the quote details and a list of parts for this quote. The other tab has a list of parts available to go on the quote. I have it set so when you tap the item in the list not added to the
    quote, it adds the QuotePart and the part moves from the list of available parts to the quote. 
    I am filtering the two lists using two preprocess queries. They both work fine when opening the screen, however when I add a new part, the part shows up in both lists. I'm assuming it's because the preprocess query didn't preprocess, since the data was added
    to the screen and has not been saved yet. If I save and reopen the screen, all shows up fine. 
    So on to my question: Is there any way to POST process a preprocess query?
    I got the idea of how to work with this via http://blogs.msdn.com/b/lightswitch/archive/2013/04/10/many-to-how-many-html-edition-heinrich-wendel.aspx

    Close, try this:
    myapp.BrowseParts.AddPart_execute = function (screen) {
    myapp.showAddEditPart(null, {
    beforeShown: function (newScreen) {
    var newPart = new myapp.Part();
    newPart.Hardware = screen.Hardware;
    newScreen.Part = newPart;
    }, afterClosed: function (newScreen, navigationAction) {
    if (navigationAction === msls.NavigateBackAction.commit) {
    // Save all changes to parts
    return myapp.activeDataWorkspace.ApplicationData.saveChanges().then(function () {
    // Refresh the Parts that other code does not reach
    screen.UsedParts.refresh();
    screen.UnusedParts.refresh();
    Be careful about creating global scope functions like you did: RefreshPartsLists.
    Cheers
    Dave
    Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer.

  • Has anyone got this error before?? The maximum report processing jobs limit

    The maximum report processing jobs limit configured by your system administrator has been reached.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: The maximum report processing jobs limit configured by your system administrator has been reached.
    Source Error:
    Line 31:         myReportDocument = new ReportDocument();
    Line 32:         string reportPath = Server.MapPath("Rev_Cat_Question_Completion.rpt");
    Line 33:         myReportDocument.Load(reportPath);
    Line 34:
    Line 35:         SetDBLogonForReport(connectionInfo, myReportDocument);
    Source File: d:\Inetpub\wwwroot\PMSART\Region_review_forms\WFSW\LV_WFSW_Form.aspx    Line: 33
    I am stumped as I don't remember reading anywhere where you had to set any configurations for a "report processing job"?
    SMA

    This is the example I am using.
    private void printReports_Unload(object sender, System.EventArgs e)
    CrystalReportViewer1.Dispose();
    CrystalReportViewer1 = null;
    if((reportDocument1 != null) && (reportDocument1.IsLoaded))
    reportDocument1.Close();
    reportDocument1.Dispose();
    Then, I stressed webapp with WAPT 4.0, and everything works perfect.
    Do you advise me to change too keyreg?
    Thanks.
    Edited by: Santiago Magaña on Nov 3, 2008 9:47 AM
    But what does
    "stressed webapp with WAPT 4.0," mean???
    SMA

  • Problem happening again. The maximum report processing jobs limit configured by your system administrator has been reached.

    We have started receiving load report failed error again in one of our production servers. This problem occurred some months ago and on that time we found that in the code reportdocument.close method was not called so we added into the code and set the print job limit to 400 and problem went away for couple of months but now it has started again.
    Load report failed.
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at AppSuite.WebApp.CrystalViewer.LoadReport(Boolean bRefresh)
       at AppSuite.WebApp.CrystalViewer.Page_Load(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    The maximum report processing jobs limit configured by your system administrator has been reached.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    This is our code
    Private m_oReportDocument As New ReportDocument
        Private ReadOnly Property ReportId() As Integer
            Get
                Return Integer.Parse(Me.Request.QueryString("r"))
            End Get
        End Property
        Private Property CacheKey() As String
            Get
                Dim sCacheKey As String = Me.Request.QueryString("ck")
                If sCacheKey Is Nothing OrElse sCacheKey.Length = 0 Then
                    sCacheKey = CStr(Me.ViewState("CacheKey"))
                End If
                Return sCacheKey
            End Get
            Set(ByVal Value As String)
                Me.ViewState("CacheKey") = Value
            End Set
        End Property
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            If Not Me.IsPostBack Then
                LoadReport()
            End If
        End Sub
        Private Sub btnPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPDF.Click
            'Redirect to the PDF Viewer passing it the ReportId and CacheKey
            Me.Response.Redirect(String.Format(ReportHelper.PDFViewerURL, Me.ReportId, Me.CacheKey))
        End Sub
        Private Sub btnRTF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRTF.Click
            'Redirect to the RTF Viewer passing it the ReportId and CacheKey
            Me.Response.Redirect(String.Format(ReportHelper.RTFViewerURL, Me.ReportId, Me.CacheKey))
        End Sub
        Private Sub btnExcel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExcel.Click
            'Redirect to the Excel Viewer passing it the ReportId and CacheKey
            Me.Response.Redirect(String.Format(ReportHelper.ExcelViewerURL, Me.ReportId, Me.CacheKey))
        End Sub
        Private Sub crvMain_Navigate(ByVal source As Object, ByVal e As CrystalDecisions.Web.NavigateEventArgs) Handles crvMain.Navigate
            LoadReport()
        End Sub
        Private Sub crvMain_Search(ByVal source As Object, ByVal e As CrystalDecisions.Web.SearchEventArgs) Handles crvMain.Search
            LoadReport()
        End Sub
        Private Sub crvMain_ViewZoom(ByVal source As Object, ByVal e As CrystalDecisions.Web.ZoomEventArgs) Handles crvMain.ViewZoom
            LoadReport()
        End Sub
        Private Sub crvMain_Drill(ByVal source As Object, ByVal e As CrystalDecisions.Web.DrillEventArgs) Handles crvMain.Drill
            LoadReport()
        End Sub
        Private Sub crvMain_DrillDownSubreport(ByVal source As Object, ByVal e As CrystalDecisions.Web.DrillSubreportEventArgs) Handles crvMain.DrillDownSubreport
            LoadReport()
        End Sub
        Private Sub crvMain_ReportRefresh(ByVal source As Object, ByVal e As CrystalDecisions.Web.ViewerEventArgs) Handles crvMain.ReportRefresh
            LoadReport(True)
        End Sub
        Private Sub LoadReport()
            LoadReport(False)
        End Sub
        Private Sub LoadReport(ByVal bRefresh As Boolean)
            If Common.CouldBeMultiDB(User.Identity.Name) AndAlso TypedSession.OverrideCompany.Length > 0 Then
                Common.Settings.OverrideCompany = TypedSession.OverrideCompany
            End If
            'Get the report data
            Dim dtReport As DataTable = ReportHelper.GetReportData(Me.CacheKey, bRefresh)
            'If there is data to display bind it to the Crystal Viewer
            If dtReport.Rows.Count > 0 Then
                With m_oReportDocument
                    .Load(ReportHelper.GetReportPath(Me.ReportId))
                    .SetDataSource(dtReport)
                    .PrintOptions.PaperSize = Common.Settings.CrystalPaperSize
                End With
                crvMain.ReportSource = m_oReportDocument
            Else
                'Hide the controls and display a message if there is no data
                crvMain.Visible = False
                btnPDF.Visible = False
                btnExcel.Visible = False
                lblNoResults.Visible = True
            End If
        End Sub
        Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
            m_oReportDocument.Close()
            m_oReportDocument.Dispose()
        End Sub
    Can any one tell if we are doing anything wrong in our code. We don't use sub reports any more however we do use paging and some of our reports have 200+ pages. Also is it possible to find out print job limit and concurrent users by writing some code.
    Thanks

    I suspect it's not the code - after all it worked(?). It is much more likely that, it is the load. Remember that the report engine can only handle three concurrent requests at any one time. Also, remember that you can run out of print jobs real fast as subreports also count as print job. E.g.; say someone added a report that has 4 subreports in the detail section, the report runs a 100 records, you will be at 401 print jobs and thus over the limit. You can keep increasing the print job limit, but that means you are loading the server and eventually you will bring it down too...
    It may be time to consider, web farms or Report Application Server to scale up(?).
    Getting to the latest SP is never a bad idea either.
    And have a look at the scalability suggestions in this doc:
    Crystal Reports 2008 Component Engine Scalability
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • The maximum report processing jobs limit configured reach

    Getting error "The maximum report processing jobs limit configured by your system administrator has been reached."
    after running a number of reports.
    The problem clears up when I issue an IISreset.
    Environment
    - Windows 2008 Server.
    - 3 x ASP .Net application using CR.Net developed using VS2005.
    - Installed full version of Crystal Reports 2008.
    I also have a full version of Crystal Reports 2008 installed on my developemnt system along with VS 2005.
    I don't understand this error. The load on the server for running reports is extremely low.  When I talked to Business Objects about the configuration he did not see any issues.
    What do I need to do to resolve this issue without having to spend a ton of money?
    Is there something I can do in code to reslove this issue?
    The other question I have is CR.NET from I gathered reading other posts is limited to 3 concurrent licenses. Can this be increased? If so, who do I contact to purchase addtional licenses?
    Regards
      Paul

    Make sure you are closing and disposing of the report objects as you get done with them:
    Dim report as New ReportDocument
    Protected Sub Page_load()
    End Sub
    Private Page_Unload()
    report.close()
    report.dispose()
    GC.Collect
    End Sub
    //C# (on form open):
    private void WebForm1_Init(object sender, System.EventArgs e)
        if (boReportDocument != null)
            boReportDocument.Close();
            boReportDocument.Dispose();
            GC.Collect();
    // C# on form close
    private void Page_Unload(object sender, EventArgs e)
            if (boReportDocument != null)
            { boReportDocument.Close();
                boReportDocument.Dispose();
                GC.Collect();
    If you don't do the above, you either run out of licenses or memory.
    The other question I have is CR.NET from I gathered reading other posts is limited to 3 concurrent licenses. Can this be increased?
    No, this can not be increased. However, you can upgrade to the CR Server which you can bump up to 20 concurrent licenses and 5 user licenses. The following may be of help:
    https://boc.sdn.sap.com/node/972
    Ludek

  • How to increase maximum buffer memory on MSI Z87-G45 Gaming,s1150?

    good day,
    is there a way to increase the maximum buffer memory for PCI-E X16 ports? e.g. a bios setting that allows this?
    here are my specs:
    -   2 x XFX HD7950 Double Dissipation (FX-795A-TDFC)
    -   MSI Z87-G45 Gaming,s1150   
    -   Intel Core i3-4130,s1150
    -   1 x TNAV6R00 Corsair RM1000 (Gold standard)
    -   ICIDU Value DDR3 1333 (2x4GB)
    -   Windows 7 Home Premium 64Bit

    perhaps I can be a bit more specific regarding my problem
    I am using above described rig for mining purposes. One of the related performance variables is 'thread concurrency' (CGMINER). it is currently set to value 8192, corresponding to about 512mb of buffer memory for the PCI-E ports. I can not increase it, as i get the error that the system is out of buffer memory. Thing is, the system should have a lot more. The PCI-E cards hav 3GB each and my system ram is 2x4GB.
    one relate variable I am already using is the following command line
    setx GPU_MAX_ALLOC_PERCENT 100
    this usually solves above problem, but not in this case...
    anybody got any ideas?

Maybe you are looking for

  • ITunes not starting when iPod is connected

    New problem. Ipod nano 4th gen working fine until today (new 1 week ago). Today, when I connect with my computer (windows XP SP3), instead of auto-starting iTunes, the computer opens up a separate window for the nano (treating it as a drive). If I st

  • How do I stop FaceTime on my MacBook Pro from freezing and dropping connection constantly?

    I only have this issue with FaceTime on my MacBook Pro; FaceTime works fine on my iPad Mini and iPhone 5S. I'll be talking with someone over FaceTime and it will randomly freeze and/or say it's lost the connection and I usually have to turn my Wifi o

  • Color managing Safari 4.0.3

    I read Safari is automatically color managed and it is linked to the ICC profile the display is using. I use a colorimeter for monitor calibration and my display profile is set to that created profile. Am I getting accurate colors with Safari? I just

  • Initial download of CUSTOMER

    Hi Gurus, we're performing the initial download of customers from ERP to CRM systems, but we're facing a problem. The problem is that some customers in ERP doesn't have the postal code and so the BDocs are in error. We have mapped the postal code as

  • Need help finding script

    I have read through the following ADF Data Binding Primer and ADF Struts overview: http://www.oracle.com/technology/products/jdev/collateral/papers/10g/ADFBindingPrimer/index.html#bindingexample It seems to be a great article. I would like to try wor