What is difference of temporary lob in plsql

hi all,
what is difference of temporary lob for plsql, i mean for ex what is difference for theese codes:
Declare
MyClob Clob;
X pls_integer;
begin
MyClob := 'something clob operation';
x := DBMS_Lob.InStr(MyClob, 'lob');
end;
Declare
MyClob Clob;
X pls_integer;
begin
DBMS_Lob.CreateTemporary(MyClob, True);
MyClob := 'something clob operation';
x := DBMS_Lob.InStr(MyClob, 'lob');
DBMS_Lob.FreeTemporary(MyClob);
end;
i know that temporary clob is stored in temporary tablespace but in the first code block above, what is difference ?
thanks

what is difference ? In this case there's no difference, because the temporary lob is created »silently«: From the Temporary LOB Performance Guidelines:
If you use the newly provided enhanced SQL semantics functionality in your applications, then there are many more temporary LOBs created silently in SQL and PL/SQL than before.
In particular, these temporary LOBs are silently created when you use the following:
SQL functions on LOBs
PL/SQL built-in character functions on LOBs
Variable assignments from VARCHAR2/RAW to CLOBs/BLOBs, respectively.
Perform a LONG-to-LOB migration
Things get different, when no »silent« creation takes place as e.g. in
SQL> declare
  2     myclob   clob;
  3     myclob2 clob;
  4  begin
  5     myclob := 'something clob operation';
  6     dbms_lob.append(myclob2, myclob);
  7  end;
  8  /
declare
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified:
ORA-22275
ORA-06512: at "SYS.DBMS_LOB", line 639
ORA-06512: at line 6then you can either use createtemporary procedure
SQL> declare
  2     myclob   clob;
  3     myclob2 clob;
  4  begin
  5     dbms_lob.createtemporary(myclob2,true);
  6     myclob := 'something clob operation';
  7     dbms_lob.append(myclob2, myclob);
  8  end;
  9  /
PL/SQL procedure successfully completed.Or force some other initialization:
SQL> declare
  2     myclob   clob;
  3     myclob2 clob;
  4  begin
  5     myclob := 'something clob operation';
  6     myclob2 := trim(to_clob(' '));
  7     dbms_lob.append(myclob2, myclob);
  8  end;
  9  /
PL/SQL procedure successfully completed.

