How to improve too dark recording

Hi,
I just bought FCPX a few months ago and up till now I'm really overwelmed by it's prossibilities.
Now on my problem. I have 4 different cam recordings of the same school musical recorded in a theatre and I'm using multicam clips to make a nice report.
The problem is however that one of the camcorders recorded a darker picture than the others.
I tried to find a feature to bright this recording up. Now I'm really overwelmed by the many ways to correct the picture.
I tried cloning the picture of an other track to the dork one using 'match color' but this didn't really make it better.
Could someone please point me in the right direction (or feature) that's most approtriate to correct this.
Thanks in advance,
Arthur

I'd start with the Color Correction adjustments. Open CC and then click on Exposure tab. There are several sliders: global, highlights, mids and shadows.
You could also  experiment with the Threshold filter settings.
Good luck.
Russ

Similar Messages

  • Images appear fine in Photoshop cs6 and cc, but print too dark, and also show too dark in Windows picture viewer. How can I correct this? Is this a Photoshop setting issue or what?

    Images appear fine in Photoshop cs6 and cc, but print too dark, and also show too dark in Windows picture viewer. How can I correct this? Is this a Photoshop setting issue or what?

    Ok, look at your files in Photoshop. What is the profile assigned to them? You can find this out by going to the Status bar at the bottom, clicking on the right-pointing triangle and choosing document Profile from the list.
    Then in Windows, go to your Control Panel > Color Management and add sRGB (if it isn't there) and select it as your default profile.
    I hope that will work.

  • Gray filter too dark. How to enlight the gray images?

    I�m creating a set of toolbar buttons and I want to acquire that disabled gray effect ...
    in my current code, I load two images for each button - an active one and the gray one...
    recently I heard about the GrayFilter class and I tryied to use it with my implementation..
    the problem is: the GrayFilter generated gray image is too dark..
    how can I modify the gray scale used in the GrayFilter?

    Select --> Color Range or do some magic with Calculations to create a selection based on luminance.
    Mylenium

  • Laser Jet CP 1525 prints everything too dark. All cartridges OK. How can I lighten the print?

    Laser Jet CP 1525 prints everything on paper too dark. All cartridges OK.  How can I lighten up the print?  Where can I adjust brightness?

    Checked with the support service ... Cannot be adjusted.  Suggested solution: try different driver; Did not work, no change.  Thank you, HP.  Once my cartridges run out, a new printer will be bought.  Not HP.  Promise.

  • My 6500A prints photos far too dark - how do I get round this????

    My 6500A prints photos far too dark - how do I get round this???? I can't find any OBVIOUS way of controlling this.

    Same problem with the same printer here.
    When I send a photo from my phone (via ePrint) the result is not as clear as I would like.
    In addition to settings for brightness, I would also like to know if it's possible to change the size of the printed photo. (if you print a photo from windows you'll get a wizzard that lets you choose from different sizes)

  • How do print from photoshop CS3  to my new epson XP520 printer? The photos are now far too dark: never had this problem with any other printers?

    Help please.  I have a new Epson XP 520 printer and do not know how to set the CS3 print to get good results as my printed photos are now far too dark.  Never had any problems with previous printers and despite changing settings have been unable to resolve.

    System info? Exact print settings? Color management?
    Mylenium

  • How to overcome prints too dark from iMac

    I calibrate my iMac 24 with a spyder and use a stylus Photo R1800 but still have prints that are much darker than what appears on monitor. What do others do about this.
    Bob

    Bob,
    It's a very common problem (Google "My prints are too dark".  BTW, both North Light Images and Luminous Landscape are superb resources).  The first places to consult are Datacolor and Epson.
    Things to look into and perhaps change:
    - Are you using the most recent printer drivers?
    - is your OS and Aperture up-to-date?
    - What luminance is your iMac calibrated to?
    - Have you confirmed your screen brightness setting?
    - How are you viewing your prints?
    - Have you (can you) calibrate your printer/paper as well?
    - Have you controlled for your environment?
    - Have you used any on-screen proofing?
    - Have you turned off dynamic screen brightness?
    Robert Coder wrote:
    What do others do about this.
    You'll not likely be pleased to hear that my solution was to purchase much more expensive monitors (NEC), hardware calibrator (Munki), software (NEC SpectraView II), and printer (Epson Stylus Pro 3880).

  • My Canon PIXMA MG2120 prints TOO LIGHTLY. How adjust to print DARKER?

    My Canon PIXMA MG2120 prints TOO LIGHTLY. How adjust to print DARKER?

    That's not really the answer.
    The problem is that  it will print at the correct saturation/quality only when borderless printing is not used. I purchased this item because I wanted to be able to print full color borderless prints on a full 8.5x11 sheet of paper. I don't want to have to buy special glossy photo paper just to print borderless. Is this the truth of the matter? You cannot print borderless prints on plain paper without sacrificing significant quality? Does it always assume when you set it to borderless, whether youre in the standard print menu or the photo print menu, that you're printing a photo and it will then default to printing lightly? This is outrageous. They should say something about this in the manual.

  • I have a new Epson R2000 and my prints are too dark.  How do I get WYSIWYG?

    I have turned off the color management on the R2000 and set Elements 10 to optimize for prints.  I am trying to get WYSIWYG.  This is complicated by a new LG Flatron IPS235 monitor.  It is supposed to have the best factory calibrated color and Fry's Electronics said that it would be the truest, full range color.  I have tried changing the mode to sRGB, photo mode, and user mode and the prints are always too dark.  I would appreciate any help I can get.  I am a scrapbooker working on photos of my world travel bucket list.  At the rate I am going, I will kick the bucket before I get any photos printed.   THANKS!

      This goes against everything I have read about being sure that Photoshop controls the color. 
    Well, one can't believe eveything one reads. This problem comes up now and then on the forum pages, and we have been recommending to have the printer manage color, certainly not both PSE and the printer.
    I have Epson and Lexmark printers, and I have it set up to let the printer manage color.
    Works well on both units.
    Thanks for getting back to us.

  • Captured video-material appears far too dark

    hi there!
    I have a great problem (being under time-pressure with a project): video-material, taken with a canon HV30, that looks all right on the camera-screen, appears FAR TOO DARK (not usable), after beeing captured. the problem does not seem to be a premiere-problem (I have CS3), since windows movie maker produces the same fault. it is neither a pc-screen-calibration or -regulation-problem, since the same material played onto the same screen by another pc, that displays everthing else perfectly, is also too dark. the answer must be between the cam-corder and the capturing software? does someone have a clue? (the problem seems to be not only mine if you check via google... and the solution seems not to be at hand...)
    I'm working with DV-widescreen(16:9)-PAL-material converting it with 16-bit sound and 48 kHz.
    following my relevant systems-data... (everything is updated with the most recent drivers...)
    thanks very much indeed in advance!
    hilmar
    System Information
    Time of this report: 11/21/2008, 23:54:29
    Machine name: PC02
    Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_gdr.080814-1233)
    Language: German (Regional Setting: German)
    System Manufacturer: MAXDATA
    System Model: *
    BIOS: Default System BIOS
    Processor: Intel(R) Core(TM)2 CPU 4400 @ 2.00GHz (2 CPUs)
    Memory: 2048MB RAM
    Page File: 766MB used, 3172MB available
    Windows Dir: C:\WINDOWS
    DirectX Version: DirectX 9.0c (4.09.0000.0904)
    DX Setup Parameters: Not found
    DxDiag Version: 5.03.2600.2180 32bit Unicode
    DxDiag Notes
    DirectX Files Tab: No problems found.
    Display Tab 1: No problems found.
    Sound Tab 1: No problems found.
    Music Tab: No problems found.
    Input Tab: No problems found.
    Network Tab: No problems found.
    DirectX Debug Levels
    Direct3D: 0/4 (n/a)
    DirectDraw: 0/4 (retail)
    DirectInput: 0/5 (n/a)
    DirectMusic: 0/5 (n/a)
    DirectPlay: 0/9 (retail)
    DirectSound: 0/5 (retail)
    DirectShow: 0/6 (retail)
    Display Devices
    Card name: NVIDIA GeForce 8600 GTS
    Manufacturer: NVIDIA
    Chip type: GeForce 8600 GTS
    DAC type: Integrated RAMDAC
    Device Key: Enum\PCI\VEN_10DE&DEV_0400&SUBSYS_040110B0&REV_A1
    Display Memory: 256.0 MB
    Current Mode: 1280 x 1024 (32 bit) (60Hz)
    Monitor: (Standardmonitor)
    Monitor Max Res:
    Driver Name: nv4_disp.dll
    Driver Version: 6.14.0011.7824 (English)
    DDI Version: 9 (or higher)
    Driver Attributes: Final Retail
    Driver Date/Size: 10/7/2008 13:33:00, 6058112 bytes
    WHQL Logo'd: Yes
    WHQL Date Stamp: n/a
    VDD: Nicht zutreffend
    Mini VDD: nv4_mini.sys
    Mini VDD Date: 10/7/2008 13:33:00, 6133856 bytes
    Device Identifier: {D7B71E3E-4740-11CF-906D-0A2400C2CB35}
    Vendor ID: 0x10DE
    Device ID: 0x0400
    SubSys ID: 0x040110B0
    Revision ID: 0x00A1
    Revision ID: 0x00A1
    Video Accel: ModeMPEG2_C ModeMPEG2_D ModeWMV9_B ModeWMV9_A
    Deinterlace Caps: {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
    {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
    {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
    {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: F

    thanks,
    dear craig,
    for your thoughts and tips!
    I will do that just for curiosity. but then I would have to know how the waveform-scopes should ideally look like? where can I find model-scopes? (and, what's more, the camera "gave up its spirit", as we say in german: can't be switched on any more - brand new... so I'll have to get it fixed...)
    but: it seems to me, that your path-finding leads in the wrong direction... see: the camera records pictures digitally on a tape. from the tape it is able to read the data again out onto a screen - and fine! now: you should be able to reproduce that outside the camera - and not blame it somehow...
    others seem to have the same problem with different cameras and different systems-cominations (operating system, graphic cards...). so it can't be just my camera. the problem is not so easy...
    the guy here - http://forum.videohelp.com/topic281706.html - seems to aim in the right direction (imho): he touches the point of the colour-spaces used! he says inside the camcorder IRE 0.0 / 16-235 color space is used. right? well: outside the cam on a computer-screen RGB or sRGB is used, right? so some transformation has to happen - or may be, it is not done - with the bad result, we have...
    now the chap there speaks about the possibly wrong codecs. a codec however has to do with compression/decompression. but - they say - the capturing via firewire is just the unaltered transmission of data, and .avi (the resulting format) is compression-free! so the problem is not a codec-problem. but how's the software called that changes the color-spaces or should change them???
    what astonished me very much is to see that, when I change the screen-settings for color/luminance with my nvidia-graphics-card, then everything on the screen changes exept! the to video-images in the two screens (source, program) in premiere... so premiere seems to use its own screen-controle here!
    and why actually can't I choose somewhere which the output-conditions for and after the capturing shall be, e.g. the clip-format (.avi, .mov etc.) and - may be! - the color-space! I can just say "DV 25i PAL max. bit-depth" and, under device(=cam)-controle, brand and type of device (and again PAL). now I can choose "canon" but not "HV30" (not contained in the list) - just "standard" instead. but that raises the question: what colour-space are the various cameras using and sending??
    now if I check the supported camera-brands and -types online on the adobe-website (http://www.adobe.com/products/premiere/dvhdwrdb.html) I can't find canon's HV30 (just the semi-pro-models, for which "conditional support" is promised... but problems seem to lay elsewhere).
    on the website, where you can check the compatibility of your cam with premiere, adobe boasts its "Preconfigured solutions
    Certified Adobe OpenHD configurations (that) help ensure compatibility between hardware and software components." if you click on the linked text some general boasting and buy exhortations about the "creative suite" come up - no precise information...
    should this well known and ill suffered compatibility problem not be handled more clearly and competently?
    please help me finding the solution, which is: to interprete the recorded data on the tape, that get transferred via capturing, like the camera does!
    thanks a lot indeed!
    hilmar
    ps: it is interesting to check http://en.wikipedia.org/wiki/Color_space, where it says: "YIQ was formerly used in NTSC (North America, Japan and elsewhere) television broadcasts for historical reasons. This system stores a luminance value with two chrominance values, corresponding approximately to the amounts of blue and red in the color. It is similar to the YUV scheme used in most video capture systems[2] and in PAL (Australia, Europe, except France, which uses SECAM) television, except that the YIQ color space is rotated 33° with respect to the YUV color space. ...
    " you see: two different color spaces in TV and CAPTURE SYSTEMS! is premiere not a capture system?? and what do the graphics-devices underway between the camera and premiere??

  • How to improve the performance of the abap program

    hi all,
    I have created an abap program. And it taking long time since the number of records are more. And can anyone let me know how to improve the performance of my abap program.
    Using se30 and st05 transaction.
    can anyone help me out step by step
    regds
    haritha

    Hi Haritha,
    ->Run Any program using SE30 (performance analysis)
    Note: Click on the Tips & Tricks button from SE30 to get performance improving tips.
    Using this you can improve the performance by analyzing your code part by part.
    ->To turn runtim analysis on within ABAP code insert the following code
    SET RUN TIME ANALYZER ON.
    ->To turn runtim analysis off within ABAP code insert the following code
    SET RUN TIME ANALYZER OFF.
    ->Always check the driver internal tables is not empty, while using FOR ALL ENTRIES
    ->Avoid for all entries in JOINS
    ->Try to avoid joins and use FOR ALL ENTRIES.
    ->Try to restrict the joins to 1 level only ie only for tables
    ->Avoid using Select *.
    ->Avoid having multiple Selects from the same table in the same object.
    ->Try to minimize the number of variables to save memory.
    ->The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)
    ->Avoid creation of index as far as possible
    ->Avoid operators like <>, > , < & like % in where clause conditions
    ->Avoid select/select single statements in loops.
    ->Try to use 'binary search' in READ internal table. -->Ensure table is sorted before using BINARY SEARCH.
    ->Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,)
    ->Avoid using ORDER BY in selects
    ->Avoid Nested Selects
    ->Avoid Nested Loops of Internal Tables
    ->Try to use FIELD SYMBOLS.
    ->Try to avoid into Corresponding Fields of
    ->Avoid using Select Distinct, Use DELETE ADJACENT
    Check the following Links
    Re: performance tuning
    Re: Performance tuning of program
    http://www.sapgenie.com/abap/performance.htm
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    check the below link
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    See the following link if it's any help:
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    Check also http://service.sap.com/performance
    and
    books like
    http://www.sap-press.com/product.cfm?account=&product=H951
    http://www.sap-press.com/product.cfm?account=&product=H973
    http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    Performance tuning for Data Selection Statement
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    Debugger
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    Run Time Analyser
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617cafe68c11d2b2ab080009b43351/content.htm
    SQL trace
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/801f7c454211d189710000e8322d00/content.htm
    CATT - Computer Aided Testing Too
    http://help.sap.com/saphelp_47x200/helpdata/en/b3/410b37233f7c6fe10000009b38f936/frameset.htm
    Test Workbench
    http://help.sap.com/saphelp_47x200/helpdata/en/a8/157235d0fa8742e10000009b38f889/frameset.htm
    Coverage Analyser
    http://help.sap.com/saphelp_47x200/helpdata/en/c7/af9a79061a11d4b3d4080009b43351/content.htm
    Runtime Monitor
    http://help.sap.com/saphelp_47x200/helpdata/en/b5/fa121cc15911d5993d00508b6b8b11/content.htm
    Memory Inspector
    http://help.sap.com/saphelp_47x200/helpdata/en/a2/e5fc84cc87964cb2c29f584152d74e/content.htm
    ECATT - Extended Computer Aided testing tool.
    http://help.sap.com/saphelp_47x200/helpdata/en/20/e81c3b84e65e7be10000000a11402f/frameset.htm
    Just refer to these links...
    performance
    Performance
    Performance Guide
    performance issues...
    Performance Tuning
    Performance issues
    performance tuning
    performance tuning
    You can go to the transaction SE30 to have the runtime analysis of your program.Also try the transaction SCI , which is SAP Code Inspector.
    edited by,
    Naveenan

  • How to improve the perforamnce

    Hi ,
    How to improve the performance of the  report.
    Thanks and rgds,
    Roopa

    1. Unused/Dead code
    Avoid leaving unused code in the program. Either comment out or delete the unused situation. Use program --> check --> extended program to check for the variables, which are not used statically.
    2. Subroutine Usage
    For good modularization, the decision of whether or not to execute a subroutine should be made before the subroutine is called. For example:
    This is better:
    IF f1 NE 0.
    PERFORM sub1.
    ENDIF.
    FORM sub1.
    ENDFORM.
    Than this:
    PERFORM sub1.
    FORM sub1.
    IF f1 NE 0.
    ENDIF.
    ENDFORM.
    3. Usage of IF statements
    When coding IF tests, nest the testing conditions so that the outer conditions are those which are most likely to fail. For logical expressions with AND , place the mostly likely false first and for the OR, place the mostly likely true first.
    Example - nested IF's:
    IF (least likely to be true).
    IF (less likely to be true).
    IF (most likely to be true).
    ENDIF.
    ENDIF.
    ENDIF.
    Example - IF...ELSEIF...ENDIF :
    IF (most likely to be true).
    ELSEIF (less likely to be true).
    ELSEIF (least likely to be true).
    ENDIF.
    Example - AND:
    IF (least likely to be true) AND
    (most likely to be true).
    ENDIF.
    Example - OR:
    IF (most likely to be true) OR
    (least likely to be true).
    4. CASE vs. nested Ifs
    When testing fields "equal to" something, one can use either the nested IF or the CASE statement. The CASE is better for two reasons. It is easier to read and after about five nested IFs the performance of the CASE is more efficient.
    5. MOVE statements
    When records a and b have the exact same structure, it is more efficient to MOVE a TO b than to MOVE-CORRESPONDING a TO b.
    MOVE BSEG TO *BSEG.
    is better than
    MOVE-CORRESPONDING BSEG TO *BSEG.
    6. SELECT and SELECT SINGLE
    When using the SELECT statement, study the key and always provide as much of the left-most part of the key as possible. If the entire key can be qualified, code a SELECT SINGLE not just a SELECT. If you are only interested in the first row or there is only one row to be returned, using SELECT SINGLE can increase performance by up to three times.
    7. Small internal tables vs. complete internal tables
    In general it is better to minimize the number of fields declared in an internal table. While it may be convenient to declare an internal table using the LIKE command, in most cases, programs will not use all fields in the SAP standard table.
    For example:
    Instead of this:
    data: t_mara like mara occurs 0 with header line.
    Use this:
    data: begin of t_mara occurs 0,
    matnr like mara-matnr,
    end of t_mara.
    8. Row-level processing and SELECT SINGLE
    Similar to the processing of a SELECT-ENDSELECT loop, when calling multiple SELECT-SINGLE commands on a non-buffered table (check Data Dictionary -> Technical Info), you should do the following to improve performance:
    o Use the SELECT into <itab> to buffer the necessary rows in an internal table, then
    o sort the rows by the key fields, then
    o use a READ TABLE WITH KEY ... BINARY SEARCH in place of the SELECT SINGLE command. Note that this only make sense when the table you are buffering is not too large (this decision must be made on a case by case basis).
    9. READing single records of internal tables
    When reading a single record in an internal table, the READ TABLE WITH KEY is not a direct READ. This means that if the data is not sorted according to the key, the system must sequentially read the table. Therefore, you should:
    o SORT the table
    o use READ TABLE WITH KEY BINARY SEARCH for better performance.
    10. SORTing internal tables
    When SORTing internal tables, specify the fields to SORTed.
    SORT ITAB BY FLD1 FLD2.
    is more efficient than
    SORT ITAB.
    11. Number of entries in an internal table
    To find out how many entries are in an internal table use DESCRIBE.
    DESCRIBE TABLE ITAB LINES CNTLNS.
    is more efficient than
    LOOP AT ITAB.
    CNTLNS = CNTLNS + 1.
    ENDLOOP.
    12. Performance diagnosis
    To diagnose performance problems, it is recommended to use the SAP transaction SE30, ABAP/4 Runtime Analysis. The utility allows statistical analysis of transactions and programs.
    13. Nested SELECTs versus table views
    Since releASE 4.0, OPEN SQL allows both inner and outer table joins. A nested SELECT loop may be used to accomplish the same concept. However, the performance of nested SELECT loops is very poor in comparison to a join. Hence, to improve performance by a factor of 25x and reduce network load, you should either create a view in the data dictionary then use this view to select data, or code the select using a join.
    14. If nested SELECTs must be used
    As mentioned previously, performance can be dramatically improved by using views instead of nested SELECTs, however, if this is not possible, then the following example of using an internal table in a nested SELECT can also improve performance by a factor of 5x:
    Use this:
    form select_good.
    data: t_vbak like vbak occurs 0 with header line.
    data: t_vbap like vbap occurs 0 with header line.
    select * from vbak into table t_vbak up to 200 rows.
    select * from vbap
    for all entries in t_vbak
    where vbeln = t_vbak-vbeln.
    endselect.
    endform.
    Instead of this:
    form select_bad.
    select * from vbak up to 200 rows.
    select * from vbap where vbeln = vbak-vbeln.
    endselect.
    endselect.
    endform.
    Although using "SELECT...FOR ALL ENTRIES IN..." is generally very fast, you should be aware of the three pitfalls of using it:
    Firstly, SAP automatically removes any duplicates from the rest of the retrieved records. Therefore, if you wish to ensure that no qualifying records are discarded, the field list of the inner SELECT must be designed to ensure the retrieved records will contain no duplicates (normally, this would mean including in the list of retrieved fields all of those fields that comprise that table's primary key).
    Secondly, if you were able to code "SELECT ... FROM <database table> FOR ALL ENTRIES IN TABLE <itab>" and the internal table <itab> is empty, then all rows from <database table> will be retrieved.
    Thirdly, if the internal table supplying the selection criteria (i.e. internal table <itab> in the example "...FOR ALL ENTRIES IN TABLE <itab> ") contains a large number of entries, performance degradation may occur.
    15. SELECT * versus SELECTing individual fields
    In general, use a SELECT statement specifying a list of fields instead of a SELECT * to reduce network traffic and improve performance. For tables with only a few fields the improvements may be minor, but many SAP tables contain more than 50 fields when the program needs only a few. In the latter case, the performace gains can be substantial. For example:
    Use:
    select vbeln auart vbtyp from table vbak
    into (vbak-vbeln, vbak-auart, vbak-vbtyp)
    where ...
    Instead of using:
    select * from vbak where ...
    16. Avoid unnecessary statements
    There are a few cases where one command is better than two. For example:
    Use:
    append <tab_wa> to <tab>.
    Instead of:
    <tab> = <tab_wa>.
    append <tab> (modify <tab>).
    And also, use:
    if not <tab>[] is initial.
    Instead of:
    describe table <tab> lines <line_counter>.
    if <line_counter> > 0.
    17. Copying or appending internal tables
    Use this:
    <tab2>[] = <tab1>[]. (if <tab2> is empty)
    Instead of this:
    loop at <tab1>.
    append <tab1> to <tab2>.
    endloop.
    However, if <tab2> is not empty and should not be overwritten, then use:
    append lines of <tab1> [from index1] [to index2] to <tab2>.
    P.S : Please reward if you find this useful..

  • How to improve ABAP logics

    Hi
    How to Improve ABAP logics(Programming) in all areas.
    I need guidence from you all. How to start to improve them.
    Regards,
    Maruti

    Hi,
    Following are the performance standards need to be following in writing ABAP programs:
    1.      Unused/Dead code
    Avoid leaving unused code in the program. Either comment out or delete the unused situation. Use program --> check --> extended program to check for the variables, which are not used statically. 
    2.      Subroutine Usage
    For good modularization, the decision of whether or not to execute a subroutine should be made before the subroutine is called. For example:  
    This is better:
    IF f1 NE 0.
      PERFORM sub1.
    ENDIF. 
    FORM sub1.
    ENDFORM.  
    Than this:
    PERFORM sub1.
    FORM sub1.
      IF f1 NE 0.
      ENDIF.
    ENDFORM. 
    3.      Usage of IF statements
    When coding IF tests, nest the testing conditions so that the outer conditions are those which are most likely to fail. For logical expressions with AND , place the mostly likely false first and for the OR, place the mostly likely true first. 
    Example - nested IF's:
      IF (least likely to be true).
        IF (less likely to be true).
         IF (most likely to be true).
         ENDIF.
        ENDIF.
       ENDIF. 
    Example - IF...ELSEIF...ENDIF :
      IF (most likely to be true).
      ELSEIF (less likely to be true).
      ELSEIF (least likely to be true).
      ENDIF. 
    Example - AND:
       IF (least likely to be true) AND
          (most likely to be true).
       ENDIF.
    Example - OR:
            IF (most likely to be true) OR
          (least likely to be true). 
    4.      CASE vs. nested Ifs
    When testing fields "equal to" something, one can use either the nested IF or the CASE statement. The CASE is better for two reasons. It is easier to read and after about five nested IFs the performance of the CASE is more efficient. 
    5.      MOVE statements
    When records a and b have the exact same structure, it is more efficient to MOVE a TO b than to  MOVE-CORRESPONDING a TO b.
    MOVE BSEG TO *BSEG.
    is better than
    MOVE-CORRESPONDING BSEG TO *BSEG. 
    6.      SELECT and SELECT SINGLE
    When using the SELECT statement, study the key and always provide as much of the left-most part of the key as possible. If the entire key can be qualified, code a SELECT SINGLE not just a SELECT.   If you are only interested in the first row or there is only one row to be returned, using SELECT SINGLE can increase performance by up to three times. 
    7.      Small internal tables vs. complete internal tables
    In general it is better to minimize the number of fields declared in an internal table.  While it may be convenient to declare an internal table using the LIKE command, in most cases, programs will not use all fields in the SAP standard table.
    For example:
    Instead of this:
    data:  t_mara like mara occurs 0 with header line.
    Use this:
    data: begin of t_mara occurs 0,
            matnr like mara-matnr,
            end of t_mara. 
    8.      Row-level processing and SELECT SINGLE
    Similar to the processing of a SELECT-ENDSELECT loop, when calling multiple SELECT-SINGLE commands on a non-buffered table (check Data Dictionary -> Technical Info), you should do the following to improve performance:
    o       Use the SELECT into <itab> to buffer the necessary rows in an internal table, then
    o       sort the rows by the key fields, then
    o       use a READ TABLE WITH KEY ... BINARY SEARCH in place of the SELECT SINGLE command. Note that this only make sense when the table you are buffering is not too large (this decision must be made on a case by case basis).
    9.      READing single records of internal tables
    When reading a single record in an internal table, the READ TABLE WITH KEY is not a direct READ.  This means that if the data is not sorted according to the key, the system must sequentially read the table.   Therefore, you should:
    o       SORT the table
    o       use READ TABLE WITH KEY BINARY SEARCH for better performance. 
    10.  SORTing internal tables
    When SORTing internal tables, specify the fields to SORTed.
    SORT ITAB BY FLD1 FLD2.
    is more efficient than
    SORT ITAB.  
    11.  Number of entries in an internal table
    To find out how many entries are in an internal table use DESCRIBE.
    DESCRIBE TABLE ITAB LINES CNTLNS.
    is more efficient than
    LOOP AT ITAB.
      CNTLNS = CNTLNS + 1.
    ENDLOOP. 
    12.  Performance diagnosis
    To diagnose performance problems, it is recommended to use the SAP transaction SE30, ABAP/4 Runtime Analysis. The utility allows statistical analysis of transactions and programs. 
    13.  Nested SELECTs versus table views
    Since releASE 4.0, OPEN SQL allows both inner and outer table joins.  A nested SELECT loop may be used to accomplish the same concept.  However, the performance of nested SELECT loops is very poor in comparison to a join.  Hence, to improve performance by a factor of 25x and reduce network load, you should either create a view in the data dictionary then use this view to select data, or code the select using a join. 
    14.  If nested SELECTs must be used
    As mentioned previously, performance can be dramatically improved by using views instead of nested SELECTs, however, if this is not possible, then the following example of using an internal table in a nested SELECT can also improve performance by a factor of 5x:
    Use this:
    form select_good.
      data: t_vbak like vbak occurs 0 with header line.
      data: t_vbap like vbap occurs 0 with header line.
      select * from vbak into table t_vbak up to 200 rows.
      select * from vbap
              for all entries in t_vbak
              where vbeln = t_vbak-vbeln.
      endselect.
    endform.
    Instead of this:
    form select_bad.
    select * from vbak up to 200 rows.
      select * from vbap where vbeln = vbak-vbeln.
      endselect.
    endselect.
    endform.
    Although using "SELECT...FOR ALL ENTRIES IN..." is generally very fast, you should be aware of the three pitfalls of using it:
    Firstly, SAP automatically removes any duplicates from the rest of the retrieved records.  Therefore, if you wish to ensure that no qualifying records are discarded, the field list of the inner SELECT must be designed to ensure the retrieved records will contain no duplicates (normally, this would mean including in the list of retrieved fields all of those fields that comprise that table's primary key).
    Secondly,  if you were able to code "SELECT ... FROM <database table> FOR ALL ENTRIES IN TABLE <itab>" and the internal table <itab> is empty, then all rows from <database table> will be retrieved.
    Thirdly, if the internal table supplying the selection criteria (i.e. internal table <itab> in the example "...FOR ALL ENTRIES IN TABLE <itab> ") contains a large number of entries, performance degradation may occur.
    15.  SELECT * versus SELECTing individual fields
    In general, use a SELECT statement specifying a list of fields instead of a SELECT * to reduce network traffic and improve performance.  For tables with only a few fields the improvements may be minor, but many SAP tables contain more than 50 fields when the program needs only a few.  In the latter case, the performace gains can be substantial.  For example:
    Use:
    select vbeln auart vbtyp from table vbak
      into (vbak-vbeln, vbak-auart, vbak-vbtyp)
      where ...
    Instead of using:
    select * from vbak where ... 
    16.  Avoid unnecessary statements
    There are a few cases where one command is better than two.  For example:
    Use:
    append <tab_wa> to <tab>.
    Instead of:
    <tab> = <tab_wa>.
    append <tab> (modify <tab>).
    And also, use:
    if not <tab>[] is initial.
    Instead of:
    describe table <tab> lines <line_counter>.
    if <line_counter> > 0. 
    17.  Copying or appending internal tables
    Use this:
    <tab2>[] = <tab1>[].  (if <tab2> is empty)
    Instead of this:
    loop at <tab1>.
      append <tab1> to <tab2>.
    endloop.
    However, if <tab2> is not empty and should not be overwritten, then use:
    append lines of <tab1> [from index1] [to index2] to <tab2>.

  • Ask The Experts How to Improve Your PC's Performanc​e on June 1st at 3:30 pm PDT

    Learn how to improve your PC 's performance on June 1st from 3:30 -4:30 pm PDT. We'll have a team of experts available to answer your questions.   
    When it comes to performance, your PC is similar to your car. Both need to be cared for to keep them running run well. But unlike your car, you don’t need to bring your PC into a shop for a tune up. You can easily do it yourself if you know the right steps to take.  Our experts will answer your questions and provide tips on how to make your PC run better.  Topics that may be covered in this real-time chat event include the following:
    How to customize your PC to increase performance; 
    How to prolong your notebook’s battery life;
    How to choose the right video card, power supply, or add the right amount of memory; or
    How to use the tools built into your PC that can make it run better and fix common problems. 
    While you can attend this real-time chat event without signing up in advance, you must be a member of the HP Support Forums to ask questions. Signing up is easy and only takes a few moments, plus it will allow you to post questions or give answers on the Forums.
    And it is all free!
    So, come and learn how to get the most out of your PC. Please be sure to come on time as space is limited!
    Message Edited by timhsu on 05-12-2009 05:33 PM
    I work for HP, supporting the HP Experts who volunteer their time and technical knowledge to help others.
    This question was solved.
    View Solution.

    Here is the transcript of the chat event on improving PC performance. 
    Please note that I have altered the transcript so that follow up questions are included in the logical order.
    I am in the process of planning the next chat event. I would love to hear what topics would interest you, what day of the week and time is best for you, and if you think an hour is too long.
    So, if you get a minute, please let me know.
    I work for HP, supporting the HP Experts who volunteer their time and technical knowledge to help others.

  • MacBook Pro to TV, Video Output Too Dark

    Hi,
    I have an 2010 model 15" MacBook Pro i5.
    I got this video converter for Christmas:
    http://www.amazon.com/VideoSecu-VGA2TV-Computer-Presentation-Converter/dp/B000X3 FAJU/ref=sr14?ie=UTF8&qid=1295210644&sr=8-4
    Using this in conjunction with an Apple Mini DisplayPort-to-VGA adapter and a standard RCA video cable, I am able to connect my MacBook to my TV so I can stream video from sites like Hulu.
    My TV is a Sanyo flat screen CRT that's, probably, 6-7 years old (exact model probably isn't important).
    I have no issues with the quality of the video output I'm getting (i.e. resolution, color). The issue I'm having is that the video is too dark. The video looks great on my MacBook screen, but the TV display is too dark. I have tried playing with the settings on the TV and on the converter (through which I can adjust brightness, contrast, saturation, hue, and sharpness) and I can't, for the life of me, get the output to my TV brightened up to an acceptable level.
    I have tried to use the display calibration tool in the Mac's display preferences and that didn't seem to help (I'll admit that I don't think I'm doing it correctly).
    Can anyone suggest some steps that I might try in order to improve my video output?
    Thanks.

    No Answer, but related problem...please see my original post: http://discussions.apple.com/thread.jspa?threadID=2773439&stqc=true

Maybe you are looking for

  • Safari 6 "Images" search results don't show digital storage size info anymore - Fix?

    I've now noticed, finally using Safari 6 more often now .... that when doing a google subject search (and selecting the "images" results versus the "search" results at the top header bar of Safari), that Safari 6 now only shows a huge listing the ima

  • Illustrator Can't Save Illustration

    I am using Illustrator 10 and I get a message that says "Can't save illustration" sometimes. This does not happen all the time. I can save the file as an EPS file when I can't save it as an illustrator file. Today I got another message after trying t

  • Best way to merge/nest video and audio clips?

    Hi there, I really need some advice as I am currently editing a video that has a lot of extra sound effects placed in different places and it pretty much makes the mass of the background sound that has been carefully paired to the clips that I have.

  • Problems Starting OAS Server.

    Hi, I installed OAS 4081 on Windows NT Server with Service Pack 6. Though the node manager starts properly The OAS is not starting it is giving a Genral Protection Fault(GPF or Dr. Watson Error) on owsctl.cgi.exe. What may be the problem. I am not ab

  • Bridge output module

    I have down loaded the output module and placed the the folder in to Bridge CC extensions and the file into workspaces. I still can't get the output module to work. A the PC doesn't ask me to Authenticate the folder and also the PC comes up with a co