Index info dubt

Hi all.
Can someone explain to me why the following results are always different ?
I tryed this on several database and results are never the same, what I somehow expect to be.
Anyway, please see:
select count(*) from dba_objects where object_type='INDEX'40654
select count(*) from dba_indexes41782
..this selects always gave me different results, no mather on what database i executed them, so was wondering why? ... and what select shows correct number

Indexes in question are LOB indexes:
{color:#3366ff} 1 select distinct index_type from
2 dba_indexes ind
3 where not exists (select 1 from dba_objects o
4 where o.object_name=ind.index_name and
5 o.owner=ind.owner and
6* o.object_type='INDEX')
SQL> /
SQL> /
INDEX_TYPE
{color}-----
{color:#3366ff} LOB
{color}Verification can also be achieved with a different method:
{color:#3366ff} SQL> select count(*) from dba_indexes;
COUNT(*)
*3972*
Elapsed: 00:00:00.10
SQL> select count(*) from dba_objects where object_type='INDEX';
COUNT(*)
*3214*
Elapsed: 00:00:00.24
SQL> select count(*) from dba_objects where object_type='LOB';
COUNT(*)
*758*
Elapsed: 00:00:00.23
SQL> select 3214+758 from dual;
3214+758
*3972*
Elapsed: 00:00:00.00{color}
Potentially, there is another possible source of mismatch:
{color:#3366ff}
1 select distinct segment_type from dba_segments
2 where (owner,segment_name) in
3 (select owner,index_name from dba_indexes
4 minus
5* select owner,object_name from dba_objects where object_type='INDEX')
SQL> /
SEGMENT_TYPE
LOBINDEX
INDEX PARTITION
{color:#000000}The conclusion is that there is a terminology problem. Lob indexes are considered "indexes" but I am not sure why. One
cannot manipulate them or change their parameters.
{color}{color}

Similar Messages

  • Function based indexes info,pls let me know data dictionary table name?

    Hi,
    pls let me know,Where can we find Function based index information ,that is data dictionary table name,.
    that is information like function used, column name.
    Thanks,
    KUmar.

    all_ind_expressions

  • ST04 -table index info.

    Hi,
    In ST04 I check the table index information for one table there I noticed that  Last statistics date is 02.01.2006  and CHAIN COUNT is 1850 also the table is having  a large no of records so will it affect the performance of the table. if so then what is the necessary action we should take and what is the  ideal conditions for this or is there any rule set by SAP .
    Please help.
    With Regards
    Vinayak

    Hi Vinayak,
    what database version are you using and/or how are you updating your statistics (dbms_stats/ analyze)?
    CHAIN COUNT 1850
    first of all, CHAIN COUNT is only determined with analyze, not with dbms_stats.
    This means your value of 1850 is as of the last statistics date done with analyze.
    If you switched to dbms_stats (which was recommended) your chain count remains
    on that value but your last statistics date is changed with each following dbms_stats run.
    Your chain count value therefore might be much older than the last analyzed date if you
    are using dbms_stats since then.
    So if your are using dmbs_stats, get the current chain count with analyze.
    If the number is still high check the row length if < 8kb and nr. of fields < 255 a reorganization
    could eliminate your chained rows. (If you have records that are longer than 8kb and/or more
    than 256 fields a reorganization could decrease the chained rows as well, for those records
    that are <8kb and spanning over more than one block, but chained count will not be zero).
    Generally speaking reducing chain count could reduce I/O (logical/physical).
    Get in contact with your DBA in order to get the current chain count and dependent on
    that reorganizing your table.
    Kind regards,
    Hermann

  • Bitamp index info

    Hi,
    created bitmap index like below..But dba not accepted and said pls read about bitmap,pctfree and compress.But i'm not able to relate these three concepts.
    Can some one explain is it correct way or not?
    Databse
    10g
    CREATE BITMAP INDEX IBIS.COMBINED_IDX
      ON
        IBIS.CW_PORTFOLIO_TEMPLATE(COMBINED)
      TABLESPACE IB_INDEXTWO
         PCTFREE    0
    /

    >
    But dba not accepted and said pls read about bitmap,pctfree and compress.But i'm not able to relate these three concepts.
    >
    You should ask your dba to specify exactly what he wants you to read about.
    Dont' understand why the dba would question the use of 'PCTFREE 0' since that is standard for bitmap indexes. Rows in those indexes are stored in a proprietary compressed format and there is no way to predict the effect of updating individual values (bits) on the amount of space needed. Some updates will actuall use less space than before before the ROWID range values will compress better.
    As for compress - don't know why the dba would mention that either. You don't compress bitmap indexes since they already use a default compression.
    Your code in your other thread doesn't show a COMBINE column on the CW_PORTFOLIO_TEMPLATE table.
    Re: composite index not utilising
    So the only possible thing the dba might be referring to is that you generally don't use just one bitmap index on a table. The power comes from using several bitmap indexes and queries that allow Oracle to use combinations of those indexes to determine the result set rows.
    If you only plan to create this one bitmap index on the table that isn't likely to add value.
    And bitmap indexes should defiinitely not be used for OLTP tables that have frequent DML operations like INSERT, DELETE or UPDATE.

  • Rebuilding indexes after importing...

    My coworker and I are discussing whether it is necessary, or advised, to rebuild indexes after an import of the schema.
    My thinking is that the index data is put into fresh blocks thereby creating a very flat index tree without any fragmentation.
    But my coworker suspects that perhaps the blocks are built exactly as they existed in the source database.
    I could understand, perhaps, if the refresh were done by using RMAN which copies block by block, but even then I'm not sure.
    Can you help us understand this please?
    Thanks.
    Ed

    Hi,
    Normally, the indexes are build and statistics upfated after the import automatically. You do not ned to generate the statistics after the import until unless you are running very old version of database.
    Regards
    [sfa-dev1:oracle:10.2.0] $ imp help=Y
    Import: Release 10.2.0.4.0 - Production on Fri Nov 13 11:49:56 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    You can let Import prompt you for parameters by entering the IMP
    command followed by your username/password:
    Example: IMP SCOTT/TIGER
    Or, you can control how Import runs by entering the IMP command followed
    by various arguments. To specify parameters, you use keywords:
    Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
    Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
    or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword Description (Default) Keyword Description (Default)
    USERID username/password FULL import entire file (N)
    BUFFER size of data buffer FROMUSER list of owner usernames
    FILE input files (EXPDAT.DMP) TOUSER list of usernames
    SHOW just list file contents (N) TABLES list of table names
    IGNORE ignore create errors (N) RECORDLENGTH length of IO record
    GRANTS import grants (Y) INCTYPE incremental import type
    INDEXES import indexes (Y) COMMIT commit array insert (N)
    ROWS import data rows (Y) PARFILE parameter filename
    LOG log file of screen output CONSTRAINTS import constraints (Y)
    DESTROY overwrite tablespace data file (N)
    INDEXFILE write table/index info to specified file
    SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
    FEEDBACK display progress every x rows(0)
    TOID_NOVALIDATE skip validation of specified type ids
    FILESIZE maximum size of each dump file
    STATISTICS             import precomputed statistics (always) On 10gR2
    Edited by: skvaish1 on Nov 13, 2009 11:50 AM

  • Indexing a soon to be DVD

    I am going to backup 20 plus old Zip 100 disks to DVD which contains thousands of small files.
    Can I have Spotlight index the not yet burned DVD as the Zip's are dragged to the soon to be burned DVD?
    If so is that information created and saved on the DVD, saved on the startup hard drive or can not be done at all.
    Obviously what I am after is to insert the DVD in the future and search via Spotlight.
    eMac 1.25 USB 2 Superdrive   Mac OS X (10.4.6)   1 gig RAM

    I don't think Spotlight will retain any indexing info on removable media like CDs and DVDs, but it you can certainly search the volume when mounted using Spotlight.
    Beavis2084

  • Deadlock : objn in trace indicates index

    Hi All,
    There was a deadlock detected and logged and I am trying to figure out the application issue that caused it.
    Version info:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for HPUX: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - ProductionHere is a snippet from the trace file:
    Deadlock graph:
                           ---------Blocker(s)--------  ---------Waiter(s)---------
    Resource Name          process session holds waits  process session holds waits
    TX-0016001f-00013ae8        68     892     X            229     818           S
    TX-0007001c-0002c66a       229     818     X            101     929           S
    TX-0010001d-000299c5       101     929     X             68     892           S
    session 892: DID 0001-0044-00002E42     session 818: DID 0001-00E5-000003FD
    session 818: DID 0001-00E5-000003FD     session 929: DID 0001-0065-00001940
    session 929: DID 0001-0065-00001940     session 892: DID 0001-0044-00002E42
    Rows waited on:
    Session 818: obj - rowid = 0003E8F1 - AAA+jxAEhAAAFeaAAA
      (dictionary objn - 256241, file - 289, block - 22426, slot - 0)
    Session 929: obj - rowid = 0003E8F1 - AAA+jxAEgAAAAFnAAA
      (dictionary objn - 256241, file - 288, block - 359, slot - 0)
    Session 892: obj - rowid = 0003E8F1 - AAA+jxAEgAAADIEAAAFrom the SQL listed, I see that the same update is being run by the 3 sessions.
    UPDATE my_table
       SET col1 = TRIM (NVL (:b5, '5')),
           col2 = DECODE (NVL (:b5, '5'), '1', 1, '0', 1, '4', 1, 0),
           col3 = :b4
    WHERE col4 = :b3 AND col5 = :b2 AND col6 = :b1;The predicates have bind variables in them. If the bind variable is set to the same value, then I would expect this issue to occur. In this case I would expect the "objn - 256241" to point to table "my_table". However, when I lookup this in dba_objects, it points to the PK index for this table:
    xxxx> select object_type
      2  from dba_objects
      3  where object_id = 256241;
    OBJECT_TYPE
    INDEXThe questions i have are:
    1. Is my assumption correct
    In this case I would expect the "objn - 256241" to point to table "my_table"2. I was going to use the rowids to check what row this is occuring on. How do I do this if I only have rowids from the index instead of the table? Is there another way to get the bind variable info from the deadlock trace file?
    3. Any other suggestions about looking into this.
    Thanks,
    Rahul

    Dilip,
    Sorry I missed the index info details.
    It is a B-tree index. I am translating the table/index/column names from original in this post. Going by that the index would look something like this:
    CREATE UNIQUE INDEX my_index ON my_table
        col4                   ASC,  --corresponds to predicate in update stmt
        col6                   ASC,
        col5                   ASC,  --corresponds to predicate in update stmt
        col7                   ASC,
        col8                   ASC,
        col9                   ASC
    /Thanks,
    Rahul

  • Can anyone tell me what the Wizard is doing when I run the Index Wizard?

    I am running RH8, Windows 7 and generating WebHelp.
    The Wizard seems to be picking up the names of topics and making them keywords. Some of my topic names have no spaces in them and that’s the way they come into the Index. So, I assume I have to name all of my topics so that they come into the index correctly. Is that right?
    I also seem to be getting HTML terms in my index. Some of it looks like formatting. What is happening there?
    When the index is created by the wizard and I look at the Index pod I see the index keywords on the top of the pod. Some of the topics are in bold and some are not. The ones in bold do not have an entry in the bottom of the pod in the Topics for: area. These do not display when the help is generated. The unbolded items have an entry in the bottom of the pod in the Topics for: area. These items display when the project is generated. So, what’s happening here? Why are some topics bold and others not?
    If you can point me to some Index info I’d be grateful. Yes, I wish I could take a class but that’s not likely to happen in this economy.
    But this forum has the best people. I’d be dead without it.
    Thanks.
    Pat

    Well, we can't as we don't know what you consider as "more than enough". The built is quite heavy (like it can be 800mb) then it needs to be extracted to be installed before everything unneeded gets deleted...

  • Importing the index

    HI all
    I got a dump from client .its approx 8gb. Import of table was successful but some indexes are failed becoz the tablespace was unable to extend.. so now i want to create the index .. i dont have the scripts for that.. i have only the dump... And it is not possible to import the complete dump again>
    Help me how can i get the indexes..
    thanx
    Ashish

    Hello
    C:\>imp help=y
    Import: Release 9.2.0.1.0 - Production on Mon Feb 13 09:45:09 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    You can let Import prompt you for parameters by entering the IMP
    command followed by your username/password:
         Example: IMP SCOTT/TIGER
    Or, you can control how Import runs by entering the IMP command followed
    by various arguments. To specify parameters, you use keywords:
         Format:  IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
         Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
                   or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    USERID must be the first parameter on the command line.
    Keyword  Description (Default)       Keyword      Description (Default)
    USERID   username/password           FULL         import entire file (N)
    BUFFER   size of data buffer         FROMUSER     list of owner usernames
    FILE     input files (EXPDAT.DMP)    TOUSER       list of usernames
    SHOW     just list file contents (N) TABLES       list of table names
    IGNORE   ignore create errors (N)    RECORDLENGTH length of IO record
    GRANTS   import grants (Y)           INCTYPE      incremental import type
    INDEXES import indexes (Y)          COMMIT       commit array insert (N)
    ROWS import data rows (Y)        PARFILE      parameter filename
    LOG      log file of screen output   CONSTRAINTS  import constraints (Y)
    DESTROY                overwrite tablespace data file (N)
    INDEXFILE write table/index info to specified file
    SKIP_UNUSABLE_INDEXES  skip maintenance of unusable indexes (N)
    FEEDBACK               display progress every x rows(0)
    TOID_NOVALIDATE        skip validation of specified type ids
    FILESIZE               maximum size of each dump file
    STATISTICS             import precomputed statistics (always)
    RESUMABLE              suspend when a space related error is encountered(N)
    RESUMABLE_NAME         text string used to identify resumable statement
    RESUMABLE_TIMEOUT      wait time for RESUMABLE
    COMPILE                compile procedures, packages, and functions (Y)
    STREAMS_CONFIGURATION  import streams general metadata (Y)
    STREAMS_INSTANITATION  import streams instantiation metadata (N)
    The following keywords only apply to transportable tablespaces
    TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
    TABLESPACES tablespaces to be transported into database
    DATAFILES datafiles to be transported into database
    TTS_OWNERS users that own data in the transportable tablespace set
    Import terminated successfully without warnings.There's a couple of options:
    You could have imp write the index creation statements to a file with
    imp username/password@tns file=your_dump_file.dmp indexfile=file_you_want_to_create.sql tables=(list of tables you want to get index creation statements for)
    or
    imp username/password@tns file=your_dump_file.dmp indexfile=file_you_want_to_create.sql full=yThis probably gives you the greatest level of control as you can run each index creation statement separately and modify the contents of the file if you want.
    The other option is to let imp take care of it with
    imp username/password@tns file=your_dump_file.dmp tables(list of tables you need to create the indexes on) rows=n indexes=y ignore=y
    or
    imp username/password@tns file=your_dump_file.dmp full=y rows=n indexes=y ignore=yThis way imp will create any indexes that aren't already there but you have a little less control over what it does.
    HTH
    David

  • BIA and process chain

    Hi Gurus
    Would you please advise the steps I have to follow on BW side to make BIA starts working?
    Can I use process chain to include the functionality of BIA? Also as I know we have to create one Index per cube for BIA. Do we need to fill them manually of when we load cube its going to be filled in automatically?
    Do we need to delete the BIA index and recreate it when we load data to the same cube again?
    Do we need to do some settings on BEx analyser for query which we run to execute through BIA?
    Appreciate your quick reply..Thanks for the help
    Thanks

    1)if you drop the InfoCube the BIA index should be dropped automatically.
    This means you have to re-build the InfoCube BIA index.
    Process type -Initial Activation and Filling of BIA Indexes can be used as of SP-13.
    2)Program - RSDDTREX_AGGREGATES_FILL
    When you execute this step, the system starts a process in the background that reads the data in the tables of the InfoCube star schema from the database and writes them to the corresponding indexes on the BI accelerator server. If the index of a master data table (S/X/Y tables) has already been created and filled by another BI accelerator index, only those records that have been subsequently added have to be indexed (read mode/fill mode "D" during indexing).
    If the aggregate was filled successfully, the status in the "Object Status" column on the Index Info tab page switches to GREEN
    https://forums.sdn.sap.com/click.jspa?searchID=5022975&messageID=3855004
    Hope it Helps
    Chetan
    @CP..

  • System slowdown caused by Mail. Application error or worm???

    Hi there!
    After wondering for a long time why my system is gone so slowly (i never do a restart, just awake from sleep) i figured out that mail is the problem.
    Problem is that just after starting mail the activity monitor shows a cpu usage of about 45%, but there is no process in the list causing it. also, the disk activity shows a strange write value. while doing nothing special, it says that there are about 275 kb/s written on the disk! the most strange thing is that this behaviour stays altough mail is closed. the only thing to stop that is to restart the system and NOT open the mail application.
    the other strange thing is the behaviours of other apps after using mail. handbrake, for example, is multithreaded an uses about 180% of cpu. after opening mail, it just uses about 100%, as if it is ignoring the 2nd core in my iMac.
    now i am wondering if this is just an application error that should be fixed REALLY fast (because mail is my favourite email-client), or, and that should warn all us mac-users, it is some kind of worm/virus/trojan. remember microsoft outlook express? its very similar to mail becaus its winxp's standard mail-app... and you all know how riskful it is...
    would be nice if anyone could help me, since the problem is fixed i will use another mail-client and advise this to all that have noticed the same behaviour

    Hi Herogen.
    Verify/repair your disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    If the problem persist after having fixed all filesystem issues, and you suspect Spotlight has a bearing on it, you may try re-creating its database by typing the following command in Terminal:
    sudo mdutil -E /
    The -E option tells Spotlight to delete any already existing index info (so that it's rebuilt from scratch all over again), and the / at the end means "apply this command to the boot volume".
    After entering the command in Terminal, you'll be prompted for your administrator password. Just type it blindly (you won't see any feedback of the keystrokes while you type it) and then press <Return>.
    For best results, quit Mail and don't play too much with your disk while Spotlight does its job -- i.e. avoid files being created/modified/deleted, mail being downloaded, etc.

  • Is there a way to display external HTML content inside a SWF movie?

    IE if i wanted to have an 800x600 flash movie that i could display cnn.com or something of that sort.  Is it possible?

    A second option is to display the HTML content over the top of the Flash content.
    If is project is to be displayed as a Web page... it's all HTML anyway.... some of which may be Flash content, some that is regular HTML content. So it's not that hard to add in a little more regular HTML content.
    In your Flash movie, leave a blank space with the exact dimensions/location of the HTML content you want to display.
    Then using HTML/CSS z-indexing, stack the HTML content over the top of that blank space... making it LOOK like the HTML is a part of the Flash.
    If you want to display part of another Web site like cnn.com, you could do that in an iframe.
    Z-indexing info here:
    http://www.w3schools.com/cssref/pr_pos_z-index.asp
    http://webdesign.about.com/cs/css/a/aazindex.htm
    and the iframe here:
    http://www.w3schools.com/tags/tag_iframe.asp
    Best wishes,
    Adninjastrator

  • Oracle 10G R2: Cannot access a table whose name is a reserved keyword

    Hello,
    Oracle 10G R2 database being accessed using Oracle 10G thin driver in Java.
    There is a table named GROUP in the db - GROUP is a reserved keyword of course.
    When I execute the statement (after getting the database metadata object from a java.sql.Connection to the DB):
    oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(null, "MYDB", "GROUP", false, true)
    I get:
    Exception in thread "main" java.sql.SQLException: ORA-00903: invalid table name
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1160)
    at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1606)
    at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1571)
    at oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(OracleDatabaseMetaData.java:3485)
    When I execute the statement:
    oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(null, "MYDB", "\"GROUP\"", false, true)
    the result set is empty
    What is the correct way for me to get the index info from the table named GROUP?
    Thanks,
    Sundeep

    user5486925 wrote:
    oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(null, "MYDB", "\"GROUP\"", false, true)
    the result set is empty
    Which would suggest you are using the correct name as a quoted identifier. Presumably the code you are using works for other tables. But you might try variations in case.
    You can also query the database directly to get the index information rather than using the metadata.
    What is the correct way for me to get the index info from the table named GROUP?The correct way is to not use reserved words.

  • Integration FI-HR

    Hi,
    Any one plz tell me the integration of FI-HR
    step by step documentatuion  urgent
    Thanks
    syam

    Dear Syam,
    1. in ppom_old select position select "GOTO" Menu click on account assignment where you have cost distribution,master cost center,and account assignment in which cost center, cost element and order is created by fi/co
    2. in img-pm-pa-personnel data-bank details-define payment methods which payment methods is created by fico
    3. in trainining and event management - business event preparation-define cost items there where we have to give whether the cost is releavant to transfer or not to releavant transfer where if it is releavant for transfer you have to give controlling area and cost element where both is created by fico and in pv00 tcode after booking the after booking the candidate for training program you have to do billing document where fi people involve in this
    4. img-payroll-payroll:country - reporting payroll results to accounting -activities in hr system-where you have to create symbolic accounts in which you have to give account assignment as expense account(C) and you post wage type to symbolic account after you assign to the G/L account .
    You would create symbolic accounts and assign them to corresponding GL Accounts so that the posting is done in FI.
    A symbolic account is a payroll object used when posting wage type data from HR to FI. Wage types are not directly assigned to FI accounts. Symbolic accounts indicate to what accounts the payroll expenses should post. Symbolic accounts ensure that the account determination of the payroll wage type data takes place during posting to accounting. The support team should keep the related symbolic accounts with the same account assignments to accommodate posting adjustments for future payroll retrocalculation. In fact, this is a best practice even if the symbolic accounts do not have wage types assigned to them.
    It is important for HR to post payroll information accurately to FI accounts. You achieve this using symbolic accounts, which tie HR wage type data to FI accounts. Many people may not realize that you should never delete symbolic accounts, even if they are no longer assigned to a wage type.
    http://www.sap-img.com/hr018.htm
    For posting payroll results to Accounting, in IMG you can follow this :
    1 ) First you need to create symbolic accounts. goto PAYROLL INDIA - REPORTING FOR POSTING PAYROLL RESULTS TO ACCOUNTING - ACTIVITIES IN THE HR SYSTEM - EMP GRP AND SYMBOLIC ACCOUNTS - DEFINE SYMBOLIC ACCOUNTS
    2) DEFINE POSTING CHARACTERISTICS OF WT ( ASSIGN WT TO SYMBOLIC ACCOUNTS)
    3) goto PAYROLL INDIA - REPORTING FOR POSTING PAYROLL RESULTS TO ACCOUNTING - ACTIVITIES IN THE AC SYSTEM - ASSIGNING ACCOUNTS - ASSIGN BALANCE SHEET A/C AND ASSIGN EXPENSE A/C
    4) EASY ACCESS - HR - PAYROLL-INDIA - SUBSEQUENT ACTIVITIES - PER PAYROLL PERIOD- EVALUATION - POSTING TO A/C-EXECUTE RUN
    The prerequisite for posting is -Enter posting information in Master data and run payroll. After doing that follow this posting process:-
    a) Create a document
    b) release document ( it asks do u want to release for posting-say post immediately)
    c) post document
    Though the t.code FB03 you can do completeness check of the document.
    Now execute the posting run - a posting run can be performed as a test run without documents / a simulation run / a productive run.
    In a simulation and production run the system checks all HR and FI tables and the posting info in master data to determine whether they exist.
    In a test run the system checks only the balance of expenses and payables.
    Now you chose execute run - next select release post run - now post post run - finally it generates index info.
    I have to create a new wage type for additional payments. This has to look at a payroll constant and calculate the amount to be paid.  What I would like to know is when I do this do I have to do anything so that the amount in this Wage Type will be posted to FI like create a G/L ? Or will this be posted automatically along with other wage types?
    If you are copying wage type xxxx to create your new wage type for additional payment, there is a chance that your posting will take place similar to wage type xxxx.
    Rest is pure config in payroll. There is a full section for it. Symbolic accounts...... G/Ls....Accrual A/Cs.... pretty involved stuff. Without a FI guru with you ...I won't advise proceeding forward.   
    That depends on how you create the wage type. The link is done in some T52E* table, which is for instance copied by PU30. If you create the wage type by creating it directly in T512W (via view V_512W_T), then you will have to do
    the link additionally.  The standard way to create a wagetype is however to find a corresponding wage type, which has the same (or similar) functionality as the one you want to create and then use PU30 to copy this wage type to the new wage type.
    Thereby a lot of tables (I think in the newest, 4.6C, it's around 95 tables) are checked and if needed the entries are copied. Amongst those tables you will also find the ones establishing the links to FI's G/L.  
    Following comments relate specifically to 3.1H. They may or may not apply to your system.
    Normally a new wage type is created by copying an existing wage type, either a model wage type that has some standard attributes, or an existing actual wage type in production use.
    Your config changes will need to set up the new wage type so that the amount is derived from your payroll constant. However, the posting to FI will have been copied from the wage type you copied. The posting is represented by processing class 32 and evaluation class 01 (of table T512W) for a payment wage type. Provided the new wage type is similar in its
    posting requirement to the one you have copied you only need to do two things now:
    1. ensure that processing class 32 is the correct option for the type of posting you want.
    2. ensure that the value in evaluation class 01, also known as a symbolic account, correctly represents the 
        target account  number in FI for this expense.
        If you have to post to an existing account number, for which there is already a symbolic account allocated, 
        you can set evaluation class 01 to that symbolic account.
        If the payment is so different from existing payment types, that your accountants want it posted to a new 
        account code, you need to
    3. allocate a new symbolic account number (next available number in the range)
    4. insert a new entry in table T030, "Posting of HR to FI/CO", linking the new symbolic account to the account 
         number advised by your FI administrator.
    http://help.sap.com/saphelp_glossary/en/35/26c607afab52b9e10000009b38f974/content.htm
    Regards,
    Naveen.

  • Problem with field-symbols usage

    Hi guys,
    I am trying to read a record of table gi_outtab as follows:
    read table gi_outtab into wa_outtab index wa_ir2_data_changed-row_id.
    And now i want the value of a field of wa_outtab and this field is contained in a field-symbol <field> .
    I thought wa_outtab-<field> would give the value for that field. But it gives syntax error saying component doesn't exist.How do I fix it ? Any help or sample code to fix this error is greatly appreciated.The code is below.
    Thanks,
    SHK
    I have fieldname info and row index info in wa_ir2_data_changed.I assign field-name info to a field-symbol.wa_outtab-<field> gives error saying no component like that exists. <field> dynamically changes for ever iteration of the loop below.How do I fix it ?
    data : wa_ir2_data_changed like line of ir2_data_changed->mt_good_cells.
    field-symbols : <field> type ANY .
    loop at ir2_data_changed->mt_good_cells into wa_ir2_data_changed.
    assign wa_ir2_data_changed-fieldname to <field> .
    read table gi_outtab into wa_outtab index wa_ir2_data_changed-row_id.
    call method ir2_data_changed->modify_cell
       exporting i_row_id  = wa_ir2_data_changed-row_id
               i_fieldname = wa_ir2_data_changed-fieldname
               i_value     = wa_outtab-<field>.
    endloop.
    wa_ir2_data_changed has 3 components.
    a) row_id
    b) fieldname
    c) value

    The following code fixed it.Thanks Suresh for the tip.
    loop at ir2_data_changed->mt_good_cells into wa_ir2_data_changed.
    read table gi_outtab into wa_outtab index wa_ir2_data_changed-row_id.
    ASSIGN COMPONENT wa_ir2_data_changed-fieldname of structure wa_outtab to
    <field>.
    call method ir2_data_changed->modify_cell
       exporting i_row_id  = wa_ir2_data_changed-row_id
               i_fieldname = wa_ir2_data_changed-fieldname
               i_value     = <field>.
    endloop.

Maybe you are looking for