Similar Messages

  • Temporary LOBs - bad performance when nocache is used

    Hello.
    Please, advise me what could be the reason of bad performance row 8 from the next anonymous block:
    declare
        i integer;
        c clob := 'c';
        procedure LTrimSys(InCLOB in clob ) is
            OutCLOB clob;
        begin
            DBMS_LOB.CREATETEMPORARY(OutCLOB, false, DBMS_LOB.call);
            dbms_lob.Copy(OutCLOB, InCLOB, dbms_lob.getlength(InCLOB));
            DBMS_LOB.freetemporary(OutCLOB);
        end;
    begin
        for j in 1 .. 1000 loop
            LTrimSys(c);
        end loop;
    end;
    I have two practically identical databases 10.2.0.4.0 EE 64-bit on Windows
    On first DB I have elapsed time: 4 sec, on second - 0.2 sec
    I didn't find important difference between init parameters (hidden parameters too).
    First DB has more memory (PGA) then second.
    Main time events in time of executing anonymous block on first DB are
    PL/SQL execution elapsed time
    DB CPU
    sql execute elapsed time
    DB time
    In second DB - the same but much less
    If I use caching of temporary LOBs then both DBs work fine, but I can not understand why first DB works slowly when I use nocache temporary LOBs.
    What can be the reason?

    I don't think that is the problem. See next outputs:
    select * from V$PGASTAT order by name
    NAME
    VALUE
    UNIT
    PGA memory freed back to OS
    49016834031616
    bytes
    aggregate PGA auto target
    170893312
    bytes
    aggregate PGA target parameter
    1073741824
    bytes
    bytes processed
    95760297282560
    bytes
    cache hit percentage
    93,43
    percent
    extra bytes read/written
    6724614496256
    bytes
    global memory bound
    107366400
    bytes
    max processes count
    115
    maximum PGA allocated
    2431493120
    bytes
    maximum PGA used for auto workareas
    372516864
    bytes
    maximum PGA used for manual workareas
    531456
    bytes
    over allocation count
    102639421
    process count
    57
    recompute count (total)
    117197176
    total PGA allocated
    1042407424
    bytes
    total PGA inuse
    879794176
    bytes
    total PGA used for auto workareas
    757760
    bytes
    total PGA used for manual workareas
    0
    bytes
    total freeable PGA memory
    75694080
    bytes
    select * from V$PGA_TARGET_ADVICE_HISTOGRAM where PGA_TARGET_FACTOR = 1
    PGA_TARGET_FOR_ESTIMATE
    PGA_TARGET_FACTOR
    ADVICE_STATUS
    LOW_OPTIMAL_SIZE
    HIGH_OPTIMAL_SIZE
    ESTD_OPTIMAL_EXECUTIONS
    ESTD_ONEPASS_EXECUTIONS
    ESTD_MULTIPASSES_EXECUTIONS
    ESTD_TOTAL_EXECUTIONS
    IGNORED_WORKAREAS_COUNT
    1073741824
    1
    ON
    2199023255552
    4398046510079
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    1099511627776
    2199023255551
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    549755813888
    1099511627775
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    274877906944
    549755813887
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    137438953472
    274877906943
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    68719476736
    137438953471
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    34359738368
    68719476735
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    17179869184
    34359738367
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    8589934592
    17179869183
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    4294967296
    8589934591
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    2147483648
    4294967295
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    1073741824
    2147483647
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    536870912
    1073741823
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    268435456
    536870911
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    134217728
    268435455
    0
    376
    0
    376
    0
    1073741824
    1
    ON
    67108864
    134217727
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    33554432
    67108863
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    16777216
    33554431
    1
    0
    0
    1
    0
    1073741824
    1
    ON
    8388608
    16777215
    10145
    45
    0
    10190
    0
    1073741824
    1
    ON
    4194304
    8388607
    20518
    21
    0
    20539
    0
    1073741824
    1
    ON
    2097152
    4194303
    832
    1
    0
    833
    0
    1073741824
    1
    ON
    1048576
    2097151
    42440
    0
    0
    42440
    0
    1073741824
    1
    ON
    524288
    1048575
    393113
    7
    0
    393120
    0
    1073741824
    1
    ON
    262144
    524287
    10122
    2
    0
    10124
    0
    1073741824
    1
    ON
    131072
    262143
    22712
    0
    0
    22712
    0
    1073741824
    1
    ON
    65536
    131071
    110215
    0
    0
    110215
    0
    1073741824
    1
    ON
    32768
    65535
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    16384
    32767
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    8192
    16383
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    4096
    8191
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    2048
    4095
    83409618
    0
    0
    83409618
    0
    1073741824
    1
    ON
    1024
    2047
    0
    0
    0
    0
    0
    1073741824
    1
    ON
    0
    1023
    0
    0
    0
    0
    0
    SELECT optimal_count, round(optimal_count*100/total, 2) optimal_perc,
           onepass_count, round(onepass_count*100/total, 2) onepass_perc,
           multipass_count, round(multipass_count*100/total, 2) multipass_perc
    FROM
           (SELECT decode(sum(total_executions), 0, 1, sum(total_executions)) total,
                   sum(OPTIMAL_EXECUTIONS) optimal_count,
                   sum(ONEPASS_EXECUTIONS) onepass_count,
                   sum(MULTIPASSES_EXECUTIONS) multipass_count
            FROM   v$sql_workarea_histogram);
    OPTIMAL_COUNT
    OPTIMAL_PERC
    ONEPASS_COUNT
    ONEPASS_PERC
    MULTIPASS_COUNT
    MULTIPASS_PERC
    12181507016
    100
    146042
    0
    0
    0

  • Temporary LOBs

    Would anyone be able to explain the interaction between the duration of a temporary LOB and the action of freeing it? The JDBC CLOB/BLOB classes require you to pick a duration when creating a temporary LOB (Call or Session - what is the difference?). If the freeTemporary() method is called before the expiration of the duration, does the temporary LOB remain for the rest of the specified duration?
    Geoff

    Would anyone be able to explain the interaction between the duration of a temporary LOB and the action of freeing it? The JDBC CLOB/BLOB classes require you to pick a duration when creating a temporary LOB (Call or Session - what is the difference?). If the freeTemporary() method is called before the expiration of the duration, does the temporary LOB remain for the rest of the specified duration?
    Geoff

  • What is difference bet runtime analysis & performance analysis..?

    Hi,
    I am Siva Reddy,
    I am new to ABAP,
    I have a doubt,
    Please clarify my doubt..
    what is difference bet runtime analysis & performance analysis..?
    Points will be given to perfect answers..
    Regards,
    Siva Reddy.

    Hi Siva!
    This runtime analysis tools allows the ABAP/4 programmer to trace the tables used by the SAP dialog/reports programs.  In the Analyze button, you can see four more buttons like:-
    Hit List
          Displays the execution time of each statement in the program.
    Tables
          Displays the tables accessed during run time.
    Group hit list
          Displays the execution time of all the statements and grouping them based on the type of command.  e.g. performs, SQL and internal tables used.
    Hirarchy
          Displays the execution time of each statement in the actual order in which were executed.  Uses indentation to indicate the level of nesting of statements within subroutines.
    Any tables use by the transaction or program can be easily trace with the runtime analysis tools.
    Go to transaction SE30
    Type in the transaction code you want to analyze
    4.6x
          In the Restriction section: select the TMP -> Temporary variant
          Click the Change button
          Click the Duratn/type
          Select None for Aggregation
          Save the variant and execute again
          After finishing the process, click back to SE30
          Use F3 to move back to the initial screen of SE30
          Click the Analyze Button
          Click Goto -> Object-centered hit list -> Database tables
    3.0x
          Click Execute
          After finishing the process, click back to SE30
          Click the Analyze Button
          Click the Table Button
    After retrieving the table names, you can check the raw data with transaction SE16 - Data Browser or SE11 - Dictionary.
    For example, if you want to display the data for MSEG  - Material Document table
          Transaction SE16
          Type in MSEG for Table name and click execute.
          Data Browser will display the default selection for you to display data.  If you did not change the default and click execute the data browser will display the first 500 records.
          Click Settings to change the List formats, User parameters and Fields for selection.
          In 4.6x, you can use SE16N.
          Transaction SE11 or SE12 (4.6x)
          Type in MSEG for Object name and click the Display button.
          Click Utilities -> Table contents for the default selection screen.  If you did not change the default and click execute, the Dictionary will display the first 500 record.
          Click Settings to change the List formats, User parameters and Fields for selection.
          Transaction SE17
          Type in the Table Name, put in the Selection value,  put a 'X' in the Output column to display the data field and put in the Sort number from 01..99 (if you want to sort).
    ools provided for Performance Analysis
    Following are the different tools provided by SAP for performance analysis of an ABAP object
       1. Run time analysis transaction SE30
    This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing.
       2. SQL Trace transaction ST05
        The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on the SPFLI table in our test program is mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
        The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    null

  • What is difference between sy-tabix and sy-index.

    SAP Seniors,
    Can you please let me know what is difference between sy-index and sy-tabix.
    I read the SAP help, it is confusing for me. it looks like both are same from help. please help me.
    Thank you
    Anitha.

    HI,
        Here is a brief description of difference between SY_TABIX and SY_INDEX and using them with several conditions.
    SY-TABIX
    Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.
    APPEND sets SY-TABIX to the index of the last line of the table, that is, it contains the overall number of entries in the table.
    COLLECT sets SY-TABIX to the index of the existing or inserted line in the table. If the table has the type HASHED TABLE, SY-TABIX is set to 0.
    LOOP AT sets SY-TABIX to the index of the current line at the beginning of each loop lass. At the end of the loop, SY-TABIX is reset to the value that it had before entering the loop. It is set to 0 if the table has the type HASHED TABLE.
    READ TABLE sets SY-TABIX to the index of the table line read. If you use a binary search, and the system does not find a line, SY-TABIX contains the total number of lines, or one more than the total number of lines. SY-INDEX is undefined if a linear search fails to return an entry.
    SEARCH <itab> FOR sets SY-TABIX to the index of the table line in which the search string is found.
    SY-INDEX
    In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.
    Hope this helps.
    Thank you,
    Pavan.

  • What is difference between sy-index and sy-tabix and where both are using ?

    what is difference between sy-index and sy-tabix and where both are using ?

    hi nagaraju
    sy-tabix is in Internal table, current line index. So it can only be used while looping at the internal table.
    sy-index is in Loops, number of current pass. This you can use in other loop statements also (like do-enddo loop, while-endwhile)
    SY-INDEX is a counter for following loops: do...enddo, while..endwhile
    SY-TABIX is a counter for LOOP...ENDLOOP, READ TABLE...
    Here is an example from which you can understand the difference between sy-tabix and sy-index.
    Itab is an internal table with the following data in it.
    id Name
    198 XYZ
    475 ABC
    545 PQR.
    loop at itab where id > 300.
    write :/ itab-id, itab-name , sy-tabix, sy-index.
    endloop.
    My output will be :
    475 ABC 2 1
    545 PQR 3 2
    Sy-tabix is the index of the record in internal table.
    sy-index gives the no of times of loop passes.
    So, for the first record in the output (475 ABC), 2 is the index of the record in internal table and as it is first time loop pass occured, sy-index value is 1.
    Regards,
    navjot
    award points

  • Getting Big Headache, What is difference between Flash Lite 3.1 and Flash Player 7

    Hello, I am asking questions about the two similar yet different programs for Pocket PC version only:
    1) Which came first, Flash Lite 3.1 or Flash Player 7?
    2) If I have both in my Pocket PC, will there be product incompatibility?
    3) What is the difference between Flash Lite 3.1 and Flash Player 7.
    4) I have a Flash Lite 3.1 but uninstall information says "Flash Lite 3.1 for Opera Mobile", did you releaase this? Is this an illegal copy? A developer's copy?
    *I don't know exactly where I got it, but I got it from the HTC developer's forum: XDA-developers.com
    *I also use Opera mobile, a web browser for Pocket PC's.
    5) What is difference between Flash Lite 3.1 and Flash Lite 3.1 for Opera? Is the only difference is that Flash Lite Supports everything flash related, while Flash Lite Opera supports only flash in opera?
    Hi, I don't expect all answers, but I hope someone or someone from adobe support can clear some things up for me.

    The program under my "remove programs" list is specifically called "Adobe Flash Lite for Opera". The XDA forums people said along time ago that it was Flash Lite, and kept calling it Flash Lite, and not Flash Player 7.
    Now what about this:
    http://www.adobe.com/products/flashlite/version/
    The table shows the differences between FP 7 SDK, FL 2.1, and FL 3.1. And it's quite obvious that FL 3.1 has way more features than Flash Player 7. What does SDK mean? And why are you telling me FP 7 has more features?
    With this information, can you or anyone else provide any more details and clarification?

  • In mail, what is difference between deleted and discarded mail

    In settings, mail, what is difference between deleted mail and discarded mail? My google account on iPad does not remove mail that I have deleted from account using other devices. My other devices and google accounts don't have this issue. I've checked settings for account and can not isolate the cause. I'm considering deleting account from iPad and then adding it back in to see if that removes the 1000+ emails that have accumulated. I don't usually use iPad for email which is why they are mostly unread on iPad.

    this might help to understand
    Collection Classes
    Often we have to deal with a set or group of objects, or values. Collection Classes are important structures that have a number of methods that allow objects to be added, retrieved, or removed from such collections.
    Objects can be grouped in a collection like sets, lists, stacks, or queues.
    A set is an unordered collection of elements, from which any item may be removed.
    A list is an ordered collection of elements, from which any item may be removed.
    A stack is a restrictive form of list that obeys a last-in-first-out (LIFO) rule.
    e.g.     a stack of plates stored after being washed, then used again.
    A queue is also a restrictive form of list that obeys a first-in-first-out (FIFO) rule.
    e.g.     a queue at a bus-stop, where the first bus to join the queue is the first one to leave.
    An important Java Collection class is the Vector class:
         java.util.Vector
    This vector class is a simple list of objects, which can be referenced by an index starting from 0 (similar to arrays). The components of a vector must be objects.
    i.e. Vector: object0 object1 object2�lastObject .. spare
    capacity                         ( size - 1)
    So, a vector can grow as more objects are added. The size of a vector is how many objects are in the vector. The capacity is how many objects can be stored in the vector before it needs to expand again. When it needs to expand it normally doubles its capacity. The default capacity is 10.
    e.g.     Vector v1;          // declare v1 as a Vector object
         v1 = new Vector();     // create a Vector instance

  • What is difference between MBEWH & MCHBH table?

    hi guru's
    what is difference between MBEWH & MCHBH table?
    wat ever stock in these table are different?
    i am doing support already i have two reports one is for Stock at PLANT level and one BATCH level . they used table for quantity MBEWH for PLANT level .and MCHBH for BATCH level wat ever displaying quantity is different in both reports ?
    so please give me details description on these tables.
    regards,
    satheesh.

    I think MBEWH table is refering to total valuated stock
    MCHBH table is refering to valuated stock with unrestricted
    Raghu

  • What is difference between ADF Task Flow and Faces-Config - when delpoy ?

    What is difference between ADF Task Flow and Faces-Config? When I create navigation between pages with ADF task flow then the navigation don't work when I deploy my application to Weblogic 10.3. When I use default server then navigation works fine. With Faces_config in both situations all works ok - on Stanalone server and default.
    Where is the problem?
    Best regards!

    Shay, I don't use both faces-config and adf task flow! When I failed with task flow I tried faces-config.
    I have active on my weblogic - adf.oracle.domain(1.0,11.1.1.0.0). This is the right ADF? If yes then where is the problem?
    Best regards!

  • What is difference between modify and update i am using

    hi
    what is difference between mofify and update
    my requiremen is to have three condition checkec while mofifying or updating from a internal table
    the three fields are
    cus no
    status
    date these all are primary key in the database table
    so which sould i use modify or update
    there might be entry already existing in database table or new entry to be created if already existin it should check on the primary keys and updatat if not it should add a record
    pls suggest whihc to use and how to implement the check on teh threee primary key
    like if modify ztable from table it_test
    now where condition ? can be used or not with modify? and if yes how
    if not should i use update will update create a new entry if no entry is there and please give syntex
    regards
    Arora

    Hi Nishant Arora,
    Modify: It works in performing two actions.
    They are: Insert + Update.
    For Example If a record that is exited in database, so you are modifying that record, it updates that particular record.
    Similarly, If the is not existed in the database, you are modifying it, it inserts a new record.
    Update: Update means just it updates the status, I mean it only updates the record. It doesn't inserts any new record if that particular record is not present in the database.
    These are the cases you need to write these statements.
    Syntaxes: :
    Go through this links please.,
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/968aa8b2384dd9835f91e7f8470064/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm
    Reward points if useful
    Cheers,
    Swamy Kunche
    Edited by: Swamy Kunche on Jun 11, 2008 2:41 PM

  • Re: what is difference between sap locking and database locking

    hi,
        what is difference between sap locking and database locking. Iam locked the table mara by using lock objects.
    But iam unable to unlock the mara table. I give u the coding. Please check it.
    REPORT zlock .
    CALL FUNCTION 'ENQUEUE_EZTEST3'
    EXPORTING
       MODE_MARA            = 'S'
       MANDT                = SY-MANDT
       MATNR                = 'SOU-1'.
    call transaction 'MM02'.
    CALL FUNCTION 'DEQUEUE_EZTEST3'
         EXPORTING
              mode_mara = 'E'
              mandt     = sy-mandt
              matnr     = 'SOU-1'.
    IF sy-subrc = 0.
      WRITE: 'IT IS unlocked'.
    ENDIF.

    Hi Paluri
    Here is the difference between SAP locks and Database locks, i will try to find the solution to your code.
    Regards
    Ashish
    Database Locks: The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.
    Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System.
    SAP Locks:
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the R/3 System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The SAP lock concept is based on lock objects. Lock objects allow you to set an SAP lock for an entire application object. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary.

  • What is difference between bex analyser and bex browser

    what is difference between bex analyser and bex browser . please explain what are use of both and what we do in both.

    hi
    Bex Browser
    The Business Explorer Browser (BEx Browser) makes it possible for you to access all document types of the Business Information Warehouse that are assigned to your role or that you have stored in your favorites. You can select and open documents assigned to you in the BEx Browser or store and manage new documents in the BEx Browser.
    Document types that you can work with in the BEx Browser are:
    · BW workbooks
    · Documents that are stored in the Business Document Service (BDS)
    · Links (references to file system, shortcuts)
    · Links to internet sites (URLs)
    · SAP transaction calls.
    · Web applications and Web templates
    · Crystal Reports
    Bex Analyser
    The Business Explorer Analyzer (BEx Analyzer) is the analysis and reporting tool of the Business Explorer that is embedded in Microsoft Excel.
    Features
    You can call up the BEx Query Designer in the BEx Analyzer, in order to define queries. Subsequently, you can analyze the selected InfoProvider data by navigation to the query created in the Query Designer and create different query views of the data. You can add the different query views for a query or for different queries to a work book and save them there. You can save the workbook in your favorites or in your role on the BW Server. You can also save the workbook locally on your computer.
    Beyond that, you can precalculate the workbook and distribute it by e-mail to recipeients or you can export it to the Enterprise Portal and make it accessible to other employees in the company.
    You can start queries in a standard view (with a Standard Web Template set up in Customizing) in the Web browser and forward the URL or continue to navigate on the Web. Similarly, you can export the Web query to MS Excel 2000.
    Overview of the Functional Area of the BEx Analyzer:
    ·        BEx toolbar
    You access the functions of the BEx Analyzer from the BEx toolbar, which takes you to the BEx Open dialog box where you can open existing queries, or to the BEx Query Designer where you can create new queries or change existing queries.
    ·        Evaluating Query Data
    The BEx Analyzer offers convenient functions for evaluating and presenting InfoProvider data interactively. In the BEx Analyzer, you can add queries to workbooks, navigate within them and refresh the data. You can also process the queries further in Microsoft Excel or display them in the Web browser in a default view.
    Navigation of a query allows you, for example, to filter characteristics on a single value, drilldown on all values for a characteristic, regroup characteristics and key figures in the rows and columns of the results area, or hide key figures. Navigation results in different views of the InfoProvider data. In addition, a range of further functions is available which allow you to edit a query interactively (for example, sorting, cumulated output, among others). In addition, you can use the editing functions in Microsoft Excel in order to set up individual format templates, to print results areas, or to create graphics.
    ·        Queries in Workbooks
    Queries are inserted into workbooks so you can display them. When you insert a query, a link is made between the cell areas of the worksheet and the data of the InfoProvider upon which the query is based. A link therefore exists between the Business Explorer and the Business Information Warehouse Server (BW Server).
    When inserting a query into the workbook, a VBA routine is automatically generated in the workbook. You can also connect the Business Explorer with your own VBA programs (Visual Basic for Applications).
    You can create workbook templates, into which you can insert your queries. Workbook templates can contain pre-determined items for the area of the query, formatting settings, logos, VBA macros, and so on.
    ·        Precalculating workbooks
    You can precalculate and distribute workbooks with the BEx Broadcaster, which is a Web application you get to form the BEx toolbar. The system generates MS Excel workbooks with historical data. You determine the time for precalculation yourself: You can have workbooks precalculated at a predefined time or they can be precalculated whenever data in the underlying InfoProvider changes. You can have the precalculated workbooks sent by e-mail or you can export them into the Enterprise Portal, where you can make them available to employees within your company.
    Activities
    To start the BEx Analyzer, choose Start ® Programs ® SAP Front-end Business Information Warehouse ® SAP Business Explorer Analyzer.
    You can also access the BEx Analyzer via SAP Easy Access ® SAP Business Information Warehouse ® SAP Menu ® Business Explorer ® Analyzer or in the Business Explorer Browser using the Business Explorer Analyzer symbol in the menu bar.
    Hope this will solve your issu
    nagarjuna

  • What the difference and use between   of  TABLES and SY-REPID?

    Hi,
    Experts,
    I have came accross 2 cases that i can't able understand
    EX1:
    TABLES: VBAP   -
    >( Here also Appplication Server(AS) creates Wrokarea of Structure VBAP but, by 
    data: v_vbeln like vbap-vbeln.    double clicking on variable v_vbeln AS taking me to DDIC VBAP table VBELN field then what the using declaring tables. )
    ( and ) 
    DATA: VBAP TYPE VBAP -->( Here also Appplication Server(AS) creates Wrokarea of Structure VBAP data: v_vbeln like vbap-vbeln.    but,double clicking on variable v_vbeln AS taking me to user declared VBAP
                                                  i.e., above DATA declaration statement )
    Then Which one is better in Functionality wise as well as Performance wise or when we have to go for TABLES and when we have to go for DATA declaration of DDIC objects.
    EX2:
    what the difference between
    I know that SY_REPID is not a system variable. And also that
    Data: vrepid type SY_REPID.--> Predefined data type in ABAP
    and
    Data: vrepid like SY_REPID.-> Predefined Constatnt in ABAP( it is a constant it allowing with out VALUE                                                                               
    attribute)
    what difference between them and when we have to go Data: vrepid type SY_REPID and when we have to go Data: vrepid like SY_REPID.
    Thank U,
    Shabeer Ahmed.

    Hi Ahmed,
    TABLES:
      VBAP.   " DDIC
    DATA:
      v_vbeln like vbap-vbeln.
    *Here you are using the DDIC VBAP
    DATA:
      VBAP TYPE VBAP.
    DATA:
      vbeln like vbap-vbeln.
    *Here you are using the local data object as your data type so it will always
    * take you to user declared VBAP which is declared by you.
    DATA:
      T_VBAP TYPE VBAP.
    DATA:
      vbeln like vbap-vbeln.
    * here its using T_VBAP not DDIC VBAP
    And for performance always the second option is better, use Data instead of tables, declare your own local structure.
    Data:
      vrepid type SY_REPID.  thereis nop redefined data type in ABAP as SY_REPID
    * its SY-REPID which is a system variable.
    Data:
      vrepid type SY-REPID.
    Also refer to the links:
    Difference between tables statement and by using type statement
    for type and like:
    Re: LIKE and Type in abap statements
    With luck,
    Pritam.

  • What is difference between ESB Service and ESB Service Group

    Guys please tell me What is difference between ESB System and ESB Service Group and when we use them, i mean in what condition.
    Many Thanks
    Deepak

    The use of these is explained in the ESB developers guide along with some examples in what case to use them. See: http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28211/esb_jdev.htm#sthref167

Maybe you are looking for