Hi , please help me in loading data

Hi,
   I am trying to load datas from R/3 to BW. This is what i did.
1) Created char info object with a field "EBELN" ,(no attributes).
2)  Created a key fig with "Tar_quan and 0UNIT" .
3)  Created a Info cube and assigned Dimension.
4)  Created a InfoSource with three fields EBELN, Tar_quan, 0unit.
5)  Logged on R/3 opened DataSource(SBIW) Created a new Transaction data dataSource. With the help of a forum answer,I extracted the 3 field datas from "EKPO" using View table(se11). and saved it.
Now what is the next step i have to do to load the extracted data from R/3 to BW. Could anyone explain me step by step.
Thanks,
Ranjani.

Hi,
Replicate the datasource on the BW side. You'll also need to create update and transfer rules and if they are already there, then make sure that they are active after the replicate else you'll need to reactivate them.
Then create an infopackage to load the data and then execute it to pull over the data from R3.
Cheers,
Kedar

Similar Messages

  • HT1338 I have updated my Imac to Mavericks and now my parallells won't work and I have reinstalled as per the instructions. Please help as all my data is on a hardrive that is formatted for PC

    I have updated my Imac to Mavericks and now my parallells won't work and I have reinstalled as per the instructions. Please help as all my data is on a hardrive that is formatted for PC.

    Yes I just discovered that this morning but I have purchased another external harddrive and formatted it for both and am in the process of transferring the files across it and then I will erase the old harddrive and reformat it so I can use it.
    I have learnt to format harddrives from this experience but am happy to see the back of parallells.
    Thank you for your help though it is much appreciated.

  • Help needed with loading data from ODS to cube

    Hi
    I am loading data from an ODS to a cube in QA. The update rules are active and definition seems right. I am getting the following error, in the update rules.
    "Error in the unit conversion. Error 110 occurred"
    Help.
    Thanks.

    Hi Chintai,
    You can see the record number where the error occured in the monitor (RSMO) for this data load > goto the details tab and open up the Processing area (+ sign). Try it out...
    Also about ignoring the error record and uploading the rest, this is done if you have set Error Handling in your InfoPackage (Update tab), but this would have to be done before the load starts, not after the error happens.
    Hope this helps...
    And since you thanked me twice, also please see here:-) https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/7201c12f-0701-0010-f2a6-de5f8ea81a9e [original link is broken]

  • Help needed in loading data from BW(200) to APO(100).

    Hi everybody,
    I am trying to load a master data from BW(200) to AP1(100) , this is what i did.
    1) created a InfoObject, with some fields (general-ebeln, Attributes- bukrs, werks,matnr).
    2) created and activated communication structure.
    3) Then went to BW(200) created data source(sbiw) and extracted datas from a particular info object, which had same fields and saved it, then went to RSA3 checked for data availability in data source , and it was available there too.
    4) Came back to AP1(100), in the source system tab, opened BW(200) and replicated the datas. I was able to see the Data source name which is created in BW(200).
    5) Create and activated the Transfer struct.
    6) created a info package, and loaded the data, but the monitor says " NOT YET COMPLEATED" , "CURRENTLY IN PROCESS". and it also shows "0 of 0 RECORDS".
    I want to know,
    1) Is there any mistake in what i have done above ?
    2) how long will it take to complete the process (i.e. the loading) ?.
    Please help me through this problem.
    Thanks,
    Ranjani.

    Hi,
    I am surprised with your steps. In APO, you want to load data from a particular infoobject from BW. Why did you create a specific extractor in SBIW???
    You have just reinvented the wheel... It reminds me some people in the world ...
    Here is what you should do:
    - in BW, at the infosource level, you create a direct infosource based on the infoobject that you want to extract the data to APO (let's say 0MATERIAL)
    - in BW, at the infosource level, you right click on the infosource itself and you choose 'GENERATE EXPORT DATASOURCE. That will create the datasources for you (attributes, texts, hierarchies) depending on the infoobject settings. The names of these datasources will begin with a 8 for the datamart
    - in APO, you replicate the BW system. Now you find the datasources 80MATERIAL something
    - in APO, you create the transfer rules to your infosource and you can load
    Just give it a try
    Regards

  • Help needed to load data using sql loader.

    Hi,
    I trying to load data from xls to oracle table(solaris OS) and its failing to load data.
    Control file:
    LOAD DATA
    CHARACTERSET UTF16
    BYTEORDER BIG ENDIAN
    INFILE cost.csv
    BADFILE consolidate.bad
    DISCARDFILE Sybase_inventory.dis
    INSERT
    INTO TABLE FIT_UNIX_NT_SERVER_COSTS
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    HOST_NM,
    SERVICE_9071_DOLLAR DOUBLE,
    SERVICE_9310_DOLLAR DOUBLE,
    SERVICE_9700_DOLLAR DOUBLE,
    SERVICE_9701_DOLLAR DOUBLE,
    SERVICE_9710_DOLLAR DOUBLE,
    SERVICE_9711_DOLLAR DOUBLE,
    SERVICE_9712_DOLLAR DOUBLE,
    SERVICE_9713_DOLLAR DOUBLE,
    SERVICE_9720_DOLLAR DOUBLE,
    SERVICE_9721_DOLLAR DOUBLE,
    SERVICE_9730_DOLLAR DOUBLE,
    SERVICE_9731_DOLLAR DOUBLE,
    SERVICE_9750_DOLLAR DOUBLE,
    SERVICE_9751_DOLLAR DOUBLE,
    GRAND_TOTAL DOUBLE
    Log file:
    Table FIT_UNIX_NT_SERVER_COSTS, loaded from every logical record.
    Insert option in effect for this table: INSERT
    TRAILING NULLCOLS option in effect
    Column Name Position Len Term Encl Datatype
    HOST_NM FIRST * , CHARACTER
    SERVICE_9071_DOLLAR NEXT 8 DOUBLE
    SERVICE_9310_DOLLAR NEXT 8 DOUBLE
    SERVICE_9700_DOLLAR NEXT 8 DOUBLE
    SERVICE_9701_DOLLAR NEXT 8 DOUBLE
    SERVICE_9710_DOLLAR NEXT 8 DOUBLE
    SERVICE_9711_DOLLAR NEXT 8 DOUBLE
    SERVICE_9712_DOLLAR NEXT 8 DOUBLE
    SERVICE_9713_DOLLAR NEXT 8 DOUBLE
    SERVICE_9720_DOLLAR NEXT 8 DOUBLE
    SERVICE_9721_DOLLAR NEXT 8 DOUBLE
    SERVICE_9730_DOLLAR NEXT 8 DOUBLE
    SERVICE_9731_DOLLAR NEXT 8 DOUBLE
    SERVICE_9750_DOLLAR NEXT 8 DOUBLE
    SERVICE_9751_DOLLAR NEXT 8 DOUBLE
    GRAND_TOTAL NEXT 8 DOUBLE
    Record 1: Rejected - Error on table FIT_UNIX_NT_SERVER_COSTS, column HOST_NM.
    Field in data file exceeds maximum length
    Table FIT_UNIX_NT_SERVER_COSTS:
    0 Rows successfully loaded.
    1 Row not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Please help me ASAP.
    Awaiting u r reply.

    Hi,
    I verified and everything looks fine according to me.
    Table structure:
    OST_NM VARCHAR2(30)
    SERVICE_9071_DOLLAR NUMBER(8,2)
    SERVICE_9310_DOLLAR NUMBER(8,2)
    SERVICE_9700_DOLLAR NUMBER(8,2)
    SERVICE_9701_DOLLAR NUMBER(8,2)
    SERVICE_9710_DOLLAR NUMBER(8,2)
    SERVICE_9711_DOLLAR NUMBER(8,2)
    SERVICE_9712_DOLLAR NUMBER(8,2)
    SERVICE_9713_DOLLAR NUMBER(8,2)
    SERVICE_9720_DOLLAR NUMBER(8,2)
    SERVICE_9721_DOLLAR NUMBER(8,2)
    SERVICE_9730_DOLLAR NUMBER(8,2)
    SERVICE_9731_DOLLAR NUMBER(8,2)
    SERVICE_9750_DOLLAR NUMBER(8,2)
    SERVICE_9751_DOLLAR NUMBER(8,2)
    GRAND_TOTAL NUMBER(8,2)
    Control file:
    LOAD DATA
    BYTEORDER BIG ENDIAN
    INFILE cost.csv
    BADFILE consolidate.bad
    DISCARDFILE Sybase_inventory.dis
    INSERT
    INTO TABLE FIT_UNIX_NT_SERVER_COSTS
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    HOST_NM ,
    SERVICE_9071_DOLLAR NUMBER(8,2),
    SERVICE_9310_DOLLAR NUMBER(8,2),
    SERVICE_9700_DOLLAR NUMBER(8,2),
    SERVICE_9701_DOLLAR NUMBER(8,2),
    SERVICE_9710_DOLLAR NUMBER(8,2),
    SERVICE_9711_DOLLAR NUMBER(8,2),
    SERVICE_9712_DOLLAR NUMBER(8,2),
    SERVICE_9713_DOLLAR NUMBER(8,2),
    SERVICE_9720_DOLLAR NUMBER(8,2),
    SERVICE_9721_DOLLAR NUMBER(8,2),
    SERVICE_9730_DOLLAR NUMBER(8,2),
    SERVICE_9731_DOLLAR NUMBER(8,2),
    SERVICE_9750_DOLLAR NUMBER(8,2),
    SERVICE_9751_DOLLAR NUMBER(8,2),
    GRAND_TOTAL NUMBER(8,2)
    Sample date file:
    ABOS12,122.46,,1315.00,,1400.00,,,,,,,,1855.62,,4693.07
    ABOS39,6391.16,,1315.00,,1400.00,,,,,,,,,4081.88,13188.04

  • Need help - How to load data which contains \r\n

    Hi All,
    We have a requirement wherein we need to load the data from a .dat file, with fields separated by | symbol and the line separator specified as '\r\n'
    INFILE '/scratch/xyz/abcd.dat' "STR '\r\n'"
    FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"'
    Can you please help us load data which contains multiple lines in a single field to a database table field , keeping the line separator in ctl file as '\r\n' itself.
    When we try bringing the '\r\n' within a text field enclosed in "" , the '\r\n' , sqlldr considers it as the end of that record and not as a data which needs to go into a column.
    One option we have is to have the extraction process create the data in such a way that the fields with multiple lines , be brought in the .dat file enclosed in "" as
    "Test
    "|8989|abcd
    where the new line in the first field is just '\n' .
    Is there any other way in which the requirement can be addressed.
    Version: SQL*Loader: Release 11.1.0.7.0
    Thanks,
    Rohin

    In addition, you would need to know the character set encoding of the csv files (e.g. the code page used).
    Basically you need to have the facts about both client (csv file) and database character set.
    As suggested, use the available documentation - it's there to help you!
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm

  • Please help me out with  "Data only excel option "

    Post Author: pavan pusuluri
    CA Forum: Crystal Reports
    When i am trying to spool the data with data only excel option using crystal reports XI, the records are appearing in two rows instead of single row. i have studied that when we use data only excel option entire record will be displayed in a single row,but it is not appearing in that way.Please help me out in fixing this bug. I am very much new to crytal reports.

    Post Author: pavan pusuluri
    CA Forum: Crystal Reports
    I thank you for the prompt reply.  
    All the field are of same size and height.  The format is fine.  The report is designed in such a way that data is   displayed in three detail sections. What i would like to have is " i want the data in these three sections to be displayed in a single row when i select the data only excel  export option".Please help me  out in fixing this issue.
    Thanks in anticipation

  • Please help me in inserting data into table from XML message.

    Hi Experts,
    Please provide a procedure to implement my below requirement.
    Since I am new to queue concept.
    [code]- <MESSAGES>
    - <MESSAGE ID="3026900">
      <MSG_ID>3026900</MSG_ID>
      <DT_POSTED>6/20/2013 08:15:48</DT_POSTED>
      <POSTED_BY>GPD_MSG_EXTRACTOR</POSTED_BY>
      <DT_LAST_QUEUED />
    - <MSG>
    - <WORK_SET TRANSACTION_ID="@TRANS_ID" TRANSACTION_TYPE="Batch" IS_ACID="@IS_ACID">
    - <WORK_UNIT GROUP="LEAD_TIME" ACTION="UPDATE" AFFECTED="LEAD_TIME">
    - <RECORDSET TABLE_NAME="LEAD_TIME">
    - <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
    - <rs:data>
      <z:row business_unit_id="3838" geo="AT" sku="A0814818" dw_maint_flag="False" stock_status_id="0" lead_time="30" est_qty="0" leadtime_lock="False" update_dts="2013-06-12T02:08:30.367" update_uid="DEACTIVATE_SKU_PROCESS" leadtime_dts="2010-05-22T02:21:21.707" leadtime_uid="Lead_Time_Rules" />
      <z:row business_unit_id="202" geo="GB" sku="A0814819" dw_maint_flag="False" stock_status_id="0" lead_time="30" est_qty="0" leadtime_lock="False" update_dts="2013-06-12T02:08:30.367" update_uid="DEACTIVATE_SKU_PROCESS" leadtime_dts="2010-05-22T02:21:21.707" leadtime_uid="Lead_Time_Rules" />
      <z:row business_unit_id="2828" geo="BE" sku="A0814820" dw_maint_flag="False" stock_status_id="0" lead_time="30" est_qty="0" leadtime_lock="False" update_dts="2013-06-12T02:08:30.367" update_uid="DEACTIVATE_SKU_PROCESS" leadtime_dts="2010-05-22T02:21:21.707" leadtime_uid="Lead_Time_Rules" />
      </rs:data>
      </xml>
      </RECORDSET>
      </WORK_UNIT>
    - <WORK_UNIT GROUP="LEAD_TIME" ACTION="ADD" AFFECTED="LEAD_TIME">
    - <RECORDSET TABLE_NAME="LEAD_TIME">
    - <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
    - <rs:data>
      <z:row business_unit_id="202" geo="GB" sku="A0814821" dw_maint_flag="False" stock_status_id="0" lead_time="30" est_qty="0" leadtime_lock="False" update_dts="2013-06-12T02:08:30.367" update_uid="DEACTIVATE_SKU_PROCESS" leadtime_dts="2010-05-22T02:21:21.707" leadtime_uid="Lead_Time_Rules" />
      <z:row business_unit_id="2828" geo="BE" sku="A0814822" dw_maint_flag="False" stock_status_id="0" lead_time="30" est_qty="0" leadtime_lock="False" update_dts="2013-06-12T02:08:30.367" update_uid="DEACTIVATE_SKU_PROCESS" leadtime_dts="2010-05-22T02:21:21.707" leadtime_uid="Lead_Time_Rules" />
      </rs:data>
      </xml>
      </RECORDSET>
      </WORK_UNIT>
    - <WORK_UNIT GROUP="LEAD_TIME" ACTION="DELETE" AFFECTED="LEAD_TIME">
    - <RECORDSET TABLE_NAME="LEAD_TIME">
    - <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
    - <rs:data>
      <z:row business_unit_id="202" geo="GB" sku="A0814817" dw_maint_flag="False" stock_status_id="0" lead_time="30" est_qty="0" leadtime_lock="False" update_dts="2013-06-12T02:08:30.367" update_uid="DEACTIVATE_SKU_PROCESS" leadtime_dts="2010-05-22T02:21:21.707" leadtime_uid="Lead_Time_Rules" />
      <z:row business_unit_id="2828" geo="BE" sku="A0814816" dw_maint_flag="False" stock_status_id="0" lead_time="30" est_qty="0" leadtime_lock="False" update_dts="2013-06-12T02:08:30.367" update_uid="DEACTIVATE_SKU_PROCESS" leadtime_dts="2010-05-22T02:21:21.707" leadtime_uid="Lead_Time_Rules" />
      </rs:data>
      </xml>
      </RECORDSET>
      </WORK_UNIT>
      </WORK_SET>
      </MSG>
      </MESSAGE>
      </MESSAGES>[/code]
    The above XML message is receieved by our oracle queue.Once the message is receieved to our queue.
    We have to process the message according to the action(UPDATE ADD DELETE).
    From this message we have to process only 3 fields (geo  sku lead_time).
    These three feilds data should be processed into the SKU_LEAD_TIME table based on the action.
    Req1:
    IF the action is update then the records should be updated in the "LEAD_TIME_TABLE" table
    IF the action is update then the records should be updated in the "LEAD_TIME_TABLE" table
    based on the below condition.
    [code]UPDATE LEAD_TIME_TABLE SET lead_time= lead time from xml message
    WHERE LEAD_TIME_TABLE.SKU=sku from xml message AND LEAD_TIME_TABLE.GEO=geo from xml message;[/code]
    Req2:
    IF the action is delete then the records should be deleted from the "LEAD_TIME_TABLE" table.
    based on the below condition.
    [code]DELETE FROM LEAD_TIME_TABLE
    WHERE LEAD_TIME_TABLE.SKU=sku from xml message AND LEAD_TIME_TABLE.GEO=geo from xml message;[/code]
    Req3:
    IF the action is add then the records should be inserted in the "LEAD_TIME_TABLE"  and "LEAD_TIME_TABLE_STAGING" table
    based on the below conditions.
    Req3.1:
    If SKU from XML message is available in "SKU_TABLE" table
    then the three parameter(GEO SKU LEAD_TIME) values from XML message should be inserted into "LEAD_TIME_TABLE" table.
    Req3.2:
    If SKU from XML message is not available in "SKU_TABLE" table
    then the three parameter(GEO SKU LEAD_TIME) values from XML message should be inserted into "LEAD_TIME_TABLE_STAGING" table.
    Req3.3:
    Once the new SKU is avilable in "SKU_TABLE" table then the corresponding SKU record should be
    inserted into "LEAD_TIME_TABLE" table and that record should be deleted from  "LEAD_TIME_TABLE_STAGING" table.
    I am posting required scripts and test cases.
    [code]CREATE TABLE LEAD_TIME_TABLE(sku VARCHAR2(20),model VARCHAR2(20),class CHAR(1),geo VARCHAR2(6),lead_time NUMBER,created DATE);
    CREATE TABLE LEAD_TIME_TABLE_STAGING(sku VARCHAR2(20),geo VARCHAR2(6),lead_time NUMBER);
    CREATE TABLE SKU_TABLE(sku VARCHAR2(20),geo VARCHAR2(6),lead_time NUMBER);
    INSERT INTO SKU_TABLE VALUES('A0814817','GB',30);
    INSERT INTO SKU_TABLE VALUES('A0814818','AT',30);
    INSERT INTO SKU_TABLE VALUES('A0814819','GB',30);
    INSERT INTO SKU_TABLE VALUES('A0814820','BE',30);
    INSERT INTO SKU_TABLE VALUES('A0814821','GB',30);
    INSERT INTO LEAD_TIME_TABLE(SKU,GEO,LEAD_TIME) VALUES('A0814817','GB',30);
    INSERT INTO LEAD_TIME_TABLE(SKU,GEO,LEAD_TIME) VALUES('A0814818','AT',20);
    INSERT INTO LEAD_TIME_TABLE(SKU,GEO,LEAD_TIME) VALUES('A0814819','GB',20);
    INSERT INTO LEAD_TIME_TABLE(SKU,GEO,LEAD_TIME) VALUES('A0814820','BE',20);
    INSERT INTO LEAD_TIME_TABLE_STAGING VALUES('A0814822','BE',30);[/code]
    From the above message.
    Test case for req3.1:
    The action for SKU numbers "A0814821"  "A0814822" are insert.
    The SKU number  "A0814821" is available in SKU_TABLE table.
    so the record should be inserted in the LEAD_TIME_TABLE.
    [code]SELECT * FROM LEAD_TIME_TABLE;
    SKU        GEO   LEAD_TIME
    A0814817    GB    30
    A0814818    AT    20
    A0814819    GB    20
    A0814820    BE    20
    A0814821    GB    30[/code]
    Test case for req3.2:
    The action for SKU numbers "A0814821"  "A0814822" are insert.
    The SKU number  "A0814822" is not available in SKU_TABLE table.
    so the record should be inserted in the LEAD_TIME_TABLE_STAGING.
    [code]SELECT * FROM LEAD_TIME_TABLE_STAGING;
    SKU        GEO   LEAD_TIME
    A0814822    BE     30[/code]
    Test case for req3.3:
    The action for SKU numbers "A0814821"  "A0814822" are insert.
    The SKU number  "A0814822" is not available in SKU_TABLE table.
    Once I insert SKU number "A0814822" in SKU_TABLE table.
    The corresponding records automatically should be inserted in the LEAD_TIME_TABLE
    and should be deleted from LEAD_TIME_TABLE_STAGING.
    [code]SELECT * FROM LEAD_TIME_TABLE_STAGING;  --- should return NULL.
    SELECT * FROM LEAD_TIME_TABLE;
    SKU        GEO   LEAD_TIME
    A0814817    GB    30
    A0814818    AT    20
    A0814819    GB    20
    A0814820    BE    20
    A0814821    GB    30
    A0814822    BE    30[/code]
    Please help me.
    Thanks in advance.

    Hi,
    I have resolved this issue.
    But I have stuck up in implementing some of the scenarios.
    Req1:
    IF the action is update then the records should be updated in the "LEAD_TIME_TABLE" table
    IF the action is update then the records should be updated in the "LEAD_TIME_TABLE" table
    based on the below condition.
    UPDATE LEAD_TIME_TABLE SET lead_time= lead time from xml message
    WHERE LEAD_TIME_TABLE.SKU=sku from xml message AND LEAD_TIME_TABLE.GEO=geo from xml message;
    Req3:
    IF the action is add then the records should be inserted in the "LEAD_TIME_TABLE"  and "LEAD_TIME_TABLE_STAGING" table
    based on the below conditions.
    Req3.1:
    If SKU from XML message is available in "schema_name.SKU_TABLE" table.
    The schema_name.SKU_TABLE table should be selected based on "business_unit_id" of XML message and "sid" of MAPPING table WHERE business_unit_id=sid.
    then the three parameter(GEO SKU LEAD_TIME) values from XML message and two fields MODEL,CLASS from SKU_TABLE
    should be inserted into "LEAD_TIME_TABLE" table.
    Req3.2:
    If SKU from XML message is not available in "schema_name.SKU_TABLE" table
    The schema_name.SKU_TABLE table should be selected based on "business_unit_id" of XML message and "sid" of MAPPING table WHERE business_unit_id=sid.
    then the four parameter(BUSINESS_UNIT_ID GEO SKU LEAD_TIME) values from XML message
    should be inserted into "LEAD_TIME_TABLE_STAGING" table.
    Req3.3:
    Once the new SKU is avilable in "schema_name.SKU_TABLE" table then the corresponding SKU record should be
    inserted into "LEAD_TIME_TABLE" table and that record should be deleted from  "LEAD_TIME_TABLE_STAGING" table.
    The schema_name.SKU_TABLE table should be selected based on "business_unit_id" of LEAD_TIME_TABLE_STAGING and "sid" of MAPPING table WHERE business_unit_id=sid.
    I am posting required scripts and test cases.
    [code]CREATE TABLE LEAD_TIME_TABLE(sku VARCHAR2(20),model VARCHAR2(20),class CHAR(1),geo VARCHAR2(6),lead_time NUMBER,created DATE);
    CREATE TABLE LEAD_TIME_TABLE_STAGING(business_unit_id NUMBER,sku VARCHAR2(20),geo VARCHAR2(6),lead_time NUMBER);
    CREATE TABLE SKU_TABLE(sku VARCHAR2(20),model VARCHAR2(20),class VARCHAR2(10));
    CREATE TABLE mapping(sid NUMBER,schema_name VARCHAR2(20));
    INSERT INTO LEAD_TIME_TABLE(SKU,GEO,LEAD_TIME) VALUES('A0814817','GB',30);
    INSERT INTO LEAD_TIME_TABLE(SKU,GEO,LEAD_TIME) VALUES('A0814818','AT',20);
    INSERT INTO LEAD_TIME_TABLE(SKU,GEO,LEAD_TIME) VALUES('A0814819','GB',20);
    INSERT INTO LEAD_TIME_TABLE(SKU,GEO,LEAD_TIME) VALUES('A0814820','BE',20);
    INSERT INTO SKU_TABLE VALUES('A0814817','M125','C111');
    INSERT INTO SKU_TABLE VALUES('A0814818','M127','A111');
    INSERT INTO SKU_TABLE VALUES('A0814819','M126','A111');
    INSERT INTO SKU_TABLE VALUES('A0814820','N100','B111');
    INSERT INTO SKU_TABLE VALUES('A0814821','P123','B111');
    INSERT INTO mapping VALUES(202,'WEDB');
    INSERT INTO mapping VALUES(2828,'HR');
    INSERT INTO mapping VALUES(3838,'BB');
    [/code]
    Test case for req3.1:
    The action for SKU numbers "A0814821"  "A0814822" are insert.
    The SKU number  "A0814821" is available in schema_name.SKU_TABLE table.
    so the record should be inserted in the LEAD_TIME_TABLE.
    [code]SELECT * FROM LEAD_TIME_TABLE;
    SKU        MODEL  CLASS  GEO   LEAD_TIME
    A0814817    M125   C111   GB     30
    A0814818    M127   A111   AT     20
    A0814819    M126   A111   GB     20
    A0814820    N100   B111   BE     20
    A0814821    P123   B111   GB     30
    [/code]
    Test case for req3.2:
    The action for SKU numbers "A0814821"  "A0814822" are insert.
    The SKU number  "A0814822" is not available in SKU_TABLE table.
    so the record should be inserted in the LEAD_TIME_TABLE_STAGING.
    [code]SELECT * FROM LEAD_TIME_TABLE_STAGING;
    BUSINESS_UNIT_ID       SKU        GEO   LEAD_TIME
    2828               A0814822    BE     30[/code]
    Test case3.3.3:
    The action for SKU numbers "A0814821"  "A0814822" are insert.
    The SKU number  "A0814822" is not available in SKU_TABLE table.
    Once I insert SKU number "A0814822" in SKU_TABLE table.
    The corresponding records automatically should be inserted in the LEAD_TIME_TABLE
    and should be deleted from LEAD_TIME_TABLE_STAGING.
    [code]INSERT INTO SKU_TABLE VALUES('A0814822','P123','B111');
    SELECT * FROM LEAD_TIME_TABLE_STAGING;  --- should return NULL.
    SELECT * FROM LEAD_TIME_TABLE;
    SKU        MODEL  CLASS  GEO   LEAD_TIME
    A0814817    M125   C111   GB     30
    A0814818    M127   A111   AT     20
    A0814819    M126   A111   GB     20
    A0814820    N100   B111   BE     20
    A0814821    P123   B111   GB     30
    A0814822    P123   B111   GB     30[/code]
    I am able to implement Req1 and Req3.1 for action UPDATE and INSERT in single merge statement.
    However my code is not taking care of all my requirements.
    Please find my below code.
    [code]   CREATE OR REPLACE PACKAGE BODY messg_values_process
       AS
        procedure ProcessInboundLtimeMessage(p_xml_message XmlType)
        is
        begin
            for work_unit in (
                select message.MESSAGE_ID
                     , work_unit.ACTION
                     , work_unit.LEADTIME_NODES
                  from XmlTable(
                        '/MESSAGES/MESSAGE'
                        passing p_xml_message
                        columns
                            MESSAGE_NO          for ordinality
                          , MESSAGE_ID          number path '@ID'
                          , WORK_UNIT_NODES     XmlType path 'MSG/WORK_SET/WORK_UNIT'
                       ) message
                     , XmlTable(
                        XmlNamespaces(
                            'urn:schemas-microsoft-com:rowset' as "rs"
                          , '#RowsetSchema' as "z"
                        '/WORK_UNIT'
                        passing message.WORK_UNIT_NODES
                        columns
                            WORK_UNIT_NO        for ordinality
                          , ACTION              varchar2(10 char) path '@ACTION'
                          , LEADTIME_NODES       XmlType path 'RECORDSET[@TABLE_NAME="LEAD_TIME"]/xml/rs:data/z:row'
                       ) work_unit
        LOOP
                CASE work_unit.ACTION
                  WHEN 'ADD'    THEN MergeData(work_unit.LEADTIME_NODES);
                  WHEN 'UPDATE' THEN MergeData(work_unit.LEADTIME_NODES);
                  WHEN 'DELETE' THEN RemoveData(work_unit.LEADTIME_NODES);
                  ELSE null;
                END CASE;
            END LOOP;
        END ProcessInboundLtimeMessage;
            procedure MergeData(p_leadtime_nodes XmlType)
        is
        begin
            if (p_leadtime_nodes is not null) then
                merge into LEAD_TIME_TABLE old
                using(
                    select *
                      from XmlTable(
                            XmlNamespaces(
                                'urn:schemas-microsoft-com:rowset' as "rs"
                              , '#RowsetSchema' as "z"
                            '/z:row[not(@business_unit_id=following-sibling::z:row/@business_unit_id)]'
                            passing p_leadtime_nodes
                            columns
                                ITEM_NO             for ordinality
                              , BUSINESS_UNIT_ID    number path '@business_unit_id'
                              , GEO                 varchar2(20 char) path '@geo'
                              , SKU                 varchar2(20 char) path '@sku'
                              , LEAD_TIME           number path '@lead_time'
                ) NEW
                   ON (old.VK_UNIT = new.SKU
                  AND old.GEO=new.GEO)
                when matched then update
                   set old.LEAD_TIME = new.LEAD_TIME
                when not matched then INSERT
                     ( old.VK_UNIT
                     , old.MODEL
                     , old.CLASS
                     , old.GEO
                     , old.LEAD_TIME
                     , old.COUNTDOWN
                     , old.LAST_UPDATED_DATE
                     values
                     ( new.SKU
                     ,'A123'
                     ,'A1234'
                     , new.GEO
                     , new.LEAD_TIME
                     , 'N'
                     , sysdate
            end if;
             exception
            when others then
                LogDataError(
                    'MergeData Procedure Failed #: '||chr(10)||sqlerrm
                  , null
                  , null
        END MergeData;
    END messg_values_process;
    /[/code]
    Please help me.
    Thanks.

  • Please help me on the data selection - drill down

    Can any one please help me,
    I'm struggling with the data selection. I trid to finding the solution all the way but no hopes.
    see below are my data sets:
    1) from this table i have to plot piechart.
    Division Name                   Percentage
    AMESA                            1.79%
    ANZ                            1.79%
    Central                            5.36%
    Commercial                            8.93%
    Eastern Europe                   1.79%
    Greater China                     3.57%
    Italy                           10.71%
    Japan                            35.71%
    Latin America     12.50%
    Mid Atlantic/South     1.79%
    Northeast                           3.57%
    NY/NJ                           1.79%
    SE Asia                           7.14%
    TME                           3.57%
    2) this below table is having the data same as "diivsion" above and their coerponding "Product" with its counts.
    Here i want plot the bar chart with product and its counts. and also this chart should display only the products for the division selection above.
    I mean that, when the users clicks the particular "division" then the coreponding "products" should only be displayed on the bar chart.
    Division Name     Product                 Escalations
    AMESA                          CLARiiON                          1
    ANZ                 Replication Manager     1
    Central                    ControlCenter                          1
                         Open Replicator                          1
                                Symmetrix                          1
    Commercial                             CLARiiON     
                                 Disk Library                    2
                                 Celerra                         1
                                 PowerPath                         1
                                 Symmetrix                          1
    Eastern Europe         Celerra                     1
    Greater China         CLARiiON     
                               RecoverPoint     1
                                   Symmetrix     1
    Italy                               CLARiiON                          2
                                 Disk Library     1
                               Invista                         1
                                Networker                         1
                              RecoverPoint                         1
    Japan                        PowerPath     
                            CLARiiON                         5
                            Disk Library                          3
                            Symmetrix                 3
                             Celerra                         2
                    Replication Manager                  2
                         Avamar                      1
                           Centera                      1
                          Connectrix                       1
                            ControlCenter                       1
    I can't try using dynamic visibility with the pie chart and bar chart. because my dashboard is having multiple tabs so i want to use the dynamic visibility there.
    any help appreciated.
    Thanks,
    rdc422
    Edited by: rdc422 on Aug 24, 2009 12:18 PM

    Radha,
    Looks like you are still facing problem with dynamic visibility, i had sent the xlf file to your email.
    I created drill down for
    Japan
    Commercial
    Central
    Similarly you can do it for others.
    -Anil

  • Please help me to load a list of databases

    I need to get the location alias information from 10 Application's databases.What shall I do to load a list of databases?Please help me

    Below is the example of a Maxl script to load multiple APP & DB and then display location alias for them: -
    /*Following Maxl command will store output of all below mentioned MaxL command in a file*/
    spool on to FILE-PATH;
    /*Login command to access Essbase server*/
    login USER-NAME identified by PASSWORD on SERVER-NAME;
    /*Below Maxl statements load databases- DB-NAME1, DB-NAME2, DB-NAME3 of an application - APP-NAME1 and show location aliases for each databases*/
    alter application APP-NAME1 load database DB-NAME1;
    display location alias on database DB-NAME1;
    alter application APP-NAME1 load database DB-NAME2;
    display location alias on database DB-NAME2;
    alter application APP-NAME1 load database DB-NAME3;
    display location alias on database DB-NAME3;
    /*Below Maxl statements load databases- DB-NAME1, DB-NAME2, DB-NAME3 of an application - APP-NAME2 and show location aliases for each databases*/
    alter application APP-NAME2 load database DB-NAME1;
    display location alias on database DB-NAME1;
    alter application APP-NAME2 load database DB-NAME2;
    display location alias on database DB-NAME2;
    alter application APP-NAME2 load database DB-NAME3;
    display location alias on database DB-NAME3;
    spool off;
    log off;
    Hope it help you.
    Atul

  • Please help on the Loader.content to movieclip

    Hello there,
    I have been search around and got some mixed solutions,
    summarized as follow:
    If I need to load external swf into the main swf file, I need
    to Loader with appropriate URLRequest for this purpose.
    After loaded, you can listen to the complete event and
    addChild the loader.content to the main swf.
    Because I have a stop on the loaded swf first frame, I need
    to start the swf with a button. Some solutions on the net pointed
    that to make this happened, you need to cast the loader.content to
    MovieClip and have to through a tricky way to accomplish it like
    var movie:*=loader.content ;
    var clip:MovieClip=movie;
    clip.gotoAndPlay(4);
    I tried this method and still got Type Coercion failed
    ::cannot convert flash.display to MovieClip
    Please help, don't know why some experts said it is working
    while I can not get it to work. Thanks in advance

    Thanks WL, you are very close. I have a flash8 movie (purely
    animation)
    and I actually opened it in CS3 and saved as CS3. after
    publishing that's the movie I am tring to load.
    I recreate the whole animation in CS3 and everything start to
    run as supposed to. By trace the loader.content I find out one is
    [object AVM1Movie] for sudo as2 movie and [object MainTimeline] for
    the pure as3 movie. Thanks again.

  • PLS HELP ME TO LOAD DATS

    Hi Experts,
    Help me of how to use these BAPIS IN CODE.(i NEED TO LOAD DATAS INTO SAP SYSTEM.
    1)BAPI ALMODER_MAINTAIN
    2)BAPI_TRANSACTION_COMMIT
    Regards
    Jayalakshmy

    Hi
    in data declarations declare internation tables of the type of BAPI structure,that is to b passed to bapi.
    for ex:
    data : it_es_header type bapi_alm_order_header_e  ,
             it_es_srvdata type  bapi_alm_order_srvdat_e ,
             it_et_partner type standard table of bapi_alm_order_partner,
             it_et_operations type standard table of bapi_alm_order_operation_e  ,
             it_et_components type standard table of bapi_alm_order_component_e ,
             it_et_relations type standard table of bapi_alm_order_relation_export,
             it_et_srules type standard table of bapi_alm_order_srule_e ,
             it_et_olist type standard table of bapi_alm_order_objectlist ,
             it_et_oprol type standard table of bapi_alm_olist_relation ,
             it_et_texts type standard table of bapi_alm_text ,
             it_et_text_lines type standard table of bapi_alm_text_lines,
             it_et_prts type standard table of bapi_alm_order_prt_e ,
             it_et_costs_sum type standard table of bapi_alm_order_costs_sum_e  ,
             it_et_costs_details type standard table of bapi_alm_order_costs_detail_e ,
             it_return type standard table of bapiret2   ,
             it_extension_in type standard table of bapiparex  ,
             it_extension_out type standard table of bapiparex ,
             it_commit type standard table of ty_commit,
             it_equit type standard table of ty_equit,
             it_funct type standard table of ty_funct,
             it_commit_wbs type standard table of ty_commit_wbs
    call function 'BAPI_ALM_ORDER_GET_DETAIL'
       destination 'SELF'
          exporting
            number           = wa_order_id-orderid
          importing
            es_header        = it_es_header
            es_srvdata       = it_es_srvdata
          tables
            et_partner       = it_et_partner
            et_operations    = it_et_operations
            et_components    = it_et_components
            et_relations     = it_et_relations
           et_srules        = it_et_srules
            et_olist         = it_et_olist
            et_oprol         = it_et_oprol
            et_texts         = it_et_texts
            et_text_lines    = it_et_text_lines
            et_prts          = it_et_prts
            et_costs_sum     = it_et_costs_sum
            et_costs_details = it_et_costs_details
            return           = it_return
            extension_in     = it_extension_in
            extension_out    = it_extension_out.
    n thn u can move the values from internal tables to final output structures.
    ex:
    move-corresponding it_es_srvdata to wa_srvdata.
        move wa_order_id-orderid to wa_srvdata.
        append  wa_srvdata to es_srvdata.
    hope this will help.
    Kindly reward points.
    if any query let ne knw.

  • Please Help! Store loads, but layout is spaced wrong.

    Can anyone please tell me if this is a browser or iTunes error. Any ideas? Please help!
    http://att.macrumors.com/attachment.php?attachmentid=193582&d=1252612490

    The repeat setting can be found from the Nano's Now Playing screen.  While playing a track, swipe to the left to bring up additional controls including the repeat and shuffle settings.  See page 21 of your iPod's User Guide for more assistance on the repeat setting.
    http://manuals.info.apple.com/en_US/iPod_nano_6thgen_User_Guide.pdf
    If it's a 7G Nano, you should only need to tap the Now Playing screen to bring up these additional controls. 
    B-rock

  • PLEASE HELP ME AND SEND DATA FROM CORRUPTED HARD DICS... ITS VERY IMPORTANT PLS PLS PLS

     Dear Sir,
    I had purchased laptop “pavalion DV4/WR717PA” on 25th august 2010 from  LAPTOP WORLD ,BHILAI, Dist- DURG. My system hard drive got corrupted as stated by the service centre people. They had given 15 days time limit to replace it. The problem is that my all documents, study material and presentation have been with the corrupted HARD DICS. Your service centre engineer is telling that system is not detecting HARD DISC.
    AND NO RECOVERY DVD IS GIVEN TO ME AT THE TIME OF PURCHASING LAPTOP; EVEN THEY DON’T INFORM ME THAT SUCH CD IS PROVIDED BY COMPANY…
    I request to you to please get my data’s with that HARD DISC as my examinations are starting from 2nd week of June. I am helpless without that study materials’ had worked very hard on the documents and presentations. Please get me those data’s any how…. Other wise I am unable to pass this year.
    I had very much on faith your company’s laptop had purchased hour’s company laptop in spite of many lo-cost laptop present in the market.
    Now I am seriously disappointed on hearing from your qualified engineers that they can not get my data back, and Telling that laptop is within the warranty period and we can only replace HARD DISC.
    Isn’t useless to purchase products of your company by paying high amount. Don’t let us to loose our faith on your international brand company….
    Please don’t be like cheap businessmen…and telling that laptop is within the warranty period and we can only replace HARD DISC.
    Don’t you have any engineers who can recover data stored in the DISC.Please understand the seriousness of the matter
     But within purchase of few months a fatal problem occurred. Sir what to do if there is no means of recovering data from your system… It is the failure of your product is going to spoil my one acedimic year…
    I request you to please do some thing to get me out of this situation.
     Please recover data and send me the data stored to my mail ID or a send in a DVD to my address.
     I am sending the details of system and hard disc to you. As corrupted hard disc is send to your company as told by the service center engineers to us. Please follow-up the HARD DISC. I am sending all details related to my system..
    Please don’t disappoint me, I know that you people can definitely do it… human values are also important along with business …
    With regards
    Priyanka
    Details
    Model No: Pavilion DV4/WR717PA
    Serial No: {Removed for privacy}
    CASE ID: 4629610593
    Hard disc No: 2BAZBCL83YMDGX
    Optical Drive: 7AWPNOLVBY
    Cartage: 6AQEFO5BY9W FDD-5A
    Date of purchase: 25th August 2010
    Dealer: “LAPTOP WORLD”, Supela, Bhilai, District DURG (CHATTISGARH)
    {Personal Information Removed}

    Welcome to the HP Consumer Support Community. This is a peer-to-peer community for customers to connect and share solutions regarding their HP products. If you have additional or direct feedback for HP about their products or services, please use the link below.
    http://welcome.hp.com/country/us/en/wwcontact_us.html
    If you have other questions and concerns about using the forum, please feel free to send me a private message.
    Thank you.
    Clicking the "Kudos star" to the left is a great way to say thanks!
    When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
    Rules of Participation

  • Please help - Problem with loading swf's (running very slowly)

    Hi
    I have posted this problem up in the last few days so I built a quick demo of my problem. Can somebody please download it and take a look at it and see what I'm doing wrong?
    You can download it here at:
    http://www.bounceworld.ie/download/Demo_Test.zip
    The external swf's when loaded.....run very very slow; sometimes unresponsive as if there is a script running in the background. I'm using keyboard commands to navigate through the screens - eg:
    on (keyPress "<Space>") {
    gotoAndStop("scene02", "firstframeLabel");
    Thank you for your help!!!!

    Hi
    I'm trying to use Key Listeners to solve my problem.
    I don't know much about key liseners so can somebody help me out.
    I have the following on a keyframe yet it still wont jump to the certain frames when I press the relevent keys. Am I missing something?
    stop();
    KeyListener = new Object();
    KeyListener.onKeyDown = function() {
    if (Key.getAscii() == 38) {  // UP key
    gotoAndStop(89);}
    if (Key.getAscii() == 40) {  // DOWN key
    gotoAndStop(91);}
    if (Key.getAscii() == 37)  // LEFT key
    gotoAndStop(88);}
    if (Key.getAscii() == 32) {  // SPACEBAR key
    loadMovie("application_01.swf", "container");}

Maybe you are looking for

  • Using AX as wireless router, how to set up w/ security and airtunes on XP

    I previously had a Linksys wireless router. I just purchased an Airport express to use as the wireless router (and remove the Linksys router) as well as use the Airtunes functionality. After some trial and error, I have been able to wireless connect

  • HT1420 cannot authorize with old apple id

    I just bought a new mac mini - my imac died a few months ago.  I had backed up all my itunes files on an external drive.  When I started importing them nearly half of my purchases (of a 12000 song library) will not play.  It asks for me to authorize

  • Missing Keynote Six Files

    I'm trying to figure out how my entire folder of several months of Keynote Six presentations has gone missing. I have no recollection of trashing it - and that would be crazy if I did, because this is how I make my living! But it's gone, and all the

  • Link BC blog to html/css menu

    Re the Blog Client site is not using BC Dynamic Menus - I'm using html/css menu. How can I link the menu item to the BC Blog in Admin or DW Appreciate all your support Will

  • PNG imported to Indesign CC gets background added back in

    Hey guys, really confused about this, so I opened an image in photoshop and took out the background it was white but darker because of the actual lighting of the image. I used the blend mode to remove the background and then I flattened the image. I