Error while mapping two times nested table

Hi,
I have a Product table which has nested ProductSubcategory in it.
ProductSubcategory nested table also has nested table ProductCategory inside it.
So there is a nested table inside nested table.
I designed a dimension on warehoue builder and while mapping, i got "ORA-22913: must specify table name for nested table column or attribute" error.
I mapped nested tables before with using varray iterator and expand object, but they were nested once. Is there any solution for mapping two or more time nested tables?
Now i exracted tables and i continuou working but, i wondered is there any way.
Creation codes are below. Thanx :)
CREATE TABLE PRODUCT
(     PRODUCTID NUMBER NOT NULL ,
     ProductSubcategory ProductSubcategory,
     MODIFIEDDATE DATE NOT NULL)
NESTED TABLE ProductSubcategory STORE AS ProductSubcategory_TABLE
( NESTED TABLE ProductCategoryId STORE AS ProductCategory_TABLE);
CREATE TYPE TYPE_ProductSubcategory AS OBJECT (
     ProductSubcategoryID number ,
     ProductCategoryId ProductCategory ,
     Name Varchar(50) ,
     rowguid varchar2(100) ,
     ModifiedDate date );
CREATE TYPE TYPE_ProductCategory AS OBJECT (
     ProductCategoryID number ,
     Name Varchar(50) ,
     rowguid varchar2(100) ,
     ModifiedDate date );

Bharadwaj Hari wrote:
Hi,
I agree with u...I am not sure of the environment the user has so i put forth all the 3 option that crossed my mind that time....thats why i said he has to choose what best suits him/her...
Also if the database is huge and we create physical temp tables (option 2 and ur idea) its like having redundant data in the database which is also a problem....So ist upto the user to actually evaluate the situation and come up with what best suits him/her...
Regards
BharathHi,
I understand your opinion. But I am not sure that the user have enough experience to choose the best option by his one. And about the redundant data: because of this I wrote that he should truncate the tables after the last mapping which loads all data into the real target table.
Regards,
Detlef

