Extracting data into two ODS at same time
Hi experts,
I am on BW 3.5, and was wondering if the possible scenario is possible;
We are extracting 6.5 million recs from our R/3 system into ODS 1.
But the records should split up and either go into ODS 1 or ODS 2 depending on its company code.
I know this can be done by creating two datasources and using two different Modules we could decide what goes and what doesn't, but this would require two extractions, one per module.
I want to know if there is a way this can be done with one extraction,
e.g. the extraction would be to ODS 1, and in the update rules start routine is it possible to decide if the record belongs in ODS 1 or ODS 2,
if it is ODS 2 can we write from this update rule to another ODS????
Thanks,
Shane.
Hiya Santhosh,
currently I have created two update rules one to each ODS. The problem is the load to ODS 1 is 6.5 million + recs, while the load to ODS 2 is 20,000 recs.
The extraction from R/3 takes about 4 + hours, so I would have to perform the extraction twice to populate them both, which is a waste of time for the 20,000 recs.
Is it possible to get all the recs in in one extract and then dictate what ODS it populates without creating a third ODS to initially populate????
Thanks,
Shane.
Similar Messages
-
Insert the data into two tables at a time.
Hi ,
i have these two tables
create table [dbo].[test1](
[test1_id] [int] identity(1,1) primary key,
[test2_id] [int] not null
create table [dbo].[test2](
[test2_id] [int] identity(1,1) primary key,
[test1_id] [int] not null
alter table [dbo].[test1]
add constraint [fk_test1_test2_id] foreign key([test2_id])
references [dbo].[test2] ([test2_id])
alter table [dbo].[test2] add constraint [fk_test2_test2_id] foreign key([test1_id])
references [dbo].[test1] ([test1_id])
I want to insert the data into two tables in one insert statement. How can i do this using T-SQL ?
Thanks in advance.You can INSERT into both tables within one Transaction but not in one statement. By the way, you would need to alter your dbo.Test1 table to allow null for first INSERT test2_id column
See sample code below:
CREATE TABLE #test1(test1_ID INT IDENTITY(1,1),test2_id INT NULL)
CREATE TABLE #test2(test2_ID INT IDENTITY(1,1),test1_ID INT)
DECLARE @Test1dentity INT
DECLARE @Test2dentity INT
BEGIN TRAN
-- Insert NULL as test2_ID value is unknown
INSERT INTO #test1(test2_ID)
SELECT NULL;
-- get inserted identity value
SET @Test1dentity = SCOPE_IDENTITY();
INSERT INTO #test2(test1_ID)
SELECT @Test1dentity;
-- get inserted identity value
SET @Test2dentity = SCOPE_IDENTITY();
-- Update test1 table
UPDATE #test1
SET test2_ID = @Test2dentity
WHERE test1_ID = @Test1dentity;
COMMIT
SELECT * FROM #test1;
SELECT * FROM #test2;
-- Drop temp tables
IF OBJECT_ID('tempdb..#test1') IS NOT NULL
BEGIN
DROP TABLE #test1
END
IF OBJECT_ID('tempdb..#test2') IS NOT NULL
BEGIN
DROP TABLE #test2
END
web: www.ronnierahman.com -
Can not extract data into BW from SQL SERVER
Dear All,
I meet a problem to extract data from database(MS SQL Server 2000(sp3)) into BW now and can not extract data into BW ODS, even PSA, In the monitor, display yellow light(0 from 0 record), detail message just display message "data request arranged" "confirmed with: confirmation" in requests(message) step; "missing message: request received" in extract (message) step; "no data" in processing(data packet) step and so on. but in fact, there are two records in my database test table and DB connection is OK. Even I can extract data from another test oracle database into BW ODS successfully.
Our BW system has two BW applicaton server and use oracle database. the one application server locates on IBM AIX host. the another one locates on one NT server. the application server on NT server is used for data extration from MS SQL SERVER database into BW oracle database. and MS SQL SERVER and NT platform application server locate on same one host. DBSL was installed on the NT application server already. and DB connector also was created successfully for MS SQL SERVER and datasource also was generated. DBSL type is Kernel640-WIN-IA32bit-unicode. my BW system is ECC5.0/UNICODE/ORACLE. all table/view/field name of MS SQL server is upcase and have not any specific character. for example: ZDEMO etc.
wait your help.
Thanks in advance.
BillyHi Ravi,
Could you help me to get knowledge about the followings:
approximately how many records extracting and transfering from SAP R/3 to BIW in an organisation. for that how much time will take .
How to extract data from two are three source system to BIW. Kindly help me with step by step explanation .If any screen shots with documents pls fwd to my ID. "[email protected]"
Your help highly appreciated.
Thanks.
Hema -
I want to load data parallely into two ods.
i want to load data parallely into two ods.
Hai ,
As Question is not clear........
U can do this by going in update tab in sechdule menu.
Regards
Suman -
How to load data into an ods from multiple info sources.
hi all...
i am given a task to load data into an ods from 3 infosources ...
can someone plz give me the flow .
thank u in advance..Hi Hara Pradhan,
You have to create 3 update rules by giving the 3 different infosources while creating each update rule. And u have to create the infopackages under each infosource. with this u can load the data to the same data target from multiple info sources.
Hope it helps!
Assign points if it helps! -
Extract data into the Oracle Database
Hello,
I have file in PDF format.
I need to extract data into the Oracle Database.
what should be my action ?
And how could I accomplish?
thanks
DNYou said:
Do you know ahead of time how many columns are in the file?
yes, It has 8 columns.
But each PDF have different total of columns. Right now I am working on one PDF file only.
e.g: page emp report has following values:
Salray History Report in PDF format
Page 1
Date 10-21-2005
LAST NAME SALARY COMMISSION
Russell 14000 .4
Partners 13500 .3
Errazuriz 12000 .3
Cambrault 11000 .3
Zlotkey 10500 .2
after converting it will be come as
Salray History Report in PDF format
Page 1
Date 10-21-2005
LAST NAME
SALARY
COMMISSION
Russell
Partners
Errazuriz
Cambrault
Zlotkey
14000
13500
12000
11000
.4
.3
.3
.3
End of Page 1
Date 10-21-2005
LAST NAME
SALARY
COMMISSION
DN -
Help needed with SQL to split huge data into two excel or text files.
Hi,
I have a table which has around 1850000 records. I want to split the data into two sets and import the data in .txt or execl file.
How can i break upthe records using rownum or any thing
select * from tablename where rownum<940000 fetched some records
but
when i gave select * from tablename where rownum>940000 it was not fetching records.
Guidemewhen i gave select * from tablename where rownum>940000 it was not fetching records.try this
select * from (select tablename.*, rownum rn from tablename) where rn >940000 -
I have a macPro 10.6.8. i have been receiving mail with the same date--March 14 and the same time--8:51am..I cannot correct:who knows the solution?
Thank you.You may need to replace the Pram battery.
-
I cannot use data and voice at the same time.
I cannot use data and voice at the same time.
I am on Wifi (connected) and at the same time I am on a voice call. when I switch to my RSS feed reader it does not sync it comes out with a message cannot connect to internet, I thought it is a problem with the feed reader application, IE 10 behaves the same I cannot browse when I am on a voice call.
This is a very basic issue, am I missing something? Please help.
My Model is lumia 820 with the latest portico update.
TIA
SandeepI am aware that packet data via EDGE and voice cannot happen at the same time, surprisingly when I am on voice call I cannot connect to internet via Wifi too
-
Is it possible to insert data into two Excel worksheets using Report Generation Toolkit?
I'm using the toolkit to insert data into two separate worksheets in Excel using named cells. The problem is that it tends to favor one sheet or the other. In other words, one sheet will have data and the other no data and vice versa. (Sometimes I get data in both sheets.) Is there something I can do to clear this up or is what I'm trying to do unreasonable? I would like to use two worksheets so one sheet receives text and data. The other sheet is used to format the data into a printable report. (i.e. using Excel's CONCATENATE function) The second (report) sheet is also used to receive plots (JPEG files) from LabVIEW. I'd send the plot images to the first sheet, but I can
not see a way to automatically transfer images from sheet to sheet. I'm using LV 7.1, Win2000 and Toolkit v.1.0.1Hi,
You can use the "Excel Get Worksheet.vi" under All Functions >> Report Generation >> Excel Specific >> Excel General to specify a particular worksheet as the current worksheet. Then, you can specify which worksheet you want to write to in your VI.
Let me know if you have any further questions and good luck!
Kileen C.
NI -
Error while extracting data into 0GL_ACCOUNT
Hi all,
Initialize delta Process has been done successfully for extracting data into 0GL_ACCOUNT using DataSource 0GL_ACCOUNT_ATTR.
However when using Delta Update for extracting data, the following error is displayed: 'ALE change pointers are not set up correctly' & is asking to activate the change pointer in BD61(Source System).
I am not exactly sure of what i am supposed to do in BD61. Plz help.
Regards,
SrikarHi Sushant,
Thanks for the reply.
I have checked in RSA2 for DataSource 0GL_ACCOUNT_ATTR.
All the Entries are present; However the status of SAKAN is not successful(Criss-Cross Shape is displayed).
what am i supposed to do?
Regards,
Srikar -
It is possible to charge an iPad3 over USB and transmit data over USB at the same time?
Hello,
it is possible to charge an iPad3 over USB and transmit data over USB at the same time?
If yes, how?
Thanks
Best regardsOK!?
That is right that the USB data oins are not connected to +5V pin.
But i found a description for a self built power supply for iPad.
http://timothyb.net/DIY_iPad_2_USB_Charger.html
and
https://www.mikrocontroller.net/topic/262610?goto=2726627#2726627
The description say: data pin D- need a voltage level of 2V and D+ 2,857V
when the data pins have this special voltage levels and VCC has +5V only then the iPad is charging.
The voltage "D+/D- coding" is the key for the iPad to charge.
OK now back to my problem.
The regular USB data pin voltage level is 0,3 - 3.,0 voltage. When the iPad is charging the data pins have this special voltage level. Now i try to transmit data over the usb data pins with the. Normaly the USB port transmit the data with a voltage level of max. 3V.
And here my problem. The higher voltage level at the data pins cares therefor that the iPad stop the charging.
Is that correct? -
How to insert data into two tables at once using XSJS
Hello Experts,
My requirement is to insert data into two tables at once. I have a XS JS app and want to update these tables via xsjs. How can I do this ?
Is there any mechanism like sql 'transactions' also in Hana ? If yes, how can I call it via xsjs ? If not, what are the ways to populate two different tables at once.
Please advice. Any help is really appreciated.
Thanks !There is nothing special about inserting into two tables at once in XSJS. Just issue two separate SQL Statements. Don't execute the COMMIT until after both commands. That way they are all one transaction.
-
Hi
I have written sql loader script for loading data into two tables.
Script is working ..But output is not coming properly.
I want to load data into first table which lines are having first char 'R'.
In the second table I have to load data which are related from the first line. Incase
first line data is not properly (means discarded) then related second table data
will not be load.
But I am getting both rows.Though the first table record is discarded. Please find below
the output.
Any other solution also ....Ok..external tables..Utl_file.
LOAD DATA
infile "inputFileForRmaReceiptAcknowledgement.dat"
BADFILE 'inputFileForRmaReceiptAcknowledgement.bad'
DISCARDFILE 'inputFileForRmaReceiptAcknowledgement.dsc'
APPEND
INTO TABLE XXGW_RMA_HEDR_RCPTACK_TAB
WHEN (01)='R'
( LINE_TYPE POSITION(1:1) "substr(:Line_Type, 1)",
RMA_ORDER_NO POSITION(2:16) CHAR,
ACKNOWLEDGEMENT_NO POSITION(17:31) CHAR,
ACKNOWLEDGEMENT_DATE POSITION(32:45)
"to_date(substr(:acknowledgement_date,3),'YYMMDDHH24MISS')",
DETAIL_LINE_COUNT POSITION(46:51) INTEGER EXTERNAL,
FLAG CHAR)
INTO TABLE XXGW_RMA_RCPT_ACKLDGMNT_TAB
WHEN (01) = 'D'
( LINE_TYPE POSITION(1:1) "substr(:Line_Type, 1)",
RMA_ORDER_NO POSITION(2:16) CHAR,
RMA_ORDER_LINE POSITION(17:19) INTEGER EXTERNAL,
SERIAL_NUMBER POSITION(20:49) CHAR,
SKU POSITION(50:63) CHAR,
QUANTITY POSITION(64:69) INTEGER EXTERNAL,
WAREHOUSE_CODE POSITION(70:71) CHAR,
WAYBILL_NUMBER POSITION(72:121) CHAR,
COURIER POSITION(122:146) CHAR,
RETURN_DEALER_FLAG POSITION(147:156) CHAR)
inputFileForRmaReceiptAcknowledgement.dat
R12345678901 2345456789123200 21111228241113000002 --- discarded record
D12345678901 00159123687402 45678925803 00000102name
D12345678901 00159143687402 45678925603 00000102name
T000004Regards
ArPl post details of OS and database versions.
Create a foreign key constraint between the detail table and the master table. If the row fails to load into the master table, then the detail table rows will fail the foreign key constraint and will not load.
http://docs.oracle.com/cd/E11882_01/server.112/e25789/datainte.htm#CNCPT1649
HTH
Srini -
We want to set up a delta refresh from R/3 data that will pull data into two cubes. One cube I want all the records to be loaded, in the second cube I want to filter the records that are loaded into that cube. I can figure out how to load the data into two cubes, but can I place a filter on one of the loads. (i.e. only load records of where type = 'X')
Thanks,
ChrisYou can do that in the Update Rules to the second cube... In the Start Routine...
DELETE FROM DATA_PACKAGE
WHERE type EQ 'X'.
(Please, verify the right syntax)
Then with only one Infopackage, you can load both cube with different conditions.
Hope it helps.
Regards,
Luis
Maybe you are looking for
-
Change Minutes Plan = $500 Bill
Back in October I called the 1-800 line to inquire about having a lower allotment of minutes for the two lines on my account because of the fact that we hardly use any of them. The representative I talked to was able to take our 700 minutes plan and
-
My iPhoto displays an error message and unexpectadly closes.
Everytime I try to open my iPhoto I get an error message saying that it has unexpectadly closed. I attempt to restart the computer and the same thing happens every time. What should I do?
-
Visual Studio 2008 on a Macbook Air with Parallels/VMWare
Hi, I am looking to purchase an apple laptop to replace my ageing Windows behemoth. I am a developer who writes software on both the Windows and OSX platforms. At the moment, I have to write the Mac apps on my iMac, and the Windows apps on the laptop
-
OVM 3.3 on HP ProLiant DL 380 G7
Morning folks, I'm considering using OVM 3.3 to virtualize multiple PCs which I currently use for RAC, Cloud Control, etc. into a single physical server. The server I'm considering is an HP ProLiant DL380 G7. According to Oracle's HCL, the DL380 G7 i
-
Personalization - Site level, and not able to see it a resp level
I have added 2 new fields i.e. Field A and Field B to an Oracle seeded page at Site Level using Personalization. Based on the type of responsibility, I want to render one field at a time. I wanted to do this using responsibility level personalization