Fine tuning of the report

Hi Friends,
1)I have thousands of production order in my internal table list.
2)Now for each production order I have more than 40 operations .
3)I have to take the latest operations from this 40 operations.
4)the latest operation and the corresponding work Center I have to take from the S022 among this 40 opearation
5) this work center I have to pass to CRHD and take objectid (OBJID)
6) now I have to pass this object id (OBJID) to CRCO and take the cost center
ie the crco-kostl.
Actually this is a specific client requirement where the same logic I have to follow. when iam running the following code the report is taking long time . I can say the situation is like report hanging.
Iam using the following code .
loop at list.
if list-BWART eq '261' or list-BWART eq '262'.
select max( VORNR )  into  bet   from S022
        where AUFNR  = list-AUFNR and
        werks = list-werks.
SELECT SINGLE ARBPL FROM  S022  INTO ARBPL
        where AUFNR  = list-AUFNR and
        werks = list-werks
        and vornr = bet .
select single KOSTL from CRCO into list-KOSTL where OBJID = OBJID.
clear CARBPL.
clear OBJID.
modify list.
clear list.
clear bet.
endif.
endloop.
Please help me to fine tune this scenario .

Hi,
IMP:  Never use select single in loop!! instead use for all entries in option using second itab and as ur data is too high process ur data in itabs using BINARY SEARCH.
select aufnr max( vornr ) ARBPL into table itab2
for all entries in list
group by aufnr "(and ARBPL, this will reduce second select stmt..)
where aufnr = list-aufnr and....
"same for third select stmt.
All above stmts are not in loop , now u can process itabs and get desired o/p.
use BINARY SEARCH for read itabs.
Abvoe logic will improve ur code perfromance..
Jogdand M B