Similar Messages

  • Error while reading payroll area D0, table T549S

    Hi,
    would you know what this kind of error message could mean?
    "Error while reading payroll area D0, table T549S"
    This is an error while trying to extract payroll data to business warehouse. What should I look for to find the cause of this error?
    Thanks in advance,
    Mantas

    You have to contact the HR consultant in ur tem
    Next they might have not mapped the payroll which you are trying
    REWARD POINTS

  • Error while selecting date from external table

    Hello all,
    I am getting the follwing error while selecting data from external table. Any idea why?
    SQL> CREATE TABLE SE2_EXT (SE_REF_NO VARCHAR2(255),
      2        SE_CUST_ID NUMBER(38),
      3        SE_TRAN_AMT_LCY FLOAT(126),
      4        SE_REVERSAL_MARKER VARCHAR2(255))
      5  ORGANIZATION EXTERNAL (
      6    TYPE ORACLE_LOADER
      7    DEFAULT DIRECTORY ext_tables
      8    ACCESS PARAMETERS (
      9      RECORDS DELIMITED BY NEWLINE
    10      FIELDS TERMINATED BY ','
    11      MISSING FIELD VALUES ARE NULL
    12      (
    13        country_code      CHAR(5),
    14        country_name      CHAR(50),
    15        country_language  CHAR(50)
    16      )
    17    )
    18    LOCATION ('SE2.csv')
    19  )
    20  PARALLEL 5
    21  REJECT LIMIT UNLIMITED;
    Table created.
    SQL> select * from se2_ext;
    SQL> select count(*) from se2_ext;
    select count(*) from se2_ext
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04043: table column not found in external source: SE_REF_NO
    ORA-06512: at "SYS.ORACLE_LOADER", line 19

    It would appear that you external table definition and the external data file data do not match up. Post a few input records so someone can duplicate the problem and determine the fix.
    HTH -- Mark D Powell --

  • Error while deriving the currency from table

    i am getting the below error while simulating the payroll for india.
    Error while deriving the currency from table T001P & Error during Initialization of payroll.
    i am SAP HCM Trainee.. practicing at home.

    Pls check the currency in table T500C.
    You can use TCode OE00 for table maintenance T500C.
    Also check whether currency is there in table V_CURC and T510.
    Hope this will help.
    Regards
    Ghouse

  • Error while filling the set up table for 2LIS_11_VAITM

    Dear Experts,
    i am facing an error while filling the set up table for 2LIS_11_VAITM in the source system.
    The error was "Company code for sales org 9000 does not exist (document 1326)".
    when i checked the document in the Header table VBAK,company code was blank for the document .
    Company code was there in the selections for the setup table.
    The error means that company code should be maintained for the sales document as per my knolwedge.i think document was not created properly in the source system.
    Could you please help me out to over come the problem.
    Regards,
    Sunil...

    in the selection screen for filling the setup table, there is a parameter No. tolerated faulty documents
    you'll have to enter at least '1' here in your case
    it might be that there are other erronuous records, in that case it will crash again, and you'll have to increase the value for this parameter
    (under "normal" circumstances, all documents in the source should be correct... but apparently it's possible to circumvent this)

  • Error while deriving the currency from table T001P.

    Hi Friends,
    I am trying to run payroll for NZ using schema NZ00 but i am getting an error stating "Error while deriving the currency from table T001P. Error during initialization of Payroll"
    I have checked V_T001P, V_T001 and have deleted the personnel area and subarea and again created it but still i am unable to solve this problem.
    Could you please help me as to where this error can be corrected.
    Thanks,
    Manj

    About the incidence, the problem might be related to the links between
    personnel area, company code and currency set up (table T001P, T500P and
    T001).
    Please check the following points:
    1- Have you assigned the Personnel area to the Company code under SPRO -
    IMG -> Enterprise Structure -> Assignment -> Human Resource Management
    -> Assignment of Personnel Area to Company Code.
    2- SPRO -> Personnel Management -> Personnel Admin -> Basic Settings ->
    Determine Currencies (Public Sector Currency Need to be maintained along
    with the other node).
    3- SPRO- Personnel Management -> Personnel Admin -> Payroll Data ->
    Basic Pay -> Define Hourly Rates for several decimal places. (Please
    maintain all the nodes).
    4- Maintaining the table t500c through transaction code OE00.
    Regards
    Ramana

  • Error while entering the time card

    Hi,
    while entering the time card,I am getting the error in APPS.PA_OTC_API api.
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20020: Pa_Otc_Api ::: ->Validate_Otc_Data->Validate_Process :: Check for quantity being negative. : ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-01403: no data found

    Hi
    Please clarify where are you entering the time card.
    Is it on a form of Preapproved expenditures? Are you using OTL, or any other time application?
    Are you are trying to load transactions thru the PA interface?
    Dina

  • Error While mapping using Join

    Hello Guys
    I just started Learning OWB i have a small problem while Mapping
    I mappped a column from source directly to Target and when i use the same column for Join condition for another mapping its not allowing me to so that
    and its giving error API 8003 and is there any way in OWB to use SQL directly to populate Target table
    Please
    Help me out
    Thanks

    Hi,
    U cannot connect a column to the target directly and also use it in a joiner. Take all the cols to the joner. Use the appropriate conditions and the from the joiner connect it to the target table.
    Regards
    Bharath

  • Resolve node with two nodes (nested tables)

    Hello,
    I want to hide a field depending of the value of another field of the same line. the issue is that the line is from a nested table.
    here is the code :
    var nodList = xfa.resolveNodes("xfa.record.LISTE_POSTES_TRAVAIL.DATA[].LISTE_CARAC.DATA[].CARAC");
    I want to get the value of "carac" field in table LISTE_CARAC_DATA.
    So when I display this :
    xfa.host.messageBox(""+nodList.item(this.parent.index).value);
    I always see the values of the table LISTE_CARAC_DATA for the first line of LISTE_POSTES_TRAVAIL.
    Could you help me ?
    Thank you.

    No Otto you won't make me rebuild my form
    I think I just get what is wrong, the value of this.index is always 0, that explain why sometimes it works, and sometimes not.
    Maybe I just need to put a counter in my table. I will do that if I don't find a javscript solution.
    Anyway, thanks a lot Otto for your time and very helpful advice.
    This is the code if it can help someone :
    var nodTry = xfa.resolveNodes("$.parent.parent.parent.POSTE[*].multiple_resultat.RESULTAT_T1");
    //The nodtry is complex because of all the subforms.
    var selection = $.boundItem(xfa.event.newText);
    if ( this.CARAC.rawValue == "LISTERIA" )
         if ( selection == "YES" )
    //COMPTEUR is the index that I created (I add a columns in my table and filled it in the ABAP program).
    // I don't need to do "+1" because index started at 0 in adobe form.
         nodTry.item(this.COMPTEUR.rawValue).mandatory = "error";
         nodTry.item(this.COMPTEUR.rawValue).access = "open";
         nodTry.item(this.COMPTEUR.rawValue).fillColor = "255,255,255";
         else if ( selection != "YES" )
         nodTry.item(this.COMPTEUR.rawValue).mandatory = "disabled";
         nodTry.item(this.COMPTEUR.rawValue).access = "readOnly";
         nodTry.item(this.COMPTEUR.rawValue).fillColor = "230,230,230";
         nodTry.item(this.COMPTEUR.rawValue).rawValue = "";
    Edited by: Louis-Arnaud Bouquin on Feb 9, 2010 11:39 AM

  • Error in bulk collect into nested table

    I keep getting an error while trying to compile this line:
    fetch c_juros bulk collect into wrk_juros_plano(p_ind_segreg);
    LINE/COL ERROR
    0/0      PLS-00801: internal error [74306]When i put that single line into comments it goes fine. Sure it doesn't do what I want.
    The data structure i use is as follows:
      cursor c_juros(p_ind_segreg in varchar2) is
        select (((power(1 + (i.prc_juros_atuari_ano / 100), 1 / 12) - 1) * 100) / 100) prc_juros_efetiv_mes,
               i.dat_inic_vigenc,
               (nvl(i.dat_fim_vigenc, sysdate) + 1) dat_fim_vigenc,
               i.ind_segreg
          from v_indexador_taxa_atuarial i
         where i.ind_segreg = p_ind_segreg
         order by i.dat_inic_vigenc;
      type t_juros_plano     is table of c_juros%rowtype;
      type t_tab_juros_plano is table of t_juros_plano index by binary_integer;
      wrk_juros_plano t_tab_juros_plano;the code goes like this:
      begin
        if not(wrk_juros_plano.exists(p_ind_segreg))
        then
          if c_juros%isopen
          then
            close c_juros;
          end if;
          open c_juros(p_ind_segreg);
          wrk_juros_plano(p_ind_segreg) := t_juros_plano();
          fetch c_juros bulk collect into wrk_juros_plano(p_ind_segreg);
        end if;
      ...p_ind_segreg is my input parameter, that should be the index of the array.
    The purpose is to create the parameter indexed element if it doesn't already exist, fetching it
    from the cursor, that defines a nested table.
    I tried removing the initialization line to no effect, among other things.

    Ok, I just found out a way around it. It works, but that error is probably a bug, cause workarounds are not really cute.
    I declared a nested table compatible with the element from the associative array:
    wrk_juros t_juros_plano;and chaged that line that was causing the error
    fetch c_juros bulk collect into wrk_juros_plano(p_ind_segreg);for
    fetch c_juros bulk collect into wrk_juros;
    wrk_juros_plano(p_ind_segreg) := wrk_juros;Awesome =\

  • SAP Best Practices V 4.31 questions- Getting errors while mapping reports.

    Case 1:
    I am trying to map following reports from SAP BP V 4.31 to our data sources:
    a)POSD-Month-Material Group
    b)POSD-Month Suppliers
    c)POSD-Suppliers
    These are the 3 reports out of 9 reports under trade dashboard.
    We have followed the steps outlined in section 9 and used the code provided in appendix IX of the "Manual data source creation document"  ,
    These reports seem to use a field "DMBTR" :
    Report claims this field(DMBTR  ) would exist under following structure : ZBPBI131_STRU_TRADE_POSD
    But the document specified this(DMBTR) field as part of structure : ZBPBI131_STRU_TRADE_PO
    And the report is hence showing this field as orphaned and needs to be mapped while updating source.
    I am clueless what is wrong ( document and code given there (or) report version i got)  and how to map that DMBTR field to existing infoset and what impact it would create if i force it into the infoset declining the guiding document.
    Case 2:
    While mapping reports under" Sales Plan vs. Actual Dashboard" , I am getting error saying "Some tables were not found" ,even after  we created the Query ZBPBI131_QRYSD on top of its infoset in SAP.
    I am clueless what have gone wrong.We have followed exact steps as mentioned in the manual data source creation document.
    Any help from anyone is greatly appreciated.
    Thank you

    Ingo,
    I saw the same reply from you for  some other users post.
    Suggesting to post to All in One forums.
    I was unable to find that exact forum, could you point me with a link.
    infact if i can get to that forum, may be my question has been already answered.
    Your help is appreciated.
    Thank you

  • Error while reading data through External Table!!!

    CREATE TABLE "COGNOS"."EXT_COGNOS_TBS9_TEST"
    (     "ITEM_DESC" VARCHAR2(200 BYTE),
    "EXT_CODE" VARCHAR2(20 BYTE),
    "RC_DATE" DATE,
    "RES_KD_AMNT" NUMBER(18,3),
    "RES_FC_AMNT" NUMBER(18,3),
    "NRES_KD_AMNT" NUMBER(18,3),
    "NRES_FC_AMNT" NUMBER(18,3),
    "TOTAL" NUMBER(18,3),
    "OF_WHICH_OVR1" NUMBER(18,3)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY "EXTDATADIR"
    ACCESS PARAMETERS
    ( RECORDS
    DELIMITED BY NEWLINE LOAD WHEN *({color:#ff0000}EXT_CODE LIKE 'TBS9%'{color})* FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL )
    LOCATION
    ( 'TBS9_TEST.CSV'
    External table creation went through successfully but am getting error while reading data. Am quite sure error is because of above line in red color. Could you please help me in transforming logic.
    Thanks in Advance,
    AP

    Let's start with the basics...
    1) You state that you are getting an error. What error do you get? Is this an Oracle error (i.e. ORA-xxxxx)? If so, please include the error number and the error message as well as the triggering statement. Or is the problem that rows are getting written to the reject file and errors are being written to the log file? If so, what record(s) are being rejected and what are the reasons given in the log file? Or perhaps the problem is something else?
    2) You state that you are quite sure that the problem relates to the hilighted code. What makes you quite sure of this?
    Justin

  • Error while relating sequence to a table

    thanks for a quick reply.
    i incorporated the suggestions that i got from here and i am getting the following error while i am trying to create a trigger:
    ERROR at line 1:
    ORA-04089: cannot create triggers on objects owned by SYS
    It is pretty self-explanatory but I dont know why I am getting this error. I am connected as sys/change_on_install as SYSDBA
    Help please!!
    Mahesh

    Mahesh,
    Hehehe well I had a little chuckle here after reading that. Don't create objects as SYS, that be a bad thing, unless your an elite hax0r.
    First make a new user and create that table and trigger and sequence under this new user. The create user syntax is below. It is wise to make a user also that has DBA privs, so you don't need to be connecting as SYS (The syntax below makes a DBA user). This is very helpful if your forget your SYS password (which you really should be changing).
    Note that you will have to specify the new user name, password, and in particular the TABLESPACE this new user will be making objects in. I put USR as it, but check to see if you have this tablespace or find one to make objects in, because right now your makeing tables in the SYSTEM table space which is a baaad thing.
    DROP USER "U_TYLER";
    CREATE USER "U_TYLER" IDENTIFIED BY "MY_PASSWORD_HERE"
    DEFAULT TABLESPACE "USR"
    TEMPORARY TABLESPACE "TEMP"
    PROFILE DEFAULT ACCOUNT UNLOCK;
    GRANT "CONNECT" TO "U_TYLER";
    GRANT "RESOURCE" TO "U_TYLER";
    GRANT "DBA" TO "U_TYLER";
    ALTER USER "STB" DEFAULT ROLE ALL;
    GRANT CREATE SYNONYM TO U_TYLER;
    GRANT DROP PUBLIC SYNONYM TO U_TYLER;
    GRANT CREATE PUBLIC SYNONYM TO U_TYLER;
    Reply back if your still having some troubles, cause we love to help people worldwide :).
    Tyler

  • Error while activating data from new table of DSO to active table

    HI,
    while activating data from new table of DSO to active table i am getting
    error message as "Error occurred while deciding partition number".
    Plz any idea hoe to resolve this one.
    thanks & regards
    KPS MOORTHY

    Hi
    You are trying to update/upload the Records which are already been there in the DSO Active Data Table which has the partition.
    Try to see the Record Nos already been activated and update/upload with selective, if possible.
    You can trace the changes at Change log table for the same.
    Hope it helps
    Edited by: Aduri on Jan 21, 2009 10:38 AM

  • Getting error while mapping fields btween DS and Data target IO

    Hi,
    I am getting error message "Rule(target field:0DEL_GR_WT): No source units assigned" while activating transfer rules btween Data source and Data target.
    Infoobject has got mapped with source field BRGEW.
    Even in the data source the field units are GEWEI
    In BI the units are 0unit_of_wt.
    Every thing seems to be fine,but while mapping fiellds in the transfermation i am getting above error

    Hi,
    I think u have to assign source unit in transformation .
    double click on that  particular filed and it will take you to other screen and there you have choose that field and have to  assign,
    if am wrong please ignore it.
    Thanks,
    Jack

Maybe you are looking for

  • How can I transfer sapscript from one client to another

    Please tell me the steps , how can I <b>transfer</b> SAPscript from one client to another (like DEV Client to Test Client)?

  • Exporting masters (NEF) to desktop or external drive -

    cant open NEF files. Hi, I am very new to such a forum - can someone guide me here? I can open my NEF files if using my external editor, photoshop CS, however, I need to export masters to external drive or into a file on my desktop. When I have expor

  • Edit info in itunes

    when i try to edit song info its grayed out it says it cant be changed because it cant find original file cddb doesnt work either any ideas to get around it

  • Display ship to party in FBL5N

    hi i want to display ship to party in fbl5n tcoce. i copy the function module SAMPLE_INTERFACE_00001650 and add one field in rfpos and pfposx structure. i can get the field in fbl5n tcode. now i want to know from which table i can get the  ship to pa

  • Camera Raw 8.2.0.94

    Two things just happend in Camera Raw 8.2.0.94 that i need some help with. 1. Exposure slider jumps back to zero when i try to make any other changes 2. Camera Raw can no longer recognize lens profiles from either of my leneses using D800 & D4