About creation of table in reports

how to create a table by using reports

Hi,
I'd approach this by creating a server side pl/sql package and calling it from the appropriate trigger in the report (before report or after report).
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/

Similar Messages

  • Creation of Library and Report in Report Painter with Z tables.

    HI,
    When I am creating library in report painter with Z table it is giving the following error message 'Table ZCO_SEMI_FIN_VAL is not installed in Report Writer'.
    Can u help me how u install Z table in report painter and create the characteristic and key figure of the Z table in the library.
    Regards,
    Partha B

    Hi Partha Pratim Bhar,
    In order to bring / enable a Z table for you to build a library, you will have to set it at transaction GRCT.
    Here you need to configure - table (Z table) , characteristics and Key figures.
    You can refer any other tables by SAP in GRCT for reference.
    Revert if you require additional help.
    Regards,
    Subin John

  • Capacity Planning for Creation of Table

    Hello Guys,
    I just need some advise here.
    I have been told to work out the space needed for the creation of a table.
    The table in question would have three columns with datatypes [num(10), varchar(10),date] and would be loaded with 100,000 rows. How do I go about it.
    Thanks in Advance

    Try with something like this, may help you.
    Prerreqs: parameter OPTIMIZER_MODE != RULE.
    grant to execute DBMS_SPACE
    DDL Table creation:
    CREATE TABLE SAMPLE
    ID               NUMBER(9),
    NAME             VARCHAR(50),
    CREATE_DATE_TIME DATE,
    MOD_DATE_TIME    DATE,
    USER_ID          VARCHAR(15)
    set serveroutput on
    declare
       calc_used_bytes  NUMBER;
       calc_alloc_bytes NUMBER;
       cols             sys.create_table_cost_columns;
    begin
       cols := sys.create_table_cost_columns
               sys.create_table_cost_colinfo('NUMBER',   9),
               sys.create_table_cost_colinfo('VARCHAR2', 50),
               sys.create_table_cost_colinfo('VARCHAR2', 15),
               sys.create_table_cost_colinfo('DATE',     NULL),
               sys.create_table_cost_colinfo('DATE',     NULL)
       DBMS_SPACE.CREATE_TABLE_COST (
           tablespace_name => 'USERS',
           --avg_row_size    => 100,   quitar comentario para 11g
           row_count       => 5000,
           pct_free        => 10,
           used_bytes      => calc_used_bytes,
           alloc_bytes     => calc_alloc_bytes
       dbms_output.put_line('Used      (M): '||round(calc_used_bytes/(1024*1024)));
       dbms_output.put_line('Allocated (M): '||round(calc_alloc_bytes/(1024*1024)));
    end;
    /More info: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_space.htm#i1003180
    Regards.
    johnxjean
    Edited by: johnxjean on 18-Mar-2011 09:43
    Edited by: johnxjean on 18-Mar-2011 09:44

  • GRCT    HOW TO ADD Z TABLES IN REPORT PAINTER

    Hi Gurus
    Could you please send me information about how to activate z tables in report painter ?   someone said me that i can user transaction GRCT  to do that...¿ what aspects must I consider to add a table ?
    mail: [email protected]
    Regards
    Andrés Moreno

    hi Andres,
    below are the steps for the Report Painter.....
    Create a new report.
    Menu Path: Information Systems > Ad hoc reports > Report Painter > Report > Create
    On the Report Painter: Create Report screen, enter:
    Library – 1VK
    Report RSS-A
    Report Description – Report w/Total Row
    Hit <Create> button to move to the next screen.
    Create the Rows of the Report – The first four rows are cost element characteristics
    Screen: Report Painter: Create Report
    Type ‘Cost Elements’ in the lead column cell
    Double click on Row 1
    In the Pop-up window 'Element definition: Row1", enter:
    Note: If Pop-up window (select element type) appears, choose 'characteristics' and hit <Enter>.
    Select 'Cost Element' as the characteristic in the 'Available characteristics' section
    Hit <Move selected to left> button to move the characteristic 'Cost element' to the 'Selected characteristics' section
    From – 430000
    Hit <Change short, middle and long texts> icon (at the bottom of the window)
    In the Pop-up for Enter Texts, Enter:
    Short – Description from Table above for this Account
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Confirm> to close the Pop-up
    Hit <Confirm/Enter> to check consistency and close.
    Repeat the above steps for the other 3 accounts
    Create a formula row to calculate the total of the Cost Element rows
    Screen: Report Painter: Create Report
    Double click on Row 5 or the next empty row.
    In the Pop-up for Select Element Type select 'Formula'
    Hit <Enter> to close the Pop-up
    In the Pop-up 'Enter Formula'
    Use the calculator buttons to create the formula Y001 + Y002 + Y003 + Y004
    Hit <Enter> to close the Pop-up
    In the Pop-up 'Enter Texts'
    Short – Total
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Enter> to close the Pop-up
    Make sure your cursor is in the cell containing the word ‘Total’
    Follow the Menu Path: Formatting > Row
    In the Pop-up 'Row Formatting'
    Overscore – checked
    Underscore – checked
    Hit <Enter> to close the Pop-up
    Create the first column for actual costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 1’ cell.
    In the Pop-up 'Select element type'
    Select Predefined Key Figure radio button, and press <Enter>.
    In Pop-up 'Choose predefined column'
    Select Actual Costs as the predefined column, and press <Enter>.
    In the Pop-up 'Element definition: Actual costs'
    Press <Confirm> to check consistency and close.
    Define the second column for plan costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 2’ cell.
    In the Pop-up 'Select element type'
    Select Key Figure with Characteristics as the element type, and press <Enter>.
    In the Pop-up 'Element definition: Column 2'
    Value Type – 01   (Plan)
    Version – 0   (Actuals)
    Valuation – 0   (Legal valuation)
    Hit <Change short, middle and long texts> icon
    In the Pop-up for Enter Texts, Enter:
    Short – Plan
    Click on the <Copy short text> button to copy this description to the other fields.
    Hit <Confirm> to close Pop-up.
    Hit <Confirm> to check consistency and close.
    Create a formula column to calculate the variance between actual and plan costs
    Screen: Report Painter: Create Report
    Double click on the ‘Column 3’ cell
    Assign the points....
    Ranjit

  • Form on a Table with Report, 2 Pages

    I have a view and i am using this to create a page as follows for insert/update/delete .
    (1) create application from scratch
    (2) on page 1 using wizard choice "Form on a Table with Report, 2 Pages"
    (3) Follows the screens and create the 2 page where first page is a report and when i click on edit(in my case) it goes to next page for insert/update/delete.Everything like insert/update/delete works fine .
    Now this view has say three columns
    (1) element_type_id
    (2) element_name
    (3) yesnoflag
    changing element_name and yesnoflag column is ok but then i need to have element_type_id corresponding to the element_name from some other table.
    Question1
    How should i get the element_type_id corresponding to the element_name .so when i create a new record it goes to page 2 and i can provide LOV for element_name and enter into yesnoflag, how can i get the element_type_id populated corresponding to the element_name entered.
    Question2
    Also in my application i have name element_type_id as primary key .I am not sure if thats a good idea or should i make element_name as primary key ?
    please help.
    Thanks,
    Sachin

    hey rui--
    by "adjust your html", i simply meant that you should look at your page, think about the html that's being used, and adjust it as necessary to make your data wrap as desired. now that i'm pretty sure i understand your issue, i can tell you the adjustment. you're saying that your form shows your long column "correctly" with data broken up onto separate lines by carriage returns or linefeeds. when you display that same data in your report, those carriage returns ( chr(13) ) and/or linefeeds ( chr(10) ) aren't observed. that's because they don't mean much in regular html. two ways to approach this would be:
    a) replace your carriage returns with explicit <br> tags to get the breaks that you want...
    select test_id, replace(test_description,chr(13)) test_desc from my_table;
    b) wrap your column with <pre> tags to preserve all the original formatting of your data...
    select test_id, '<pre>'||test_description||'</pre>' test_desc from my_table;
    ...and you could, of course, do option B in your report row template if you'd like.
    hope this helps,
    raj

  • How to create Data Template for creation of BI Pulisher Report

    Hi,
    I m having all the steps for creation of BI Pulisher report using Data Template, like 1st create Data Template, Add new Data Definition, upload Data Template, Create Concurrent Program and run the request, save o/p and create rtf layout, upload Template and again run Concurrent program to view output.
    All steps are working fine.. but my simple question is every time we need to write code for Data Template i.e. xml file ? is there is tool or something which will create this Data template for us using rdf? or is there any other way ?
    Please guide ..
    Regards,
    Priyanka.

    Hi;
    Please see below note which could be helpful for your issue:
    NOTE:367394.1 - About Oracle XML Publisher Release 5.6.2
    Also see:
    http://www.adivaconsulting.com/adiva-blog/item/5-datatemplate
    http://apps2fusion.com/at/51-ps/262-xml-publisher-and-data-template-sql-query-to-develop-bi-publisher-reports
    http://blogs.oracle.com/xmlpublisher/data_extraction/data_templates/
    Regard
    Helios

  • SAP Report Painter - SAP tables for report items and hierarchy

    Hello,
    can you pls. help me with an information about the list of SAP tables for Report Painter, particularly the tables where the report items/positions and report hierarchy are stored?
    for example, for the Report Writer report items and report hierarchy can be found in T8* tables.
    What are these tables for Report Painter?
    thank you in advance for any info.
    Regards,
    Jasminka
    Edited by: Jasminka Vlahovic on Dec 29, 2010 8:53 PM

    Hi  Jasminika ,
    Could you please share with me those tables names where report items  and hierarchy are saved
    Regards
    Neeraj

  • Form on a table with report

    HI all
    I have a page type : form on a table with report .
    the table is :
    CREATE TABLE  "SLIKA_USERS"
       (     "ID" NUMBER,
         "USER_NAME" VARCHAR2(20) NOT NULL ENABLE,
         "USER_PASSWD" VARCHAR2(4000),
         "COMPANY" NUMBER(10,0),
         "FORM_TYPE" NUMBER(2,0),
         "USER_NAME_DB" VARCHAR2(20),
         "USER_LOCK" NUMBER(1,0),
         "DATE_PASSWD_CHNG" DATE,
         "LOGIN_DIR" VARCHAR2(30),
          CONSTRAINT "SLIKA_USERS_PK" PRIMARY KEY ("ID") ENABLE,
          CONSTRAINT "USER_NAME_UNQ" UNIQUE ("USER_NAME") ENABLEthe table contain 500 rows.
    in addition , when new user entered there are few processes that give him the USER_NAME_DB automatically by executing a functions etc.
    in a few weeks , new table need to be active instead SLIKA_USERS table
    the new table will look like this :
    CREATE TABLE  "SLIKA_USERS_NEW"
       (     "ID" NUMBER CONSTRAINT "ID_NN" NOT NULL ENABLE,
         "USER_NAME" VARCHAR2(20),
         "USER_PASSWD" VARCHAR2(4000),
         "COMPANY" NUMBER(10,0) CONSTRAINT "COMP_NN" NOT NULL ENABLE,
         "FORM_TYPE" NUMBER(2,0),
         "USER_NAME_DB" VARCHAR2(20),
         "USER_LOCK" NUMBER(1,0),
         "DATE_OPENED" DATE,
         "DATE_PASSWD_CHNG" DATE,
         "LOGIN_DIR" VARCHAR2(30),
         "USER_ID_NUM" NUMBER(9,0) CONSTRAINT "USER_ID_NUM_NN" NOT NULL ENABLE,
         "USER_F_NAME" VARCHAR2(10) CONSTRAINT "USER_F_NAME_NN" NOT NULL ENABLE,
         "USER_L_NAME" VARCHAR2(15) CONSTRAINT "USER_L_NAME_NN" NOT NULL ENABLE,
         "USER_MNG_NAME" VARCHAR2(30) CONSTRAINT "USER_MNG_NAME_NN" NOT NULL ENABLE,
         "LAST_LOGIN_DATE" DATE,
         "DATE_CLOSED" DATE,
          CONSTRAINT "USER_NAME_PK" PRIMARY KEY ("USER_NAME") ENABLE,
          CONSTRAINT "ID_UNQ" UNIQUE ("ID") ENABLE,
          CONSTRAINT "USER_ID_NUM_UNQ" UNIQUE ("USER_ID_NUM") ENABLE,
          CONSTRAINT "USER_NAME_DB_UNQ" UNIQUE ("USER_NAME_DB") ENABLEproblem :
    before inserting new user to table SLIKA_USERS_NEW i need to check if the user_name alreay exists in SLIKA_USERS table .
    i need to take all his details and move them to the new table , in addition as you can see , i need to complete some details like the USER_ID_NUM,USER_F_NAME,USER_L_NAME.
    of curse if this user doesn't exist in the slika_users i need to create him as new user.
    i thought about trigger , unfortunately it won't be a good idea since i don't have in table slika_users
    the USER_ID_NUM" ,     "USER_F_NAME" , "USER_L_NAME"
    another problem is : even if i will manage to overcome the problem of moving data from table slika_users .
    to slika_users_new ,
    to manage it after the tables will switch won't be easy though.
    in a few weeks , the slika_users need to rename to slika_users_old .
    and slika_users_new will rename to slika_users,
    that is a necessary step because lots of pages in the application , relate to the table slika_users ,
    in addition if new user need to create i still need to look if it's exists in the SLIKA_USERS_OLD (after i'll switch between the tables )
    please give idea how to overcome those problems
    Thanks In Advanced
    Naama

    Hello,
    Basically it can be done, but you'll need to do it manually. You can create your basic report, and define two link columns, each to the proper form, which will include the desired columns.
    The problem I see in this kind of solution is a great risk for data integrity, especially in a multi-user environment. It will take time to update both forms, and in between, the table record will contains inconsistent data – the first columns can contains data updated by the first form, but the rest of the columns will still contains an old data.
    Regards,
    Arie.

  • Form on a Table with Report,SOS!!!!!!!!!

    I HAVE TWO TABLE'S AS
    TAB_SALES AS
    BRAND     SKIND     PRICE     SALES
    APPLE     PHONE     5000     
    SAMSUNG     PHONE     3000     
    SONY     PHONE     5600     
    PIONEER     PHONE     2300     
    SANYO     BATTERY     109     
    AND TAB_COUNTRY AS
    BRAND     CONUTRY
    APPLE     USA
    SONY     JAPAN
    SAMSUNG     KOREA
    SANYO     JAPAN
    AND I WANT TO CREATE A Form on a Table with Report to display the :
    BRAND     SKIND     PRICE     SALES     CONUTRY
    APPLE     PHONE     5000     USA
    SAMSUNG     PHONE     3000          KOREA
    SONY     PHONE     5600          JAPAN
    PIONEER     PHONE     2300          JAPAN
    SANYO     BATTERY     109          JAPAN
    I want to let end_user modify the sales
    but when I create the Form on a Table with Report,the apex give me the rowid error:
    Error creating form and report.
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-01445: cannot select ROWID from, or sample, a join view without a key-preserved table
    who can help me ?

    Hi lily,
    I'm sure you are aware of these, but please have a look again at the "Welcome" page of the forum: https://forums.oracle.com/forums/ann.jspa?annID=1324 and think about changing the subject of your post.
    Please provide your APEX and DB version, along with the SELECT statement you are using in the form.
    Any chance to create an example on apex.oracle.com?
    This would probably be the quickest way to get help.
    Thanks
    Sandro

  • Several CRUDLs again: App from existing table Form on table with report?

    Hi,
    I posted a message a couple of days ago, asking if it was possible to automatically generate several CRUDL gui patterns per application. Later I answer myself discovering that the "Form on table with report" option for creating a page, make just that.
    However, I can see that the option for application level CRUDL (app from existing table) has more functionality (search, export to excel, data analysis, even charts, cool ;-). It creates about 10 pages per table, contrasting with the two created by the "Form on table with report" option. I thought that "Report with form" could be the answer, but it seems just another link to the same option.
    So, once again: is possible to call the functionality of "App from existing table", several times within the same application? (of course each time is likely to refer a distinct table). How do I insistently ask for this? Well, cause I can see in my horizon many applications what will entirely consist of table-maintenance services ... so, with htmldb I could generate them very fast!. In fact, once I have toasted my crudl pattern I would even like to save it and generate the applications on a non interactive basis (maybe calling something in pl/sql?, command line?) ... is that possible?
    Thanks in advance,
    salu2
    dario estepario ..

    Hi Scott,
    Dario - The "create application from existing table"
    functionality was available in 1.6. In 2.0, the
    Create Application wizard has changed. But you can
    create as many sets of pages in the same application
    as you need, all on different tables, using the
    patterns available in that wizard. You can also
    supplement those generated pages later by creating
    chart pages or whatever else you need.Mmm?, ups ... them am I running the 1.6 version? I installed it from the companion cd. Ok, I'll try the separately distributed htmldb version. Thanks.
    >
    At present there is no exposed API to let you do any
    of this programmatically.;-(
    >
    ScottRegards,
    dario estepario ...

  • Can any one explain me about Field symbols in Genral Reports?

    Can any one explain me about Field symbols in Genral Reports?
    If possible, plz explain me with the code to explain me about the field symbols.
    Regards,
    Krishna Chaitanya

    Syntax
    FIELD-SYMBOLS <fs> { typing | STRUCTURE struc DEFAULT dobj }.
    Extras:
    1. ... typing
    2. ... STRUCTURE struc DEFAULT dobj
    Effect
    The FIELD-SYMBOLS statement declares a field symbol <fs>. The naming conventions apply to the name fs. The angle brackets of the field symbols indicate the difference to data objects and are obligatory. You can declare field symbols in any procedure and in the global declaration section of an ABAP program, but not in the declaration section of a class or an interface. You can use a field symbol in any operand position in which it is visible and which match the typing defined using typing.
    After its declaration, a field symbol is initial - that is, it does not reference a memory area. You have to assign a memory area to it (normally using the ASSIGN statement) before you can use it as an operand. Otherwise an exception will be triggered.
    Addition 1
    ... typing
    Effect
    You can use the addition typing to type the field symbol. The syntax of typing is described under Syntax of Typing. The typing specifies which memory areas can be assigned to the field symbol (see Checking the Typing) and in which operand positions it can be used.
    Note
    You can omit the addition typing outside of methods. In this case, the field symbol has the complete generic type any and is implicitly assigned the predefined constant space during the declaration.
    Addition 2
    ... STRUCTURE struc DEFAULT dobj
    Effect
    If you specify the addition STRUCTURE instead of typing for a field symbol, and struc is a local program structure (a data object, not a data type) or a flat structure from the ABAP Dictionary, this structure is cast for the field symbol <fs>. You have to specify a data object dobj that is initially assigned to the field symbol.
    The field symbol copies the technical attributes of structure struc as if it were completely typed. When you assign a data object using the addition DEFAULT, or later using ASSIGN, its complete data type is not checked in non- Unicode programs. Instead, the system merely checks whether it has at least the length of the structure and its alignment.
    In Unicode programs, we differentiate between structured and elementary data objects. For a structured data object dobj, its Unicode fragment view has to match the one of struc. In the case of an elementary data object, the object must be character-type and flat, and struc must be purely character-type. The same applies to assignments of data objects to field symbols typed using STRUCTURE when using the ASSIGN statement.
    Note
    Field symbols declared using the addition STRUCTURE are a mixture of typed field symbols and a utility for casting structured data types. You should use the additions TYPE or LIKE for the FIELD-SYMBOLS statement to type field symbols, while the addition CASTING of the ASSIGN statement is used for casting.
    Example
    The first example shows the obsolete usage of the addition STRUCTURE.
    DATA wa1 TYPE c LENGTH 512.
    FIELD-SYMBOLS <scarr1> STRUCTURE scarr DEFAULT wa1.
    <scarr1>-carrid = '...'.
    The second example shows the replacement of STRUCTURE with the additions TYPE and CASTING.
    DATA wa2 TYPE c LENGTH 512.
    FIELD-SYMBOLS <scarr2> TYPE scarr.
    ASSIGN wa2 TO <scarr2> CASTING.
    <scarr2>-carrid = '...'.
    Also,
    Field Symbols
    Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.
    Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.
    Field symbols are similar to dereferenced pointers in C (that is, pointers to which the content operator * is applied). However, the only real equivalent of pointers in ABAP, that is, variables that contain a memory address (reference) and that can be used without the contents operator, are reference variables in ABAP Objects.
    All operations programmed with field symbols are applied to the field assigned to it. For example, a MOVE statement between two field symbols moves the contents of the field assigned to the first field symbol to the field assigned to the second field symbol. The field symbols themselves point to the same fields after the MOVE statement as they did before.
    You can create field symbols either without or with type specifications. If you do not specify a type, the field symbol inherits all of the technical attributes of the field assigned to it. If you do specify a type, the system checks the compatibility of the field symbol and the field you are assigning to it during the ASSIGN statement.
    Field symbols provide greater flexibility when you address data objects:
    If you want to process sections of fields, you can specify the offset and length of the field dynamically.
    You can assign one field symbol to another, which allows you to address parts of fields.
    Assignments to field symbols may extend beyond field boundaries. This allows you to address regular sequences of fields in memory efficiently.
    You can also force a field symbol to take different technical attributes from those of the field assigned to it.
    The flexibility of field symbols provides elegant solutions to certain problems. On the other hand, it does mean that errors can easily occur. Since fields are not assigned to field symbols until runtime, the effectiveness of syntax and security checks is very limited for operations involving field symbols. This can lead to runtime errors or incorrect data assignments.
    While runtime errors indicate an obvious problem, incorrect data assignments are dangerous because they can be very difficult to detect. For this reason, you should only use field symbols if you cannot achieve the same result using other ABAP statements.
    For example, you may want to process part of a string where the offset and length depend on the contents of the field. You could use field symbols in this case. However, since the MOVE statement also supports variable offset and length specifications, you should use it instead. The MOVE statement (with your own auxiliary variables if required) is much safer than using field symbols, since it cannot address memory beyond the boundary of a field. However, field symbols may improve performance in some cases.
    check the below links u will get the answers for your questions
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_sy.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci920484,00.html
    Syntax Diagram
    FIELD-SYMBOLS
    Basic form
    FIELD-SYMBOLS <fs>.
    Extras:
    1. ... TYPE type
    2. ... TYPE REF TO cif
    3. ... TYPE REF TO DATA
    4. ... TYPE LINE OF type
    5. ... LIKE s
    6. ... LIKE LINE OF s
    7. ... TYPE tabkind
    8. ... STRUCTURE s DEFAULT wa
    The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Cannot Use Untyped Field Symbols ad Cannot Use Field Symbols as Components of Classes.
    Effect
    This statement declares a symbolic field called <fs>. At runtime, you can assign a concrete field to the field symbol using ASSIGN. All operations performed with the field symbol then directly affect the field assigned to it.
    You can only use one of the additions.
    Example
    Output aircraft type from the table SFLIGHT using a field symbol:
    FIELD-SYMBOLS <PT> TYPE ANY.
    DATA SFLIGHT_WA TYPE SFLIGHT.
    ASSIGN SFLIGHT_WA-PLANETYPE TO <PT>.
    WRITE <PT>.
    Addition 1
    ... TYPE type
    Addition 2
    ... TYPE REF TO cif
    Addition 3
    ... TYPE REF TO DATA
    Addition 4
    ... TYPE LINE OF type
    Addition 5
    ... LIKE s
    Addition 6
    ... LIKE LINE OF s
    Addition 7
    ... TYPE tabkind
    Effect
    You can define the type of the field symbol using additions 2 to 7 (just as you can for FORM parameters (compare Defining the Type of Subroutine Parameters). When you use the ASSIGN statement, the system carries out the same type checks as for USING parameters of FORMs.
    This addition is not allowed in an ABAP Objects context. See Cannot Use Obsolete Casting for FIELD SYMBOLS.
    In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. See Defining Types Using STRUCTURE.
    Effect
    Assigns any (internal) field string or structure to the field symbol from the ABAP Dictionary (s). All fields of the structure can be addressed by name: <fs>-fieldname. The structured field symbol points initially to the work area wa specified after DEFAULT.
    The work area wa must be at least as long as the structure s. If s contains fields of the type I or F, wa should have the structure s or at least begin in that way, since otherwise alignment problems may occur.
    Example
    Address components of the flight bookings table SBOOK using a field symbol:
    DATA SBOOK_WA LIKE SBOOK.
    FIELD-SYMBOLS <SB> STRUCTURE SBOOK
    DEFAULT SBOOK_WA.
    WRITE: <SB>-BOOKID, <SB>-FLDATE.
    Related
    ASSIGN, DATA
    Additional help
    Declaring Field Symbols

  • Significance of Initial (intial_extent)parameter while creation of table

    Hi All,
    I am designing a new schema for my 10g database and I am in process of creation of tablespaces and tables.
    My Tablespace are extent management local autoallocate and auto segment space management.
    With “segment space management Auto”, I understand that I don’t have to define storage clause in tablespace and freelist will be taken care by bitmap
    My question is
    while creation of tables what’s the significance of Intial (intial_extent in user_tables) parameter.?
    Do I need to consider this parameter while defining large and small tables?
    Is this not controlled by “auto segment space management.” Parameter of tablespace.?

    While it is unlikely to make a measurable impact on anything in practice, it is almost always preferable in theory, assuming perfect knowledge of the system, to have a few different tablespaces with different uniform extent sizes and to put each object in the appropriate tablespace for its size (i.e. giant tables in the tablespace with giant extent sizes, tiny tables in the tablespace with tiny extent sizes, etc.). The problem with this, however, is that you very rarely have perfect knowledge in advance about object sizes and growth and size patterns are likely to evolve over the life of the system, so you can suck up a great deal of DBA and developer time gathering and maintaining this sort of information as well as responding to changes over time (i.e. moving objects from one tablespace to another as their usage patterns change). For most systems, the potential benefit to having a perfect setup, rather than putting everything in an AUTOALLOCATE tablespace, is far smaller than the cost of actually doing so.
    Unless you have some reason to believe that your application is in the minority where squeezing the last bit of storage efficiency is worth the hassle, I'd tend to suggest throwing everything in an AUTOALLOCATE tablespace.
    Justin

  • How to find CREATION DATE of a REPORT VARIANT

    Hi Friends,
    How to find the Creation Date of a Report Variant?
    Regards,
    Viji

    Hello Vijaylakshmi,
    You can find the Date of the variant created from the table VARID.
    Go to the table VARID, You can find the report name, Variant name, EDat(Date on which variant was created), you will also find the time stamp at which the variant is created.
    Hope this helps.....
    If you need any further information then please l;et me know. ....
    Regards,
    Kittu
    Edited by: Kittu on May 20, 2009 8:04 AM

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

  • Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)

    Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)?
    Exemple:
    Table1
    Cliente name:
    John
    Client number:
    12345
    Survay number of negative answers:
    3
    Table2
    Questions and answers that were negative:
    Question: How much time where you waiting
    Avaluation: 3 (from 1 to 10)
    Answer: They only called me 1 mouth later
    Can you please help me?

    Hi,
    Based on the description, I understand that you want to add subreport in the main report. When previewing the main report, the subreport can be shown in detail. Please see the screenshots on my test:
    In Reporting Services, we can create parameters and pass them from main report to subreport in order to control the data dynamically.
    References:
    Subreports (Report Builder and SSRS)
    Add a Subreport and Parameters (Report Builder and SSRS)
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

Maybe you are looking for