Diff between  delete and refresh

urgent

refresh : It will delete the records but memory will be there.
delete : delete the required records.
Syntax
REFRESH itab.
Effect
This statement sets an internal table itab to its initial value, meaning that it deletes all rows of the internal table. The memory space required for the table is freed up to the initial memory size INITIAL SIZE. For itab, you must specify an internal table.
To delete all rows and free the entire memory space occupied by rows, you can use the statement FREE.
Note
The statement REFRESH itab acts for all internal tables like CLEAR itab[]. If an internal table itab has a header line, then the table body and not the header line is initialized. If the internal table itab has no header line, REFRESH itab acts like CLEAR itab. Therefore, you should always use CLEAR instead of REFRESH.
Exceptions
Non-Catchable Exceptions
Cause: No more memory space available to create the table
Runtime Error: REFRESH_NO_SHORT_MEMORY
DELETE
delete <itab> where <condition>
DELETE for Files
Deletes files on the application server
Syntax
DELETE DATASET <dsn>.
Deletes the file <dsn> from the file system of the application server.
DELETE for Database Table Entries
Deletes entries from database tables.
Syntax
DELETE FROM <dbtab> WHERE <cond>.
All of the lines in the database table that satisfy the conditions in the WHERE clause are deleted.
Syntax
DELETE <dbtab> FROM <wa>.
DELETE <dbtab> FROM TABLE <itab>.
This deletes the line that has the same primary key as the work area <wa>, or deletes all the lines in the database that have the same primary key as a line in the internal table <itab>. The work area <wa> or the lines of the internal table <itab> must have at least the same length as the work area of the database table.
DELETE for Cluster Databases
Deletes data clusters from cluster database tables.
Syntax
DELETE FROM DATABASE <dbtab>(<ar>) ID <key>.
Deletes the entire cluster in area <ar> with the name <key> from the cluster database table <dbtab>.
DELETE for the Cross-Transaction Application Buffer
Deletes data clusters from the cross-transaction application buffer.
Syntax
DELETE FROM SHARED BUFFER <dbtab>(<ar>) ID <key>.
Deletes the data cluster for the area <ar> with the name <key> stored in the cross-transaction application buffer for the table <dbtab>.
DELETE for Lines from an Internal Table
Deletes lines from internal tables of any type.
Syntax
DELETE TABLE <itab> FROM <wa>.
DELETE TABLE <itab> WITH TABLE KEY <k1> = <f 1>... <k n> = <f n>.
Deletes using the table key. All lines with the same key are deleted. The key values are taken either from a compatible work area <wa> or specified explicitly.
Syntax
DELETE <itab> WHERE <cond>.
Deletes using conditions. Deletes all table entries that satisfy the logical expression <cond>. The logical condition can consist of more than one comparison. In each comparison, the first operand must be a component of the line structure.
Syntax
DELETE ADJACENT DUPLICATE ENTRIES FROM <itab> http://COMPARING... .
Deletes adjacent duplicate entries, either by comparing the key fields or the comparison fields specified explicitly in the COMPARING addition.
DELETE for Lines from Index Tables
Deletes entries from index tables.
Syntax
DELETE <itab> INDEX <idx>.
If you use the INDEX addition, the line with index <idx> is deleted from the table <itab>. Without the INDEX addition, you can only use the above statement within a LOOP. In this case, you delete the current line.
Syntax
DELETE <itab> FROM <n1> TO <n 2> WHERE <cond>.
The system deletes all of the lines of <itab> whose index lies between <n 1 > and <n 2 > and who meet the conditions specified in the WHERE clause. If you do not specify a FROM addition, the system deletes lines from the first line onwards. If you do not specify a TO addition, the system deletes lines up to the last line. The logical condition can consist of more than one comparison. In each comparison, the first operand must be a component of the line structure.
REFRESH
Initializes an internal table.
Syntax
REFRESH <itab>.
Resets the internal table <itab> to its initial value, that is, deletes all of its lines.
REFRESH CONTROL
Initializes a control.
Syntax
REFRESH CONTROL <ctrl> FROM SCREEN <scr>.
The control <ctrl> defined in the CONTROLS statement is reset with the initial values specified for screen <scr>.
hope it will be useful.
Reward points Please..