Similar Messages

  • Hi gurur's how we  do the PERFORMENCE TUNING OF THE REPORT

    hi gurur's how we  do the PERFORMENCE TUNING OF THE REPORT .plz help me

    Hi,
    Use tcode SE30 and ST05
    Regards,
    Prashant

  • Noise reduction - RAW fine tuning and the Noise Reduction tool

    Hi,
    1- If I get it right, Aperture's RAW fine tuning "Automatic noise compensation" (translated from French) option uses the camera's information to adjust the noise. Is that correct?
    2- The Noise Reduction tool is there to provide additional noise reduction, but this makes you lose some details. Is that correct?
    3- How do you use them? I often find the Noise Reduction tool a bit overkill, but that's me.
    4- This one is just out of curiosity. How does A3 compare to LR3 beta for you in that regard? In my testing, LR3 did a slightly better job (but A3 totally beats the crap out of LR2 for noise). BUT I have an old D50, and newer cameras handle noise better (especially Nikon), so does it really make a difference for a 2008 or newer camera?
    Thanks!
    Manu

    Manusnake wrote:
    pilotguy74 wrote:
    I don't even have this option/checkbox in my Raw Fine Tuning brick.
    I wonder if it's due to the type of files (Canon 7D). Do you still have those 7D files I sent you? Does the checkbox appear in Raw Fine Tuning for you with them?
    I noticed this option in the manual the other day, but forgot about it until now.
    True, it doesn't have the checkbox with the 7D files. However, it as a slider "noise suppression" (again translated) in the RAW fine tuning options (and still has the Noise suppression brick).
    If you don't have this one too, have you reprocessed your images with Aperture 3? Since it has a new raw engine, it may be the cause of it.
    I find it strange that Apple didn't tout the new RAW engine on Aperture 3 new feature, it clearly is an improvement over Digital Camera RAW 2, especially in noise suppression.
    I agree the built-in noise suppression is much better than A2, but IMHO it pales in comparison with the Noise Ninja plugin from Picturecode. The key is that you calibrate a profile for Noise Ninja by shooting a color chart full screen on your computer at varying iso settings with each of your cameras. You then feed the images back in to Aperture, and tell Noise Ninja to create a noise profile for each setting. The results are amazingly good.
    Now with a lot of new cameras, noise processing is getting less important because the high iso performance is so good....but this is what makes Noise Ninja special...even when the noise adjustment is subtle, because it is working from a profile created with your camera, at the iso the shot was made at, its effects are seamless. They just announced a 64 bit plugin for Aperture 3, so no bouncing into 32 like other plugins at the moment...
    Sincerely,
    K.J. Doyle

  • FPM_SEARCH_UIBB: Fine Tuning of the Search Area

    Hello experts,
    I created a search application using FPM_SEARCH_UIBB. The user should only have a fixed search area with twelve search criterias, two of them should be mandatory.
    The general setup of the search area is done and works fine. But there are some nasty details I'm struggling with.
    Hide + / - Signs
    In IF_FPM_GUIBB_SEARCH~GET_DEFINITION I set MAX_1_VALUE to abap_true. This prevents the user from adding search critera which is already on the search area. So far so good.
    But is it possible to hide the + / - signs completely? If there is a plus-sign the user will click on it. If all criterias are already on the screen the user will receive an ugly error message. So the signs should be hidden.
    Make Operators Read-Only
    For all search criterias only the 'is' operator i relevant. All other operators are already excluded. But in the UI the operators are still displayed as drop-down fields and the user has the possibility to open it just to see that there is only one entry in the list.
    Is it possible to make the operator field read-only? Hiding it would also be an option.
    Mark search fields as mandatory
    As mentioned two of the search fields should be mandatory. In IF_FPM_GUIBB_SEARCH~GET_DEFINITION I set attribute mandatory = abab_true with the result that the minus signs on the right side are hidden and the label is read-only so that the attribute cannot be changed.
    The check whether a value is maintained is implemented in IF_FPM_GUIBB_SEARCH~PROCESS_EVENT.
    Now the question:
    The search attributes are not marked with a red star as mandatory as it is standard for form UIBBs. Is there somewhere a setting to mark the attributes consistently with a star? I know that this is a minor issue but there are people who are very keen on red stars for mandatory fields.
    Best regards,
    Markus

    Which NW release are you talking about? As of release 7.03/7.31 there is the possibility to define a result list in the GUIBB Search that is based on the new GUIBB List ATS. This offers highest flexibility to the application developer.
    Edited by: Jens Ruths on Jan 23, 2012 12:36 PM

  • Small fine tuning is required in the calculation

    Hi Gurus,
       BI PM module for the report Schedule attainment filtered for one order.
    The result supposed to be Total job scheduled = 1, completed orders = 1 and No of orders completed on Schedule = 0. However, the report shows, Total job scheduled = 7, completed orders = 1 and No of orders completed on Schedule = 0.
       By this what happens is that total jobs scheduled become 930 for Plant = 2200, Planner Group = P01, Order Type = PM03 while Completed orders and Completed orders on Schedule is correct.
        ie Formulae in update routine IF( IS_INITIAL( /BIC/ZIBFDCH ), 1, 0 ).
        Please tell the small fine tuning in the calculation, points will be assigned.
    Regards,
    Kiran A

    Answer Finded

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • Could U-Verse "incentivize" bundling by fine-tuning its Family Package?

    I'm a U-Verse Intenet customer but not a U-Verse TV customer because of the ATT's current offerings on the U-Verse Family Package. Like many people I know, I am mostly streaming via my video streamer, nearly always in the evening hours. I prefer watching true drama such as found on Identification Discovery, or other drama on television drama series, and don't want to pay for a tv package with a high number of channels. I'd bundle my U-Verse Internet with U-Verse TV if ATT would add ID Discovery to the Family Package and maybe add two more similar channels. I doubt there's any real  risk of crossing an obejctionable content "red line" with such changes as far as objectionable content is concerned, and  ATT might benefit from changing the name of the package to something more apt, such as "U-View", to indicate a package that is somewhat limilted but still has good appeal. I feel ATT would attract many new customers to bundling without a substantial loss of customers from a 'fine-tuning" of the current U-Verse Family Package.

    I'm a U-Verse Intenet customer but not a U-Verse TV customer because of the ATT's current offerings on the U-Verse Family Package. Like many people I know, I am mostly streaming via my video streamer, nearly always in the evening hours. I prefer watching true drama such as found on Identification Discovery, or other drama on television drama series, and don't want to pay for a tv package with a high number of channels. I'd bundle my U-Verse Internet with U-Verse TV if ATT would add ID Discovery to the Family Package and maybe add two more similar channels. I doubt there's any real  risk of crossing an obejctionable content "red line" with such changes as far as objectionable content is concerned, and  ATT might benefit from changing the name of the package to something more apt, such as "U-View", to indicate a package that is somewhat limilted but still has good appeal. I feel ATT would attract many new customers to bundling without a substantial loss of customers from a 'fine-tuning" of the current U-Verse Family Package.

  • Sorting makes the report slow

    Hi,
    I need to sort the SQL (APEX_ITEM) report. I created a hidden item and used the hidden item to sort the report. Its working fine but making the report very slow.
    If I remove the sorting, then the report runs fast.
    Please let me know what should do to make it faster.
    Thanks.

    Hi Denes,
    Here is my query:
    SELECT apex_item.hidden (21, R.pk) || apex_item.hidden (22, R.imo) || apex_item.hidden (23, wwv_flow_item.md5 ( R.PK ,R.RQMT )) ||
    apex_item.hidden (24,R.imso)|| apex_item.hidden (25, R.installation_number )|| apex_item.hidden (26, R.base_code) ||
    apex_item.text (27, R.year, 80,100,
    'style="width:40px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly" title="Year"', 'f27_' || LPAD (ROWNUM, 4, '0')) year ,
    apex_item.text (28, R.fcg, 80, 100,
    'style="width:64px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly" title="Fcg"', 'f28_' || LPAD (ROWNUM, 4, '0')) fcg,
    apex_item.text (29, R.IMO_NAME, 80, 100,
    'style="width:90px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Imo"', 'f29_' || LPAD (ROWNUM, 4, '0')) IMO_NAME,
    apex_item.text (30, R.IMSO_NAME, 80, 100,
    'style="width:96px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly" title="Imso"', 'f30_' || LPAD (ROWNUM, 4, '0')) IMSO_NAME,
    apex_item.text (31, R.installation_NAME, 80, 100,
    'style="width:140px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly" title="Installation"', 'f31_' || LPAD (ROWNUM, 4, '0')) INSTALLATION_NAME,
    apex_item.text (32, R.BASE_NAME, 80, 100,
    'style="width:160px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Base"','f32_' || LPAD (ROWNUM, 4, '0'))BASE_NAME,
    apex_item.hidden (33, R.FCG_DESC) ||
    apex_item.text (34,R.FAC, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Fac"','f34_' || LPAD (ROWNUM, 4, '0')) FAC,
    apex_item.hidden (35, R.FAC_DESC)||
    apex_item.text (36, R.EFR, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Efr"', 'f36_' || LPAD (ROWNUM, 4, '0')) EFR,
    apex_item.hidden (37,R.EFR_DESC) ||
    case when
    get_PK_status(R.PK) IN ('Edited','Reviewed','Approved') and
    :P2_Role = 'EDITOR' then
    apex_item.text (38, R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when
    nvl(get_PK_status(R.PK),'X') not in ('Edited','Reviewed','Approved') and
    :P2_Role = 'EDITOR' then
    apex_item.text (38,R.RQMT,
    80, 100,
    'style="border:1.3px solid black;width:75px;text-align:right;'
    || 'color:darkblue;font-weight:bold title="Requirement"',
    'f38_' || LPAD (ROWNUM, 4,'0'))
    when
    get_PK_status(R.PK) IN ('Edited','Reviewed','Approved','Disapproved') and
    :P2_Role = 'REVIEWER' then
    apex_item.text (38,R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when
    nvl(get_PK_status(R.PK),'X') NOT IN ('Edited') and
    :P2_Role = 'REVIEWER' then
    apex_item.text (38, R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) = 'Edited' and
    :P2_Role = 'REVIEWER' then
    apex_item.text (38, R.RQMT,80,100,
    'style="width:75px;text-align:right;'
    || 'color:darkblue;font-weight:bold title="Requirement"',
    'f38_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('Edited','Reviewed','Approved','Disapproved') and
    :P2_Role = 'APPROVER' then
    apex_item.text (38, R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when nvl(get_PK_status(R.PK),'X') NOT IN ('Reviewed') and
    :P2_Role = 'APPROVER' then
    apex_item.text (38, R.rqmt,80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold" readonly="readonly"title="Requirement"', 'f38_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) = 'Reviewed' and
    :P2_Role = 'APPROVER' then
    apex_item.text (38,R.RQMT,80, 100,
    'style="width:75px;text-align:right;'
    || 'color:darkblue;font-weight:bold title="Requirement"',
    'f38_' || LPAD (ROWNUM, 4, '0'))
    end RQMT,
    case when get_PK_status(R.PK) = 'Edited' and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkred;background-color:yellow;font-weight:bold " readonly="readonly"title="Edited"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when nvl(get_PK_status(R.PK),'X') NOT IN ('Edited','Reviewed','Approved','NotReviewed','Disapproved') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkred;background-color:#FFF4BF;font-weight:bold " readonly="readonly"title="New Requirement"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('Reviewed') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkred;background-color:lime;font-weight:bold " readonly="readonly"title="Reviewed"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('Approved') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:solid black;background-color:#DAFFBF;font-weight:bold " readonly="readonly"title="Approved"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('Disapproved') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:SOLID black;background-color:RED;font-weight:bold " readonly="readonly"title="Not Approved"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    when get_PK_status(R.PK) IN ('NotReviewed') and
    :P2_Role in('EDITOR','REVIEWER','APPROVER') then
    apex_item.text (39, RU.RQMT, 80, 100,
    'style="width:75px;text-align:right;'
    || 'color:SOLID black;background-color:orange;font-weight:bold " readonly="readonly"title="Not Reviewed"' , 'f39_' || LPAD (ROWNUM, 4, '0'))
    end NEW_RQMT,
    apex_item.text (40, RU.Status, 80,100,
    'style="width:75px;text-align:right;'
    || 'color:solid darkgreen;background-color:#FFF4BF;font-weight:bold " readonly="readonly"title="Status"', 'f40_' || LPAD (ROWNUM, 4, '0')) STATUS ,
    CASE WHEN (get_PK_status(R.PK) IN('Edited','Reviewed','NotReviewed') and :P2_Role = 'APPROVER') THEN APEX_ITEM.SELECT_LIST(41,'Approved','Approved;Approved,Disapproved;Disapproved','','title="This field is only for Reviewers and Approvers"')
    WHEN (get_PK_status(R.PK) = 'Edited' and :P2_Role = 'REVIEWER') THEN
    APEX_ITEM.SELECT_LIST(41,'Reviewed','Reviewed;Reviewed,NotReviewed;NotReviewed','','title="This field is only for Reviewers and Approvers"')
    ELSE
    APEX_ITEM.SELECT_LIST(41,'','','title="This field is only for Reviewers and Approvers"')
    END ACTION ,
    '<a href="javascript:popUp2('''
    || 'f?p=&APP_ID.:3:&SESSION.::NO::P2_PK:'
    || R.PK
    || ''', 1200, 500);">'
    || '<img src="#APP_IMAGES#blue_book_open.gif" title="View Row History" >'
    || '</a>' History
    from rplans_sumtab R,
    (SELECT PK, RQMT, STATUS, DATE_CREATED FROM RPLANS_USER_SUMTAB R1
    WHERE DATE_CREATED = (SELECT MAX(DATE_CREATED) FROM RPLANS_USER_SUMTAB R2
    WHERE R2.PK = R1.PK)) RU
    WHERE R.PK = RU.PK(+)
    2.) The pagination I am using is:
    Row Ranges 1-15 16-30 (with set pagination)
    3)The table has only 1000 records.
    The report runs very fast when I don't use sorting, but when I use sorting, it becomes very slow.
    Thanks.

  • RAW Fine Tuning Instructions

    Am I missing it somewehere? I can't fine instructions or a guide to "RAW Fine Tuning" in the Adjustments secction. There doesn't seem to be anything under the Help menu-with either guide.

    Found in a review of Aperture 1.1:
    In addition to the reworking of the algorithms for RAW conversions, Apple has provided more control over RAW conversion parameters. In the new RAW Fine Tuning Adjustments HUD are the following sliders, all of which impact the RAW conversion specifically:
    Boost - This is a simple tone curve control. When set to the far right, you get Apple’s standard conversion contrast. By moving the slider to the left, the picture becomes flatter. When the slider is all the way to the left, the tone curve is basically flat, or linear (though it appears a brightness-boosting gamma adjustment is still being applied).
    Sharpening – There are two parameters, each with its own slider: Intensity and Edges. Sharpening can also be turned off altogether, though as we noted above, the sharpening was looking pretty darned effective in our session with Apple’s Schorr.
    Chroma Blur – For controlling the level of smoothing applied to colour noise. Like Sharpening, Chroma Blur can be switched off completely by setting the single slider, Radius, all the way to the left.
    Plus, Auto Noise Compensation, a new type of noise reduction in v1.1 that factors in ISO and length of exposure. This is a checkbox, not a slider, and is therefore either on or off.

  • Using mouse to make fine tuning adjustment

    I have just installed Ligthroom 2.5 upgraded from Ligthroom 1.4; it appears that I can not longer make fine tuning of the ajustment using the mouse wheel but I am stock to move the slides by dragging them with the mouse or entering a value...
    is the mouse wheel capacity to make adjustement discontinued with Ligthroom 2.5; if not, how do I got about using the mouse wheel?
    Thanks,

    Thank you very much for the clear answers.
    Message for the adobe people, this is a major functionality lost (for an upgraded product) when ajusting for hundreds of picture this increase the time to make all the adjustment by many folds (which is my case). It would be worth investing time to fix the problem instead of removing a very important and useful fonctionality.
    Can anyone provide the specification for the mouse that would support such functionality as indicated by Ian?
    Thanks

  • Fine Tuning REPORT

    Hi,
    I want to know about fine tuning a report. One way, I know is to break the query which extracts data from different tables separately and finally joining it using FOR ALL ENTRIES.  What are the different methods to fine tune a report.
    Please reply with suitabe answers.

    Hi
    see this
    1) Dont use nested select statements
    2) If possible use for all entries in addition
    3) In the where addition make sure you give all the primary key
    4) Use Index for the selection criteria.
    5) You can also use inner joins
    6) You can try to put the data from the first select statement into an Itab and then in order to select the data from the second table use for all entries in.
    7) Use the runtime analysis SE30 and SQL Trace (ST05) to identify the performance and also to identify where the load is heavy, so that you can change the code accordingly
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d0db4c9-0e01-0010-b68f-9b1408d5f234
    ABAP performance depends upon various factors and in devicded in three parts:
    1. Database
    2. ABAP
    3. System
    Run Any program using SE30 (performance analys) to improve performance refer to tips and trics section of SE30, Always remember that ABAP perfirmance is improved when there is least load on Database.
    u can get an interactive grap in SE30 regarding this with a file.
    also if u find runtime of parts of codes then use :
    Switch on RTA Dynamically within ABAP Code
    *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.
    1 Always check the driver internal tables is not empty, while using FOR ALL ENTRIES
    2 Avoid for all entries in JOINS
    3 Try to avoid joins and use FOR ALL ENTRIES.
    4 Try to restrict the joins to 1 level only ie only for 2 tables
    5 Avoid using Select *.
    6 Avoid having multiple Selects from the same table in the same object.
    7 Try to minimize the number of variables to save memory.
    8 The sequence of fields in 'where clause' must be as per primary/secondary index ( if any)
    9 Avoid creation of index as far as possible
    10 Avoid operators like <>, > , < & like % in where clause conditions
    11 Avoid select/select single statements in loops.
    12 Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.
    13 Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,)
    14 Avoid using ORDER BY in selects
    15 Avoid Nested Selects
    16 Avoid Nested Loops of Internal Tables
    17 Try to use FIELD SYMBOLS.
    18 Try to avoid into Corresponding Fields of
    19 Avoid using Select Distinct, Use DELETE ADJACENT.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • To extend a clip I have `Show Fine Tuning controls' turned on in my iMovie 11 preferences, but the blue forward/backward buttons don't appear.  To get the orange handle bar, is there a hotkey?

    To extend a clip I have `Show Fine Tuning controls' turned on in my iMovie 11 preferences, but the blue forward/backward buttons don't appear.  To get the orange handle bar, is there a hotkey?

    That's a comment in the file. It has no effect at all.

  • Custom code throws error with email subscription. Otherwise, the report works fine.

    I have a SSRS report that parses RTF to TXT and displays it in a report.  The report works fine and everything displays correctly.  The subscription email, however, contains a report with errors: Request for the permission of type
    'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    The report contains embedded code as well as references to System.Security and System.Windows.Forms.  I've updated .....\Reporting Services\ReportServer\rssrvpolicy.config and ....\Reporting Services\ReportManager\rsmgrpolicy.config to change permissions
    to FullTrust.  Not sure what else I need to do.  Please help.

    Hi Chimuelo,
    According to your description, if the report contains custom code and assemblies, the subscription email contains an error “Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
    failed”.
    In your scenario, the issue could cause by that the report can’t access those assemblies. Please modify the policy configuration files to grant additional permissions for those assemblies. For more information, please refer to this article:
    How to grant permissions to a custom assembly that is referenced in a report in Reporting Services.
    Similar thread for your reference:
    Custom assembly throwing #error in reports with subscriptions
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Latest batch of RAW files has all the raw fine tuning options greyed out

    I shoot about 1000 images a week with my 40d and edit/organize all of them in Aperture... the latest batch (a pretty important batch at that) of 800 or so imported fine but does not allow me to use the 'Raw Fine Tuning' options as if they are JPGs. I can still go to the images i imported last week and the RAW fine tuning works fine, even some in the same album... any ideas?
    Aperture 1.5.6

    more informaion:
    today's images imported fine, so you can rule out the security patch.
    even more peculiar i exported some of the images, and imported the same masters back in and much to my suprise the RAW fine tuning works. I rebuilt the library hoping that would help but it didn't, I'm just going to go back through the library and re-tag and rate my picks from the shoot, but any idea on how to keep this from happening again? it has to be some wacky setting or something, I can export the broken image and the import it again and it works fine.
    any help would be appreciated
    mark

Maybe you are looking for

  • Error during phase XPRAS_TRANS in module MAIN_TRANSEXEC while updating to EHP7 on HANA

    Dear Gurus, I request your help to resolve the below mentioned error. I got the below error while updating my system from EHP6 to EHP7 SPS03. The details of the logs and the versions are mentioned below for your reference: SAPup_troubleticket.log SAP

  • Zone create not installing all zone root files

    I'm installing a new T5240 Solaris 10 u6 10/08 with the 10_Recommended patch kit from 09 Dec 2008. The system is jumpstarted with /, /usr, /var, /export/home on SVM mirrored internal 146g drives. When I first got the server up and running, I tested z

  • Intelligent Agent doesn't recognise database

    I've got a database under ORA 8.1.7. The Net8 Manager was replaced by Net Manager when I installed the version 9i migration assistent. So the listener is configured by this newer version. I copied the listener.ora file in the correct Oracle Home dire

  • NWDS 7.0.10 download

    Hi all,   I need to work on a Netweaver 2004s SP10 and so I need to install the same NWDS patch level.   Where can I find sap NWDS 7.0.10???   At the moment I'm working with a NWDS 7.0.09 version but when I connect to Development Infrastructure I get

  • Read Loud a pdf file

    How to select MS Server Speech Text to Speech Voice?