Skipping a table level

Hi, I have these 3 tables (with right FKs and joins) in my Product Dimension:
CITY, SUPPLIER, PRODUCT.
The right level hierarchy should be, from top to leaves: City -> Supplier -> Product
We'd want to build these dimension hierarchy:
City -> Product, but we get this warning in BI Admin (and error then in Answers)
[39008] Logical dimension table CITY has a source CITY that does not join to any fact source.
It can't navigate through the joins, skipping the intermediate table level?
Are we forced to build the entire hierarchy and skip the level (and the table) setting a preferred Drill-Path? (this solution worked)
Thanks in advance!

To resolve this you have two options.
Be sure that you have in the physical layer correct FK join relationships between these tables as follow:
City-<Supplier-<Product
In the BMM make logical table (dimension table) with logical table source Product. Now, in the logical table source Product general tab properties add physical tables and joins (add first Supplier table and join Product>-Supplier, then add City table and join Supplier>-City). Now, drag-drop columns from all tables that you want to use in dimension levels.
Build dimension object with levels, and put columns on each level.
Option one (all three levels):
City level: key use for drilldown checked
Supplier level: key use for drilldown unchecked
Product level: key use for drilldown checked or unchecked
Now you can drilldown in Answers from City to Product, the middle level is not shown, obiee make join through all three tables.
Option two (City and Product levels only):
City level: key use for drilldown checked
Product level: key use for drilldown checked or unchecked
Now you can drilldown in Answers from City to Product, obiee make join through all three tables, because you have define this additional physical tables and joins in logical table source Product.
Regards
Goran
http://108obiee.blogspot.com

