Using compound attribute
Hi Everyone,
I have to extract data from 2 source systems and load into BW infoobject, i have to show which data is coming from which source system. i am giving u the procedure i done below plz tell me if anyting is wrong
I have same R/3 source system with different clients like 010 and 110, i have created generic datasources ZGDS_SALMESMAN1 and ZGDS_SALESMAN2 in both of the clients with fields SMID, NAME, AGE, ADDR, PHONE and given same values. now i have replicated the datasources into my BI. i have created one Char Infoobject SMID and attributes name, age, addr, phone.
now we have to assign 0SOURSYSTEM as compound to my Char Infoobject SMID, is it correct. can u please tell me how to do rest of the things step by step, and also like to know how to extract data
full points will assign for the answer.
Thanks and regards,
Ajay
You don't need compounding for this. It is possible to create a global transfer routine for the infoobject. In RSD1, you can create this routine. In this routine the name of the source system will be available, and you just have to concatenate it with the incoming characteristic value. The advantage of this approach is that you will not have to write the code to handle the source-system name separately for every datasource.
Edited by: Suhas Karnik on Nov 19, 2008 2:56 PM
Similar Messages
-
Compounding attributes using flat files
Hi experts,
Many questions are asked relating compounding attributes previously.
I think it is a unique one.
Iam a freesher in sap BI
Can we use compounding attributes using flatfiles.
That is I have two file source systems.
how can I use the compounding attributes concept here.
Please explain me taking some scenario.
Points will be assigned for useful answer.
Thanks,
SundarHi,
Normally compunding means showing the difference of the data on base of the compunded field.
in your case ic you want to differ on base of country .. then make country as coumponding to employee number.
that the 2 files will show the difference as below example.
file 1
empno country companycode
1133 india 001
1134 india 002
File 2
1133 us 001
1134 us 002
when the above 2 files get loaded the out put whould be
empno country companycode
1133 india 001
1133 us 001
1134 india 002
1134 us 002
The data will be show as above ie 4 records.
when you run a reprot on this.. and when you drill down on country you will get 2 records one for 1133 and other 1134
let me know if you need any more inputs. -
Use of compounding attributes?
Hi,
can i get what is use of compounding attributes, what scenerio we use this, can i get 1 scenerio.
Regards
anithaSuppose you an Infoobject "Product" with values 1, 2, 3, 4
You have one more Infoobject "Plant" with values A, B, C
Now imagine product 3 is produced by plant plant 'A' as well as 'B'
Now in you have Infoobject "Product" as an independent, you can only store the values for 1independent of the two plants. For eg, Plant A posts 10 units of 1 and the plant B posts 20 units for 1. The result will be the last value i.e 20 received from B.
Product Units
1 20
But that would be incorrect.
So you compound InfoObj "Product" with "Plant" in this case you will have two different rows
Plant Product Units
A 1 10
B 1 20 -
Create document with Compound Attributes
Hi, does anyone can solve my problem
I have created a customer parser to parse my customised document say "XXX.PO". I followed the instruction in the developer guide (create customised parser). Everything is fine except the compound attributes, i don't know how to handle the compound attributes in java code. the following is my document definition.
//po detail
<?xml version = '1.0' standalone = 'yes'?>
<ClassObject>
<Name>PoDetail</Name>
<Description>Po attribute definition</Description>
<Superclass Reftype = "name">ApplicationObject</Superclass>
<Attributes>
<Attribute>
<Name>TagName</Name>
<DataType>String</DataType>
<DataLength>80</DataLength>
</Attribute>
<Attribute>
<Name>TagValue</Name>
<DataType>String</DataType>
<DataLength>4000</DataLength>
</Attribute>
</Attributes>
</ClassObject>
//class domain
<?xml version="1.0" standalone="yes"?>
<ClassDomain>
<Name>DocumentDetailDomain</Name>
<DomainType>1</DomainType>
<Classes>
<ArrayElement reftype="name">PoDetail</ArrayElement>
</Classes>
</ClassDomain>
//Document definitaion
<?xml version= '1.0' standalone = 'yes' ?>
<ClassObject>
<Name>PoDocument</Name>
<Description>PoDocument </Description>
<Superclass Reftype = "name">Document</Superclass>
<Attributes>
<Attribute>
<Name>PoNumber</Name>
<DataType>String</DataType>
<DataLength>50</DataLength>
</Attribute>
<Attribute>
<Name>ItemDetail</Name>
<DataType>PublicObject</DataType>
<ClassDomain RefType="name">DocumentDetailDomain</ClassDomain>
</Attribute>
</Attributes>
</ClassObject>
Does anyone can show me how to handle compound attributes
Many thanks
Ernest
nullDear Dmitry Rassakhatsky
Can you please elaborate what you are trying to achive using BAPI_DOCUMENT_CREATE02 and SAP XI.
We would be in better position to suggest solution.
Also most of us will not be able to understand Technical ABAP so request you to provide detail scenario.
With Warm Regards
Mangesh Pande -
Nav &Compounding Attribute& Hierarchies real time scenarios
hi Gurus,
can any one pls help me or forward me the procedure of creating step by step Navigational&Compounding Attribute& Hierarchiesand uses in different scenarios.i a mean real time where we use this and how.
pls mail me <b>[email protected]</b>
*points will be assinged *
Regards,
JohnHi John,
<b>Hierarchies</b>
Hierarchies are used for analysis to describe alternative views of the data.
To create Hierarchies for a characteristic Info Object, in the Hierarchy tab page of the
Info Object's Create/Change screen,
you've to check the With Hierarchies check box.
Creating Hierarchies
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6736e07211d2acb80000e829fbfe/content.htm
This web blog explains the procedure for uploading Hierarchies from Flat files.
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files .
<b>Compounding</b>
http://help.sap.com/saphelp_nw04/helpdata/en/ff/f470375fbf307ee10000009b38f8cf/content.htm
<b>Navigational Attributes</b>
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a63e7e07211d2acb80000e829fbfe/content.htm
Regards
Hari
Message was edited by: Hari Krishnan K -
Urgent : Adding Compounding Attribute 0CO_AREA
Hi,
When I added 0CO_AREA as a COMPOUNDING attribute of 0WBS_ELEMT,
Following is the error message :-
<b> InfoObject 0WBS_ELEMT is referenced from 0CRM_MKTELE, compounding cannot be changed</b>
Diagnosis
The InfoObject 0WBS_ELEMT is referenced by InfoObject 0CRM_MKTELE. InfoObjects have been deleted or inserted from the compound of InfoObject 0WBS_ELEMT. The compounds of InfoObject and referenced InfoObject must, however, concur with each other.
System response
InfoObject 0WBS_ELEMT can only be activated if InfoObject 0CRM_MKTELE is activated at the same time.
Procedure
Include all the InfoObjects, that reference InfoObject 0WBS_ELEMT, together in the editing and activate them likewise.
Otherwise, you can only change the compounding of InfoObject 0WBS_ELEMT if there are no more other InfoObjects that reference InfoObject 0WBS_ELEMT.Hi John,
Please see OSS note 184948 (Compound Infoobjects to 0SOURSYSTEM). Though this takes the example of 0SOURSYSTEM added as a Compound InfoObject, but the same applies in your case too. The solution mentioned is:
"In this case, characteristic 'XYZ' must also be compounded to 0SOURSYSTEM.Characteristic 'XYZ' must be activated together with characteristic 'ABC'.
If you have to change dependent characteristics also, all characteristics must be activated together with characteristic 'ABC'.Otherwise, the consistency check uses the active version of the dependent characteristics and reports errors.In the initial screen of InfoObject maintenance select radio button 'Free selection of InfoObjects'.In the dialog box, select all characteristics you want to activate together.Select all characteristics on the following overview screen and press 'Activate'.If you are already on the detailed screen of InfoObject maintenance and include the other InfoObjects in the maintenance using pushbutton 'Other InfoObject' then for activation you must go back to the overview screen and select and activate all InfoObjects there.This procedure is necessary since activating on the detailed screen is for the currently selected InfoObject (and dependent objects) only but not for all InfoObjects visible in the overview list.If you want to activate several InfoObjects together, then you should always do this from the overview list."
Hope this helps... -
Compound attribute Data can reside in the attribute file?
Info Object is having one attribute called Employee (Emp CO, Emp Name) and a compound attribute company code (Comp Co, Comp Name). I want to load the master data.
Case 1: Employee Flat file should contain company code.
Emp Co Emp Name Comp Co
100 xxx 1000
100 xxx 2000
Case 2: Employee Flat file will NOT contain the Company Code Data.
While Loading the the transaction data (While contain the Emp-CO), Sap Internally rebuilding the Employee attribute data and Inserting the copmany code.
Can you please tell me which is the best practice for handling compound attribute data?
Should the employee flat file should contain the company code data or not??
In real time does the attribute contains the compound attribute data in it?However CLI survey in the business partner is navigational in the master data but businesspartner_CLI Survey attribute not checked in the cube level".
So yopu have two naviagtional attributes as businesspartner_CLI Survey and contact partner_CLI survey.
You can use any one of thenavigattional attribute. becasuse source is same for two naviagtiona attributes.
in your case lets try to use navigational attribute businesspartner_CLI Survey.
So at cube level mark this navigational attribute businesspartner_CLI Survey -
Modify infoobject to include compounding attribute
Hi,
I need to modify a infoobject to include a compounding attribute. But this infoobjct is already used in DSO and Cube, which in turn contains data. so when i try to modify the infoobject, system throws error message.
Kindly help me in finding an alternate way to modify the infoobject without deleting data.
regards
Suresh KumarHI Suresh
First delete all the data from the infoobject with SIDs.
Now , edit your infoobject and load the data.
it will work definitely.
With Regards
Avenai -
Hi
I am using 0FIAR_C03 cube. in that i need to get attributes from 0CUST_SALES .
this I can from source 0customer or not?
this char have compounding attributes like sales org, dist channel and division .
how can i fill data for above characters in cube? whether i need look from billing dso to look up data or any master data is better look up data?Hi Suneel,
Below are the option U can opt.
1. use read master data from the existing char to drive the desired attribute.
2. Write the Routine on transformation / rule to get the master data attributes. This is similar to read master data but make sure code is optimized.
3. Enhance the Data source using the Customer exit.
Useful Doc for the same.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0eade6c-692a-2c10-ac86-80f6b2157791?overridelayout=true
Hope it will help.
Thanks,
Amit -
ABOUT COMPOUNDING ATTRIBUTE.
Hi
Can 1 InfoObject have more than one Compounding Attribute?
Please let me know.
Thanks in advanceHi,
Yes one infoobject can have upto 14 infoobjects as Compunding.
You determine whether you want to compound the characteristic to other InfoObjects. You sometimes need to compound InfoObjects in order to map the data model. Some InfoObjects cannot be defined uniquely without compounding.
For example, if storage location A for plant B is not the same as storage location A for plant C, you can only evaluate the characteristic Storage Location in connection with Plant. In this case, compound characteristic Storage Location to Plant, so that the characteristic is unique.
One particular option with compounding is the possibility of compounding characteristics to the source system ID. You can do this by setting the Master data is valid locally for the source system indicator. You may need to do this if there are identical characteristic values for the same characteristic in different source systems, but these values indicate different objects.
Using compounded InfoObjects extensively, particularly if you include a lot of InfoObjects in compounding, can influence performance. Do not try to display hierarchical links through compounding. Use hierarchies instead.
A maximum of 13 characteristics can be compounded for an InfoObject. Note that characteristic values can also have a maximum of 60 characters. This includes the concatenated value, meaning the total length of the characteristic in compounding plus the length of the characteristic itself.
Hope it helps.
Thanks in advance,
V Praveen -
NH: Compounding Attribute Clarity Needed
Hi,
Was just going thru some links of Compound Attribute and found this link interesting.
I have a question here, hope you don mind.
In your reply to KMR , you mentioned that The Compund characteristic is "stucked" to the parent characteristic and therefore, whenever you use the characteristic, you have to also use the compound characteristic.
My question is what if i want to display just the Parent characteristic and not the compound.
For example : I want to display in Query just the Employee as E01 and not like US/E01.
Can i do this way ?
But i don want to remove Country as Compound Attribute in Info-Object, just want to ignore while displaying.
Thanks,
Zehra.Does anyone have an answer to this? It seems as though most people aren't understanding the question, but here it is as I understand it:
Compounded InfoObject A with Parent InfoObject B displays as the key as "B Value / A Value". We want to leave the InfoObject A as compounded, but we want to display just the key "A Value" in the query, without the compounding visible. This shouldn't require the Parent InfoObject to be present in the query, though it should probably be in the InfoProvider.
This has nothing to do with "No Display". While in the query runtime, you can right click InfoObject A and select Properties -> Characteristic. Once in that menu, the display of the InfoObject can be selected as "Key (Not Compounded)".
This is exactly what I want, but I want that to be the display by default, so that users don't have to change the display themselves. I've looked at the InfoObject in RSA1, and I've looked at it in Query Designer, and neither give me a display option having to do with Compounding, they both limit my options to "Text", "Key", "Text & Key", or "Key & Text". Then I can also choose which text I want to display.
Any ideas on how to default the display of a compounded InfoObject to "Key (Not Compounded)"?
Thanks,
Owen -
Nav &Compounding Attribute& Hierarchies
hi Gurus,
can any one pls help me or forward me the procedure of creating step by step <i><b>Navigational&Compounding Attribute& Hierarchies</b></i>and uses in different scenarios.
<u>*points will be assinged *</u>
Regards,
JohnHi John,
<b>Hierarchies</b>
Hierarchies are used for analysis to describe alternative views of the data.
To create Hierarchies for a characteristic Info Object, in the Hierarchy tab page of the
Info Object's Create/Change screen,
you've to check the With Hierarchies check box.
Creating Hierarchies
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6736e07211d2acb80000e829fbfe/content.htm
This web blog explains the procedure for uploading Hierarchies from Flat files.
/people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files .
<b>Compounding</b>
http://help.sap.com/saphelp_nw04/helpdata/en/ff/f470375fbf307ee10000009b38f8cf/content.htm
<b>Navigational Attributes</b>
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a63e7e07211d2acb80000e829fbfe/content.htm
Regards
Hari
Message was edited by: Hari Krishnan K -
) Compounding attribute?
Hi friends,
Could u explain me some definitions for the below given attributes
Compounding attribute?
Time dependent attributes?
Currency attributes?
<b>and when do use them exactly..</b>
Its very appreciating for ur immediate responseHi Mohhan
Please serach on SDN and help.sap.com before posting, there are so many threads for this:
Attributes:
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a559ee09411d2acb90000e829fbfe/frameset.htm
Navigational Attributes:
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a559ee09411d2acb90000e829fbfe/frameset.htm
Compounding Attributes:
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a559ee09411d2acb90000e829fbfe/frameset.htm
Tansitive Attributes:
Re: Second Level Nav. Attribute without reloading
https://forums.sdn.sap.com/profile.jspa?userID=215488
What do you mean by currency attribute ???
Thanks
Tripple k -
Compound attribute and transactional attribute
hi experts,
what is compound attribute and transactional attribute, in what case we will use this attributes, can anybody explain with business scenario, pl help to understand this.
thanks & regards
venkatCoumpounding attributes is an attribute which is compounded with another infoobject. This brings unique data relationship. Suppose u have company codes like CC1, CC2, CC3 and you have employees E1, E2, E3...The employees codes will be same in each company code. To make them unique across we compound the employeee code with company code. The it will result as below.
CC1 - E1, E2, E3
CC2 - E1, E2, E3
CC3 - E1, E2, E3
Again the other one must be a transitive attribute and not transactional attribute. When an navigational acts as another attribute as navigational attribute then the other is called transitive attribute. -
Issue in mapping compounding attribute
Hello All,
I have info objects 0CO_AREA and 0PROFIT_CTR in the target whereas in the source i have only 0PROFIT_CTR and please note that CO_AREA is compounded with 0PROFIT_CTR.
In the transformation, I have kept constant value for 0C0_AREA and info object 0PROFIT_CTR is mapped with the source field.
I facing an issue with the below error message while activating the transformations.
"Characteristic 0CO_AREA compounded to 0PROFIT_CTR is missing in transformation source"
Is it mandatory to have 0CO_AREA in the source when we are using compounding info object relation or is there any work around ?
Thanks in advance.Hi peppy ,
The Compund characteristic is complementry to the parent characteristic so whenever you use the characteristic you have to use the compound characteristic. it is mandatory to have 0CO_AREA in the source when we are using compounding info object relation
To upload the master data you also need to have compound characteristic in the source you're uploading because it is part of the compound.It is necessary to get correct data in target.This concept is basically used for maitaining master data .
Regards,
Jaya
Maybe you are looking for
-
Need help non-null error: xml or onComplete?
Can someone tell me what this means? The slideshow its referring to is a something I purchased online and is embedded into my movie. Does it mean I need to put and onComplete function on the page thats loading this? Is it for the xml or the slidesh
-
Unreliable reading from AFP server (NAS)
Following on from some earlier problems, I've started encountering a new, and much worse, problem. After I successfully connect to the AFP share, I can look at the contents of various remote folders in Finder. But, some of the folders are just showin
-
Can I use my MacBook Pro with 10.7.5 with Epson Stylus Printer photo R340
MacBook Pro with 10.7.5 with Epson Stylus Printer photo R340 can I make them work togather?
-
Upgraded to Mountain Lion a week ago suddenly unable to receive incoming emails from Mail.6
Upgraded to Mountain Lion a week ago. Suddenly unable to receive incoming emails from Mail.6 Can successfully send outgoing messages. Have completed following tasks to no avail: 1) When click on "Take all accounts online" and entering pass
-
i have downloaded OS X Yosemite using recovery from boot but while installing error occuring showing unable to extract essential.pkg so can't install. problem is i have already formatted my drive and dont have any os right now. only the downloaded ne