7.x Precalculation Server, Parallel Processing

We recently installed the precalculation software for SAP GUI 7.10 on ONE server and we are noticing that jobs are being processed in parallel. I have not yet checked to see what the maximum number of jobs are, but using t-code RSPRECADMIN I have noticed up to 4 jobs running at once.
I'm curious if anyone else has experienced this and if so, whether or not you have found documentation from SAP that discusses this new feature?
Our precalc install is based on the following package : xPreCalServer06_1-10004472.msi 
Thanks,
David

Hi Simon,
Indeed it is processing multiple workbooks at once. I have a few running right now that have been going for roughly 1 hour and I have seen a few more pass through in the last hour that were processed and emailed.
Where do you set the max number of workbooks to 1 ?
Thanks,
David

Similar Messages

  • Sizing of precalculation server and workbook description while broadcasting

    Hello Gurus,
    First
    i have a question concerning broadcasting. First we installed one precalculation server on a desktop but after creation  a lot of settings for broadcasting a workbook the sending vial email or portal did not show the workbook (numbers, textitems) correctly. I just saw NV for the numbers.
    Then i deleted the broadcast settings from transaction RSRD_ADIM. After created one setting again after the deletion of all the settings i broadcasted one workbook via email successful. --> my suggestion was that it depends on the settings created for a precalculation server. Sizing is a problem, broadcasting the workbooks correctly. is there a relationship one precalculation server how many workbook broadcast settings?
    Second when i broadcast a workbook via Email the name of the attached file is:
    WORKBOOK_XXXXXXXXXXXXXXXtechnical nameXXXXXXXX.XLS
    This name is meaningless. Is there a possibility to change the name of the of the broadcasting file?
    Thanks and kind regards,
    Murat

    Hi Murat,
    First: yes, there is a limitation on how many workbooks a precalculation server can process at once.
    The older load balancing server version (see note 1275837) had the following environment variable to control how many instances it should start at a given time:
    (Control Panel -> System -> Advanced -> Environment Variables) BEX_PRECALC_INSTANCES = 1. In this case, only one instance would be started at a time (that is, a workbook would be processed after another).
    Second: No. It is not possible. I had a request here at SAP some time ago and the development said that it is just working as designed and no plans to develop such functionality were ongoing at that time.
    Kind Regards,
    Marcio

  • Parallel Processing on the Server

    I am creating a Java web application that demands some intense and time-consuming server-side processing. Therefore, once the user makes his request (which involves submitting a file), I want to do 2 things: 1) redirect the user to a confirmation page and 2)perform the processing and send an E-mail of the results to the user. Of course, these should be done in parallel.
    I am not exactly sure how to go about doing this sort of thing given the request/response model in servlets/JSPs. I've considered bouncing the reqest around various servlets to get this done, but I am not sure exactly how that would work. I've also considered spawning a thread, but I am not sure if I want to do that inside the web container.
    Any suggestions are greatly appreciated. Thanks.

    I have never worked with MDBs either. But I don't see why the servlet couldn't send the file (as an array of bytes representing the actual data, or as a string that holds only the name of a temporary file where the servlet stored the data) to an MDB which would do that.
    Here's a link to an MDB tutorial, since you've worked with EJBs I expect the terminology should not be a problem:
    http://www.theserverside.com/articles/article.tss?l=Pramati-MDB

  • Parallel processing issue withing same server

    hi,
    i need to perform parallel processing withing same server using work processes available in same server.
    suggest if this can be accomplished and explain the design if possible.

    Hello Venkata,
    You can achieve parallel processing by using CALL FUNCTION .... STARTING NEW TASK <task name>.
    In this case function module runs in asynchronous mode without stopping calling program.
    For more details you can refer following link:
    https://wiki.sdn.sap.com/wiki/display/Snippets/Easilyimplementparallelprocessinginonlineandbatchprocessing
    Thanks,
    Augustin.

  • Precalculation server how to get the initial "ready" status

    Hi guys,
    i have scheduled 50 workbooks over night in 5 minute distances. The precalculation server is one physical server with 3 registered precalc server. Multiinstance precalculation is started. And when i come in the morning i see in RSRD_Log
    with red icon the message "The system searches for the next free preliminary calculation server" and also "No free precalculation servers found ('                                              100" and the last message "An active RFC server could not be found ". Before i went i restarted the server so the precalculation registrations should all be green and ready and in an initial state.
    From 0 o clock till 7 o clock they are all red the registrations and from 8 o clock they are green again and work fine. How come?
    Does a reboot not put them into initial state? Do i also have to clear the queue from RSPRECADMIN? From 50 scheduled workbooks just 10 reach their target via mail. What am i doing wrong?
    Thanks and kind regards,
    Murat

    Hi Vikram,
    there are no paralel processes defined they are all scheduled sequentially. They are 70 scheduled in 5 minute distances.
    But no parallel processes. What could be the reason?
    Thanks and kind regards,
    Murat

  • FORK is Not happening Parallel processing- It's working sequential

    Hi,
       we are into PI 7.O and SP 13.
       I am trying to test Parallel processing using Fork step. (With Two branches)
    My problem is sxm_moni both branches are not executed simultenously and it's executing one after the other.
    Did any body done in XI parallel processing using BPM...both calls has to finish at the same time. I mean first call 10 min and second call aslo has to finish first 10 min ..not other 10 min.
    I heard this problem from XI 3.0 and PI 7.O. But PI 7.1 did any body test the Parallel processing using Fork step.
       Pls help me is this issue will resolve if I go to PI 7.1.
    Regards,
    Venu.

    Hi Henrique,
    they would not necessarily start at the same time but shouldnt also be queued - Customer expecting the response within a 17 sec or 20 Sec but coming response 34 sec will not ok for the customer..tomorrow need add some more target again 17 sec will take...How PI can handle the Multi threading they are checking...I am not sure this problem fixed in PI 7.1 or not.
    there're # of connection restrictions in your system? Check that - Where can I check connections restrictions...If you know pls through some light on this.
    Also, how's your BPM transactional behavior (did you flag the create new transaction steps)?
    - I did not checked the flag for create new transaction step..once my server is up I can check the flag and I can test.
    Regards,
    Venu.

  • Parallel Processing in Oracle 10g

    Dear Oracle Experts,
    I would like to use the Parallel Processing feature on My production database running on Unix Box.
    No: of CPU in each node is 8 and its RAC database
    Before going for this option i would like to certain things regarding Parallel Processing.
    1. According to my server specification how much DOP i can specify.
    2. Which option for Setting Parallel is good
    a. Using the 'alter table A parallel 4' or passing the parallel hints in the sql statements
    3. We have a batch processing jobs which are loading data into the tables from flat files (24*7) using sql loader. is it possible to parallel this operation and any negative effect if enabled parallel.
    4. Query or DML - which one will be perform best with parallel option.
    5. What are the negative issue if parallel option is enabled.
    6. what are the things to be taken care while enabling the parallel option.
    Thanks in Advance
    Edited by: user585870 on Jun 7, 2009 12:04 PM

    Hi,
    first of all, you should read [Using Parallel Execution|http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/usingpe.htm#DWHSG024] in documentation for your version - almost all of these topics are covered there.
    1. According to my server specification how much DOP i can specify.It depends not only on number of CPU. More important factors are settings of PARALLEL_MAX_SERVERS and PARALLEL_ADAPTIVE_MULTI_USER.
    2. Which option for Setting Parallel is good - Using the 'alter table A parallel 4' or passing the parallel hints in the sql statementsIt depends on your application. When setting PARALLEL on a table, all SQL dealing with that table would be considered for parallel execution. So if it is normal for your app to use parallel access to that table, it's OK. If you want to use PX on a limited set of SQL, then hints or session settings are more appropriate.
    3. We have a batch processing jobs which are loading data into the tables from flat files (24*7) using sql loader. is it possible to parallel this operation and any negative effect if enabled parallel.Yes, refer to documentation.
    4. Query or DML - which one will be perform best with parallel option.Both may take advantages of using PX (with some restrictions to Parallel DML) and both may run slower than non-PX versions.
    5. What are the negative issue if parallel option is enabled.1) Object checkpoint happens before starting parallel FTS (true for >=10gR2, before that version tablespace checkpoint was used)
    2) More CPU and memory resources are used with PX - it may be both benefit and an issue, especially with concurrent PX.
    6. what are the things to be taken care while enabling the parallel option.Read the documentation - it contains almost all you need to know. Since you are using RAC, you sould not forget about method of PX slaves load balancing between nodes. If you are on 10g, refer to INSTANSE_GROUPS/PARALLEL_INSTANCE_GROUPS parameters, if you are using 11g then properly configure services.

  • Parallel processing using ABAP objects

    Hello friends,
                        I had posted in the performance tuning forum , regarding a performance issue problem , I am reposting it as it involves OO concept .
    the link for the previous posting
    Link: [Independent processing of elements inside internal table;
    Here is the scenario,
    I have a internal table with 10 records(indepentent) , and i need to process them .The processing of one record doesnt have any influence on the another . When we go for loop , the performance issue is that , the 10 th record has to wait until the 9 records get processed even though there is no dependency on the output.
    Could some one tell a way out to improve the performance..
    If i am not clear with the question , i would explain it still clearer...
    A internal table has 5 numbers , say( 1,3,4,6,7)
    we are trying to find square of each number ,,,
    If it is a loop the finding of suare of 7 has to wait until 6 is getting completed and it is waste of time ...
    This is related to parallel processing , I have refered to parallel processing documents,But I want to do this conceptually ..
    I am not using conventional procedural paradigm but Object orientedness...I am having a method which is performing this action .What am I supposed to do in that regard.
    Comradely ,
    K.Sibi

    Hi,
    As examplified by Edward, there is no RFC/asynchronous support for Methods of ABAP Objects as such. You would indeed need to "wrap" your method or ABAP Object in a Function Module, that you can then call with the addition "STARTING NEW TASK". Optionally, you can define a Method that will process the results of the Function Module that is executed asynchronously, as demonstrated as well in Edward's program.
    You do need some additional code to avoid the situation where your program takes all the available resources on the Application Server. Theoretically, you cannot bring the server or system down, as there is a system profile parameter that determines the maximum number of asynchronous tasks that the system will allow. However, in a productive environment, it would be a good idea to limit the number of asynchronous tasks started from your program so that other programs can use some as well.
    Function Group SPBT contains a set of Function Modules to manage parallel processing. In particular, FM SPBT_INITIALIZE will "initialize" a Server Group and return the maximum number of Parallel Tasks, as well as the number of free ones at the time of the initialization. The other FM of interest is SPBT_GET_CURR_RESOURCE_INFO, that can be called after the Server Group has been initialized, whenever you want to "fork" a new asynchronous task. This FM will give you the number of free tasks available for Parallel Processing at the time of calling the Function Module.
    Below is a code snippet showing how these Function Modules could be used, so that your program always leaves a minimum of 2 tasks for Parallel Processing, that will be available for other programs in the system.
          IF md_parallel IS NOT INITIAL.
            IF md_parallel_init IS INITIAL.
    *----- Server Group not initialized yet => Initialize it, and get the number of tasks available
              CALL FUNCTION 'SPBT_INITIALIZE'
              EXPORTING
                GROUP_NAME                           = ' '
                IMPORTING
                  max_pbt_wps                          = ld_max_tasks
                  free_pbt_wps                         = ld_free_tasks
                EXCEPTIONS
                  invalid_group_name                   = 1
                  internal_error                       = 2
                  pbt_env_already_initialized          = 3
                  currently_no_resources_avail         = 4
                  no_pbt_resources_found               = 5
                  cant_init_different_pbt_groups       = 6
                  OTHERS                               = 7.
              md_parallel_init = 'X'.
            ELSE.
    *----- Server Group initialized => check how many free tasks are available in the Server Group
          for parallel processing
              CALL FUNCTION 'SPBT_GET_CURR_RESOURCE_INFO'
                IMPORTING
                  max_pbt_wps                 = ld_max_tasks
                  free_pbt_wps                = ld_free_tasks
                EXCEPTIONS
                  internal_error              = 1
                  pbt_env_not_initialized_yet = 2
                  OTHERS                      = 3.
            ENDIF.
            IF ld_free_tasks GE 2.
    *----- We have at leasr 2 remaining available tasks => reserve one
              ld_taskid = ld_taskid + 1.
            ENDIF.
        ENDIF.
    You may also need to program a WAIT statement, to wait until all asynchronous tasks "forked" from your program have completed their processing. Otherwise, you might find yourself in the situation where your main program has finished its processing, but some of the asynchronous tasks that it started are still running. If you do not need to report on the results of these asynchronous tasks, then that is not an issue. But, if you need to report on the success/failure of the processing performed by the asynchronous tasks, you would most likely report incomplete results in your program.
    In the example where you have 10 entries to process asynchronously in an internal table, if you do not WAIT until all asynchronous tasks have completed, your program might report success/failure for only 8 of the 10 entries, because your program has completed before the asynchronous tasks for entries 9 and 10 in your internal table.
    Given the complexity of Parallel Processing, you would only consider it in a customer program for situations where you have many (ie, thousands, if not tens of thousands) records to process, that the processing for each record tends to take a long time (like creating a Sales Order or Material via BAPI calls), and that you have a limited time window to process all of these records.
    Well, whatever your decision is, good luck.

  • Parallel Process Option for Optimization in Background.

    Hi,
    I am testing the SNP Optimizer with various settings this week on  demo version from SAP for a client.  I am looking for information that anyone might have on the SNP Parallel Processing Option in the execution of the Optimizer in the background.   The information that I could find is very thin.   I would be interested in any documentation or experience that you have.
    Sincerely,
    Michael M. Stahl
    [email protected]

    Hello,
    While running the transaction /SAPAPO/SNPOP - Supply Network Optimization  in the background, In the variant of it you can enter Parallel Processing profile in the field Paral. Proc. Profile.
    This profile you will require to define in the Customization(SPRO) before use it in the variant.
    Path to maintain it is as below Use transaction SPRO
    Advanced Planning and Optimization --> Supply Chain Planning -->Supply Network Planning (SNP) --> Profiles --> Define Parallel Processing Profile
    Here you will require to define your profile... e.g. as below
    Paral. Proc. Profile SNP_OPT
    Description          SNP OPTIMIZER PP PROFILE
    Appl. (Parallel Pr.) : Optimization
    Parallel Processes   2
    Logical system :
    Server Group :
    Block Size:
    You will require to take Basis team's help to enter value for Server Group and Block size.
    I hope, above information is helpful for you.
    Regards,
    Anjali

  • Parallel process in process chains

    Hi All,
    I have created a process chain with two parallel jobs (for forecast run) in APO DP. whenever i'm checking it, it is showing me that <b>"Too many parallel processes for chosen server"</b>
    In the diagnosis, the message is "On the server  you have chosen, there are only 1 batch processes available. The process chain has been designed in such as way that 2 processes must be processed parallel".
    Do I need to maintain any settings.Please let me know.
    Thank you.
    Regards,
    Raj

    Hi Raj,
    What it is complaining about is that the number of batch processes(background processes) available on the system are only 1 and you have given it 2 background processes..now if the system only has 1 bckgnd process,, how will it run 2 processes ) ??
    You can check the number of background processes in SM50 and then modify the number of background processes in RZ10(start up profile)......Ask your basis guy to increase/check that???
    Thanks
    Abhi

  • Parallel Process in a Process chain design

    Hi
    BAsed on what factors can we make a decision on How many parallel data loads (process) we can include while designing a Process chains
    Thanks

    Hi Maxi,
    There is no hard and fast rule for that, for trial purpose you can add specific no. of parallel processes and schedule the chain, if there are not enough background processes available to fulfill your request then SAP will give you warning there you can see how many processes are available.
    But if you go for maximum parallel process then it actually depends on how many processes are available at the time of process chain scheduling. Though your server have enough process but if they are utilized by other processes then still you will get warning while executing process chain.
    So just check in your server how many background processes are there and then take some optimum decision.
    Regards,
    Durgesh.

  • Issue when Bursting reports via new Precalculation Server

    Hello,
    We are trying to migrate away from our unsupported 720 installation of the SAP Precalculation software to a new Precalculation Server running the latest versions. We’ve overcome a number of issues and we can successfully Broadcast using the new server but we are encountering problems
    with bursting.
    The Bursts have been running successfully on the old 720 server, so we know that the BW side must be fine which suggests the problem is with the Precalculation server. We have been through the Precalculation checklist and the servers appears to have been built successfully. The Precalculation and Business Explorer software has been patched to the latest version and it’s running Excel 2013.
    The main error message we are seeing is “The RPC server is unavailable” HRESULT: 0x800706BA.
    A Screen shot showing the error in RSRD_LOG  is shown in the attached document.
    Below is an extract from the Log of the Precalc server showing this error, just before the RPC Server is unavailable message it states
    Error occured on closing opened workbooks.
    |ZPREC730_1:9/3/2014 2:10:20 PM.777 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc failed 1 time(s | 
    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 1 time(s                                             

    |ZPREC730_1:9/3/2014 2:10:25 PM.785 (0) -> Calling refresh
    BExAnalyzer.xla!MenuRefreshPrecalc       
    |
    |ZPREC730_1:9/3/2014 2:10:25 PM.785 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc failed 2 time(s |

    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 2 time(s                                             

    |ZPREC730_1:9/3/2014 2:10:30 PM.792 (0) -> Calling refresh BExAnalyzer.xla!MenuRefreshPrecalc        |

    |ZPREC730_1:9/3/2014 2:10:30 PM.792 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc failed 3 time(s

    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 3 time(s                                                |

    |ZPREC730_1:9/3/2014 2:10:35 PM.800 (0) -> Calling refresh
    BExAnalyzer.xla!MenuRefreshPrecalc       

    |ZPREC730_1:9/3/2014 2:10:35 PM.800 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc failed 4 time(s |

    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 4 time(s                                             

    |ZPREC730_1:9/3/2014 2:10:40 PM.808 (0) -> Calling refresh
    BExAnalyzer.xla!MenuRefreshPrecalc       

    |ZPREC730_1:9/3/2014 2:10:40 PM.808 (0) -> Refresh BExAnalyzer.xla!MenuRefreshPrecalc
    failed 5 time(s |

    |). BExAnalyzer.xla!MenuRefreshPrecalc failed 5 time(s                                             

    |ZPREC730_1:9/3/2014 2:10:45 PM.815 (0) -> Refresh
    BExAnalyzer.xla!MenuRefreshPrecalc returned with 0 |

    |. BExAnalyzer.xla!MenuRefreshPrecalc returned with 0                                               

    |ZPREC730_1:9/3/2014 2:10:45 PM.815 (0) -> Error occured on closing
    opened workbooks.                |

    |ZPREC730_1:9/3/2014 2:10:45 PM.815 -> An Exception  occured in thread '0':                          |

    |ZPREC730_1:The RPC server is unavailable. (Excepti on from HRESULT:
    0x800706BA)                      |

    |ZPREC730_1:System.Runtime.InteropServices.COMExcep tion (0x800706BA):
    The RPC server is unavailable. |

    |(Exception from HRESULT: 0x800706BA) tion (0x800706BA): The RPC server
    is unavailable.              |
    When this error occurs an error is reported in the Event Viewer on the server
    Faulting application name: EXCEL.EXE, version: 15.0.4535.1507, time stamp: 0x52282875
    Faulting module name: EXCEL.EXE, version: 15.0.4535.1507, time stamp: 0x52282875
    Exception code: 0xc0000005
    Fault offset: 0x005b447e
    Faulting process id: 0x%9
    Faulting application start time: 0x%10
    Faulting application path: %11
    Faulting module path: %12
    Report Id: %13
    We have the latest 730 patches installed on the Precalculation and Business Explorer software. We are running Excel 2013 (32bit) on a Virtual Machine running Windows 2008 R2.
    If you have any suggestions on how to resolve this problem I'd be delighted to hear from you!
    Many thanks,
    Mark

    Hi,
    There is no easy fix for this. Please go through the precalc check list which should solve the issue:
    Checklist for Precalculation Server - SAP NetWeaver Business Warehouse - SCN Wiki
    Regards,
    Michael

  • Is pga is being used in Parallel process

    HI
    is pga is being used in parallel processing. if yes then increasing the size of pga can increase performance
    thank

    Firstofall we need to clarify the "PGA" in Oracle.
    PGA is a type of memory which contains data and control information for a server process. When server process starts, a PGA value is assinged to a single user (if i don't remember wrong, it's default is 5M). The collection of PGA's is defined as total instance PGA. PGA_AGGREGATE_TARGET defines the maximum value which can get.
    Regarding to your concept, in my opinion it's basically wrong. Caching happens in buffer_cache which is a component of the SGA. When you first execute your sql text, Oracle caches it to reduce the physical I/O. Afterwards, if you need to execute it again, this will be a logical I/O.
    If i got your question wrong, please expend it more for further help.

  • Too  many parallel processes

    Hi
    I will have to build process chain to cube 0SD_C03 and the datasources are
    2LIS_12_VCITM
    2LIS_12_VCHDR
    2LIS_12_V_ITM
    2LIS_12_VDHDR
    2LIS_12_VAITM
    2LIS_12_VDITM
    2LIS_12_VADHDR
    Now the question is after providing the links between " Delete index" process and individual  loading process (Infopackages),the message I am getting in the checking view is " Too many parallel processes for chosen server " and furthe,r the suggested procedure by system is " Reduce the number of parallel processes in the chain or include sub-chains :
    How can I reduce the processes? Is there any alterante method of building this flow to avoid warning messages..
    Though these are warning messages ,what is the correct flow of building process chain for this without getting any warning messages.

    Hi,
    Based on dependency better you can go for 3 parellel process at a time as what we are doing in our project. 
    check schedule time for each your process chain which fetchs data from source system (Info Package) and re schedule them which should not execute at a time (make it max 3) and try again
    Regards
    BVR

  • No destination is currently free for parallel processing - SAPRCK10

    Hello ABAPers,
    We have scheduled SAP standard program "SAPRCK10" in background processing at our production server on daily basis.
    It was worked fine on last week before but its now giving a error says "No destination is currently free for parallel processing ".
    Could you please guide us how to resolve this issue ?
    Thanks,
    vthilagaraj

    Dear François Henrotte,
    Could you please let me know how to increase the number of processe in RZ04 ?
    Thanks,
    vthilagaraj

Maybe you are looking for

  • Table or Object type - like #temp table in SQL Server

    Hi I need to create a temp table to hold certain data and then validate. What is the best way to do this oracle. Something similar to #temp tables in SQL Server. Thanks

  • Cell editor removed when table resized

    I'm using Java 1.5.0_06 in my application. I have a JFrame which contains a JTable. I use FormLayout (which is like GridBagLayout). When the frame resizes, the table resizes too. When I enter edit mode in a cell of the table and resize the frame (and

  • Monitor event id rule vs monitor

    Hi! Should I use a unit monitor or a rule to monitor event ID? I know I can do it with both, but what is best practice?

  • I want to downgrae from v.4 to the previous version

    I upgraded to v.4 a few days ago and I hate it. I want to downgrade to the previous version, which I was very happy with. I'm pretty computer illiterate, do NOT enjoy experimenting with new features, configurations, etc. I would simply like to return

  • I POD transfer

    Myself and my daughter currently share the same MAC. She also has an ipod touch with a large asst of music. my question is. Will she able to transfer her itunes library to a windows based laptop and be able to use ipod from that laptop. She is going