Similar Messages

  • Steps for table level reorganisation

    Dear Friends.
    We are going for Archiving on big tables like EDI40 table.
    So I have decided to regain space after archiving by using table level reorg is it ok??
    can you please suggest necessary steps and prerequisites.
    Thanks in advance.
    Regards
    JIggi

    Dear All,
    I have done following steps:--
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\wiqadm.WSECCQA>brtools
    BR0651I BRTOOLS 7.00 (24)
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.21
    BR0656I Choice menu 1 - please make a selection
    BR*Tools main menu
    1 = Instance management
    2 - Space management
    3 - Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    3
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.25
    BR0663I Your choice: '3'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.25
    BR0656I Choice menu 7 - please make a selection
    Database segment management
    1 = Reorganize tables
    2 - Rebuild indexes
    3 - Export tables
    4 - Import tables
    5 - Alter tables
    6 - Alter indexes
    7 - Additional segment functions
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    1
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.28
    BR0663I Your choice: '1'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.28
    BR0657I Input menu 91 - please check/enter input values
    BRSPACE options for reorganization of tables
    1 - BRSPACE profile (profile) ...... [initWIQ.sap]
    2 - Database user/password (user) .. [/]
    3 ~ Reorganization action (action) . []
    4 ~ Tablespace names (tablespace) .. []
    5 ~ Table owner (owner) ............ []
    6 ~ Table names (table) ............ []
    7 - Confirmation mode (confirm) .... [yes]
    8 - Extended output (output) ....... [no]
    9 - Scrolling line count (scroll) .. [20]
    10 - Message language (language) .... [E]
    11 - BRSPACE command line (command) . [-p initWIQ.sap -s 20 -l E -f tbreorg]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    6
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.38
    BR0663I Your choice: '6'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.38
    BR0681I Enter string value for "table" []:
    BDCP
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.41
    BR0683I New value for "table": 'BDCP'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.41
    BR0657I Input menu 91 - please check/enter input values
    BRSPACE options for reorganization of tables
    1 - BRSPACE profile (profile) ...... [initWIQ.sap]
    2 - Database user/password (user) .. [/]
    3 ~ Reorganization action (action) . []
    4 ~ Tablespace names (tablespace) .. []
    5 ~ Table owner (owner) ............ []
    6 ~ Table names (table) ............ [BDCP]
    7 - Confirmation mode (confirm) .... [yes]
    8 - Extended output (output) ....... [no]
    9 - Scrolling line count (scroll) .. [20]
    10 - Message language (language) .... [E]
    11 - BRSPACE command line (command) . [-p initWIQ.sap -s 20 -l E -f tbreorg -t "
    BDCP"]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.45
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0291I BRSPACE will be started with options '-p initWIQ.sap -s 20 -l E -f tbreo
    rg -t "BDCP"'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.45
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.46
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR1001I BRSPACE 7.00 (24)
    BR1002I Start of BRSPACE processing: seagjxpe.tbr 2009-04-01 15.14.46
    BR0484I BRSPACE log file: F:\oracle\WIQ\sapreorg\seagjxpe.tbr
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.48
    BR1009I Name of database instance: WIQ
    BR1010I BRSPACE action ID: seagjxpe
    BR1011I BRSPACE function ID: tbr
    BR1012I BRSPACE function: tbreorg
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.52
    BR0657I Input menu 353 - please check/enter input values
    Options for reorganization of tables: SAPSR3.BDCP (degree 1)
    1 ~ New destination tablespace (newts) ..... []
    2 ~ Separate index tablespace (indts) ...... []
    3 - Parallel threads (parallel) ............ [1]
    4 ~ Table/index parallel degree (degree) ... []
    5 - Create DDL statements (ddl) ............ [yes]
    6 ~ Initial extent size category (initial) . []
    7 ~ Sort by fields of index (sortind) ...... []
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.55
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.55
    BR1108I Checking tables for reorganization...
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.56
    BR1112I Number of tables selected/skipped for reorganization: 1/0
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.56
    BR0370I Directory F:\oracle\WIQ\sapreorg\seagjxpe created
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.56
    BR1101I Starting online table reorganization...
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.56
    BR1124I Starting reorganization of table SAPSR3.BDCP ...
    BR0280I BRSPACE time stamp: 2009-04-01 15.17.24
    BR1105I Table SAPSR3.BDCP reorganized successfully
    BR0280I BRSPACE time stamp: 2009-04-01 15.17.24
    BR1141I 1 of 1 table reorganized - 2152767 of 2152767 rows processed
    BR0204I Percentage done: 100.00%, estimated end time: 15:17
    BR0001I **************************************************
    BR0280I BRSPACE time stamp: 2009-04-01 15.17.24
    BR1102I Number of tables reorganized successfully: 1
    BR0280I BRSPACE time stamp: 2009-04-01 15.17.24
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRSPACE time stamp: 2009-04-01 15.18.05
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2009-04-01 15.18.05
    BR1022I Number of tables processed: 1
    BR1003I BRSPACE function 'tbreorg' completed
    BR1008I End of BRSPACE processing: seagjxpe.tbr 2009-04-01 15.18.05
    BR0280I BRSPACE time stamp: 2009-04-01 15.18.05
    BR1005I BRSPACE completed successfully
    BR0292I Execution of BRSPACE finished with return code 0
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.05
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRTOOLS:
    c
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.10
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.10
    BR0656I Choice menu 7 - please make a selection
    Database segment management
    1 + Reorganize tables
    2 - Rebuild indexes
    3 - Export tables
    4 - Import tables
    5 - Alter tables
    6 - Alter indexes
    7 - Additional segment functions
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    b
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.13
    BR0663I Your choice: 'b'
    BR0673I Going back to the previous menu...
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.13
    BR0656I Choice menu 1 - please make a selection
    BR*Tools main menu
    1 = Instance management
    2 - Space management
    3 + Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    9
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.15
    BR0663I Your choice: '9'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.15
    BR0680I Do you really want to exit BRTOOLS? Enter y[es]/n[o]:
    y
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.17
    BR0257I Your reply: 'y'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.17
    BR0652I BRTOOLS completed successfully
    And I compared space before reorg and after reorg.
    I got 5 Gb space back .
    I hv done the whole procedure on BDCP table on WIQ.
    Shall i do the same procedure on production server.
    Thanks in advance.
    JIggi

  • Can RMAN do table-level recovery

    Hi,
    I know that you can do database and tablespace level recovery using RMAN. Can you also do table-level recovery? How granular can you get?
    Thanks

    For table level recovery you can use flashback features:
    Flashback Drop - Oracle now provides a way to use flashback to restore tables that were dropped accidentally.
    Flashback Table - This feature introduces the FLASHBACK TABLE statement in SQL, which lets you quickly recover a table to a previous point in time without restoring a backup.
    etc
    Oracle Database has a group of features, known collectively as flashback, that provide ways to view past states of database objects, or to return database objects to a previous state, without using traditional point-in-time recovery.
    Flashback features of the database can be used to:
    * Perform queries that return past data.
    * Perform queries that return metadata showing a detailed history of changes to the database.
    * Recover tables or individual rows to a previous point in time.
    Flashback features use the Automatic Undo Management system to obtain metadata and historical data for transactions. They rely on undo data: records of the effects of individual transactions. Undo data is persistent and survives a database malfunction or shutdown. Using flashback features, you employ undo data to query past data or recover from logical corruptions. Besides your use of it in flashback operations, undo data is used by Oracle Database to do the following:
    * rollback active transactions
    * recover terminated transactions using database or process recovery
    * provide read consistency for SQL queries
    Please refer here: http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10795/adfns_fl.htm
    And an other method is, if table is very important and your db is working archive mod, you can recovery your database (skip unnecessary tablespaces which is not needed for saving space cost) to another host (disaster recovery), then take export that table, import to your working db or create database link between this databases insert into user.table1 as select * from user.table1@recoevered_database;

  • DaraGuard at schema / table level

    How do I configure DataGuard for a DR site, when I need only a set of objects (schemas or tables) in a physical instance to be guarded? I don't need the whole database to be dataguarded at DR site.

    This can be done using the DBMS_LOGSTDBY.SKIP procedure. It allows the objects to be skipped from DataGuarding. The parameters available have one of the option to perform the dataguard operations at Schema or individual table levels. Wildcard selection is also allowed.

  • Change line item status at table level & also in transaction.

    Hello,
        I want to change the status of line item in CRM service order at table level. This change should reflect in transaction too.
    Ex. Order X is in release state. When i run my program for line item 10 with enabling a check box in the selection screen, then the line item status shd be changed to "complete".
    Table to change status is CRM_JCDS. Kindly send sample code on how to change the status in order through pgm.
    Regards
    Devika.S

    Hi Nikhil
    Open item management tick checked in GL master as we have run the program FAGL_SWITCH_TO_OPEN_ITEM .
    Also GL shows the line item dispaly as RFSEPA01 had been executed.
    However FAGLL03 shows all the old line item as posted status -we are looking for option have the status of all the old
    line item as open item indicatior(in red) there by we can have the option to select all the item to process open item in F-03.
    Appreciate for an amicable solution on this.
    Regards
    subrata

  • Handling unit status at table level

    Dear Experts,
    I want to know the logic to find only those HUs which exist in the inventory i.e. which are present physically. I do not want those which have been delivered/deleted/scrapped etc. How can I get this at table level and what filters should I use?
    Regards,
    Sachin

    Hello,
    the only way (as I know) is to use transaction HUMO and set filter for field HU-managed storage loc.='X' in ALV
    Andrzej

  • Search help for Product category in table level

    Hi Gurus,
    My requirement is to create a Z-table with fields Plant and Product category.
    For this Product category I need to create a table level search help. So I need to know the SRM table used for Product category.
    Could any suggest me any table name or search help or FM that will display the list Product Category .
    Regards
    Paul

    Hi Paul,
    Use the FM 'BBP_GET_ALL_CATEGORIES_F4' for getting all the list of Product Category .
    Thanks
    Bidyut

  • Numeric getting multiplied by 10 at table level

    Hello Experts,
    1) When we save PO, suppose if we have 1 Qty , netprice = 80, it is getting saved in PO as it is. Whereas at table level, it is getting multiplied by 10 and the value  800 is getting saved at the table level.
    2)Even in material master accounting view also, suppose if stock value is 120 & MAP is say 6, whereas in MBEW table values are updating as 1200 & 60.
    But in standard reports, values are proper, whereas in tables it is storing this way.
    This is more problematic, since during FS preparation, we'll  have to fetch the values from tables.
    Kindly Suggest
    Mahesh

    Hi
    PLease check in Material Master Accounting view for how many price unit you have maintained ? check whether it is given for 1 price unit or for 100 price unit
    it will solve your problem
    Thanks & Regards,
    Mani

  • AR DATA FLOW (TABLE LEVEL) - ON ACCOUNT CREDITS & CASH RECEIPTS편

    제품 : FIN_AR
    작성날짜 : 2003-09-16
    AR DATA FLOW (TABLE LEVEL) - ON ACCOUNT CREDITS & CASH RECEIPTS편
    ================================================================
    PURPOSE
    이 문서에서는 AR table들에 대해 어떻게 data가 들어가는지에 대해
    설명한다.
    On Account와 Cash Receipt을 기준으로 설명한다.
    Explanation
    1. On Account Credits
    특정 Customer에 대한 Credit정보를 입력했으나, 아직 특정 Invoice에는 Apply되지 않은 정보를 "On Account" credit이라고 한다.
    Credit정보가 들어있기 때문에, Credit Memo와 유사하게 table에 저장된다.
    Credit Memo와 다른 점은 아래와 같다.
    o When first entered the payment schedule will be fully remaining.
    o When first entered no records are inserted into AR_RECEIVABLE_APPLI
    CATIONS_ALL.
    o The line records will have NULL values in
    PREVIOUS_CUSTOMER_TRX_ID
    PREVIOUS_CUSTOMER_TRX_LINE_ID
    o The distribution lines have to be typed in as there is no invoice
    to copy them from.
    "On Account"는 같은 Supplier상에서는 어떠한 invoice에 대해서 적용이 가능하다는 점에서,
    특정 invoice에만 apply가 가능한 Credit Memo와는 다르다.
    2. Cash Receipts
    Recipt정보가 입력되면, 아래의 table들에 insert된다.
    o AR_CASH_RECEIPTS_ALL
    o AR_CASH_RECEIPT_HISTORY_ALL
    o AR_PAYMENT_SCHEDULES_ALL
    o AR_RECEIVABLE_APPLICATIONS_ALL
    입력된 Receipt정보가 특정 invoice와 match되면, 추가 record가
    AR_RECEIVABLE_APPLICATIONS_ALL에 insert되고, AR_PAYMENT_SCHEDULE_ALL에는 update된다.
    | | | |
    | RECEIPT |------------------| PAYMENT |
    | | | SCHEDULE |
    | |
    | |
    ^ ^
    /|\ /|\
    | | | |
    | RECEIPT | |APPLICATIONS|
    | HISTORY | | |
    2.1 AR_CASH_RECEIPTS_ALL
    Receipt에 대한 기본정보가 insert된다. 한 receipt당 한줄이 insert된다.
    Key = CASH_RECEIPT_ID (from sequence AR_CASH_RECEIPTS_S)
    Important Fields
    AMOUNT - Value of receipt in entered currency
    RECEIPT_NUMBER - Payment Number entered by user.
    STATUS - (APP)lied, (UNAPP)lied, (REV)ersed Payment,
    (STOP) payment, (NSF) insufficient funds.
    It will only change to APP once the whole
    amount of the receipt is applied.
    REVERSAL_DATE - NULL unless receipt reversed
    PAY_FROM_CUSTOMER - Contains CUSTOMER_ID for RA_CUSTOMERS
    2.2 AR_CASH_RECEIPT_HISTORY_ALL
    Receipt하나당 한줄의 data가 insert되고, GL로 Posting된 정보가 들어간다.
    Receipt이 reverse되면, 새로운 row가 insert된다.
    Key = CASH_RECEIPT_HISTORY_ID (from sequence)
    Important Fields
    CASH_RECEIPT_ID - Foreign key to AR_CASH_RECEIPTS record.
    STATUS - CLEARED for manually input receipts.
    GL_DATE - Accounting date
    ACCOUNT_CODE_COMBINATION_ID - Key to GL_CODE_COMBINATIONS
    POSTING_CONTROL_ID - -3 if unposted
    REVERSAL_POSTING_CONTROL_ID - NULL unless payment reversed
    CURRENT_RECORD_FLAG - Y if this is latest record
    PRV_STAT_CASH_RECEIPT_HIST_ID - Key to previous receipt history record.
    2.3 AR_PAYMENT_SCHEDULES_ALL
    Invoice에 apply된 Total 금액정보가 저장된다.
    Key = PAYMENT_SCHEDULE_ID (from sequence)
    Important Fields
    CUSTOMER_TRX_ID - NULL
    CASH_RECEIPT_ID - Foreign key to AR_CASH_RECEIPTS record.
    AMOUNT_DUE_ORIGINAL - Total amount of receipt (usually negative)
    AMOUNT_DUE_REMAINING - Unapplied amount of receipt.
    AMOUNT_APPLIED - How much of this receipt is applied .
    STATUS - (OP)en or (CL)osed. Will only be closed if
    AMOUNT_DUE_REMAINING is zero.
    All of the fields holding LINE, TAX and FREIGHT amounts are NULL.
    2.4 AR_RECEIVABLE_APPLICATIONS
    Receipt이 처음 생성될때, 한줄의 data가 이 table에 insert되고,
    invoice에 대해 Apply혹은 Unapply가발생하면, 두줄씩 새롭게 생성된다.
    예를들면, 아래와 같다.
    Record 1 UNAPP 700
    { Record 2      UNAPP       -200
    { Record 3      APP          200      cross referenced to the Invoice
    { Record 4      UNAPP       -500
    { Record 5      APP          500      cross referenced to 2nd Invoice
    The sum of the amounts on records that have a particuar status should add up
    to the running totals on the payment schedulesi, but with the opposite sign.
    i.e. In the example above
    AR_PAYMENT_SCHEDULES.AMOUNT_DUE_ORIGINAL = -700
    AR_PAYMENT_SCHEDULES.AMOUNT_DUE_REMAINING = 0
    AR_PAYMENT_SCHEDULES.AMOUNT_APPLIED = -700
    UNAPP = 700 -200 -500 = 0
    APP = 200 + 500 = 700
    Statuses of these records can be:-
    UNAPP - Unapplied
    APP - Applied
    ACC - On Account
    UNID - Unidentified (Customer Not known)
    이러한 record내역은 invoice/credit/receipt에 있는 Transaction History form에서 확인할 수 있다.
    2.5 AR_PAYMENT_SCHEDULE (Invoice)
    Receipt이 특정 invoice에 apply되면, invoice에 대한 Payment Schedule record가 update된다.
    remaining amount field 값은 Payment금액만큼 줄어들게 된다.
    만약, remaining amount가 "0"가 되면, invoice Payment schedule은 closed상태가 된다.
    예를들어, Receipt금액 "200"이 "1175" invoice금액(Tax금액 175가 포함된)에 apply되었다면, Invoice의 Payment Schedule은 아래와 같이 조정된다.
    Before After
    AMOUNT_DUE_REMAINING 1175.00 975.00
    AMOUNT_LINE_ITEMS_REMAINING 1000.00 800.00
    TAX_REMAINING 175.00 175.00
    FREIGHT_REMAINING 0.00 0.00
    Note that receipts are applied in a fixed sequence:-
    1. Line Amounts
    2. Tax Amounts
    3. Freight Amounts
    ie The TAX_REMAINING figure will only start to decrease when the
    AMOUNT_LINE_ITEMS_REMAINING is zero.
    Reference Documents
    Note : 29277.1 & 29278.1

    Hi,
    This query works fine for me:
    SELECT CR.CASH_RECEIPT_ID,
                CR.RECEIPT_NUMBER,
                CR.RECEIPT_DATE,
                CR.CURRENCY_CODE,
                DECODE ( CR.TYPE, 'MISC', NULL, NVL (SUM (DECODE (RA.STATUS, 'ACC', NVL (RA.AMOUNT_APPLIED, 0), 0)), 0)) ON_ACCOUNT_AMOUNT
             FROM AR_RECEIVABLE_APPLICATIONS_ALL RA,
                AR_CASH_RECEIPTS_ALL CR,
                AR_RECEIPT_METHODS RM
          WHERE RA.CASH_RECEIPT_ID = CR.CASH_RECEIPT_ID
                AND CR.RECEIPT_METHOD_ID = RM.RECEIPT_METHOD_ID
                AND CR.ORG_ID = <org_id>
          GROUP BY CR.CASH_RECEIPT_ID,
                CR.RECEIPT_DATE,
                CR.RECEIPT_NUMBER,
                RM.NAME,
                CR.CURRENCY_CODE,
                CR.TYPE order by receipt_date desc
    Let me know if it worked.
    Octavio

  • AR DATA FLOW (TABLE LEVEL) - INVOICE편

    제품 : FIN_AR
    작성날짜 : 2003-09-16
    AR DATA FLOW (TABLE LEVEL) - INVOICE편
    =====================================
    PURPOSE
    이 문서에서는 AR table들에 대해 어떻게 data가 들어가는지에 대해
    설명한다.
    Invoice transaction을 기준으로 설명한다.
    Explanation
    1. Invoice
    User가 invoice를 입력하면, 아래의 table들에 data가 insert된다.
    o RA_CUSTOMER_TRX_ALL (Invoice Header)
    o RA_CUSTOMER_TRX_LINES_ALL (Line Details)
    o RA_CUST_TRX_LINE_GL_DIST_ALL (Information for posting to GL)
    o RA_CUST_TRX_LINES_SALESREPS_ALL (Sales Credit Information)
    일단, invoice가 "Complete"되면, 아래의 table에 한줄(혹은 그 이상)이
    추가로 Insert된다.
    o AR_PAYMENT_SCHEDULES_ALL (Running Totals for Invoice Amounts)
    대체로 하나의 invoice는 하나의 Payment schedule record를 가지지만,
    만약 할부(Installment)로 Pay처리되는 invoice라면, installment하나당
    하나의 Payment schedule record를 가진다.
    | | /| |
    | TRX |---------------<-| PAYMENT |
    | | \| SCHEDULE |
    | |
    | |
    ^ -------
    /|\ |
    ------------ |
    | | |
    | TRX_LINES | |
    _| | |
    / ------------ |
    | | | |
    \__/ | |
    ^ |
    /|\ |
    | |
    | GL_DIST |
    | |
    1.1 RA_CUSTOMER_TRX_ALL
    Invoice의 Header정보(Customer, Invoice Number, date.. etc)를 담고 있는 table이다.
    Invoice하나당 한줄의 정보가 Insert된다.
    Key = CUSTOMER_TRX_ID (generated from sequence RA_CUSTOMER_TRX_S)
    Important Fields
    TRX_NUMBER - User Entered Invoice Number
    CUST_TRX_TYPE_ID - Foreign key to RA_CUST_TRX_TYPES
    BILL_TO_CUSTOMER_ID - Foreign Key to RA_CUSTOMERS
    SHIP_TO_CUSTOMER_ID - Foreign key to RA_CUSTOMERS
    TRX_DATE - Invoice Date
    COMPLETE_FLAG - Y or N
    1.2 RA_CUSTOMER_TRX_LINES_ALL
    Invoice의 Line정보(수금 item및 금액, Tax등)가 insert되는 table이다.
    Invoice하나당 한줄이상을 가진다.
    Key = RA_CUSTOMER_TRX_LINE_ID (from sequence RA_CUSTOMER_TRX_LINES_S)
    Important Fields
    CUSTOMER_TRX_ID - Foreign key to RA_CUSTOMER_TRX
    LINE_TYPE - LINE, TAX, FREIGHT
    QUANTITY_INVOICED - Line Quantity
    UNIT_SELLING_PRICE - Price per unit
    EXTENDED_AMOUNT - Quantity * Price
    LINK_TO_CUST_TRX_LINE_ID - Null for LINE, for TAX and FREIGHT lines
    contains the RA_CUSTOMER_TRX_LINE_ID of
    associated LINE record
    1.3 RA_CUST_TRX_LINE_GL_DIST_ALL
    GL로 Posting될 정보가 담겨져 있다.
    Invoice Line당 한줄 + Invoice Header 한줄로 이루어져 있다.
    (예를들어, Invoice의 Line이 총 3줄이라면, RA_CUST_TRX_LINE_GL_DIST_ALL table에는 총 4줄의 정보가 담기게 된다.)
    Key = CUST_TRX_LINE_GL_DIST_ID (from sequence)
    Important Fields
    CUSTOMER_TRX_ID - Foreign key to RA_CUSTOMER_TRX
    CUSTOMER_TRX_LINE_ID - Foreign key to RA_CUSTOMER_TRX_LINES or
    Null if this relates to Invoice Header.
    AMOUNT - Value of distribution - entered currency
    ACCOUNTED_AMOUNT - Value of distribution - book currency
    CODE_COMBINATION_ID - Foreign key to GL_CODE_COMBINATIONS
    POSTING_CONTROL_ID - -3 if unposted
    GL_DATE - Accounting date.
    GL_POSTED_DATE - Date Invoice posted to GL.
    1.4 RA_CUST_TRX_LINE_SALESREPS_ALL
    해당 invoice가 입력될때 함께 입력된 Sales Person에 대한 정보가
    담겨져 있다.
    1.5 AR_PAYMENT_SCHEDULES_ALL
    해당 invoice에 대해서 Line, Tax, 운송비 등 각각의 항목에 대한 Total값과
    Remaining값을 담고 있다.
    대체로 Invoice당 한줄이 insert된다.
    Key = PAYMENT_SCHEDULE_ID (from sequence AR_PAYMENT_SCHEDULES_S)
    Important Fields
    CUSTOMER_TRX_ID - Foreign key to RA_CUSTOMER_TRX
    STATUS - (OP)en or (CL)losed
    ACTUAL_DATE_CLOSED - 31-DEC-4712 if still open, otherwise
    date payment schedule closed.
    GL_DATE_CLOSED - 31-DEC-4712 if still open, otherwise the
    gl date of the closing transaction.
    AMOUNT_DUE_ORIGINAL - Invoice Total Amount
    AMOUNT_DUE_REMAINING - Total Amount outstanding for Invoice.
    AMOUNT_LINE_ITEMS_ORIGINAL - Sum of Invoice Line amounts.
    AMOUNT_LINE_ITEMS_REMAINING - Outstanding Line amounts.
    TAX_ORIGINAL - Total Tax for Invoice.
    TAX_REMAINING - Outstanding Tax for Invoice
    FREIGHT_ORIGINAL - Total Freight For Invoice
    FREIGHT_REMAINING - Outstanding Freight
    AMOUNT_APPLIED - Total payments applied to this Invoice.
    AMOUNT_CREDITED - Total Credit Memos applied.
    AMOUNT_ADJUSTED - Total value of adjustments.
    The payment schedule should balance within itself, ie the following
    calculations
    should be true:-
    AMOUNT_DUE_ORIGINAL = AMOUNT_LINE_ITEMS_ORIGINAL
    + TAX_ORIGINAL
    + FREIGHT_ORIGINAL
    AMOUNT_DUE_REMAINING = AMOUNT_LINE_ITEMS_REMAINING
    + TAX_REMAINING
    + FREIGHT_REMAINING
    AMOUNT_DUE_ORIGINAL = AMOUNT_DUE_REMAINING
    + AMOUNT_APPLIED
    - AMOUNT_CREDITED
    + AMOUNT_ADJUSTED
    Reference Documents
    Note : 29277.1

    Hello,
    The basic flow of data is
    ERP tables - source snapshots - source views (eg MRP_AP%) - staging tables (MSC_ST%) - ODS tables ( MSC%)
    Check out note 412375.1. This is the flow for sales order data for ASCP.
    regards
    Geert

  • Getting a dumb after writing a SELECT statement at TABLE level of SMART

    hi all,
    i have created a RATE COMPARISON REPORT.In that Report i have to display Rate Price against  RFQ No.For this purpose i have write a code at SMART FORMS in TABLE.Following are the code:
    SELECT SINGLE netpr
      INTO it_detail
      FROM ekpo
      INNER JOIN ekko ON
      ekko~ebeln = ekpo~ebeln
      WHERE ekko~BSTYP EQ 'F'
      AND   ekko~spras eq 'E'
    AND   ekpo~ebeln eq IT_DETAIL-EBELN
    This code is assign with TEXT FILED  at TABLE level.when i execute it i get the following dump.
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CXSY_OPEN_SQL_DB', was not caught in procedure "%CO2" "(FORM)"_,
    nor was it propagated by a RAISING clause.Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
    The reason for the exception is:
    In a SELECT access, the read file could not be placed in the target field provided. Either the conversion is not supported for   the type of the target field, the target field is too small to include the value, or the data does not have the format required for the target field.
    could any body tell me what is problem in my SELECT query statement after executing giving me a dump.
    Thanks,
    sappk25

    Hi
    The select query is wrong, as you should not move the single field into a table (it_detail)....
    Change the query as follows...
    data: v_netwr type netwr.
    SELECT SINGLE netpr
      INTO v_netwr
      FROM ekpo
      INNER JOIN ekko ON
      ekkoebeln = ekpoebeln
      WHERE ekko~BSTYP EQ 'F'
      AND   ekko~spras eq 'E'
    AND   ekpo~ebeln eq IT_DETAIL-EBEL
    if sy-subrc eq 0.
      move v_netwr to it_detail.
    endif.
    Hope this helps....

  • How to retrive the Direct purchase entries from table level? S_ALR_87012050

    Hi All
    In our current project we need to retrieve the direct purchase report from table level. Can you please provide me the direct purchase related table? Normally we are executing the standard report S_ALR_87012050
    to extract the direct purchase entries. We need to know which table has the direct purchase entries.
    Regards
    K.Gunasekar

    K,
    Your problem description is still insufficiently detailed.
    It appears now that you are searching for asset numbers.  Please confirm.
    Your selection criteria "Inventory Number NE 0" doesn't appear to make much sense.  Inventory number is not a quantity, it is the name of an object.  I guess it is meaningful you have some inventory numbers named as '0'.  I don't think this setting is causing your problem though.....
    You didn't mention which table you accessed to discover that you had a perceived discrepancy.  Which table did you browse to see the results you mentioned?  Please describe the selection parameters for each table you reviewed, and the results for each table that you examined.
    It is also the practice of many companies to archive asset data.  If this is the case in your company, then the archived data will not reside in the 'A*" tables.
    You mentioned that you used the same parameters to select the data.  How did you select "Report Date" when you did the table extract?  I am not aware of a field that is named "report date' in any of the tables mentioned.
    Rather than slog through tables, you might want to try SE16, view "V_ANLAZ".  This is a preconstructed linkage of ANLA and ANLZ that is used by S_ALR_87012050 as a starting point.
    I really think you should consult with your ABAPers.  In two minutes they can give you your answers.  It will take me several messages and probably several days to get you the same answers.
    Best Regards,
    DB49

  • Number of records in Delta Queue in table level.

    Hi All,
    I want to know the number of records in Delta Queue for a particular database in Table level. Right now in Production, i dont have access to TCODE RSA7. I just trying to check the Table TRFCQOUT but i am unable to see the exact count of records specific to data source. Can you please provide any other table to see the data and the count of records in delta queue specific to each data source.
    Thanks.

    Hi Jalina,
    Check the follwing tables:
    -ARFCDATA
    -TRFCQOUT
    -ARFCSTATE
    In case you can't find what you need in the above tables. You can always ask a temporary access to RSA7 transcation to your basis team or ask them to give you the required information from RSA7 themseleves (of course provide to them a step by step procedure) .
    Hope it helps.
    Amine

  • Changing data in table level

    Hi friends,
    I want to change the address of ship to party in delivery document and billing document, table level. So anyone can tell me what is the table and fields name to change the address in delivery document and billing document. In LIKP and VBRK I am not able to find the fields. In VL03N main screen below to outbound delivery, ship to party will be there, right to that ship to party name will be there, right to that address button will be there. If you press that we will get the address of ship to party. I want to change the data in that? So I need the table and field of that
    Anyone can help me out?
    Ramesh

    Hi,
    This address actually comes from customer master for partner function WE .
    But in sales order and delivery u can change the address in VA02 and VL02N tcode by going thru the steps u have mentioned .
    Generally in Sales order we can do the chnages and then thru copy control this data from sales order flows to subsequent doc . So u can chnage it in sales order in chnage mode it will be available in Delivery and Invoice.
    In case u don't want to chnage it in sales order but u want to chnage in Delivery then VL02N and then chnage .
    Hope this help

  • Can we cleanse and transform data at flat file or external table level?

    Hi,
    I have some data that I want to cleanse and transform. I don't want to cleanse it after i populate the external table, I want to get done with it at flat file level or while populating the external table. Can we cleanse and transform data at flat file or external table level through Oracle or OWB 11.2? Is it possible to run a conditional load (i.e. having a where clause or if-else-then) for an external table? Can we call oracle functions for an external table at the time of creation?
    Thanks in advance.
    Regards,
    Ann.

    Hi Oleg,
    Thanks a lot for the clarification. :)
    So is there a way that I can clease the data within the text file through Oracle or OWB? I have datatype mismatches in the data and most of my data is getting rejected because of that. The way I can think of, for solving this problem, is to create the external table with all fields with datatype varchar and then cleansing the data. But it doesn't seem very effecient plus it will get very complicated because I have almost 80-90 fields.
    Any help?
    Thanks and regards,
    Ann.

Maybe you are looking for

  • Issue with interest free period

    So I am looking in the ad today and see you have the 18 months on purchase of 429 or more. Then on the website itself it still shows the 12 month no interest on purchase of 399 or more.  I cant even choose store pickup if I wanted because the website

  • Last Time I Upgrade iTunes Right Away

    Boy, this is the last time I'll upgrade to iTunes as soon as an upgrade is available. I have over 250 songs that I purchased through the iTunes music store and since the upgrade, half of them have reverted back to being authorized through an old Appl

  • Wow...warranty ends...2 days later, trouble

    This keeps happening...among other things...I can say this...with what it cost me to purchase the Mac, ipad and iphone...I will probably go back to Microsoft...No one should have to pay an extra $100 a year for support on a product that just turned a

  • Inbox fills with old emails

    My inbox keeps filling with old emails. After I delete them another 50 fill up my inbox again. I use pop for email.

  • Tem versão mais atualizada que a 1.1.0.1 ?

    Quando verifico atualizacoes diz que tenho a versao mais recente! Ja da para selecionar uma musica mp3 como toque de chamada?