Similar Messages

  • Diff between Serialization and Synchronization

    Hi I am new to java.
    Pl. give me the difference between Serialization and Synchronization.
    Thankq
    Sridhar

    Don't you look at the timestamps of posts? They could
    have been typing at the same time.
    /KajPlease stop! I'll die laughing. LOL
    Re: Diff between Serialization and Synchronization
    Author: Annie.   Apr 11, 2005 10:30 AM (reply 1 of 4)  
    Re: Diff between Serialization and Synchronization
    Author: glrao   Apr 12, 2005 8:31 AM (reply 2 of 4) I really like your sense of humor.
    xH4x0r

  • Types of  DTP , Diff between Standard and Error DTP

    Hi experts,
    What is DTP ,  are the Types of  DTP , Diff between Standard and Error DTP , how it works in BI 7.0.
    I will assign points for your valuable answers.

    Hello ,
    Data transfer process (DTP) to transfer data within BI from one persistent object to another object, in accordance with certain transformations and filters. In this respect, it replaces the data mart interface and the InfoPackage. As of SAP NetWeaver 7.0, the InfoPackage only loads data to the entry layer of BI (PSA).
    The data transfer process makes the transfer processes in the data warehousing layer more transparent. Optimized parallel processing improves the performance of the transfer process (the data transfer process determines the processing mode). You can use the data transfer process to separate delta processes for different targets and you can use filter options between the persistent objects on various levels. For example, you can use filters between a DataStore object and an InfoCube.
    Data transfer processes are used for standard data transfer, for real-time data acquisition, and for accessing data directly.
    1.Benefit: Data ‘Distribution’within BI Capabilities (from PSA or InfoProviders to InfoProviders)
    2.Improved transparency of staging processes across data warehouselayers (PSA, DWH layer, ODS layer, Architected Data Marts)
    3.Improved performance and high scalability
    4.Separation of delta mechanism for different data targets: delta capability is controlledby the DTP
    5.Enhanced filtering in dataflow
    6.Repair modus based on temporary buffers (buffers keep complete set of data)
    See these docs for more info
    [Data Transfer Process |http://help.sap.com/saphelp_nw04s/helpdata/en/42/f98e07cc483255e10000000a1553f7/content.htm]
    [Enterprise Data Warehouse (EDW)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a]
    [What's New with SAP NetWeaver 2004s - Detailed|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/910aa7a7-0b01-0010-97a5-f28be23697d3]
    [SAP NetWeaver 7.0 ETL and EII|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0b24053-654e-2a10-4180-b0e7c7b4c9f2]
    [How to Create Monitor Entries from a Transformation Routine (NW7.0)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50fda171-e36e-2910-9290-e3dab26c50b5]
    FAQ on SAP NetWeaver 2004s
    [Modeling the Enterprise Data Warehousing for SAP NetWeaver 2004s FAQ|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7c2a7c65-0901-0010-5e8c-be0ad9c05a31]
    [Enterprise Data Warehousing for SAP NetWeaver 2004s FAQ|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c9f5fb91-0c01-0010-67a8-fd35946e9403]
    Thanks
    Chandran

  • Diff between dbms_profiler and dbms_trace

    Hi,
    what would be the major diff between dbms_profiler and dbms_trace? which is more useful.
    Thanks,
    Mathew

    DBMS_PROFILER is one way to analyse where the time is being spent

  • Whats the diff between express and pro??

    Just wondering what the main diff between the two are. I've used pro at school, but cant afford to get it at home. Will i still be able to use the same audio instruments like the same synths and plug ins??? Also, would i be able to run the program on a mac mini (top of the line)?

    Matt Mac 63, "Whats the diff between express and pro??" #5, 10:33pm Oct 18, 2005 CDT
    All I was saying is that if a person can afford to get Pro, they definitely should. The difference in features adds up to at least the difference in price, if not very much more.
    Having said that, Express is good value compared to most other DAW software at that pricepoint, but it is only intended as a 'Lite' version.
    Some examples, off the top of my head, of differences not made really clear in the comparison list.
    Input Objects:
    In Pro you can use Input Objects to monitor incoming signal without rec-enabling a track. That doesn't sound much, on the face of it, but what it means is you can use external FX units (hardware) as inserts in tracks (or busses) just like plugins, and bounce them with the mix. it also means you acn monitor what you are playing into Logic Pro with plugin FX applied, but record dry so you can hear your guitar with the reverb, or whatever, but still have the recorded dry signal so you can change the FX settings later.
    Pro has some very handy environment objects. The main one being the Trabsformer object. But also another extremely useful object is TouchTracks.
    If you've ever played with Ableton Live you would have noticed you can triger clips with the keyboard in all different ways (loop, gate loop, one shot etc.) Well TouchTracks does that with MIDI regions.(I have a feeling that feature in Live was modeled after Logic's TouchTracks' as it is incredibly similar.)
    They are only a few examples of a whole range of differences. If all the differences were itemized in the 'comparison chart' it would be about 3 pages long.
    All I am saying is, don't take the comparison chart as the definitive list of differences.
    yes, Express is a good basic tool and you can do a lot with it, with some imagination.
    The SOS author's claim that:
    you're paying less than a third of the price of Logic Pro and getting over 90 percent of the functionality."
    is not true in totality.
    It may be true to someone who has never dabbled in audio software before, because it takes literally years to become fully conversant with every function in Logic Pro, and no-one uses absolutely everything.
    But for serious users, who have big demands, in my opinion, Express is less than 30% of Pro's functionality.

  • Diff between issession and issystem

    All,
    Wanted to understand ..When we need to restart he DB servers in case if we change some parameters ...?
    What is the diff between issession and issystem modifiable clauses ...?
    Thanks

    Got the answer

  • Diff Between PCC and PC by Order

    Dear Team,
    Why PCC does not support Actual Cost Method and Why PC by Order does't not support Target Cost Method?
    Please give your views and comments.
    Best Regards,
    Satish

    hi
    =========================
    what is diff between billing and invoice?
    From the help for cash order, it says that the invoice will print immediately after order created, the billing will be done seperately by transaction after delivery. Can anyone explain more detail.
    =================
    based on ur query.. Billing and Invoice are one and the same.. the difference is that in general business terminology Billing means the process of crediting the customer to the certain sum of money either by cash or credit, for the goods or services purchased by him... this process consists of many other documents like credit note, debit note, invoice, etc. 
    Invoice is the Printed format of the Bill ie, the sum of amount the customer is credited is made available in the printiable format....
    dont get confused by the Billing and Invoice words.. in simple way invoice is one of the documents generated during the billing process.. Billing is a process which consists of various different documents which are generated depending on the business requirements...
    Reward if USeful
    Thanx & regards.
    Naren..

  • Diff Between Interfaces and API

    Hi to all.
    Can anybody tell me , What is the basic diff between API and Interfaces ?
    Thanks in advance

    Hi Lalit,
    Both place validation will happen. In Interface table as well as in API.
    The difference you can say..for interface you have to load the data in and invoke the import program by which it will populate data in oracle apps base table. So you have to write some DML.
    While in API you can simply use PLSQL record type and using that invoke API by which it will populate record in oracle apps base table.
    Keep in mind both ways the validation happens. It is just the approach and some part is just for legacy data conversion.
    Regards
    Prashant Pathak

  • Diff between ides and original package

    can any one tell me what are main diff between ides and original package
    thanks
    with regards,
    phani

    HI.,
                  IDES saytem is like a play ground in which we do all the transcations,But in Real time systme we dont have as many reference clients as IDES systme have,We have one reference client 0001 In real time systme as their land scape is laid as development,Testing & Production systems
              Important thing is all the screens & T.codes are sames in both
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • Diff between cusztmizing and workbench request

    could u please let me know what is diff between workbench and custmizing req ?
    Regards

    Hello,
    customizing req vs workbench request
    Check this info.
    Workbench Requests
    When you change a Repository object of the ABAP Workbench, a query window appears in which you need to specify a Workbench request. You can only save the changes if you have assigned the object to a change request.
    Workbench requests and the tasks assigned to them are normally used to record changes to Repository objects and Customizing for all clients. However, you can also include client-specific Customizing.
    Whether the changes to Repository objects are transported depends on whether a transport route is defined from the current SAP System for the package of these objects. From the system settings, the system automatically determines whether the change requests are transportable and to which target system they should be transported.
    Customizing requests
    Customizing requests record client-specific Customizing settings made in a single client (the source client of the request).
    Automatic recording of configuration activities in the Customizing work for a client can be activated or deactivated for each client with Client Control. If automatic recording is active, a query window appears when you change Customizing settings, asking you to specify a Customizing request.
    Whether Customizing requests are transported or not, does not depend on the objects entered, as is the case with Workbench change requests. The Customizing requests in an SAP System (or in a client if you use Extended Transport Control) are either all transportable or all local, depending on the system setting. The system uses the standard transport layer to determine automatically whether the change requests are transportable and to which target system they should be transported. However, you can change this manually.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards,
    Jorge Diogo

  • Diff. between currency and unit fields

    Hi All,
    What is the diff. between 0DOC_CURRCY and 0CURRENCY, OUNIT and 0BASE_UOM? In which scenarios do we use each of them?
    I have a flat file which contains some values for sales and quantity but does not have any units. So I have to upload them using constant currency and unit. now, I have to create my own keyfigures for the sales and quantity. What currency and unit fields should I use i.e 0CURRENCY or 0DOC_CURRCY and OUNIT or 0BASE_UOM?
    Thanks a lot,
    James.

    hi James,
    0doc_currency, 0currency share the same master data->0currency, 0unit, 0base_uom share the same master data->0unit, the 'basic' infoobject is 0currency and 0unit, all currency and unit will have reference to these infoobjects.
    currency is used for keyfigures amount, with currency e.g usd, gbp, etc.
    unit for keyfigures quantity, with unit like KG, CM etc.
    currency tables are TCUR* and unit table T006*
    you can use any of these infoobject currency or unit in your keyfigure (RSD2) or fix value like USD etc, normaly 0doc_currcy used for document currency; 0loc_currcy for local currency, you can create your own infoobject currency/unit with RSD3.
    hope this helps.

  • DIFF BETWEEN DEPOT AND WARE HOUSE

    HI
    MY CLIENT IS IN THE TRADING NOT IN MANUFACTURING SO IS THERE RG23D REGISTER UPDATE?? BUT THEY CALLED IT DEPO.
    WAT IS DIFF BETWEEN DEPOT AND WAREHOUSE??
    POINTS WILL BE MAXIUM!!!!!!!!

    Dear Devesh,
    Depot
    A unit, in India, that is dedicated to the storage and sale of goods, as opposed to a manufacturing plant.
    Depots:Do not participate in the CENVAT scheme
    Depots:Are required to keep a register of all goods receipts and goods issues (register RG 23D)
    Warehouse
    An organizational division of a plant for managing materials stored in different places.
    I hope this will help you,
    Regards,
    Murali.

  • Diff between JBI and JCA & JMS

    Hi,
    i am new to JBI. I want what is the diff between JCA and present JBI.
    any one can give some explanition and suggest some links to fine the content.
    Thanks In advance
    Pandu

    The challenge with JCA plugins is that the plugins don't know how to talk to each other as there is no standard way for them to communicate. Also, the installation of these plugins is not standardized. JBI spec is built around the WSDL model so any plugin can talk to any other plugin in a standard fashion. The routing of these messages is taken care by the normalized message router. Similarly the spec clearly spells out a packaging model for the plugin so that it can be installed into any standard container. Furthermore, by using standard JMX mbean mechanism, you can control the state of this plugin.
    Reg. the NMR implementation, the spec confines itself to a single VM. Whether NMR is built on top of a message broker or a simple router like what we have in Open ESB is up to the implementation choice.
    While a JMS based routing works for some of the configurations, requiring JMS for every routing decision is not optimal.
    Suresh

  • Diff. between table and template in smartforms

    hi there,
    please tell me what the diff. between table and template options available in smartforms

    HI
    GOOD
    TABLES=>
    In forms of business procedures you usually want to list details such as open items of an invoice. You can use a Smart Form to display this data in a table. You can design the layout of the table independent of the number of lines it will contain. The size of the table depends on how much data the application program passes to the form at runtime (unlike with templates, where you specify the number of columns and lines explicitly). The table can cover one or more pages, depending on the number of lines. This is why you display tables in the main window.
    TEMPLATES=>
    Use node type Template to display a table whose layout and size (number of lines and columns) is determined before the runtime of the application program. For this reason, a template is also called a static table.
    To create a template, define a table layout to determine the cell structure for each line. The cells are used to display the contents of the inferior nodes of the template node. This allows you to position text and a graphic side by side (see Displaying Graphics in Templates).
    The template node is also suited for label printing.
    GO THROUGH THIS LINK
    http://help.sap.com/saphelp_nw04/helpdata/en/4b/83fb4edf8f11d3969700a0c930660b/content.htm
    THANKS
    MRUTYUN

  • Could anybody explain what  is the difference between cloning and refresh

    Hi,
    Could anybody explain what is the difference between cloning and refresh
    What exactly we do in only E-business suite clone(Database and applications) and only database clone and refresh
    Regards,
    ravi

    Welcome to the forum,
    Database Cloning includes cloning the ORACLE_HOME of the database and the copying of data from source to target instance.
    Database Refresh includes copying of data from source to target instance. ORACLE_HOME is not copied during a Database refresh.
    Similarly Apps cloning includes cloning the techstack, i.e the 806, iAS homes along with APPL_TOP, COMMON_TOP and the Database
    Apps refersh is again copying the database from source to target. The techstack or the APPL_TOP or COMMON_TOP are not copied during an Apps refresh
    see this post
    http://sabdarsyed.blogspot.com/2008/08/cloning-and-refreshing-oracle-database.html

Maybe you are looking for

  • My external hard drive appears in bootcamp but not on my mac partition

    This is intriguing. I own a macbook pro and run osx 10.6.8 I recently bought a new 1 tb hard drive and partitioned it. (300G for time machine and another for 700G for random things). It was working fine until I tried logging onto my bootcamp partitio

  • Seeking Feedback on Inforation/Data for Cisco Support (crosspost)

    I'm  working with a team exploring ways to improve your TAC Support  experience.  Several questions have come up that we would  like customer/partner feedback on.  Here's the first one: 1.     What data or information are you asked  for repeatedly wh

  • Subway Surf

    I have seen a guy playing subway surf on his Z10. But it doesn't shows up in BB world. How is that possible ?

  • QuickTime Pro 7.55.90.70

    Another Apple product purchase is hanging on the balance here. How can I quickly (my meager hourly USD wages have easily been burned in addition to two kids that need to be bathed for school) reinstall this on my PC? I have my key code (authorized on

  • How to install adobe cs6

    I just download premiere pro cs6 and the installation process this message "verification failure GENUINE ADOBE SOFTWARE" do not understand why this happens appears, I need help, thanks.