Regarding  DATA and MOVE statments with respect to performance

Hi All ,
   I have a small clarification regarding using the DATA and MOVE  statements in  WEBDYNPRO ABAP /ABAP .
*Is there any differnce between below declaration regarding performance.
=========================================================================
DATA lv_num1 type i.
DATA lv_num2 type i.
DATA : lv_num1 type i,
       lv_num2 type i.
===================================================================
MOVE lv_num1 to lv_num2.
MOVE lv_num2 to lv_num3.
MOVE : lv_num1 to lv_num2 ,
       lv_num2 to lv_num3.
thanks
cb
Moderator message: please try yourself and search for available information before asking.
Please Read before Posting in the Performance and Tuning Forum
locked by: Thomas Zloch on Aug 11, 2010 2:45 PM

Hi  Preyansh ,
thanks a lot for your reply,
but are you sure about the "
Hence if we write without chin statement it would be fater for compiler to execute the code.
(same applies for MOVE statement as well)
i have to give some analysis of an application .that is why i am concern over this.
Regads
CB

Similar Messages

  • Inner join and select for all entries with respect to performance

    Hi Friends,
    I just want to know which is more efficient with respect to performance the Inner join or select for all entries?which is more efficient? and how? can you explain me in detail ?
    Regards,
    Dinesh

    INNER JOIN->
    The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join. With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view. With an outer join, records are also selected for which there is no entry in some of the tables used in the view.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec77446011d189700000e8322d00/content.htm
    FOR ALL ENTRIES->
    Outer join can be created using this addition to the where clause in a select statement. It speeds up the performance tremendously, but the cons of using this variation are listed below
    Duplicates are automatically removed from the resulting data set. Hence care should be taken that the unique key of the detail line items should be given in the select statement.
    If the table on which the For All Entries IN clause is based is empty, all rows are selected into the destination table. Hence it is advisable to check before-hand that the first table is not empty.
    If the table on which the For All Entries IN clause is based is very large, the performance will go down instead of improving. Hence attempt should be made to keep the table size to a moderate level.
    Not Recommended
    Loop at int_cntry.
    Select single * from zfligh into int_fligh
    where cntry = int_cntry-cntry.
    Append int_fligh.
    Endloop.
    Recommended
    Select * from zfligh appending table int_fligh
    For all entries in int_cntry
    Where cntry = int_cntry-cntry.

  • Key Differences in ECC 6.0 and 4.6C with respect to SAP SD Module

    Dear All,
    I would like to know the know the Key Differences in ECC 6.0 and 4.6C with respect to SAP SD Module. I have already gone throught the release notes and
    upgrade erp in service.sap.com. I have also checked solution browser.
    Its Urgent.
    Regards,
    Rakesh

    Hi Rakesh,
    Some of the differences are:
    1. Document Flow
    In ECC 6.0, The flow of sales documents is seen much better and improved as compared to 4.6C. Once You look at the screen, You will clearly figure out the difference.
    2. Sales Order Look and Feel
    There are more tabs in ECC 6.0  for Item Level Details.
    The Sales Doc. appears as supremely perfect.
    3. ECC 6.0 is built on NetWeaver Technology  (that possess SOA i.e. service oriented architecture) , Hence more reliable and Improved as compared to previous one.
    Hope this will help you. Reward if found useful
    Regards,
    Gaurav Raghav

  • Inner join and select for all entries with respect to performance in SAP

    Hi Friends,
    I just want to know which is more efficient with respect to performance the Inner join or select for all entries?which is more efficient?
    Regards,
    Dinesh

    I did some testing a while ago and found that a JOIN is usually a bit more efficient than FOR ALL ENTRIES. This wasn't always the case though, so the best thing to do is to write it both ways and see which is faster.
    Rob

  • Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.

    Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.
    Is there any way to re-number them in the order I have chosen so that they can then be sorted by number? The scans are all from pre-digital images that I wish to move to a photobook and I don't want to have to organise them twice!
    Thanks for any suggestions.

    I was a bit short, Chris, sorry. It is limited, what can be posted, when typing on an iPad.
    Now I am back on my Mac. I meant the following:  Batch Change the date for a large range of photos, that should have a date stepped in increments.
    Select all Photos at once and use the command "Photos > Batch Change".
    Then set the date for the first photo and select an increment, e.g. one minute.
    Now all photos will get a new date assigned, incremented by one minute, in the sequence you have selected. So you will be able to sort them by date.  This way it will be unnecessary to change the titles or filenames.

  • I got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this?

    i got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this and get my information back?

    Every backup replaces the old one, so, unless you included the backup folder in your computer backup routine, you can't get back your calendar info.
    The only time iTunes will not replace a backup is, when you use it to restore from, this one will stay in the backup list in iTunes.
    More info on backups here: http://support.apple.com/kb/HT1766

  • Do we need to format data and log files with 64k cluster size for sql server 2012?

    Do we need to format data and log files with 64k cluster size for sql server 2012?
    Does this best practice still applies to sql server 2012 & 2014?

    Yes.  The extent size of SQL Server data files, and the max log block size have not changed with the new versions, so the guidance should remain the same.
    Microsoft SQL Server Storage Engine PM

  • What is the difference Photoshop and Photoshop Extended with respect to registry and files

    Can someone please help with the difference between Photoshop and Photoshop Extended with respect to files installed or Windows registry.I am aware of the difference in Features.I am not concern about the difference in Features.

    True

  • Date and number format with JDEV 10 g

    Are there some known bugs in JDEV 10g regarding dates and currency format? I am using bc4j, struts and jsp. I have tried setting the format on the entity and view objects but it works sometimes and sometimes not.

    More info please.

  • In photos,events have lost dates and been replaced with IMPRT numbers.Any ideas?

    In photos,events have lost dates and been replaced with IMPRT numbers

    When is this going to be fixed?

  • Why can't I select and move guides with selection tools?

    I'm using Illustrator CC and I cannot select and move guides with the selection tools. The guides are not locked. I can select the guides in the Layers Panel, but I can only move with the arrow keys. I can also "Release" the guides once they are selected in the Layers Panel, but I still cannot move them with the mouse - only the arrow key.
    Summary of Problem:
    Guides are not locked.
    Some guides can only be moved when they are selected in the Layer Panels and when using the arrow keys
    Non-selectable Guides can be "Released" but only altered in color and line weight and still only moved with the arrow keys.
    Desired Outcome:
    I want to be able to move all guides using the mouse for greater accuracy vs the arrow keys.
    Thank you for your help.

    Channing, anotherhead,
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How do I create a permanent backup of all my iTunes data, and movies?

    I'm confused about how to effectively backup and share my data.  And know others must have wrestled with this one too - so help please!
    Our family works across several platforms (PC, MacBookPro, 2 iPads, iPods, 2 iPhones and appleTV) and want to have a method to effectively share and save (i.e. permanently backup) our data (iTunes, other documents and movies).   We use HomeSharing, iCloud and iTunes Match, which work most of the time.  All the devices are linked to a single iTunes library.
    I understand that iCloud serves to synchronise data and share it between devices. Great.  But how do I create a permanent backup of the data?  I could get a third party online service (e.g. Box.net) or use external harddrives.  Is there a simpler approach that apple provides, that I've missed?  I'd lke to make teh solution a simple to use (i.e. upload data and share it), reliable without paying the earth! 

    Have you considered this...
    Backup iTunes to an External Drive  >  http://support.apple.com/kb/HT1751
    And there is this  >  ..Most commonly used backup methods

  • Csv file reading and voltage and current plotting with respect to time samples XY plotting

    Hallo,
             I've been struggling with reading  a comma separated value (csv) file from another instrument (attached). I need to plot this data for analysis. I have 5 column of data with numbers of rows, the first three row is the information of the measurement. I want to read 4th row as string and rest of the row as numbers. I want to plot 2nd column (i1)  with respect to TIMESTAMP; 4th column(u2) wrt TIMESTAMP. And finally plotting i1 (x-axis) vs.. u2 (y-axis) in labview. Could anyone help me.
    In excel its so easy to plot  but I don't know how its done in labview.
    Attachments:
    labview forum test.csv ‏30 KB
    excel plot.jpg ‏88 KB

    Start by opening the file.  Then use the Read Text File function.  You can right-click on it and configure it to read lines.  First make it read 3 lines (this is your extra header data).  Then make it read a single line.  That will give you your channel names.  Then read the rest of the file (disable the read by line and wire a -1 into the number of bytes to read).  Then use the Spreadsheet String to Array function to give you your data.
    I would recommend going through the LabVIEW tutorials if you are really new at this.
    LabVIEW Basics
    LabVIEW 101
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Show days left until reset based on date and condition associated with date

    My question is simlilarly based to the previous discussion https://discussions.apple.com/message/15134714#15134714
    What I need to do is display the number of days until I have to reset a flight condition (FS Column) based on a set number of days (60 days).  I have several colums of information but the two I would use is a Date Column and the FS Column(drop down menu with text for options). I would need to be able to look at certain FS options and use the date associated with it to subtract from 60.
    If FS= "NG" use date associated with it to add 60 days, and then use that date to compare it with today's date to show how many days are left till the 60 day mark.
    So if the last "NG" was Jan 1, 2011 and today was Feb 1, 2011 I would want one cell to show 30 days and another cell to show Mar 2, 2011.
    I need to fly in a certain condition once every 60 days. I want to show how many days left I have until I need to reset that 60 day counter.  Also, I would like to have another cell show the date associated with the day I would need to reset that counter on.
    Unfortunately I am in a limited internet environment so I can not post a picture of my spreadsheet.  Sorry for the over explination, trying to make it as clear as possible first go round.
    Thanks in advance!

    Aron,
    I added a few columns to correlate the conditions and dates. There may be a better way than this brute force approach, but this will work.
    Date
    DS
    FS
    Hrs
    Seat
    Mission ID
    D
    H
    N
    NG
    NS
    Aug 1, 2011
    PI
    D
    1.0
    F
    C
    8/1/11
    Aug 1, 2011
    PI
    N
    0.5
    F
    C
    8/1/11
    Aug 2, 2011
    PI
    D
    0.5
    F
    C
    8/2/11
    Aug 2, 2011
    PI
    NS
    1.4
    F
    C
    8/2/11
    Aug 4, 2011
    PI
    NS
    0.2
    F
    C
    8/4/11
    Aug 12, 2011
    PI
    NG
    1.0
    F
    C
    8/12/11
    Aug 12, 2011
    PI
    NS
    1.2
    F
    C
    8/12/11
    Aug 14, 2011
    PI
    NG
    0.5
    F
    C
    8/14/11
    Aug 14, 2011
    PI
    H
    0.5
    F
    C
    8/14/11
    Aug 14, 2011
    PI
    NS
    0.6
    F
    C
    8/14/11
    Aug 20, 2011
    PI
    NS
    2.1
    F
    C
    8/20/11
    Aug 21, 2011
    PI
    NG
    2.0
    F
    C
    8/21/11
    Aug 22, 2011
    PI
    NG
    1.0
    F
    C
    8/22/11
    Aug 22, 2011
    PI
    NS
    0.4
    F
    C
    8/22/11
    Aug 29, 2011
    PI
    NS
    0.5
    F
    C
    8/29/11
    Then I added a summary table:
    FS Condition
    LastDate
    Plus 60 Days
    Today is Oct 11, 2011
    Alarm
    D
    8/2/11
    10/1/11
    10d
    Overdue
    H
    8/14/11
    10/13/11
    -2d

  • How to read csv Data and save it with no format changes

    Hi,
    At first I am not used to Diadem.
    I want to read in a csv file do some calculation with the data and save the changed data in the same csv file. A file as an example is attached (496888_edit.csv).
    Therefore I wrote this lines:
    Dim i
    Dim Delimiter
    Dim FilePath
    Dim FileParameters
    Delimiter = ";"
    Call DataFileLoad(FilePath,"CSV","Load")
    ' Do some calculations
    FileParameters = "<filename>"&FilePath&"</filename>"&"<delimiter>"&​Delimiter&"</delimiter>"
    Call DataFileSave(FileParameters,"CSV")
    After running that lines the csv file is looking like the other attached file (496888_after.csv)
    Because of some reasons which I could not explain Diadem is rounding the numbers. I want that both files look the same.
    What can I do?
    There might be another extension. Just to read in some columns, doing some calculations and after the calculation saving that columns in the file instead of the originals. (The csv files are much bigger like the two examples)
    Thanks,
    Jens 
    Attachments:
    496888_edit.csv ‏1 KB
    496888_after.csv ‏1 KB

    The only thing that can be changed in writing float64 values using the CSV plugin is the decimal point ('.' or ',').
    The format of the doubles is not rounded but the CSV writer only writes the relevant digits.
    It is using up to 15 digits which is the resolution of float 64. It would also switch to scintific writing if necessary.
    So there is no way to force only 6 digits and filling 0s are left out. So if you just fear that you loose precision that will not happen.
    (only the typical problems of epressing a 2 system binary value in a 10 system text string)
    If you are interested to have a fix float format the only solution is to write with VBS directly to a file doing formatting on your own, which is slow.

Maybe you are looking for

  • "My Bill" page is confusing

    Recently, I missed a payment. One of your representatives contacted me, with this info. I paid $249.23 on April 10 and $246.54 on April 14. Today is the day I usually pay end of month bills. I logged onto your site, in order to check my balance. The

  • Can I bridge AEBS to AEBS via WiFi N?

    I've got a problem connecting some equipment located in a basement. I have a Slingbox, a Blu-ray player and an old G5 iMac that I use as a media center all located in my basement. I need all of them to be connected to the Internet. My Office, my Inte

  • Return (\r) showing as a Seperate Line

    I have a Java Application, after processing inserts the results into a table, and write the results into a file. From the Forms application, i query the same table, but it appears as having a second line ie [] after the enter character. But in the DB

  • My time zone!

    I live in Las Cruces, New Mexico. In my iPhone the time zone is set for Denver. I don't know my time zone but I'm pretty sure it's not Denver. What time zone should I select?

  • Needing Serious iPod Touch Help!!!

    Hi. I have an iPod touch and when i connect it to itunes it says it cant reconize the iphone, but its not an iphone, so the ipod icon doesnt show up on the side, therefore i cannot sync my ipod after the purchases i have bought. Any solutions?