Merge in DSO
Hi Friends,
I have the following situation in BI 7.0
Let say DSO1 & DSO2 have fileds as follows.
DSO1 --- A,B,C,D
DSO2 --- A,B,E,F
I have to merge DSO1 & DSO2 to DSO3
DSO3 --- A,B,C,D,E,F
DSO1 to DSO3 is direct i.e. A,B,C,D
Condition is, If the values for A,B in both DSO1 & DSO2, then only E,F fields in DSO3 should get populated.
Can someone help me in this.
Thanks
Create DTP between DSO1 to DSO3 and from DSO 2 to DSO 3.
While sending data from DSO2 to DSO3, write a start routine in the transformation and check for conditions of existence of values in DSO1 and DSO2 with key A & B.
Ravi Thothadri
Similar Messages
-
Merging 2 DSO data to another DSO
Have a query w.r.to merge of DSO data.
DSO 1
100 10 ABC 24.5
100 20 DEF 35.6
DSO 2
100 10 1001 56.8
100 10 1002 58.9
Now, in DSO 1, 100, 10 are header and item which are keys
In DSO 2, 1001, 1002 are document no so 3 keys. However this data might get updated later than DSO 1 as part of delta. Below is final output req
DSO 3 - same keys as DSO 2. Planning to do delta dtp from both these dsos to DSO 3 without any ABAP.
100 10 1001 ABC 24.5 56.8
100 20 - DEF 35.6 -
100 10 1002 ABC 24.5 58.9
Now if there is a new record for 20 in DSO 2, will it update the 2nd record or will it create a new record as below? I think this should overwrite 2nd record in DSO 3 and not like below. Please confirm
100 10 1001 ABC 24.5 56.8
100 20 - DEF 35.6 -
100 10 1002 ABC 24.5 58.9
100 20 1002 DEF 35.6 65.7Sorry for the confusion....I got the below output in DSO3:
100 10 - ABC 24.5 -
100 20 - DEF 35.6 -
101 10 - LMN 67.2 -
100 10 1001 - - 56.8
100 10 1002 - - 58.9
Now my requirement is to only show the header and item data that has document no. If there is no document no, then show the header and item data with blank document no.
Eg: Output should be as below:
100 10 1001 ABC 24.5 56.8
100 10 1002 ABC 24.5 58.9
100 20 - DEF 35.6 -
101 10 - LMN 67.2 -
Now if there is a new document no for 3rd record above in next delta with doc no 1003, final o/p needs to be as below. The previous record need not be shown...
100 10 1001 ABC 24.5 56.8
100 10 1002 ABC 24.5 58.9
100 20 1003 DEF 35.6 88.5
101 10 - LMN 67.2 -
This seems to be through ABAP. Can some one suggest and help? -
Hi Guys,
I need to merge two DSOs A&B in to third DSO C. I have same key fields in each of this DSO.When I create two transformations , Iam unable to see the consolidated data. In change log of DSO C , its showing both DSOs A & B Data one after other. Like if my DSO A has 200 records and B has 300 records C is showing 500 records. If the DSO A and DSO B has the same company code , Doc Nr and Fiscal Year it should match in C and should display it as one single record ...What to do for this in BI. I worked this same kind in BI 3.5 with update rules overwrite option. But here in 7.0 what to do can any one advice?
Thanks a lot in advanceWell, actually you created a outline view.
Open a new blank document, click View->Outline->Show Document->Insert, insert a document including pictures, and then click
unlink, Close Outline View->save this document. Reopen it, pictures are still here. Did I miss something?
If you mean you can't see pictures in outline view, you can refer to the thread below :
http://answers.microsoft.com/en-us/office/forum/office_2010-word/bug-in-outline-view-it-is-not-possible-to-see-the/4ee6246e-1dad-45de-b976-0ffb92bc0a54?page=2
Wind Zhang
TechNet Community Support -
Is Overwrite option available in BI7.0`
Hi Guys,
I need to merge two DSOs A&B in to third DSO C. I have same key fields in each of this DSO.When I create two transformations , Iam unable to see the consolidated data. In change log of DSO C , its showing both DSOs A & B Data one after other. Like if my DSO A has 200 records and B has 300 records C is showing 500 records. If the DSO A and DSO B has the same company code , Doc Nr and Fiscal Year it should match in C and should display it as one single record ...What to do for this in BI. I worked this same kind in BI 3.5 with update rules overwrite option. But here in 7.0 what to do can any one advice?
Thanks a lot in advancethe over write should be available in KF - rule details. Not on the key fields, anyway key fields anyhow make a record unique (as per the ODS architecture) so the data fields would be anyway overwritten. The DSO just gives us the option to see if you want the KF to be summed or overwritten.
Just curious - do you have a any counter field(to count the occurences or whatever) in the design of ur ODS.
Like if my DSO A has 200 records and B has 300 records C is showing 500 records.
where are you checking these numbers - in manage menu or the table itself. Can you see if the numbers that show on manage match to the ones in the table?
Message was edited by:
voodi -
Hi All,
We have a requirement for back order report in BW . we are using the extractors V_SSL and VASCL to get this information.
The calculation for backorder and backlog qty are done from V_SSL. But there are few scenarios that we have to manage
1) hard deletion of deliveries
2) one schedule line with multiple deliveries
3) merging data from V_SSL & VASCL ... we tried merging at DSO level but due to difference in keys of DSO the change log update sequence messes the reocrd status
4) GBSTA appended in VASCL gives wrong value for status
Could anyone help by explaining staging for such a report if done in their system ?
Thanks ..would appreciate your help greatly !
Regards,
VNHi vidya
For hard deletion of entries are you planning to drop and reload daily ?
Since you have multiple delivery at one scheudle line , V_SSL and VASCL cant be combined.
Put load date ( which will be sydatum ) in both the DSO. Create customer extractor in BI to combine these two data sources and generate delta on load date.
Thanks,
Monika -
How to Merge Flat file data and DSO Data
I have one DSO A which has more than 20 objects (5 of them are keys), which include 0comp_code,0gl_account,. I have a Flat file which has the following fields ,COMPANY CODE, GLACCOUNT and SUPERVISOR ,EXECUTIVE,ANALYST. My requirement is to get a DSO with consolidated data from DSO A and Flat File data. That means for exapme, In my DSO A , I have US01 COMPANY CODE so when I merge the data in DSO C It should diplay the data for the supervisor exe and analyst for DSO A as well
When I added with 2 DSOs A (ECC ) and B (Flat file)..C is getting the data from B and its appending the data for Flat file at the end...So I want to merge both...DSO A should match up with DSO B flat file company code and gl account and should display the remaining fields
I think its clear..Can any one let me know the solution ASAP...
Note: We are on BI7.0 not 3.5...
Thanks in advanceI have the following key fields in DSO A :
0COMP_CODE,OGL_ACCOUNT, 0CHRT_ACCT,0FISCVARNT,0FISCPER,0AC_DOC_NUMBER,0ITEM_NUM.
Here are the total fields in Flat File:
COMPANY CODE,GL ACCOUNT,SUPERVISOR,ANALYST,EXECUTIVE.
Here am taking 0COMP_CODE and 0GL_ACCOUNT as key fileds in DSO B for Flat File...
For every month there will be 5 to 6000 records for Flat file ...
Thanks -
Merge data from multiple DSO's into one DSO
Hi,
I want to transfer data from 4 different 1st level DSO's to a single 2nd level DSO. I have 8 key fields in the 2nd level DSO, 2 from each 1st Level DSO. The 1st level DSO's are Sales Orders, Deliveries, Sales Invoices and Financial Invoices. The goal of this is to create a 2nd level DSO for Sales KPI so the data has to be consolidated so it's not supposed to contain all the records from each DSO but it has to consolidate them somehow.
example:
R/3 Order 0000012901 item 10 created 05/08/2008
Delivery 0080015843 item 10 created 05/08/2008
Invoice 0090036871 item 10 created 05/08/2008
FI invoice 1400000135 item 1 created 05/08/2008
BW
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13
12901 10 5/08
12901 10 80015843 10 5/08 5/08
12901 10 80015843 10 90036871 10 5/08 5/08 5/08
12901 10 80015843 10 90036871 10 1400000135 1 5/08 5/08 5/08 5/08 -Hi,
I think your second level DSO should have only 2 key fields: Sales Order no and Item. The other fields will get update in this case. Hope this helps.
Thanks and Regards
Subray Hegde -
Hello Friends,
we have an issue with the Duplicate records in to DSO let me enplain the senarion
The Heder and Details data is loaded to saperate DSO's
and these 2 DSO's data shuld get merged in the third one,
the Key fields in
DSO 1 : DWRECID, 0AC_DOC_NO
DSO 2 : DWRECID , DWPOSNR
DSO 3 will fetch data from these the above 2
Key Fields are : ]
DWTSLO,
DWRECID,
DWEDAT ,
AC_DOC_NO
DWPOSNR,
0CUSTOMER
Now the data shuld be merge in to a single record in the 3 rd dso
DSO 1 do not have the DWPOSNR object in its data fields also.
we even have start routine data from DSO 1 to populate some values in the result fields from dso2 ,
Please provide if you have any inputs to merge the data record wise.
and also give me all the posibilites or options we have to over write " apart from mappings " the data ,Hi,
You should go for creating an Infoset instead of creating third DSO.
In that DSO provide the Keys of DSOs and the Common records with those keys will be merged in that Infoset.
Hope It Helps.
Regards
Praeon -
Want to add more than 16 key fields in the DSO?
Dear All,
All the 16 Key fields are being used in my DSO,i want to add two more key fields in the same DSO.
Can any one provide the way how to go ahead
Regards,
SarasuHi,
You can create a maximum of 16 key fields. If you have more key fields, you can merge (concatenate) fields into one key field using a routine.
Hope it Helps...
Regards,
SVS -
How to merge key field from external source system with SAP R/3 master
Hi,
In SAP BW 7.0 system, our scenario is Master Data for 0GL_ACCOUNT is coming from SAP R/3 alongwith the Transactional data records for standard FI cubes. Then, one more set of transaction data is coming from external source system, a flat file, into another custom DSO(ZDSO_FI), which also has this GL Account field.
This flat file's GL account, GL_file, has to be basically mapped/merged with the standard 0GL_ACCOUNT field so that at the time of loading the transactional data for custom DSO, ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), system automatically refers to the 0GL_ACCOUNT master data to load these incoming transactional values, from the external flat file system. How can this be done?
To illustrate the scenario, say I have 5 records in 0GL_ACCOUNT, loaded from SAP R/3 into SAP BW-
0GL_ACCOUNT Short Description Source System
100 D1 R/3
200 D2 R/3
300 D3 R/3
400 D4 R/3
500 D5 R/3
Now suppose if my flat file has following sample transactional data, to be uploaded in SAP BW ZDSO_FI-
GL_file Key Figure1
400 789
200 567
Then after uploading this transactional data in ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), the 0GL_ACCOUNT data becomes as below-
0GL_ACCOUNT Short Description Source System
400
200
100 D1 R/3
200 D2 R/3
300 D3 R/3
400 D4 R/3
500 D5 R/3
So note that the system did not refer the incoming GL's from flat file, although the field is mapped to 0GL_ACCOUNT in transformation, to the already available master data. Rather created 2 new data rows for the GL accounts coming from external system. Because of this I am not able to perform the calculations common from standard FI cube and ZDSO_FI, with GL account as key field. I need to synchronise these data values based on GL Account to proceed with further calculation and am badly stuck.
Request if anyone can please throw some light on how to achieve this seemingly simple requirement?
Thanks in advance.
NirmitBetter post this thread is in the [Enterprise Data Warehousing|Data Warehousing; forum.
-
Merging FI and CO data in BW using bus content extractors
Hi Guru's,
We have a requirement to report on a combination of both FI and CO data. I have most of the required info available from the 0FI_GL_4 extractor, but need some additional CO entries. These are available in the 0CO_OM_CCA_9 and 0CO_OM_OPA_6 extractors. Since there is some overlap of the data, I am looking to find a way to combine the data that does not create duplicate entries.
My initial design was to create a custom DSO with key fields which included fiscper, zcostelmnt, zdoc_num and zitem_num. I first loaded the FI data, and then both of the CO datasources. I used the custom key fields to try and generate a condition whereby I could ensure any duplicates arriving from the CO datasources would simply overwrite any data that might already exist from the FI datasource. I looked through the extractors for fields to use to identify a particular transaction uniquely if it occurred on both an FI and CO extraction, and used these values to populate into the DSO keys.
I have even looked at the BSEG (FI) and COEP/COVP (CO) tables to create append structures as necessary to pull in additional fields to assist in finding a unique combination. I am currently struggling with finding a field to use to identify a common item number between the FI and CO extractions however. I have tried these so far:
DSO key FI_GL_4 CCA_9 OPA_6
zcostelmnt HKONT KSTAR KSTAR
zdoc_num AWREF REFBN* REFBN*
*(if REFBN initial, use BELNR)
zitem_num BUZEI ZLENR** ZLENR**
**(if ZLENR initial, use BELNR)
**(previously tried REFBZ also)
I think I'm coming to the end of my options using this approach. Hopefully someone has some good ideas on other things to try?
I'm afraid my next step is to just go back to the R3 system and create a generic extractor and program...
Thanks!
Darryl
Update:
We ended up creating a custom solution in BW utilizing the standard extractors above to pull data from ECC (we added a few extra fields to permit joins to be done downstream). We used a couple staging layer DSO's to combine the data and do lookups etc before moving it into a Cube and Multiprovider.
One thing to watch for is ECC CO entries where both Cost Center and Order are populated - this can cause a rogue duplicate entry for the same transaction (it will come once from the CCA_9 and once from the OPA_6 extractors). We merged the FI and CO data in the initial staging DSO, and in the next staging DSO we corrected for conditions where both a CC and Order existed.
Edited by: Darryl Goveas on Dec 2, 2011 9:43 AMHello all,
the thread Business Content for Product Cost by Sales Order by Christian J explains the very same problem I'm facing - in a much clearer way. Unfortunately his issue hasn't been completely solved.
Has anyone any idea about it?
Thanks, Davide<b></b>
Message was edited by:
Davide Cavallari -
Merge data, dataflows from 2 BW systems into one to reduce cost and one way of working
Hello BW gurus,
I have a question here in my current project we are asked to merge data from 2 BW system to one.
This basis for this is there each BW system has their own R3 systems.
First they have now started to migrate data from ECC1 system to ECC2 system using DSM tooling and mapping tables to align to one way of working.
Only open items are migrated from ECC1 to ECC2.
BW1 system is connected to ECC1 and BW2 with ECC2.
Now they want to merge BW1 to BW2.
In BW2 historical data from BW1 is needed.Data for open items from BW1 will come from ECC2 as they are being migrated.
What should be the approach to migrate the historical data from BW1 to BW2.
There can be several scenarios :
1)BW Objects migration
2)Data migration
3)How to deal with common object names used in both systems for DSO and cubes where the data flows in both systems are same?
4)How to deal with common MD info objects (eg:0customer,0vendor) and also if the cutomer numbers in both system are same but with different description and vice versa.
5)How to deal with same kind of transaction data?
I went through many other discussions on the same topic but there it is mentioned to concatenate the 0logsys or sourcesytem in the dataflows where common master is used but creating z objects a copy of 0 objects like 0customer etc.
In these cases if I need to do this to existing 0customer object in that case it would mean deleting data from all flows where 0customer is used if I want to add sourcesytem the compounding which is not favourable.or in case of creating z objects of existing MD IO then add sourcesytem compounding in those cases also it would mean I have to use the new zobjects in all those DSO/Cubes/MP/Queries in place of original object which is also a lot of effort and also load data into it.
This can be done for DSO and cube flows but not MD IO.
Please suggest some good approaches /ways to the above criterias I have mentioned.
System speccification: Currently we are on BW 7.4 version but with the merge we cannot go on Hana due to cost control so we need to use the BW system only.Ritu,
There is no way you can create single model for 2 different R/3 systems (unless SAP decides to implement this in later versions).
If you still want to stick with a single model approach, I would suggest to use <b>Webservice</b> model where the R/3 interaction part would be taken care by WebService.
Ashutosh -
Hi all
may be similiar threads are also present in sdn, but my question is very specific ,hence i hv posted it again
my requirement is to merge the data from MM & its corresponding FI data into a single record to display in the report.
eg.
FI doc PO CC CO PC MAT MG AMT INV
510000000 45000000 0030 4000 40001 # # 10000
510000000 45000000 # # # 100 200 10000
but i want to see this as
FI doc PO CC CO PC MAT MG AMT INV
510000000 45000000 0030 4000 40001 100 200 10000 100000
that is in a one single record & avoid the # .I did a lot of r&d , & tried a lot of stuffs , but none gave results yet.
i tried using an infoset over the 2 DSO's using join over FI doc no , FY & CC . here it was not picking up the few values, where my FI doc is not present (some rare cases ).
I tried infoset with outer join - here the results are same as above
I tried an DSO over this infoset , with FI doc, Inv no, PO , item no all in key fields. still results are same.
With multiprovider also , same results.
Is there any better way to do this. ?
or if change my key fields or the join conditions , do u think it can achieved ? (can u pls be specific with some eg fields)
Thanks
Ramesheven after prioritizing the fields that CO should come from FI & MG should come from MM & so on..
i am again going to get the same 2 records as of now because i need to execute 2 dtps to fetch data from those 2 DSOs. hence i dont think it will improve my condition.
now , my problem is i am actually 4 records to be specific.
FI doc PO CC CO PC MAT MG AMT INV tax
510000000 45000000 0030 4000 40001 # # 10000 0
510000000 45000000 # # # 100 200 10000 0
510000000 45000000 0030 4000 40001 100 200 10000 100000
510000000 45000000 # # # # # 0 0 4000
record 1 - FI
record 2 - MM
record 3- merged record . this is only record which i need
record 4 - tax line item. i dont know why it is coming as a separate record & that too with most of field info.
is there anyway , i can select only this record 3 & also show my tax amt in record 3 itself. & record 1,2 & 4 be deleted.
Guys , pour in some ideas.
Thanks
Ramesh -
Prob in merge FI & MM data using infoset
hi
I need to integrate data from FI and MM. that for a particular PO , i want all the MM data as well as the FI doc created for it in a single record.
For this I am creating an Infoset in R/3 against the RBKP , BSIK and BSAK tables.
& joining conditions defined on the Invoice Number as a common field.
Then , i created an Datasource over this Infoset , still i am not able to get any data in RSA3.
can u guys suggest a better way to do this.
My requirement is that, i need to merge MM data fields with its corresponding FI data fields for the particular Doc no.
thanks
Ramesh
Edited by: Ramesh I on Sep 22, 2008 11:04 AMeven after prioritizing the fields that CO should come from FI & MG should come from MM & so on..
i am again going to get the same 2 records as of now because i need to execute 2 dtps to fetch data from those 2 DSOs. hence i dont think it will improve my condition.
now , my problem is i am actually 4 records to be specific.
FI doc PO CC CO PC MAT MG AMT INV tax
510000000 45000000 0030 4000 40001 # # 10000 0
510000000 45000000 # # # 100 200 10000 0
510000000 45000000 0030 4000 40001 100 200 10000 100000
510000000 45000000 # # # # # 0 0 4000
record 1 - FI
record 2 - MM
record 3- merged record . this is only record which i need
record 4 - tax line item. i dont know why it is coming as a separate record & that too with most of field info.
is there anyway , i can select only this record 3 & also show my tax amt in record 3 itself. & record 1,2 & 4 be deleted.
Guys , pour in some ideas.
Thanks
Ramesh -
How does Merged Dimensions Work in WebI created on SAP BI Queries
Hi,
I need to know how does Merge dimensions work in WebI when using SAP BI Query as source?
Below is my understanding when connection is defined for the universe on oracle database:
1) To get the data in merged dimensions, there must be physical join (Either Direct or vai some other tables) between different tables at backend level (This means there must be join between tables in Oracle database.)
2) we get the UNION of data when dimensions are merged at webI level.
I dont know how this works in SAP BI.
Since there is different data model defined for different BI Queries in SAP , and for each BI Query and there is seperate Universe, So how can you get correct data in WebI when there is no connections in DSO's used in different BI queries?
Can any one suggest me the way data apperas in merged dimensions for WebI created on SAP BI?I assume we are only talking about merging dimensions in Web Intelligence here and not on the BW backend. this is a client side mere where you have 2 resultsets.
if you want to do this on the BI server side it would be a multi-provider combining different InfoProviders - or a InfoSet - depending on the join type you need. MultiProvider is a union, Infoset allows you to choose
Ingo
Maybe you are looking for
-
I'm using Aperture for image correction and the keywords tool to tag photos. Outside of Aperture, I would like to use Automator to sort files by the keywords I applied with Aperture. I've got the rest of the workflow done already. I just need to tell
-
Hi, We have an SDL Remove Item.Whenever ,Session ends,an action Remove Item gets invoked which deletes all the item from the cart.This issue is only happening in prod env which is clustered one. its not happening in development env. Here is the SDL f
-
Configuration overview for Reciever Determination Error
Hi friends !! while creating Reciever determination... at configuration Overview for reciever determination (tab) Reciever(Partner / Service) showing <b>Not Defined</b> can anybody suggest me why this issue is coming Regards Abhishek Agrahari
-
TR priority (LTBK-TBPRI) - where are the config. settings for this ?
Because I can't find it ! Thanks, Nick
-
Unable to create a single larger partition using diskpart
Hello, I am fairly new to Windows server management. I have a Windows Server 2008 R2 RDP machine on Amazon EC2 cloud. I have about 10 different partitions which are 8GB each. I would like to merge them all and create a single larger partition. I know