Question regarding multi processes in ABAP

Hi
We have written a ATC / Checkman Check Implementation.
As we know the ATC / Checkman framework checks objects in object bundle of 50.
Inside the check implementation we have to make a remote HTTP Call. That will be valid for all n instances.
So the number n is determined by total number of objects / 50.
Question
In this multithreaded scenario how can we introduce a static variable which will be thread safe (making sure no two parallel threads write to this at a same time)
Any suggestions / help.
If you need more context i can explain more.
Thanks & Regards,
Piyush

This could be answered in general thread concept in ABAP.
As if we have to avoid parallel writes on a static variable how to do that?

Similar Messages

  • General Question Regarding Image Processing

    Hi All,
    I need a suggestion regarding image processing and this is the best place to get best advise.
    we need an image processing utility for our web processing.
    requirements are as described below:
    we have a e commerce based application where we need to display product images which we are currently displaying successfully.
    now we have to provide user with image processing functionality like user can zoom image can flip image can rotate image.
    what we want like when user click on zoom we can generate a dynamic image of that region based on a single source of image and can provide zooming functionality.
    more over company requirements is to go for only open source solution [:-)]
    we tried some open source solutions but due to the in house E-Commerce framework constraints we not able to integrate them,.
    can any one point me to any open source java based library so that we can use that to provide solution or do we need some other approach.
    Here is a link for a image zooming example hough this is highly professional solution using Adobe Scene7 but we want to implement something like in image zooming
    [Zoom Demo|http://s7d2.scene7.com/s7ondemand/zoom/flasht_zoom.jsp?company=S7Web&sku=AnthroISwebDemo&config=S7Web/AnthroISwebDemo&zoomwidth=500&zoomheight=500&viewer=/skins/S7Web/SWFs/loaders/genericzoomLfour.swf&vc=codeRoot%3D%2Fis-viewers351%2Fflash%2F]
    any help in this regard will be much appreciated.
    Thanks in advance
    -Umesh

    It is never safe to assume that any allocation was successful, and while it's incredibly unlikely that you're running into any such situation, it's entirely possible for a formal protocol to declare that a given message send should return immediately without waiting around:
    http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ch apter13_section_8.html#//appleref/doc/uid/TP30001163-CH9-BAJIGHAF
    An "impression" doesn't prove much unfortunately, so I'd recommend getting friendly with the debugger to see what's really going on.

  • Question regarding multi-language installation

    Hello,
    I would like to know if there are any known solution regarding multi-language packages for the different Creative Suites that we can create using AAMEE?
    I was thinking to create a trial version with a serialization answer file after the installation, but I think I will run into issues using this method.
    Thanks for the help!

    Hi,
    Currently you cant create a single multi-language package using AAMEE. You will have to create a different package for every language. All the serial numbers will ultimately serialize the product in 1 language only. Even for serialization file approach you will have to create a trial package using AAMEE and trial packages are also language specific. If you have a multilingual serial number, my suggestion would be to create a serialized package for each language seperately and deploy them.
    Thanks,
    Saransh Katariya | Adobe Systems | [email protected]

  • Question regarding Inbound process codes

    When I look into WE64 (inbound process codes), I can see that some messages have only the following process codes:
    - ABI_AIDN_IN
    - ED00
    - ED00_XML
    - ED08
    Can someone please tell me exactly what each of these process codes does?  I can find very little information (and none of it helpful) about these process codes.
    <b><REMOVED BY MODERATOR></b>
    Thanks
    Terri
    Message was edited by:
            Alvaro Tejada Galindo

    Anji - thanks for your reply.
    I've looked in WE42, and can see the entries.  This still does not give me any additional information about how these process codes work.  For example, I know that TXT1 is a process code tied to a workflow task that will process a TXTRAW01/02 idoc.  The TXT1 process code is tied only to that IDOC.  However, the process codes listed in  my original message are tied to all inbound idocs.
    Hence my original question, what exactly do these process codes do?
    Thanks,
    Terri

  • Question on Parallel Processing in ABAP

    Hi Experts,
    I am trying to process my records using Parallel Processing concept making calls to Remote Function Module.
    So, in simple terms it would look as shown below
    loop.
    call function <rfc_module> creating new task with <taskname>
    endloop.
    1. In the above scenario say it created 5 tasks.
    2. If one of the tasks have been failed because of timeout error then what happens to that task.
    In the below link it says that the dialog work proces can run only for 300 seconds.
    http://help.sap.com/saphelp_nw70/helpdata/en/fa/096e92543b11d1898e0000e8322d00/content.htm
    3. How do we track the task that has not been finished successfully?
    4. Does that throw an error?
    Thanks,
    Babu Kilari

    Here is an exmple from HELP
    TYPES: BEGIN OF task_type,
             name TYPE string,
             dest TYPE string,
           END OF task_type.
    DATA: snd_jobs  TYPE i,
          rcv_jobs  TYPE i,
          exc_flag  TYPE i,
          info      TYPE rfcsi,
          mess      TYPE c LENGTH 80,
          indx      TYPE c LENGTH 4,
          name      TYPE c LENGTH 8,
          task_list TYPE STANDARD TABLE OF task_type,
          task_wa   TYPE task_type.
    DO 10 TIMES.
      indx = sy-index.
      CONCATENATE 'Task' indx INTO name.
      CALL FUNCTION 'RFC_SYSTEM_INFO'
        STARTING NEW TASK name
        DESTINATION IN GROUP DEFAULT
        PERFORMING rfc_info ON END OF TASK
        EXCEPTIONS
          system_failure        = 1  MESSAGE mess
          communication_failure = 2  MESSAGE mess
          resource_failure      = 3.
      CASE sy-subrc.
        WHEN 0.
          snd_jobs = snd_jobs + 1.
        WHEN 1 OR 2.
          MESSAGE mess TYPE 'I'.
        WHEN 3.
          IF snd_jobs >= 1 AND
             exc_flag = 0.
            exc_flag = 1.
            WAIT UNTIL rcv_jobs >= snd_jobs
                 UP TO 5 SECONDS.
          ENDIF.
          IF sy-subrc = 0.
            exc_flag = 0.
          ELSE.
            MESSAGE 'Resource failure' TYPE 'I'.
          ENDIF.
        WHEN OTHERS.
          MESSAGE 'Other error' TYPE 'I'.
      ENDCASE.
    ENDDO.
    WAIT UNTIL rcv_jobs >= snd_jobs.
    LOOP AT task_list INTO task_wa.
      WRITE: / task_wa-name, task_wa-dest.
    ENDLOOP.
    FORM rfc_info USING name.
      task_wa-name = name.
      rcv_jobs = rcv_jobs + 1.
      RECEIVE RESULTS FROM FUNCTION 'RFC_SYSTEM_INFO'
        IMPORTING
          rfcsi_export = info
        EXCEPTIONS
          system_failure        = 1 MESSAGE mess
          communication_failure = 2 MESSAGE mess.
      IF sy-subrc = 0.
        task_wa-dest = info-rfcdest.
      ELSE.
        task_wa-dest = mess.
      ENDIF.
      APPEND task_wa TO task_list.
    ENDFORM.

  • Question regarding XI/PI and Idoc processing.

    Hi,
    I'm learning XI/PI and I have a question regarding Idoc processing in PI.
    We need to configure communication between our BW system and our PI system using Idocs.
    The Idocs are sent from BW to our PI systems and are then sent back to the BW system, there are no third system involved. The idocs are only between PI and BW.
    Our BW system is already connected with many other R3 systems by using WE20 / WE21 and RFC's and everything works perfectly.
    While I configure this communication between BW and PI it seems that PI is passing the Idoc to the Idoc adapter, converts it to xml and tries to find a receiver for the particular Idoc. I see the error "NO_RECEIVER_CASE_ASYNC" in SXMB_MONI.
    Is this a normal behaviour in PI ? Why is PI thinking that the Idoc needs to be sent to another system when it is infact for itself ??
    Thanks and regards
    Remi

    Hi
    for error "NO_RECEIVER_CASE_ASYNC" in SXMB_MONI.
    This problem may occur due to one of following reasons, so check
    1 service is active in message? transaction SICF and activate service sap/xi/engine (right click, activate)
    2 Is the port 8001 defined in the services on the smicm under services?
    3 Check the roles assign PIDIRUSER
    http://help.sap.com/saphelp_nw04/helpdata/en/56/361041ebf0f06fe10000000a1550b0/content.htm
    role: SAP_XI_ID_SERV_USER attached to it
    Also Check Whether PIDIRUSER has following role
    SAP_SLD_CONFIGURATOR
    SAP_XI_RWB_SERV_USER
    SAP_XI_RWB_SERV_USER_MAIN
    Regards
    Abhishek

  • About multi process access BDB question

    I am designing one system using BDB.I have some questions about multi process access BDB.
    1.If there are two process, they are shared BDB cache or every one has self BDB cache? (My understanding is every process has cache by itself.)
    2.If one process write BDB and at the same time one process read BDB,how to make read processs can read data which write by write process just now?

    1.If there are two process, they are shared BDB cache
    or every one has self BDB cache? (My understanding
    is every process has cache by itself.)You can configure it either way. The cache is maintained as part of the so-called environment. The usual thing is to configure a shared cache. You need to read about environments in the BDB and BDB/XML documentation.
    http://www.oracle.com/technology/documentation/berkeley-db/xml/index.html
    2.If one process write BDB and at the same time one
    process read BDB,how to make read processs can read
    data which write by write process just now?Use transactions, set up deadlock handling, and think about what transaction isolation guarantees you need. Note that there are four different fundamental setups for BDB: DS, CDS, TDS and HA, which stand for Data Store, Concurrent DS, Transactional DS and High Availability. For read-write concurrency, you need TDS.
    http://www.oracle.com/technology/documentation/berkeley-db/xml/ref/intro/products.html
    For high concurrency at the expense of memory, consider using multi-version concurrency control (MVCC). You can read about it in the following thread, especially in George Feinberg's replies:
    Deadlock handling for beginners
    In addition, there is ample documentation included in the BDB/XML distribution. It's pretty complex, as BDB can be configured in many different ways.
    Michael Ludwig

  • Some Questions regarding ABAP

    Hi All,
    1. What is the exact diffrence Between Diffrent Update Modes in BDC Process.
    What is the Diffrence B/N Synchronous[S] & Asynchronous[A] processing in Update mode. Ans Also what is the purpose of Local[L] Mode.
    2. What is meant by work processes in ABAP.
    3. In SAP Script in NACE when we connect Print Program[SE38] & Layout Set[SE71] there will be some common routine B/N them like ENTRY.
    WHat it actually does - FORM ENTRY.
                            ....ENDFORM.
    4. In ALV Output i want to change the color of particular row dynamically how can i change the same.
    Suppose i am having one row with one field (-)Negative Value that should be displayed in diffrent color, If Positive value need to be in diffrent color, Zero value need to be in diff color. how can i achieve this dynamically.
    5. I Have one issue in BDC I am running a CALL Transaction Method for one BDC program.
    In that if the process is successful or not i am creating a error Log in SM35.
    If the above CALL Transaction for BDC is successful i am updating 2 Z-Tables and if it unsuccessful i am creating a session[Error Log] in SM35 through Session Method.
    Now what i want is when if above CALL Transaction fails then Z-Tables will not be updated.
    Then user will go to SM35 and modify the log and Re-Process BDC from SM35. But here Z-Tables will not get updated though now process will run successfully.
    Means if the BDC fails, these updates to the Z-tables never happen even if we re-process the BDC & then we have an out of Sync condition.
    Can anybody give the solutions for the above issues.
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    1.
    The main update technique for bundling database changes in a single database LUW is to use CALL FUNCTION ... IN UPDATE TASK. This section describes various ways of updating the database.
    A program can send an update request using COMMIT WORK
    ·        To the update work process, where it is processed asynchronously. The program does not wait for the work process to finish the update (Asynchronous Update).
    ·        For asynchronous processing in two steps (Updating Asynchronously in Steps.)
    ·        To the update work process, where it is processed synchronously. The program waits for the work process to finish the update (Synchronous Update).
    ·        To its own work process locally. In this case, of course, the program has to wait until the update is finished (Local Update.)
    http://help.sap.com/saphelp_nw04s/helpdata/en/41/7af4d7a79e11d1950f0000e82de14a/frameset.htm
    Local Update : In a local update, the update program is run by the same work process that processed the request. The dialog user has to wait for the update to finish before entering further data. This kind of update is useful when you want to reduce the amount of access to the database. The disadvantage of local updates is their parallel nature. The updates can be processed by many different work processes, unlike asynchronous or synchronous update, where the update is serialized due to the fact that there are fewer update work processes (and maybe only one).
    http://help.sap.com/saphelp_nw04s/helpdata/en/41/7af4d7a79e11d1950f0000e82de14a/frameset.htm
    2.
    Work process is a process that as a component of an application server executes an ABAP application.
    To process SAP requests from several front ends, an SAP application server has a dispatcher, which collects the requests and forwards them to work processes for execution.
    There are the following types of work process:
    Dialog
    For executing dialog programs
    Update, Upd2
    For asynchronous database updates
    Background (batch)
    For executing background jobs
    Enqueue
    For executing lock operations
    Spool
    For print formatting
    Work processes can be assigned to dedicated application servers. In the service overview (SM51), you can see which work process types are provided by the individual servers.
    Each work process is logged onto the database system as a user for the entire runtime of the SAP system.
    Each work process is assigned for the duration of a dialog step to an ABAP program.
    Check this link too.
    http://help.sap.com/saphelp_bw30b/helpdata/en/69/c24e104ba111d189750000e8322d00/frameset.htm
    3. Form entry in the driver program is the main sub-routine from which the execution of the driver program starts.
    You have to mention the from entry sub-routine in the NACE transaction where you will mention the program name, from name or in the TNAPR table
    The form ENTRY routine is present in your print program.
    In this routine you write your whole code of print program(like opening of your form, trigerring your form and closing your form and fetching data) and this routine is dynamically called by RSNAST00 program
    4. It is possible to paint some cells, rows, and columns through the ALV Grid control. Basically, with no additional effort, if you set a column to be a key column it is automatically colored. To paint we have the following procedures. 
    Cxyz
    C.6.1. Coloring an Entire Column
    To make an entire column be painted with the color you want, you can use the “emphasize” option of the field catalog. Simply assign a color code to this field of the row added for your column. Color codes are constructed as follows:
    Color numbers are:
    x      Color      Intended for
    1      gray-blue      headers
    2      light gray      list bodies
    3      yellow      totals
    4      blue-green      key columns
    5      green      positive threshold value
    6      red      negative threshold value
    7      orange      Control levels
    The “key setting” made via the field “key” of the field catalog overrides this setting. So if you want this color to be colored different than the key color, you should set the “key” field to space while generating the field catalog. However, then there may be some side effects on column orders. You can set the column order as you want at the frontend. But if this is not suitable for you, then unset all key settings and do all coloring and ordering as you want. Be careful that the function module generating the field catalog will always set the key properties of key fields.
    C.6.2. Coloring an Entire Row
    Coloring a row is a bit (really a bit) more complicated. To enable row coloring, you should add an additional field to your list data table. It should be of character type and length at least 4. This field will contain the color code for the row. So, let’s modify declaration of our list data table “gt_list”.
    Code Part 13 – Adding the field that will contain row color data
    As you guess, you should fill the color code to this field. Its format will be the same as explained before at section C.6.3. But how will ALV Grid know that you have loaded the color data for the row to this field. So, you make it know this by
    1/0:intensifiedon/off
    1/0:inverseon/off
    Colornumbers
    *--- Internal table holding list data
    DATA BEGIN OF gt_list OCCURS 0 .
    INCLUDE STRUCTURE SFLIGHT .
    DATA rowcolor(4) TYPE c .
    DATA END OF gt_list . 
    passing the name of the field containing color codes to the field “INFO_FNAME” of the layout structure.
    e.g.
    ps_layout-info_fname = . “e.g. ‘ROWCOLOR’
    You can fill that field anytime during execution. But, of course, due to the flow logic of screens, it will be reflected to your list display as soon as an ALV refresh occurs.
    You can color an entire row as described in the next section. However, this method is less time consuming.
    C.6.3. Coloring Individual Cells
    This is the last point about coloring procedures for the ALV Grid. The procedure is similar to coloring an entire row. However, since an individual cell can be addressed with two parameters we will need something more. What is meant by “more” is a table type structure to be included into the structure of the list data table. It seems strange, because including it will make our list data structure deep. But anyhow ALV Grid control handles this.
    The structure that should be included must be of type “LVC_T_SCOL”. If you want to color the entire row, this inner table should contain only one row with field “fname” is set to space, some color value at field “col”, “0” or “1” at fields “int” (intensified) and “inv” (inverse).
    If you want to color individual cells, then for each cell column, append a line to this inner table which also contains the column name at field “fname”. It is obvious that you can color an entire column by filling this inner table with a row for that column for each row in the list data table. But, it is also obvious that, this will be more time consuming than the method at section C.6.1.
    Again key field coloring will override your settings. That’s why, we have another field in this inner table called “nokeycol”. For each field represented in the inner table, set this field to ‘X’ to prevent overriding of key color settings.
    In this procedure, again we must tell the control the name of the inner table containing color data. The field “CTAB_FNAME” of the layout structure is used for this purpose.
    Code Part 14 – Adding inner table that will contain cell color data
    Code Part 15 – A sample code to make the cell at row 5 and column ‘SEATSOCC’ colored
    *--- Internal table holding list data
    DATA BEGIN OF gt_list OCCURS 0 .
    INCLUDE STRUCTURE SFLIGHT .
    DATA rowcolor(4) TYPE c .
    DATA cellcolors TYPE lvc_t_scol .
    DATA END OF gt_list .
    DATA ls_cellcolor TYPE lvc_s_scol .
    READ TABLE gt_list INDEX 5 .
    ls_cellcolor-fname = 'SEATSOCC' .
    ls_cellcolor-color-col = '7' .
    ls_cellcolor-color-int = '1' .
    APPEND ls_cellcolor TO gt_list-cellcolors .
    MODIFY gt_list INDEX 5 . 
    what happens if all these three procedures applied for coloring at the same time. The answer is given as there is a priority among them. The priority order is: cell setting - row setting - column setting. Beside these, key field setting must be handled.
    Cheers,
    Susmitha.
    Message was edited by: Susmitha Thomas
    Message was edited by: Susmitha Thomas

  • Beginner question regarding 32-bit mixing and mixdown workflow

    Hello
    I have a beginner question regarding 32-bit mixing and mixdown.
    If I edit some 16Bit, 44.1kHz Stereo WAV Files and put them into multi-track view to do crossfades, how should I do the mixdown?
    Audition shows me in multi-track view, that it is doing 32-Bit mixing.
    Can I just mixdown to 16Bit, 44.1kHz Stereo without any dithering (as the files are 16Bit, 44.1kHz Stereo to begin with), or will I lose quality that way?
    I will be performing a normalization to 96% to the mixdown and then split to tracks in Audition, as in the end I want to to have an audio CD.
    I guess I could mixdown to 32Bit, then normalize and in the end save back to 16Bit, 44.1kHz Stereo WAV (with dithering, I suppose?), but I want to avoid any unnecessary converting steps.
    Greetings

    Any time you do any processing on a 16bit file in 16 bit only it will degrade the audio slightly due to rounding of the calculations. Working in 32 bit floating point (Audition's default) takes account of all bits generated due to processing.
    So it is always best to work in 32 bit, even if your originals were 16, all the way through until the last stage of saving the files for CD burning. Any losses due to conversion will be insignificant against those due to working 16 bit.

  • I have some questions regarding setting up a software RAID 0 on a Mac Pro

    I have some questions regarding setting up a software RAID 0 on a Mac pro (early 2009).
    These questions might seem stupid to many of you, but, as my last, in fact my one and only, computer before the Mac Pro was a IICX/4/80 running System 7.5, I am a complete novice regarding this particular matter.
    A few days ago I installed a WD3000HLFS VelociRaptor 300GB in bay 1, and moved the original 640GB HD to bay 2. I now have 2 bootable internal drives, and currently I am using the VR300 as my startup disk. Instead of cloning from the original drive, I have reinstalled the Mac OS, and all my applications & software onto the VR300. Everything is backed up onto a WD SE II 2TB external drive, using Time Machine. The original 640GB has an eDrive partition, which was created some time ago using TechTool Pro 5.
    The system will be used primarily for photo editing, digital imaging, and to produce colour prints up to A2 size. Some of the image files, from scanned imports of film negatives & transparencies, will be 40MB or larger. Next year I hope to buy a high resolution full frame digital SLR, which will also generate large files.
    Currently I am using Apple's bundled iPhoto, Aperture 2, Photoshop Elements 8, Silverfast Ai, ColorMunki Photo, EZcolor and other applications/software. I will also be using Photoshop CS5, when it becomes available, and I will probably change over to Lightroom 3, which is currently in Beta, because I have had problems with Aperture, which, until recent upgrades (HD, RAM & graphics card) to my system, would not even load images for print. All I had was a blank preview page, and a constant, frozen "loading" message - the symbol underneath remained static, instead of revolving!
    It is now possible to print images from within Aperture 2, but I am not happy with the colour fidelity, whereas it is possible to produce excellent, natural colour prints using its "minnow" sibling, iPhoto!
    My intention is to buy another 3 VR300s to form a 4 drive Raid 0 array for optimum performance, and to store the original 640GB drive as an emergency bootable back-up. I would have ordered the additional VR300s already, but for the fact that there appears to have been a run on them, and currently they are out of stock at all, but the more expensive, UK resellers.
    I should be most grateful to receive advice regarding the following questions:
    QUESTION 1:
    I have had a look at the RAID setting up facility in Disk Utility and it states: "To create a RAID set, drag disks or partitions into the list below".
    If I install another 3 VR300s, can I drag all 4 of them into the "list below" box, without any risk of losing everything I have already installed on the existing VR300?
    Or would I have to reinstall the OS, applications and software again?
    I mention this, because one of the applications, Personal accountz, has a label on its CD wallet stating that the Licence Key can only be used once, and I have already used it when I installed it on the existing VR300.
    QUESTION 2:
    I understand that the failure of just one drive will result in all the data in a Raid 0 array being lost.
    Does this mean that I would not be able to boot up from the 4 drive array in that scenario?
    Even so, it would be worth the risk to gain the optimum performance provide by Raid 0 over the other RAID setup options, and, in addition to the SE II, I will probably back up all my image files onto a portable drive as an additional precaution.
    QUESTION 3:
    Is it possible to create an eDrive partition, using TechTool Pro 5, on the VR300 in bay !?
    Or would this not be of any use anyway, in the event of a single drive failure?
    QUESTION 4:
    Would there be a significant increase in performance using a 4 x VR300 drive RAID 0 array, compared to only 2 or 3 drives?
    QUESTION 5:
    If I used a 3 x VR300 RAID 0 array, and installed either a cloned VR300 or the original 640GB HD in bay 4, and I left the Startup Disk in System Preferences unlocked, would the system boot up automatically from the 4th. drive in the event of a single drive failure in the 3 drive RAID 0 array which had been selected for startup?
    Apologies if these seem stupid questions, but I am trying to determine the best option without foregoing optimum performance.

    Well said.
    Steps to set up RAID
    Setting up a RAID array in Mac OS X is part of the installation process. This procedure assumes that you have already installed Mac OS 10.1 and the hard drive subsystem (two hard drives and a PCI controller card, for example) that RAID will be implemented on. Follow these steps:
    1. Open Disk Utility (/Applications/Utilities).
    2. When the disks appear in the pane on the left, select the disks you wish to be in the array and drag them to the disk panel.
    3. Choose Stripe or Mirror from the RAID Scheme pop-up menu.
    4. Name the RAID set.
    5. Choose a volume format. The size of the array will be automatically determined based on what you selected.
    6. Click Create.
    Recovering from a hard drive failure on a mirrored array
    1. Open Disk Utility in (/Applications/Utilities).
    2. Click the RAID tab. If an issue has occurred, a dialog box will appear that describes it.
    3. If an issue with the disk is indicated, click Rebuild.
    4. If Rebuild does not work, shut down the computer and replace the damaged hard disk.
    5. Repeat steps 1 and 2.
    6. Drag the icon of the new disk on top of that of the removed disk.
    7. Click Rebuild.
    http://support.apple.com/kb/HT2559
    Drive A + B = VOLUME ONE
    Drive C + D = VOLUME TWO
    What you put on those volumes is of course up to you and easy to do.
    A system really only needs to be backed up "as needed" like before you add or update or install anything.
    /Users can be backed up hourly, daily, weekly schedule
    Media files as needed.
    Things that hurt performance:
    Page outs
    Spotlight - disable this for boot drive and 'scratch'
    SCRATCH: Temporary space; erased between projects and steps.
    http://en.wikipedia.org/wiki/StandardRAIDlevels
    (normally I'd link to Wikipedia but I can't load right now)
    Disk drives are the slowest component, so tackling that has always made sense. Easy way to make a difference. More RAM only if it will be of value and used. Same with more/faster processors, or graphic card.
    To help understand and configure your 2009 Nehalem Mac Pro:
    http://arstechnica.com/apple/reviews/2009/04/266ghz-8-core-mac-pro-review.ars/1
    http://macperformanceguide.com/
    http://www.macgurus.com/guides/storageaccelguide.php
    http://www.macintouch.com/readerreports/harddrives/index.html
    http://macperformanceguide.com/OptimizingPhotoshop-Configuration.html
    http://kb2.adobe.com/cps/404/kb404440.html

  • Question on App Process and Java script performance

    I have quick question regarding performance of Application process and Javascript.
    I'm having OnDemand Application process, which fetches data from db and thru javascript
    in page, i'm invoking the application process.
    My question is :
    If I did not render a page say for 10 mins, and i'm changing field values in my tab report.
    Consider i'm having a huge record in my tab report and changing certain updatable column value for all records.
    Once i finsished updating the field value (before hitting submit). The same field might have been updated by someother user.
    If i render the page, Would it shows data as per current session value or data same as 10 mins before?
    Bit confused on this.
    Your views on this would be highly appreciated!!
    Thanks!
    Vijay

    ... one more reason not to use Tabular Forms.
    I'm not sure this is related to performance. I think this is more of a lost update question. If you're using a standard Tabular Form, APEX will check the value of that data in the database to see if it's changed since you opened it. If so, it means someone else edited the data then saved it since you opened the page. APEX will return an error. At that point, the user would have to reload the whole page. If you expect collisions and the fields are big enough that it will take a person a long time to edit, I would strongly suggest NOT using Tabular Forms. If you're only editing one row at a time, the chance of collision between you and another users is substantially less than if you were both editing 15 rows at a time. Also, if there is a collision, you only have to reload one record, not a whole set of them.
    Tyler

  • Questions regarding creation of vendor in different purchase organisation

    Hi abap gurus .
    i have few questions regarding data transfers .
    1) while creating vendor , vendor is specific to company code and vendor can be present in different purchasing organisations within the same company code if the purchasing organisation is present at plant level .my client has vendor in different purchasing org. how the handle the above situatuion .
    2) i had few error records while uploading MM01 , how to download error records , i was using lsmw with predefined programmes .
    3) For few applications there are no predefined programmes , no i will have to chose either predefined BAPI or IDOCS . which is better to go with . i found that BAPI and IDOCS have same predefined structures , so what is the difference between both of them  .

    Hi,
    1. Create a BDC program with Pur orgn as a Parameter on the selection screen
        so run the same BDC program for different Put organisations so that the vendors
        are created in different Pur orgns.
    2. Check the Action Log in LSMW and see
    3.see the doc
    BAPI - BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet.
    BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology.
    LSMW- No ABAP effort are required for the SAP data migration. However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW.
    The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
    More and more medium-sized firms are implementing SAP solutions, and many of them have their legacy data in desktop programs. In this case, the data is exported in a format that can be read by PC spreadsheet systems. As a result, the data transfer is mere child's play: Simply enter the field names in the first line of the table, and the LSM Workbench's import routine automatically generates the input file for your conversion program.
    The LSM Workbench lets you check the data for migration against the current settings of your customizing. The check is performed after the data migration, but before the update in your database.
    So although it was designed for uploading of legacy data it is not restricted to this use.
    We use it for mass changes, i.e. uploading new/replacement data and it is great, but there are limits on its functionality, depending on the complexity of the transaction you are trying to replicate.
    The SAP transaction code is 'LSMW' for SAP version 4.6x.
    Check your procedure using this Links.
    BAPI with LSMW
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
    For document on using BAPI with LSMW, I suggest you to visit:
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Hi, I want to downgrade from OSX LEOPARD to OSX TIGER but I have a few questions regarding this. My iMac is originally from 2007 it came preloaded with tiger. I have original install tiger discs version 10.4.10. Is it safe to downgrade or not please help

    Hi, I want to downgrade from OSX LEOPARD to OSX TIGER but I have a few questions regarding this. My iMac is originally from Sep 2007 it came preloaded with tiger. I have original install (2) tiger discs version 10.4.10.  I want to know if it is safe and what are the necessary steps to do so. Also by downgrading im wondering if a lot of apps nowadays support tiger for example I have photoshop version 5 and 4 these are very important to me. One last question does anyone know of any reliable virus protection for mac that doesnt slow down your computer? because I have read that a lot of them do so. If anyone can help me I would greatly appreciate it! Here are the specs for my iMac 
    Model Name:
    iMac
      Model Identifier:
    iMac7,1
      Processor Name:
    Intel Core 2 Duo
      Processor Speed:
    2 GHz
      Number Of Processors:
    1
      Total Number Of Cores:
    2
      L2 Cache:
    4 MB
      Memory:
    2 GB
      Bus Speed:
    800 MHz

    Most of the time a perception of general slow performance is the result of installing third party junk alleged to speed up, "clean" or "optimize" your Mac, or to look for viruses that don't exist. Ideally you would know what you installed so you can uninstall it, but if you don't know or aren't sure there are techniques such as Safe Mode and creating a temporary user account to confirm that suspicion.
    If you open Activity Monitor it may show a process, or processes, that occupy a lot of your system's time.
    Slowness confined solely to web browser activity is often the result of an inexorable progress toward websites that demand ever more processor-intensive tasks. If your slow performance is strictly limited to web browsing, you might try disabling Flash by either uninstalling it, or use utilities such as ClickToFlash that allow you to control what Flash content gets loaded. Flash in itself is not inherently evil, but there is nothing to stop websites or the advertisers who pay for them from writing horrible Flash code that can do everything from hogging 100% of your CPU's time to causing random crashes. You can watch Activity Monitor as in the above to correlate these troublesome web pages with performance degradation.
    You are correct; if your computer shipped with Tiger you may certainly revert to it. I forgot that Tiger was shipping on new Macs as recently as five years ago. To downgrade it would be necessary to completely erase your hard disk and boot with the Tiger installation DVD, followed by installing it anew. Such drastic measures are not necessary and you are unlikely to be satisfied with the results anyway.
    Assuming your system is free of third party parasitic junk attached to OS X in an ill-conceived attempt to improve upon it, that your hard disk drive is sound and the boot volume has enough free space to work with, by far the best performance-enhancing improvement would be to add more memory. Buy as much as your computer can use and that you can afford. 2 GB is not that much any more.
    Read the following for some recommended troubleshooting techniques from Apple:
    General purpose Mac troubleshooting guide: Isolating issues in Mac OS X
    Creating a temporary user to isolate user-specific problems: Isolating an issue by using another user account
    Memory limitations: Using Activity Monitor to read System Memory and determine how much RAM is being used
    Identifying resource hogs and other tips: Runaway applications can shorten battery runtime
    Starting the computer in "safe mode": Mac OS X: What is Safe Boot, Safe Mode?

  • Process Type ABAP does not work properly via process chain

    Dear SDNers
    I am running a process chain and it contains process type ABAP program. ABAP program was running correctly till now via this process chain. ABAP program process type generally takes approximately 2 hours to run. But now, this process type for ABAP program just run for less than 1 minute and finishes successfully. The issue is that ABAP program does not run at all.
    I ran the ABAP program in background and it took approximately 2 hours to run. ABAP Program is local means in our BW system and does not involve Remote Function call. We have BI7.0 system
    Has some one came across this type of issue?
    Best Regards
    Pradip

    Has the aleremote user or which ever user you have defined for background scheduling changed permissions recently?
    What happens if you create an adhoc chain and include this ABAP variant, does it run then?
    What does the log say in SM37 when run via process chain?
    Cheers
    Craig

  • Regarding LOOP Statement in ABAP

    Hi,
    I have small question regarding <b>LOOP ..... ENDLOOP</b> statement against <b>SY-SUBRC</b> Check.
    I have a loop as below:
    <b> LOOP AT i_vbap WHERE vbeln = i_vbak-vbeln.
        Some Code
        ENDLOOP.
        IF sy-subrc <> 0.
          APPEND i_sdata.
          CLEAR i_sdata.
        ENDIF.</b>
    Is the above <b>Code/Syntax</b> is correct one.
    Can we use <b>SY-SUBRC</b> Check against <b>LOOP ...  ENDLOOP</b> statement.
    Is this the right way of writing the code as per standards.
    Can anybody give sujjestions regarding the same.
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Hi Prasad,
    Yes, you could use sy-subrc after the endloop. For example:
    loop at itab1 where kunnr = itab2-kunnr.
    some conditions...
    endloop.
    if sy-subrc = 0.
    write: 'Success!'.
    else.
    leave program.
    endif.
    if you press F1 while highlighting the LOOP statement here are the meaning of sy-subrc in loop...endloop.
    SY-SUBRC = 0:
    At least one loop pass was processed.
    SY-SUBRC = 4:
    The loop was not processed because the table contains no entries or no entries satisfied the conditions.
    Regards!

Maybe you are looking for

  • Tcode to create single delivery document for all line items in PO

    Hi all, Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery d

  • Read only privilages

    i have a western digital passport 250gb hd with 3 partitions on it. it has one that i use for general files etc, one that is time machine backups and one that did have tiger on it but is currently empty (maybe its not a partition anymore just empty s

  • How do I install "Apple Mobile Device", how do I install "Apple Mobile Device"

    I am trying to move my iPod library (all CD's I have downloaded to iPod) to my iphone but it is telling me "iphone cannot be used because the Apple Mobile Device is not installed"  yet there are no instructions on how to do that.  No icon appears whe

  • MSS My staff reporting always returns blank page

    Hello, We are working with ESS(v60.2)/MSS(v60.1) Sap Portals 6.40 with ECC 5.0. We have a problem with the reports of "My staff". We are using the default scenario "RPT0" with the standard reports but when we execute them after choose the selection c

  • How to prepare for Converting UNIX shell scripts to PL/SQL

    Hi All I was said, that i may have to convert a lot of unix shell script to PL/SQL, what are the concepts i need to know to do it efficently, what are the options PL/SQL is having to best do that. I know the question is little unclear, but I too dont