Difference between with table name with * and without *

Hi..
I had seen some of the standard abap that the table name had *, like *ekpo. What is the meaning? What is the difference between with * and without * ? 
Thanks and Regards,
Rishika

Hi rishika,
1. This is actually a facility provided in abap syntax.
2. It is usually checked while saving a record.
3. For eg.
If we have one variable
EKKO
and another *EKKO
(They both are same only, with same structure)
(but two different variables)
4. The functional meaning, for usage purpose,
of *EKKO is OLDEKKO.
5. While saving the transaction,
the data is saved only if there is any change
in the values.
IF EKKO <> *EKKO.
*--- SAVE
ELSE.
MESSAGE 'NO DATA CHANGED'
ENDIF.
6. We can aswell use any other variale
eg. oldekko
oekko
myekko
etc,
7. But for business meaning,
R/3 has the facility for *
1. we can use almost everywhere.
2. just copy paste
report abc.
TABLES : T001.
TABLES : *T001.
DATA : ITAB LIKE EKKO.
DATA : *ITAB LIKE EKKO.
DATA : NUM TYPE I.
DATA : *NUM TYPE I.
regards,
amit m.

Similar Messages

  • Difference between DESCRIBE TABLE..... and  SY-DBCNT

    Hi,
    i want to know the difference between DESCRIBE TABLE.. command and SY-DBCNT.

    hi
    good
    SY-DBCNT->
    SY-DBCNT gives the number of records in database table
    After an open SQL statement, the system field sy-dbcnt contains the number of database lines processed.
    REPORT ychatest.
    DATA : v_matnr LIKE mara-matnr.
    SELECT matnr FROM mara INTO v_matnr UP TO 1 ROWS.
    ENDSELECT.
    WRITE : sy-dbcnt.
    DESCRIBE->
    DESCRIBE LIST
    The DESCRIBE LIST statement allows you to import certain list attributes, such as the number of lines or pages, into program variables.
    you need to know the attributes of list levels that were not stored in system variables during list creation, you can use the DESCRIBE LISTstatement.
    To retrieve the number of lines or pages of a list, use:
    DESCRIBE LIST NUMBER OF LINES|PAGES n ...
    To get the page number of a particular line number, use:
    DESCRIBE LIST LINE lin PAGE pag ...
    To get the properties of a particular page, use:
    DESCRIBE LIST PAGE pag ...
    Use DESCRIBE LIST for completed lists only, since for lists in creation (index is sy-lsind) some properties are not up to date.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm
    thanks
    mrutyun^

  • The difference between the upgrades with and without MO?

    I did many upgrades without maintenance optimizer.
    But I did not use maintenance optimizer so far.
    Could you summarize the differences between the upgrades with and without MO?
    Thanks!

    The upgrade is the same, procedure is the same, glitches are the same, tools are the same. The only difference is, that you MUST use maintenance optimizer to confirm the supportpackages in your download basked before you're able to download them.
    Nothing else is changing
    Markus

  • What is the difference between READ TABLE ITAB WITH KEY  and  TABLE KEY

    Hi Experts,
    what is the difference between
    READ TABLE <ITAB> WITH KEY <K1> = <C1>
                                                    <Kn> = <Cn> .
    and 
    READ TABLE <ITAB> WITH TABLE KEY <K1> = <C1>
                                                              <Kn> = <Cn> .
    Thanks
    Akash.

    Hi akashdeep,
    Nice question. I also tried to find out, but no much success. My opinion is that for practical purposes there is no difference.
    It may have difference in case of searching, especially sorted tables. (binary search or normal linear search).
    Case1: If our table is sorted table with defined key fields, and we give WITH TABLE KEY, then faster binary search is used.
    Case2 : If our table is sorted table with defined key fields, and we give WITH  KEY, (and no field contained in the keys), then normal linear search is used.
    regards,
    amit m.

  • Counter KF with 1 & 0 and difference between data type NUMBER (DEC) and INTEGER (INT4)

    Hi,
    I need to create a counter kf which should populate 1 and 0 to this counter field. Please let me know is there any difference between data type
    NUMBER (DEC) and INTEGER (INT4).
    Please suggest.
    Thanks & Regards,
    Pavan kumar

    Hi Pavan,
    The basic difference between Number(DEC) and INT4 is its internal storage in system.
    For Number (DEC) - Value internally stored as packed number with 3 decimal places whereas INT 4 as 4 byte integer without decimal places.
    For counter KF, you can go for INT 4.
    Hope this helps.
    Thanks

  • What is the difference between the 4th generation ipad and the ipad 3 with retnia display?

    What is the difference between the 4th generation iPad and the "New iPad with retina display"? i don't quite understand. are they stilll the same size or would i have to get a different case?

    The 3rd and 4th generation iPads are the same size. The 4 has a faster processor, and a little better iSight camera for FaceTime. The 4 also has the lightning connector so your old cable will not work with the iPad 4.
    You should always check with the manufacturer of the case to see if it will fit. You can probably do that on the manufacturers website.
    This might be of some interest to you.
    http://www.zdnet.com/ipad-4-teardown-pretty-much-the-same-as-the-ipad-3-70000068 33/

  • Is there a big difference between Intel Iris Pro graphics and the NVIDIA GeForce GT 750M graphics processor with 1GB of GDDR5 memory

    Is there a big difference between Intel Iris Pro graphics and the NVIDIA GeForce GT 750M graphics processor with 1GB of GDDR5 memory, is it worth paying an extra $200?

    Software support of graphics card is key.   If no graphics card is mentioned in software specs, then it can be ignored.  Mostly games and high end image and video graphics software are affected.

  • Wat is the exact differences between clustered table and pooled table

    hi,
       can you tell me ravi...wat is the exact differences between clustered table and pooled table
    with regards//
    anilreddyg

    Hi Anil Reddy
    Pooled Tables, Table Pools, Cluster Tables, and Table Clusters
    These types of tables are not transparent in the sense that they are not legible or manageable directly using the underlying database system tools. They are managed from within the R/3 environment from the ABAP dictionary and also at runtime when they are loaded into application memory.Pool and cluster tables are logical tables. Physically, these logical tables are arranged as records of transparent tables. The pool and cluster tables are grouped together in other tables, which are of the transparent type. The tables that group together pool tables are known as table pools, or just pools; similarly, table clusters, or just
    clusters, are the tables which group cluster tables.Not all operations that can be performed over transparent tables can be executed over pool or cluster tables.
    For instance, you can manage these tables using Open SQL calls from ABAP, but not Native SQL.These tables are meant to be buffered and loaded in memory, because they are commonly used for storing internal control information and other types of data with no external (business) relevance. SAP recommends that tables of pool or cluster type be used exclusively for control information such as
    program parameters, documentation, and so on. Transaction and application data should be stored in transparent tables.
    Table Pools
    From the point of view of the underlying DBMS as from the point of view of the ABAP dictionary, a table pool is a transparent table containing a group of pooled tables which, when created, were assigned to this table pool.
    Field Type Description
    TABNAME CHAR(10) Table name
    VARKEY CHAR(n) Maximum key length n =< 110
    DATALN INT2(5) Length of the VARDATA record returned
    VARDATA RAW(m) Maximum length of the data varies according to DBMS
    Table Clusters
    Similarly to pooled tables, cluster tables are logical tables which, when created, are assigned to a table cluster. Therefore, a table cluster, or just cluster, groups together several tables of type clusters.Several logical rows from different cluster tables are brought together in a single physical record. The records
    from the cluster tables assigned to a cluster are thus stored in a single common table in the database.A cluster contains a transparent cluster key which must be located at the start of the key of all logical cluster tables to be included in the cluster. As well, a cluster contains a long field (VARDATA), which contains the
    data of the cluster tables for this key. If the data does not fit into a field, continuation records are created.
    Field Type Description
    CLKEY1 CHAR(*) First key fields
    CLKEY2 CHAR(*) Second key field
    CLKEYN CHAR(*) nth key field
    PAGENO INT2(5) Number of the next page
    TIMESTMP CHAR(14) Time stamp
    PAGELG INT2(5) Length of the VARDATA record returned
    VARDATA RAW(*) Maximum length of the data section; varies according to database system
    Working with Tables
    The dictionary includes many functions for working with tables. There are five basic operations you can perform on tables: display, create, delete, modify, copy. Please do not confuse displaying a table with displaying the table entries (table contents). In order to display a table, it must previously exist; otherwise the system will display an error message in the status bar. For the following example, the table TABNA is used. To display this table, from the main dictionary screen, enter the table name in the Object name
    input field with the radio button selected next to Tables. Then, click on the Display button at the bottom of the screen, or press the F7 function key, or, alternatively,
    select Dictionary object Display from the menu.
    In this screen, you can see table information such as
    ¨ Table type, shown next to the name of the object. In the example, it is a transparent table.
    ¨ Short text description.
    ¨ Name of the user who made the last change, and the date of the change.
    ¨ Master language.
    ¨ Table status. On the screen, you can see this table is saved and active.
    ¨ Development class. For information on development classes, refer to Chap. 6.
    Delivery class, which sets the maintenance group for the table. It controls how tables will behave during client copy procedures, upgrades, and so forth.¨
    Tab. Maint. Allowed flag, which indicates whether you can generate a screen for maintaining table entries.
    ¨Then, on the lower part of the screen, you can see the table fields with all associated characteristics such as:
    ¨ Field name.
    ¨ Key indicator. When set, this field is the primary key, or part of it.
    ¨ Data element.
    ¨ Basic data type.
    ¨ Length.
    ¨ Check table.
    ¨ Short text, describing the field.
    Additional information about the table can be displayed by selecting the corresponding functions from the menu or directly from the application toolbar, such as keys, indexes, or technical settings
    Standard table:
    The key access to a standard table uses a sequential search. The time required for an access is linearly dependent on the number of entries in the internal table.
    You should usually access a standard table with index operations.
    Sorted table:
    The table is always stored internally sorted by its key. Key access to a sorted table can therefore use a binary search. If the key is not unique, the entry with the lowest index is accessed. The time required for an access is logarithmically dependent on the number of entries in the internal table.
    Index accesses to sorted tables are also allowed. You should usually access a sorted table using its key.
    Hash table:
    The table is internally managed with a hash procedure. All the entries must have a unique key. The time required for a key access is constant, that is it does not depend on the number of entries in the internal table.
    You cannot access a hash table with an index. Accesses must use generic key operations (SORT, LOOP, etc.).
    Index table:
    The table can be a standard table or a sorted table.
    Index access is allowed to such an index table. Index tables can be used to define the type of generic parameters of a FORM (subroutine) or a function module.
    Just have a look at these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/90/8d7304b1af11d194f600a0c929b3c3/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/74/83015785d811d295a800a0c929b3c3/frameset.htm
    Regards
    Sreeni

  • Difference between Temp table and Variable table and which one is better performance wise?

    Hello,
    Anyone could you explain What is difference between Temp Table (#, ##) and Variable table (DECLARE @V TABLE (EMP_ID INT)) ?
    Which one is recommended to use for better performance?
    also Is it possible to create CLUSTER and NONCLUSTER Index on Variable table?
    In my case: 1-2 days transactional data are more than 3-4 Millions. I tried using both # and table variable and found table variable is faster.
    Is that Table variable using Memory or Disk space?
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Check following link to see differences b/w TempTable & TableVariable: http://sqlwithmanoj.com/2010/05/15/temporary-tables-vs-table-variables/
    TempTables & TableVariables both use memory & tempDB in similar manner, check this blog post: http://sqlwithmanoj.com/2010/07/20/table-variables-are-not-stored-in-memory-but-in-tempdb/
    Performance wise if you are dealing with millions of records then TempTable is ideal, as you can create explicit indexes on top of them. But if there are less records then TableVariables are good suited.
    On Tables Variable explicit index are not allowed, if you define a PK column, then a Clustered Index will be created automatically.
    But it also depends upon specific scenarios you are dealing with , can you share it?
    ~manoj | email: http://scr.im/m22g
    http://sqlwithmanoj.wordpress.com
    MCCA 2011 | My FB Page

  • Bex Report with and without BIA . . Fails with a dump EXPORT_TOO_MUCH_DATA

    Hi Folks,
    We have a report thats has been running well in production for more about 18 months. This month it did not complete execution.
    We did implement BIA couple of 4 months back and the run times have drastically reduced after the BIA. Now this query execution results in a Dump with and without BIA.  FYI the underlying cube has 195,876,020 records only.
    Name of Runtime error: EXPORT_TOO_MUCH_DATA
    Short text:     Too much data for export.
    What happened?     Runtime error
        The current ABAP program "CL_RSR_CACHE_DO_SPID==========CP" had to be
         terminated because one     of the statements could not be executed at runtime.
    Error analysis: The dataset stored under an EXPORT/IMPORT ID is restricted
    by
    1. The maximum possible size of 2 GB
    2. The length of a data record and the capacity of the sequence counter. This error occurs only if the capacity of the
    sequence counter does not go beyond 255.
    Source Code Extract:
        1 METHOD if_rsr_cache_data_object~get_xstring.
        2
        3   FIELD-SYMBOLS:
        4     <l_xstring>            TYPE xstring,
        5     <l_sp>                 TYPE ANY,
        6     <l_spinfo>             TYPE ANY.
        7
        8   CREATE DATA r_r_xstring.
        9   ASSIGN r_r_xstring->* TO <l_xstring>.
       10   ASSIGN n_s_spid-r_sp->*     TO <l_sp>.
       11   ASSIGN n_s_spid-r_spinfo->* TO <l_spinfo>.
       12
       13 *... Sp has to be the first component
    >>>>>   EXPORT sp = <l_sp> spinfo = <l_spinfo>
       15          TO DATA BUFFER <l_xstring> COMPRESSION ON.
       16
       17 ENDMETHOD.
    Referred to the below note 0001232573
    which says to have 'RSRCACHE_ITAB_COMPR'  parameter using report SAP_RSADMIN_MAINTAIN
    Note say the below (It might be a little tricky, to find an appropriate value for 'RSRCACHE_ITAB_COMPR' as it heavily depends on the query-specific data structures that are stored in the cache. The general recommendation would be to start with a value of about 5000. Test this with a query, that dumped previously. In case the dump persists reoccurs, reduce the value of the parameter significantly. Otherwise, if no dump occurs but you face noticeably longer runtimes, increase the parameter.)
    We are trying not able to get to the right parameter value. (changed it from 5000, 4000, 3000, & 1000) without much  help.  Did any of you had to change this parameter. How low or High can this parameter be changed?
    We would like to understand if changing any other parameters would help in RSADMIN table would help?
    Any thoughts from the experts would be appreciated
    Thanks,
    FHF

    Hi,
    Are you running the report for all the selections(all the data )?
    execute the report with data selection and check?
    Is the data in the Ic - compressed?
    Regards
    KP

  • Physical inventory with and without handling unit managment

    Hello all,
    I would like to know what is the difference between physical inventory with and without handling unit management.
    Pl. advise.
    Thanks,
    Maxx

    Assuming you are referring to WM inventory, it is very similar.  Inventory is conducted at the SU level in WM if you are HU managed.  One of the most widely known issues is the lack of ability to post differences of nested HUs at the WM level.  If you are not using nested HUs, the process is the same as storage unit management without handling unit management.

  • Boolean mapping functions n SAP XI (withS and withoutS)

    Dear All,
    What is the difference between the following standard boolean mapping functions provided in SAP XI (withS and withoutS)?
    i.e.
    1. difference between if and ifS
    2. difference between ifWithoutElse and ifSWithoutElse
    Thanks and Regards,
    Rana

    similar thread:
    SAP PI - Differenxce between Boolean functions IFS and if-then-else

  • Issue Differences between the table of totals (ZFXX00T)  and detail (ZFXX00

    Hi,
    Currently I have a issue in the FI-SL module with Differences between the table of totals (ZFXX00T)  and detail (ZFXX00A). And I do not Know why. Please your help or comments.

    did you try ERP Financials forum yet? a lot of FI-SL has been replaced with SAP Ledger FAGLFLEXA and T tables.
    @greg_not_so

  • PlayEvent - with and without the TemporalProxyElement

    I looked through the bug base and didn't see anything on this topic:
    I'm testing the way the PlayEvent works and have found a difference between
    using a SerialElement with and without the TemporalProxyElement.
    Test 1:  (standard SerialElement with 3 videos )
    video1:  evt.playState = playing
    video1:  evt.playState = stopped
    video2:  evt.playState = playing
    video2:  evt.playState = stopped
    video3:  evt.playState = playing
    video3:  evt.playState = stopped
    Test 2:  (standard SerialElement with 3 images using TemporalProxyElement )
    image1:  no event fired
    image2:  evt.playState = playing
    image3:  evt.playState = playing
    image3:  evt.playState = stopped
    My thinking these 2 tests should be identical. Is this correct or a bug?
    I don't see any dependable way of using the PlayEvent under these conditions.

    Hi,
    This may be coming from limitation of imageElement (image vs video), but I have a bug file logged here with an example in case, so that our eng can take a look.
    https://bugs.adobe.com/jira/browse/FM-342
    Ryan

  • SAPU with and without Modi As..!

    From which table and with what filter we can get the list of with and without modification assistance objects which will get listed in SAPU?

    Hello Dhamodaran,
    You can do it by simply selecting the check boxes in the SPAU transaction. In the SPAU Transaction screen you will be able to select objects which can be modified with and without modification assistant.
    If you are trying to download this list you can so it by System->List->Save.
    Thanks,
    Sai

Maybe you are looking for