About GL account master table

Dear all,
Just want to know in 11i(11.5.5), which table will show the information of all GL accounts' information such as account code and description.
Thks & Rgds,
Edward

Please use the following query
CREATE MATERIALIZED VIEW FIMS_ACCTMSTR_MVIEW REFRESH with rowid AS
SELECT flex_value_id as Id, flex_value as Code, description as Description, enabled_flag,
start_date_active, end_date_active, CREATION_DATE, LAST_UPDATE_DATE
FROM FND_FLEX_VALUES_VL@appsAPPSDBLink
WHERE (('' IS NULL) OR
(structured_hierarchy_level IN
(SELECT hierarchy_id
FROM fnd_flex_hierarchies_vl@appsAPPSDBLink h
WHERE h.flex_value_set_id = (
SELECT fifsegs.flex_value_set_id
FROM FND_ID_FLEX_STRUCTURES@appsAPPSDBLink fifs,
FND_ID_FLEXS@appsAPPSDBLink fif,
FND_ID_FLEX_SEGMENTS@appsAPPSDBLink fifsegs
WHERE fif.id_flex_name='Accounting Flexfield'
AND id_flex_structure_code='Give the name of flex field structure' '
AND fifsegs.segment_name = 'name of the account segment'
AND fifsegs.enabled_flag = 'Y'
AND fifs.id_flex_num=fifsegs.id_flex_num
AND fifs.application_id=fifsegs.application_id
AND h.hierarchy_name like ''
AND
(FLEX_VALUE_SET_ID=(
SELECT fifsegs.flex_value_set_id
FROM FND_ID_FLEX_STRUCTURES@appsAPPSDBLink fifs,
FND_ID_FLEXS@appsAPPSDBLink fif,
FND_ID_FLEX_SEGMENTS@appsAPPSDBLink fifsegs
WHERE fif.id_flex_name='Accounting Flexfield'
AND id_flex_structure_code='Give the name of flex field structure'
AND fifsegs.segment_name = 'Name of the account segment'
AND fifsegs.enabled_flag = 'Y'
AND fifs.id_flex_num=fifsegs.id_flex_num
AND fifs.application_id=fifsegs.application_id
AND SUMMARY_FLAG='N'
ORDER by FLEX_VALUE

Similar Messages

  • GL Account Master data table

    Dear All,
    I want to see the masterdata information related to GL account like
    Gl account, Description, recon account for account type(Control data), Field status group etc....all details related to GL account.
    I tried table SKA1 but could not get all details, especially i am looking for control data.
    Thanks
    Sunil.

    HI,
    you can use the below  standard MD datasources to get the required data that you are looking for
    -Chart of Accounts
    -G/L account number
    -Company Code
    -Business area
    -Version
    Try below tables
    Table name :  SKB1 : G/L Account Master ( Company Code)
    Fields:
         BUKRS : Company Code 
         SAKNR : G/L Account
    Table name :  SKA1 : G/L Account Master ( Chart of Accounts )
    Fields:  
         KTOPL : Char of Accounts 
         SAKNR : G/L Account
    Table name :  SKAT : G/L Account Master Record ( Chart of Accounts : Description )
    Fields:
         SPRAS : Language
         KTOPL : Char of Accounts 
         SAKNR : G/L Account             
    KP
    Edited by: prashanthk on Sep 23, 2010 12:23 PM

  • Details about TA kk01 and master tables

    hi SAP Technical Guru's
    pls provide details about TA KK01 (statistical key figures) and master tables.
    best regards,
    m.srinivas.

    Hi
    TA     Report            * Header Description*
    KKO1   SAPMKCEE       Create Drilldown Report
    Go to SE 38 and check this report, you can also find the master data tables used by clicking f1 and then the technical settings button on the tool bar.
    Regards
    Divya

  • Error message FH 502 in IDOC GL Account Master Data processing

    Hi all:
    I am updating the GL Account Master Records, importing generated IDOC´s from the production system, using standard SAP IDOC functions. Usually it is working fine, but sometimes I get the error message FH 502 “Internal error: Import of table SKA1 not possible”, and the IDOC status is set to “51”. I checked the IDOC in the Debugging Mode and all seems to be OK.
    Please is there anyone with a similar problem? I will appreciate any help.
    Thanks a lot
    Best Regards

    Hi Arun:
    Sorry to disturb you. Related to this issue I have found an SAP note number 708243 that is not implemented in my installation (SAP 4.7 Enterprise), but the status of the note is "Cannot be implemented". Please does anybody know what that status is meaning? Could be possible to implement it without problems?
    I will appreciate and thank for any information about
    Best Regards

  • G/L account Master data question

    Hi all,
    Can I change an account master to a regular B/S account from a customer reconciliation account i.e., turn off the reconciliation indicator on the account if there is a balance/ activity on that reconciliation account? I tried to change that account to turn off the customer reconciliation indicator and I am getting the messages
    FH 110 “Modifications to reconciliation account not permitted”
    FH 511 “The data contains error, you cannot save”
    The second one looks like implication of first one.
    So, can anyone tell me if that is possible at all or is there an alternative to go about it. User is trying to pass JE to that reconciliation account to wipe out the balances in the account since the company is not productive anymore so, is there any alternative to go about this?
    Your feedback is highly appreciated and rewarded with points
    Thanks
    Kumar

    The open item account in which you want to change the reconciliation account has been posted to.
    By changing the reconciliation account in the open item master record the proportionate values from the items open at the time of change are not posted to the new reconciliation account.
    Procedure
    On the balance sheet key date the open items from the old reconciliation account are allocated to the new reconciliation account using adjustment accounts. This allocation is carried out automatically when you create a sorted list of receivables and payables using report SAPF101.
    The postings necessary are only carried out for G/L accounts and are cancelled on the first day of the subsequent month (balance sheet adjustment posting).
    Follow this :
    Define adjustment accounts for Define Adjustment Accts for Changed Reconciliation Accounts.
    This you do in SPR0Financial AccountingAR/AP---Business transactionsClosingRegroupDefine Adjustment Accts for Changed Reconciliation Accounts.
    Here after entering your chart of accounts you have to enter the old recon a/c which is to be adjusted and the adjustment account(which we will have to create).
    The same can be access via transaction OBBW.
    After doing this using F101 (or SAPF101 via se38) I can get postings done from the old recon a/c to the new recon a/c.
    Any receipts or payments on such old open items created will continue to affect the Old reconciliation account, even though the new reconciliation account is assigned to the Customer master. New Open Items will affect only the New Reconciliation account along with their subsequent transactions.
    So we are not basically tranferring the receivable amount shown in the old recon account to the new one? But instead just putting them temporarily into the new recon a/c to reflect on the balance sheet?

  • G/L Account Master Value not display in drop down screen

    Hi All,
    G/L Master data some G/L Account is created but in the Selection filed
    drop down in the g/l account number when we select that particular g/l
    account no. wise search system give the massage --
    No values for this selection
    Message no. DH802
    But when we give the g/l account number in fs00 it is display.
    When we search the where is problem we find one filed there in SKA1-
    SAKAN filed not maintain for particular that g/l account remaining g/l
    account is maintain we search there 5 g/l account not maintain in that filed.
    How can we solve this issue please help me.
    Thanks & Regards,
    Juhi

    Hi,
    The length of G/L account number (V_T004-SAKLN) field is for display purposes only.  When you create a G/L account, an entry will be created in the chart of accounts (SKA1) table.  The G/L account number is stored in the following (2) fields:
    1)  SKA1-SAKNR - contains the internal (10) character field format.
    2)  SKA1-SAKAN - contains the external field format as defined in trans OB13.
    For example, if you define the length of G/L account number to be (8) characters in trans OB13, the (7) and (8) character G/L accounts will be stored in the SKA1 fields as follows:
                              (Internal)          (External)
         G/L Account          SKA1-SAKNR          SKA1-SAKAN
         1234                 0000001234          01234
         12345                0000012345          12345
    When you define your chart of accounts you enter the length of the G/L account number.  This is the significant length.  A possible maximum is 10.  You have to make sure that there are enough digits for your leading zeros.  A possible cause of your problem, is that the length of SAKAN was changed at some point.
    To maintain the field SKA1-SAKAN for the output of the account number, please proceed as documented in the attached Note 187832.
    regards
    Waman

  • How to create one master table and two detail for it

    I have one table , imagine it like mastertable( empid,deptid );
    and two different tables like employeetable(empid ) , departmenttable ( deptid )....
    I dont have any relation on database side. I need to create view link and ı need to use only one master table for two detail tables.
    How can ı manage this scenerio ?
    thanks...

    yes Shay ı really want to use two detail table in one UI as you suggest in your blog. But in that scenerio probably tables have link in database side with foreign key. My detail tables dont have any connection in database side with my master table. How can ı link them under one mastertableVO ?
    I am really sorry about my bad explanation. I am a newbie and probably ı dont know the correct words to tell my problem.
    Thanks for your time...

  • Findind Cleared open items for G/L account master (company code)

    Hi All,
        I wanted to incorporate one logic to find the whether open items have been cleared or not for G/L account master (company code).
    Currently, I am fetching the data from SKB1 based on company code.
    Then i am passing the GL account to BSIS table to find the whether all the accounts have been cleared or not.
    Is this the correct procudure or any other procedure to find the GL account is been cleared for open items.
    Is there any Function modules to find this any way.

    Thnkx.
    I am writting a report where i need to check the above scenario.
    Earlier we planed to call FBL3N to check the same, but
    But i need to call FBL3N in my report program. Which is not correct procedure
    Hence we taught to take all GL accounts from SKB1 and pass it to BSIS table and check.
    Is there any other way rather than the above one.

  • Creating Custom fields which are sales org dependent in Accounts Master

    Hello Experts,
    I want to create new custom fields in Accounts Master for sales and shipping.The component being used is BP_SALES.However when I try to create custom fields through AET, the new fields are added in the BUILHEADER context node.The problem with this is, its making the fields Sales Org independent.
    I want to add the fields which are sales org dependent( i.e. want to add the fields for the context nodes BUILSHIPPINGTERMS and BUILSALESARRANGEMENT).
    Please help me in this regards,
    Thanks and Regards,
    Rahim
    Edited by: Abdul Rahim on Dec 27, 2010 9:55 AM

    Hi Rahim,
    in general extension fields for Business Partner are only supported for the header fields (Table BUT000). Therefore the AET does not offer this.
    Table extension for BP sales data is supported by the AET beginning from CRM 7.0 eHP1. If you have this you can just create a 1:1 table enhancements and should be happy. If not I'm afraid that you would have to implement this manually.
    Using the Easy Enhancement Workbench (EEW) it would only be possible to create table extensions for the header and for relation ship but not for sales data.
    Regards Matthias

  • Master table / detail table: Problem refreshing the content

    Hi,
    I have a Master table/detail table on my page. When I add a new row to the master or detail table, the new row is inserted in the database, but not shown in the ADF Tables on the page. After restarting the OC4J the ADF Tables show the correct data, including the new rows.
    While dropping the collection on my page there were one methodIterator and two accessorIterators created.
    In several tutorials the solution for the refresh problem is to change the chacheResult parameter of the methodIterator to false. But this causes in "No row found for rowKey:null" errors.
    An other solution should be to create a new invokeAction with the id "tableRefresh" and the corresponding RefreshConditions. This doesn't helps, too.
    So how could I solve this problem? I want to update/refresh the master and detail table, after I inserted a new row.
    Thanks,
    Thomas

    Hi,
    thanks for your answer.
    Sorry, but I forgot to say, that I am using Jdev 10.1.3.1, Toplink, ADF and EJB3.
    I think I will give some further informations about the scenario. I created the m/d table by drag-and-droping the object out of the data control palette on site A. Each row stores a goLink item, which navigates to a new page B. After creating and saving the new entry the user navigates back to the page with the m/d table (page A). Storing the new entry is handled by an action in the page B managed bean.
    Now the question: How could I re-execute in page B backing bean the iterator which is stored in page A? Could this be handled by an invokeAction? Or is it possible to get access to the iterator used and stored on another page (definition)?
    Thanks,
    Thomas

  • Query performance on materialized view vs master tables

    Hi,
    I am afraid of strange behavior in db, on my master tables UDBMOVEMENT_ORIG(26mil.rows) and UDBIDENTDATA_ORIG(18mil.rows) is created materialized view TMP_MS_UDB_MV (UDBMOVEMENT is synonym to this object) which meets some default conditions and join condition on these master tables. MV got about 12milions rows. I created MV to query not so huge objects, MV got 3GB, master tables toghether 12GB. But I don't understand that even physical reads and consistent gets are less on MV than on master tables, the final execution time is shorter on master tables. See my log below.
    Why?
    Thanks for answers.
    SQL> set echo on
    SQL> @flush
    SQL> alter system flush buffer_cache;
    System altered.
    Elapsed: 00:00:00.20
    SQL> alter system flush shared_pool;
    System altered.
    Elapsed: 00:00:00.65
    SQL> SELECT
    2 UDBMovement.zIdDevice, UDBMovement.sDevice, UDBMovement.zIdLocal, UDBMovement.sComputer, UDBMovement.tActionTime, UDBIdentData.sCardSubType, UDBIdentData.sCardType, UDBMovement.cEpan, UDBMovement.cText, UDBMovement.lArtRef, UDBMovement.sArtClassRef, UDBMovement.lSequenz, UDBMovement.sTransMark, UDBMovement.lBlock, UDBMovement.sTransType, UDBMovement.lGlobalID, UDBMovement.sFacility, UDBIdentData.sCardClass, UDBMovement.lSingleAmount, UDBMovement.sVAT, UDBMovement.lVATTot, UDBIdentData.tTarifTimeStart, UDBIdentData.tTarifTimeEnd, UDBIdentData.cLicensePlate, UDBIdentData.lMoneyValue, UDBIdentData.lPointValue, UDBIdentData.lTimeValue, UDBIdentData.tProdTime, UDBIdentData.tExpireDate
    3 FROM UDBMOVEMENT_orig UDBMovement, Udbidentdata_orig UDBIdentData
    4 WHERE
    5 UDBMovement.lGlobalId = UDBIdentData.lGlobalRef(+) AND UDBMovement.sComputer = UDBIdentData.sComputer(+)
    6 AND UDBMovement.sTransType > 0 AND UDBMovement.sDevice < 1000 AND UDBMovement.sDevice>= 0 AND UDBIdentData.sCardType IN (2) AND (bitand(UDBMovement.sSaleFlag,1) = 0 AND bitand(UDBMovement.sSaleFlag,4) = 0) AND UDBMovement.sArtClassRef < 100
    7 AND UDBMovement.tActionTime >= TO_DATE('05/05/2011 00:00:00', 'dd/mm/yyyy hh24:mi:ss') + 0.25 AND UDBMovement.tActionTime < TO_DATE('05/05/2011 00:00:00', 'dd/mm/yyyy hh24:mi:ss') + 0.5
    8 ORDER BY tActionTime, lBlock, lSequenz;
    4947 rows selected.
    Elapsed: 00:00:15.84
    Execution Plan
    Plan hash value: 1768406139
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 7166 | 1238K| | 20670 (1)| 00:04:09 |
    | 1 | SORT ORDER BY | | 7166 | 1238K| 1480K| 20670 (1)| 00:04:09 |
    | 2 | NESTED LOOPS | | | | | | |
    | 3 | NESTED LOOPS | | 7166 | 1238K| | 20388 (1)| 00:04:05 |
    |* 4 | TABLE ACCESS BY INDEX ROWID| UDBMOVEMENT_ORIG | 7142 | 809K| | 7056 (1)| 00:01:25 |
    |* 5 | INDEX RANGE SCAN | IDX_UDBMOVARTICLE | 10709 | | | 61 (0)| 00:00:01 |
    |* 6 | INDEX UNIQUE SCAN | UDBIDENTDATA_PRIM | 1 | | | 1 (0)| 00:00:01 |
    |* 7 | TABLE ACCESS BY INDEX ROWID | UDBIDENTDATA_ORIG | 1 | 61 | | 2 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    4 - filter("UDBMOVEMENT"."STRANSTYPE">0 AND "UDBMOVEMENT"."SDEVICE"<1000 AND
    BITAND("SSALEFLAG",1)=0 AND "UDBMOVEMENT"."SDEVICE">=0 AND BITAND("UDBMOVEMENT"."SSALEFLAG",4)=0)
    5 - access("UDBMOVEMENT"."TACTIONTIME">=TO_DATE(' 2011-05-05 06:00:00', 'syyyy-mm-dd
    hh24:mi:ss') AND "UDBMOVEMENT"."TACTIONTIME"<TO_DATE(' 2011-05-05 12:00:00', 'syyyy-mm-dd
    hh24:mi:ss') AND "UDBMOVEMENT"."SARTCLASSREF"<100)
    filter("UDBMOVEMENT"."SARTCLASSREF"<100)
    6 - access("UDBMOVEMENT"."LGLOBALID"="UDBIDENTDATA"."LGLOBALREF" AND
    "UDBMOVEMENT"."SCOMPUTER"="UDBIDENTDATA"."SCOMPUTER")
    7 - filter("UDBIDENTDATA"."SCARDTYPE"=2)
    Statistics
    543 recursive calls
    0 db block gets
    84383 consistent gets
    4485 physical reads
    0 redo size
    533990 bytes sent via SQL*Net to client
    3953 bytes received via SQL*Net from client
    331 SQL*Net roundtrips to/from client
    86 sorts (memory)
    0 sorts (disk)
    4947 rows processed
    SQL> @flush
    SQL> alter system flush buffer_cache;
    System altered.
    Elapsed: 00:00:00.12
    SQL> alter system flush shared_pool;
    System altered.
    Elapsed: 00:00:00.74
    SQL> SELECT UDBMovement.zIdDevice, UDBMovement.sDevice, UDBMovement.zIdLocal, UDBMovement.sComputer, UDBMovement.tActionTime, UDBMovement.sCardSubType, UDBMovement.sCardType, UDBMovement.cEpan, UDBMovement.cText, UDBMovement.lArtRef, UDBMovement.sArtClassRef, UDBMovement.lSequenz, UDBMovement.sTransMark, UDBMovement.lBlock, UDBMovement.sTransType, UDBMovement.lGlobalID, UDBMovement.sFacility, UDBMovement.sCardClass, UDBMovement.lSingleAmount, UDBMovement.sVAT, UDBMovement.lVATTot, UDBMovement.tTarifTimeStart, UDBMovement.tTarifTimeEnd, UDBMovement.cLicensePlate, UDBMovement.lMoneyValue, UDBMovement.lPointValue, UDBMovement.lTimeValue, UDBMovement.tProdTime
    2 FROM UDBMOVEMENT WHERE
    3 UDBMovement.sTransType > 0 AND UDBMovement.sDevice < 1000 AND UDBMovement.sDevice>= 0 AND UDBMovement.sCardType IN (2) AND (bitand(UDBMovement.sSaleFlag,1) = 0 AND bitand(UDBMovement.sSaleFlag,4) = 0) AND UDBMovement.sArtClassRef < 100
    4 AND UDBMovement.tActionTime >= TO_DATE('05/05/2011 00:00:00', 'dd/mm/yyyy hh24:mi:ss') + 0.25
    5 AND UDBMovement.tActionTime < TO_DATE('05/05/2011 00:00:00', 'dd/mm/yyyy hh24:mi:ss') + 0.5 ORDER BY tActionTime, lBlock, lSequenz;
    4947 rows selected.
    Elapsed: 00:00:26.46
    Execution Plan
    Plan hash value: 3648898312
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 2720 | 443K| 2812 (1)| 00:00:34 |
    | 1 | SORT ORDER BY | | 2720 | 443K| 2812 (1)| 00:00:34 |
    |* 2 | MAT_VIEW ACCESS BY INDEX ROWID| TMP_MS_UDB_MV | 2720 | 443K| 2811 (1)| 00:00:34 |
    |* 3 | INDEX RANGE SCAN | EEETMP_MS_ACTTIMEDEVICE | 2732 | | 89 (0)| 00:00:02 |
    Predicate Information (identified by operation id):
    2 - filter("UDBMOVEMENT"."STRANSTYPE">0 AND BITAND("UDBMOVEMENT"."SSALEFLAG",4)=0 AND
    BITAND("SSALEFLAG",1)=0 AND "UDBMOVEMENT"."SARTCLASSREF"<100)
    3 - access("UDBMOVEMENT"."TACTIONTIME">=TO_DATE(' 2011-05-05 06:00:00', 'syyyy-mm-dd
    hh24:mi:ss') AND "UDBMOVEMENT"."SDEVICE">=0 AND "UDBMOVEMENT"."SCARDTYPE"=2 AND
    "UDBMOVEMENT"."TACTIONTIME"<TO_DATE(' 2011-05-05 12:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
    "UDBMOVEMENT"."SDEVICE"<1000)
    filter("UDBMOVEMENT"."SCARDTYPE"=2 AND "UDBMOVEMENT"."SDEVICE"<1000 AND
    "UDBMOVEMENT"."SDEVICE">=0)
    Statistics
    449 recursive calls
    0 db block gets
    6090 consistent gets
    2837 physical reads
    0 redo size
    531987 bytes sent via SQL*Net to client
    3953 bytes received via SQL*Net from client
    331 SQL*Net roundtrips to/from client
    168 sorts (memory)
    0 sorts (disk)
    4947 rows processed
    SQL> spool off
    Edited by: MattSk on Feb 4, 2013 2:20 PM

    I have added some tkprof outputs on MV and master tables:
    SELECT tmp_ms_udb_mv.zIdDevice, tmp_ms_udb_mv.sDevice, tmp_ms_udb_mv.zIdLocal, tmp_ms_udb_mv.sComputer, tmp_ms_udb_mv.tActionTime, tmp_ms_udb_mv.sCardSubType, tmp_ms_udb_mv.sCardType, tmp_ms_udb_mv.cEpan, tmp_ms_udb_mv.cText, tmp_ms_udb_mv.lArtRef, tmp_ms_udb_mv.sArtClassRef, tmp_ms_udb_mv.lSequenz, tmp_ms_udb_mv.sTransMark, tmp_ms_udb_mv.lBlock, tmp_ms_udb_mv.sTransType, tmp_ms_udb_mv.lGlobalID, tmp_ms_udb_mv.sFacility, tmp_ms_udb_mv.sCardClass, tmp_ms_udb_mv.lSingleAmount, tmp_ms_udb_mv.sVAT, tmp_ms_udb_mv.lVATTot, tmp_ms_udb_mv.tTarifTimeStart, tmp_ms_udb_mv.tTarifTimeEnd, tmp_ms_udb_mv.cLicensePlate, tmp_ms_udb_mv.lMoneyValue, tmp_ms_udb_mv.lPointValue, tmp_ms_udb_mv.lTimeValue, tmp_ms_udb_mv.tProdTime
    FROM tmp_ms_udb_mv WHERE
    tmp_ms_udb_mv.sTransType > 0 AND tmp_ms_udb_mv.sDevice < 1000 AND tmp_ms_udb_mv.sDevice>= 0 AND tmp_ms_udb_mv.sCardType IN (1) AND (bitand(tmp_ms_udb_mv.sSaleFlag,1) = 0 AND bitand(tmp_ms_udb_mv.sSaleFlag,4) = 0) AND tmp_ms_udb_mv.sArtClassRef < 100
    AND tmp_ms_udb_mv.tActionTime >= TO_DATE('05/05/2011 00:00:00', 'dd/mm/yyyy hh24:mi:ss') + 0.25
    AND tmp_ms_udb_mv.tActionTime < TO_DATE('05/05/2011 00:00:00', 'dd/mm/yyyy hh24:mi:ss') + 0.5
    ORDER BY tActionTime, lBlock, lSequenz
    call count cpu elapsed disk query current rows
    Parse 1 0.04 0.10 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 596 0.17 27.07 2874 8894 0 8925
    total 598 0.21 27.18 2874 8894 0 8925
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 60
    Rows Row Source Operation
    8925 SORT ORDER BY (cr=8894 pr=2874 pw=0 time=27071773 us)
    8925 MAT_VIEW ACCESS BY INDEX ROWID TMP_MS_UDB_MV (cr=8894 pr=2874 pw=0 time=31458291 us)
    8925 INDEX RANGE SCAN EEETMP_MS_ACTTIMEDEVICE (cr=68 pr=68 pw=0 time=161347 us)(object id 149251)
    SELECT
    UDBMovement.zIdDevice, UDBMovement.sDevice, UDBMovement.zIdLocal, UDBMovement.sComputer, UDBMovement.tActionTime, UDBIdentData.sCardSubType, UDBIdentData.sCardType, UDBMovement.cEpan, UDBMovement.cText, UDBMovement.lArtRef, UDBMovement.sArtClassRef, UDBMovement.lSequenz, UDBMovement.sTransMark, UDBMovement.lBlock, UDBMovement.sTransType, UDBMovement.lGlobalID, UDBMovement.sFacility, UDBIdentData.sCardClass, UDBMovement.lSingleAmount, UDBMovement.sVAT, UDBMovement.lVATTot, UDBIdentData.tTarifTimeStart, UDBIdentData.tTarifTimeEnd, UDBIdentData.cLicensePlate, UDBIdentData.lMoneyValue, UDBIdentData.lPointValue, UDBIdentData.lTimeValue, UDBIdentData.tProdTime, UDBIdentData.tExpireDate
    FROM UDBMOVEMENT_orig UDBMovement, Udbidentdata_orig UDBIdentData
    WHERE
    UDBMovement.lGlobalId = UDBIdentData.lGlobalRef(+) AND UDBMovement.sComputer = UDBIdentData.sComputer(+)
    AND UDBMovement.sTransType > 0 AND UDBMovement.sDevice < 1000 AND UDBMovement.sDevice>= 0 AND UDBIdentData.sCardType IN (1) AND (bitand(UDBMovement.sSaleFlag,1) = 0 AND bitand(UDBMovement.sSaleFlag,4) = 0) AND UDBMovement.sArtClassRef < 100
    AND UDBMovement.tActionTime >= TO_DATE('05/05/2011 00:00:00', 'dd/mm/yyyy hh24:mi:ss') + 0.25
    AND UDBMovement.tActionTime < TO_DATE('05/05/2011 00:00:00', 'dd/mm/yyyy hh24:mi:ss') + 0.5
    ORDER BY tActionTime, lBlock, lSequenz
    call count cpu elapsed disk query current rows
    Parse 1 0.03 0.06 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 596 0.76 16.94 3278 85529 0 8925
    total 598 0.79 17.01 3278 85529 0 8925
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 60
    Rows Row Source Operation
    8925 SORT ORDER BY (cr=85529 pr=3278 pw=0 time=16942799 us)
    8925 NESTED LOOPS (cr=85529 pr=3278 pw=0 time=15017857 us)
    22567 TABLE ACCESS BY INDEX ROWID UDBMOVEMENT_ORIG (cr=17826 pr=1659 pw=0 time=7273473 us)
    22570 INDEX RANGE SCAN IDX_UDBMOVARTICLE (cr=111 pr=111 pw=0 time=112351 us)(object id 143693)
    8925 TABLE ACCESS BY INDEX ROWID UDBIDENTDATA_ORIG (cr=67703 pr=1619 pw=0 time=8154915 us)
    22567 INDEX UNIQUE SCAN UDBIDENTDATA_PRIM (cr=45136 pr=841 pw=0 time=3731470 us)(object id 108324)

  • ORA-12054: mview in 10g and master table in 8i

    Hi all,
    I have an issue when creating a mview on 10g with master table accessed via dblink in a 8i DB.
    I've done the following:
    1.) Created the mv log in master table schema1 in 8idb database version 8.1.7.
    CREATE MATERIALIZED VIEW LOG ON SCHEMA1.TAB1
    WITH ROWID , PRIMARY KEY
    INCLUDING NEW VALUES;
    desc tab1
    col1 number(4);
    col2 varchar2(30);
    col3 varchar2(30);
    2.) Granted the following privs to user schema2@10gdb (where the mview will be created).
    GRANT GLOBAL QUERY REWRITE TO schema2;
    grant create materialized view to schema2;
    3.) Created the db link 8idb connecting schema2 user to 8idb
    4.) Tried to create the Mview:
    CREATE MATERIALIZED VIEW SCHEMA2.MV_TEST1
    TABLESPACE TABSP1
    BUILD IMMEDIATE
    REFRESH FAST ON COMMIT
    ENABLE QUERY REWRITE
    AS
    SELECT COL1, COL2, COL3, COUNT(*)
    FROM tab1@8idb
    GROUP BY COL1, COL2, COL3;
    Received the following error:
    FROM tab1@8idb
    ERROR at line 9:
    ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view
    Can someone tell me what I'm doing wrong? the creation works fine on the same database in another schema. Am I missing something in 8i environment? I read Oracle8i SQL Reference
    about MViews and it seemed to work.

    Hi,
    You can't set the on commit refresh attribute for an mview over a db link. It is only valid within a single database.
    Cheers,
    Harry

  • Is there a FM to create GL account master data ?

    Instead of the BI based report RFBISA00 I would prefere to use a FM or BAPI.
    Does anybody know such a FM?
    Thank in advance

    hi Oleg / expert
    I tried to use FM GL_ACCT_MASTER_SAVE to do g/l account master mass upload, but error messag return:
    Type :E ID:FH Number 502 "Internal error: Import of table SKA1 not possible". Is there any step I miss ?
    SAP: ECC6.0
    GUI: 710 Patch Level 0
    Here is my program coding:
    loop at t_importlist into wa_importlist.
        doc_account_coa-keyy-ktopl    =  wa_importlist-ktopl.
        doc_account_coa-keyy-saknr    =  wa_importlist-saknr.
        doc_account_coa-data-ktoks    =  wa_importlist-ktoks.
        doc_account_coa-data-xbilk    =  wa_importlist-xbilk.
        doc_account_coa-action        =  'I'.
        append doc_account_coa.
        clear doc_account_coa.
        doc_account_names-keyy-ktopl  =  wa_importlist-ktopl.
        doc_account_names-keyy-saknr  =  wa_importlist-saknr.
        doc_account_names-keyy-spras  =  'E'.
        doc_account_names-data-txt20  =  wa_importlist-txt20_en.
        doc_account_names-data-txt50  =  wa_importlist-txt50_en.
        doc_account_names-action      =  'I'.
        append doc_account_names.
        clear doc_account_names.
        call function 'GL_ACCT_MASTER_SAVE'
          TABLES
            account_names  = doc_account_names
           account_ccodes = doc_account_ccodes*
            return         = doc_return
          CHANGING
            account_coa    = doc_account_coa.
        read table doc_return with key type = 'E'.
        if sy-subrc = 0.
          loop at doc_return where type = 'E'.
          endloop.
        else.
          call function 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          read table doc_return with key type = 'S'.
        endif.
      endloop.
    Thanks

  • Master table for HR PD process

    Dear Friend,
                            I need a list of all the master tables ( infotypes)  for HR Personal Development process .I know the PA process bt PD nt waare abt that so plzzzzzzzzzzzzzzz .....
    asap.
    thanx
    regrds
    sandeep dabral
    Edited by: SANDEEEP DABRAL on Feb 7, 2009 10:21 AM

    Hi,
    Hoping that this will help you out
    HRP1000 Infotype 1000 DB Table (Objects)
    HRP1001 Infotype 1001 DB Table (Relationships)
    HRP1002 Infotype 1002 DB Table
    HRP1003 Infotype 1003 DB Table
    HRP1004 Infotype 1004 DB table
    HRP1005 DB Table for Infotype 1005 (Planned Compensation)
    HRP1006 Infotype 1006 DB table
    HRP1007 Infotype 1007 DB Table
    HRP1008 Infotype 1008 DB Table
    HRP1009 Infotype 1009 DB table
    HRP1010 Infotype 1010 DB table
    HRP1011 Infotype 1011 DB Table
    HRP1013 Infotype 1013 DB Table
    HRP1014 Infotype 1014 DB Table
    HRP1015 Infotype 1015 DB table
    HRP1016 Infotype 1016 DB Table
    HRP1017 Infotype 1016 DB Table
    HRP1018 DB Table for Infotype 1018 Cost Distribution
    HRP1019 DB Table for Infotype 1019 Required Positions
    HRP1020 Infotype 1020 DB table
    HRP1021 INFOTYPE 1021 DB TABLE
    HRP1023 Infotype 1023 DB table
    HRP1024 INFOTYPE 1024 DB TABLE
    HRP1025 INFOTYPE 1025 DB TABLE
    HRP1026 Infotype 1026 DB table
    HRP1027 Infotype 1027 DB table
    HRP1028 Infotype 1028 DB Table
    HRP1029 Infotype 1029 DB table
    HRP1030 Infotype 1030 DB table
    HRP1031 Infotype 1031 DB table
    HRP1032 Infotype 1032 DB Table
    HRP1033 DB table for infotype 1033
    HRP1034 Infotype 1034 DB table
    HRP1035 Infotype 1035 DB Table
    HRP1036 Infotype 1036 DB table
    HRP1037 Infotype 1037 DB Table
    HRP1038 Infotype 1038 DB table
    HRP1039 Database Table for Infotype 1039
    HRP1040 Database Table for Infotype 1040
    HRP1041 DB Table for Infotype 1041
    HRP1042 Infotype 1042 DB Table
    HRP1043 DB Table for Infotype 1043
    HRP1044 DB Table for Infotype 1044
    HRP1045 DB Table for Infotype 1045
    HRP1046 Database Table for Infotype 1046
    HRP1047 DB Table for Infotype 1047
    HRP1048 DB Table for Infotype 1048
    HRP1049 Database Tables for Infotype 1049
    HRP1050 DB Table for Infotype 1050 (Job Evaluation Results)
    HRP1051 DB Table for Infotype 1051 (Survey Results)
    HRP1060 DB Table for Infotype 1060
    HRP1061 DB Table for Infotype 1061
    HRP1062 DB Table for Infotype 1062
    HRP1063 DB Table for Infotype 1063
    HRP1201 Infotype 1201 DB Table
    HRP1205 Infotype 1205 DB Table
    HRP1206 Infotype 1206 DB Table
    HRP1208 Infotype 1208 DB Table
    HRP1209 Infotype 1209 DB Table
    HRP1210 Infotype 1210 DB Table
    HRP1211 Infotype 1211 DB Table
    HRP1212 Infotype 1212 DB Table
    HRP1213 Infotype 1213 DB Table
    HRP1214 Infotype 1214 DB Table
    HRP1215 Infotype 1215 DB Table
    HRP1216 Infotype 1216 DB Table
    HRP1217 Infotype 1217 DB Table
    HRP1218 DB Table for Infotype 1218
    HRP1220 DB Table for Infotype 1220 Activity Profile
    HRP1221 DB Table for Infotype 1221 Excluded Activities
    HRP1222 Infotype 1222- General attribute maintenance
    HRP1230 DB Table for Infotype 1230
    HRP1240 DB Table for Infotype 1240
    HRP1250 DB table for infotype 1250
    HRP1251 DB table for infotype 1251
    HRP1252 DB table for infotype 1252
    HRP1253 DB table for infotype 1253
    HRP1254 DB Table for Infotype 1254
    HRP1260 DB Table for Infotype 1260
    HRP1270 DB Table for Info Type 1270
    HRP1403 DB table for infotype 1403
    HRP1404 DB table for infotype 1404
    HRP1500 DB Table for Infotype 1500
    HRP1501 DB Table for Infotype 1501
    HRP1502 DB Table for Infotype 1502
    HRP1503 DB Table for Infotype 1503
    HRP1504 DB Table for Infotype 1504
    HRP1505 DB Table for Infotype 1505
    HRP1506 DB Table for Infotype 1506
    HRP1507 DB Table for Infotype 1507
    HRP1518 DB Table for Infotype 1518
    HRP1519 DB Table for Infotype 1519
    HRP1520 DB Table for Infotype 1520
    HRP1600 Database Table for Infotype 1600
    HRP1601 Database Table for Infotype 1601
    HRPAD21 Additional data PAD21
    HRPAD22 Additional data PAD22
    HRPAD23 Additional data PAD23
    HRPAD25 Additional data PAD25
    HRPAD27 Additional data PAD27
    HRPAD31 Additional data PAD31
    HRPAD34 Additional Data for Relationship 'has attended'
    HRPAD44 PAD44 Additional Data
    HRPAD47 PAD47 Additional Data
    HRPAD48 Additional Data PAD48
    HRPAD50 Additional Data PAD50
    HRPAD51 Additional data PAD51
    HRPAD53 Additional Data PAD53
    HRPAD63 PAD63 Additional Data
    HRPAD77 Additional data for PAD77
    HRPADBLIST Additional Data Databases
    HRPADD2 Additional Data PADD2
    HRPADD3 Additional Data PADD3
    HRPADIC Additional Data PADD2
    HRPADNLIST Additional Data Number List
    HRPADNN General Additional Data Table
    HRPADP1 Additional Data PADP1
    HRPADP2 Additional Data PADP2
    HRPADPM Additional Data PADPM
    HRPADTI PADTI Additional Data
    HRPADUZ PADUZ Additional Data- Requirements Assignment of Persons
    HRPADXN Additional Data PADXN
    HRPS_T012K For Decoupled Access to T012K (House Bank and Account)
    HRPVAC List of vacant positions
    HRPXXXX DB Table for Infotype XXXX
    HRPYYYY DB Table for Infotype YYYY
    Warm REgards,
    Kapil

  • How to find out master tables and concern child tables

    Hi,
    my schema contains 219 tables. I got this result by using query "selct count(*) from user_tables".
    Now i need to know about master tables and concern child tables from these 219 tables.
    please guide me.
    Thanks and Regards,
    Venkat

    What about this one!!!
    select a.owner,a.table_name,a.column_name,
         '------------------>' as POINTS_TO,b.owner,b.table_name,b.column_name
    from dba_constraints c
         join dba_cons_columns a on ( c.constraint_name = a.constraint_name and c.owner = a.owner)
         join dba_cons_columns b on ( c.r_constraint_name = b.constraint_name and c.r_owner = b.owner)
    where  (a.table_name = '&table' and (a.owner='&owner'))  -- foreign key
    --     and (b.table_name = '&table' and (b.owner='&owner') )  -- source key
         and ( c.constraint_type='R' )
    order by a.table_namecomment and uncomment one between theese two lines to choose the direction.
         (a.table_name = '&table' and (a.owner='&owner'))  -- foreign key
    --     and (b.table_name = '&table' and (b.owner='&owner') )  -- source keyBye Alessandro
    Edited by: Alessandro Rossi on 22-ott-2008 10.40

Maybe you are looking for