Problem in mapping at different level

Hey experts
I need to map the following to formats
Source -
<source>
    <Email_detail>
          <Sedber>BOB</Sender>
          <Receiver>JOnes<Receiver>
      </Email_detail>
<source>
Target
<target>
    <Email_detail>
         <item>
             <Sedber></Sender>
              <Receiver><Receiver>
         </item>
      </Email_detail>
<target>
Now, I need to map Sender to Sender and Receiver to Receiver.
But, as the target has one extra level <item>, I am having troubles to map it.
Can someone throw some idea pls...
Rewards points for the right answer....

Hey
use SplitByValue to add an extra context in your sender side and do mapping as per your requirement
http://help.sap.com/saphelp_nw04/helpdata/en/21/3bb8c495125e4eb5969f0377885fe0/frameset.htm
thanx
Aamir

Similar Messages

  • Mapping the Fact table to different levels of a dimension

    Hi,
    I have a fact table which stores the data for 4 levels of the dimensions. The aggregation method was taken care by PL/SQL and the fact table will have the data for all the 4 levels. When im trying to map all the levels to a column in the fact table using the OEM, it is generating the F KEY constraints referncing the columns mapped for the various levels of the dimension.
    The problem is that im using a denormalised table for maintaing the values of the dimension. So the columns mapped for the levels(Except for the lowest) can't have the unique key defined on it. The cube is not getting created because of the error in creating the F KEY.
    Can u please suggest how to map this fact table.
    Thnks,
    Manohar Vanama

    I am not exactly clear on your schema but I believe you are trying to map tables which are not strict star or snowflake. This means that you cannot use CWM1 (and OEM), unless you change the structure of the tables. You might be able to map the tables with CWM2. The document below will assist you:
    Oracle9i OLAP User's Guide
    Chapter 4. Designing Your Database for OLAP
    Chapter 5. Creating OLAP Catalog Metadata

  • Sorry last question got knocked back my ipad and iPhone on two different levels and I am not able to play through Facebook so not able to progress or unlock next level through Apple store. Don't know how to resolve problem

    Sorry last question got knocked back my ipad and iPhone on two different levels and I am not able to play through Facebook so not able to progress or unlock next level through Apple store. Don't know how to resolve problem

    Thank you again for all of your help!! I really appreciate it!
    I think I am following -- I was able to upload to my iPhoto and all photos and videos are there that is a plus! I tried to create an Event in my iPhoto and put all of my photos in that event but for some reason, now my iTunes it not recognizing that Event in my iPhoto. It is not allowing me to import just that event at the moment but I may be doing something wrong. At least all of my pics and vids are in iPhoto so that is a plus and I know they are at least saved somewhere. Just for some reason, my iTunes it not locating the event that I created with only those photos.
    Thank you for letting me know about my contacts! How do I know if I have the contacts app?
    Also, I had no clue that my iCloud could be backed up via cellular data! However, is this a new feature with the most updated iOS?? Unforutnatly I am like 2 iOS updates behind because I don't have enough storage on my phone. I still get the notification that my phone needs to be plugged in and connected to wifi in order to back up to the cloud :-(
    How can I sync using USB? Right now when i click on the info tab for my iPhone in my iTunes this is the answer that I get -- I am a little unclear as to what it means.
    Sync Contacts:
    Your contacts are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone
    Sync Calendars:
    Your calendars are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone

  • OBIEE Facts at different levels.

    Hi,
    I am bringing columns from three tables: Two facts and one Dimension table to create a OBIEE Report.
    The fact tables Workforce Event Fact and Employee Daily Snap Fact are at different levels, but both of them have proper joins with Dimension Employee Dim.
    When i am pulling columns from D1 and any one of these two facts, i am not facing any problem in seeing results. But when i bring columns from all of these three tables, i am getting this error,
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Workforce Event Fact) does not contain mapping for [Employee Daily Snap Fact.Exempt Indicator]. (HY000)
    Is there anything i have to do in Business Model layer to avoid this error. Many people suggesting to assign an aggregation level for these two facts. But i am not having any Dimensional Hierarchy defined.
    Thanks
    Swami

    Hi swami,
    Many people suggesting to assign an aggregation level for these two factsThis is a workaround i think where you need to create aggregate tables(not levels) and then use them for your purpose.(OR) you dint define the logical source table properly either correct it.
    Another work around i could suggest is,take the 2 fact tables columns needed into one alias table and make it as fact and join this fact table to dimension table and you can get all columns.
    Hope it helps you.
    Best Wishes,
    Kranthi.

  • Campaigns for FMCG Industry at different Levels

    Friends,
    We are facing a serious problem to map the  Business of a CP Company to CRM especially with respect to campaigns.
    The customer has a traditional sales channel through distributors to Retailers and also they sell directly to consumers.
    The customer conducts campaigns at 2 levels broadly. 
    First at the Retailer level:
    Here campaigns should be created in CRM for Retailers and passed to distributors where execution takes place ( Discount etc ) .
    Second at the consumer ( End user level ) .
    Here End uses are targeted via Media.
    Now we have the following 2 questions
    1.  How can campaigns be conducted at End user level ?
    2.  In the above scenario , How does customer mapping takes place in SAP CRM? If Retailers are mapped as customers then How do we map the distributors?
    Please give ur expert comments and suggestions.
    Regards,
    Shaik

    Hi,
    Here end users means those are Consumers for these products,so those data no need to maintain for your client level ( Bcoz those are purchasing from Distributors or Retailers ) but you want to give the awareness about products targetting them.
    In this case you maintain the mass campaigns through different channels highlighting the products & brands with the respective sales area wise.
    In second case you need to maintain the Trade Promotion,here you have to Target particular Customer ( Either Distributor or Retailer ) but these all Retailers comes under the particular Distributor ( Maintain BP hierarchy in T code BPH ), once you are giving any discount to distributor,than what ever the retailers comes  under this distributor those also eligible for this discount.
    Hope it helps you
    Regards
    Naren..

  • Problem in mapping with multiple values

    Hi all,
    I am facing a problem during mapping. I am explainning the problem with a example.
    Suppose i have a source table named Employee which has two columns emp no and account no. I have a target table Emp_account which has also the same columns.
    One employee may have more than one accounts. In source table this account nos are stored in account no column in one row corresponding to emp no. The multiple values in account no are separated by comma for one record in source table.
    But in the target table Emp_account a single record will be inserted for each employee's separate account. There should not be multiple values separated by comma in account no column of target table.
    So if any employee has two accounts this will be stored as one row in source table but in target table it will divided into two different rows for each account.
    EMPLOYEE(Source)
    emp no account no
    10 101, 102
    EMP_ACCOUNT(Target)
    emp no account no
    10 101
    10 102
    Think I explained the requirement.. How can i made this in OWB mapping editor..Is it possible?...Can any operator perform this task...If any of u know about this plzz give some solution..It's very important ..
    Thanks & Regards,
    Sumanta Das

    Hi,
    With reference to your question.
    Can any operator perform this task..I don't think any single operator will help you.
    I suggest using an intermediate (staging) table by using a PL SQL procedure with output port to store the values of account number provided the number of accounts are limited. Else use an array variable for account of an employee.
    In short no simple solution because of the bad source design else the pivot/unpivot operator would have helped you.
    Cheers
    - Mohammed

  • Nesting of AGO or TODATE functions with differing level arguments is not supported

    I have a column in BMM which calculates the Year-To-Date Sales. This function uses the ToDate function to caculate the YTD.
    I need to develop another formula column which shows the last-year's YTD.
    I develop this formula in BMM by AGO on the YTD column which already uses a ToDate function.
    In BI Answers when selecting this column, results in the below message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 22044] Nesting of AGO or TODATE functions with differing level arguments is not supported. (HY000)

    To reply to my own question. It appears I got it working, that is, the error message problem is solved, but I still have questions on how to use these functions.
    To get it to work, I added the primary key D_TIJD.TIJDKEY at the level of the lowest grain in my dimension (level tab).
    What I still wonder is how to make it select the right values. I have the following hierarchy: bookyear - bookperiod - week. A bookperiod contains 4 or 5 weeks (4,4,5 in a quarter), so 12 periods in one year. I defined a measure at period level and another at that level with the ago function, that should return the figures for that same period of the year before. My first question is, whether to go back 12 periods or 52 weeks (which is the lowest grain in my dimension)?
    The second question is how to use a combination of TODATE and AGO so that if I calculate the current period (of which only 2 weeks are passed), I also only want to include the same two weeks for that period one year ago in order to make a correct comparison. How do I do that???

  • Substract as an aggregation rule for different level in a DIM ?!

    Hi there..
    I'm building a BI model based on financial transactions (incomes, expenses, etc..)
    and my main problem is how to substract a measure, where the aggregation rule is set to SUM, for different levels in the "Account" dimension?
    Example:
    I have the "Account" dimension with the following hierarchy:
    Account_ID / Account_name / Account_type / Account_total
    And, lets say, 2 rows in it:
    1.row in the "Account" dimension:
    account_ID : 100
    account_name : "Marketing expense"
    account_type : "Variable expenses"
    account_total : "Total profit" (total income - total Expenses)
    2. row in the "Account" dimension:
    account_ID : 200
    account_name : "Financial incomes"
    account_type : "Total incomes"
    account_total : "Total profit" (total income - total Expenses)
    "Total profit"
    "Tot. incomes" "Tot. Expenses"
    "Finan. incomes" "Market. expenses"
    The fact table has just one measure: "Amount" and, of course, some foreign keys:
    Account_ID -> "Account" dim
    Organization_ID -> "Organization" dim
    Date -> "Date" dim
    Amount
    The measure "Amount" in the fact table is positive both for expenses and incomes.
    Now, what I'm trying to do is to sum up that measure on my top level in the "Account" dim.
    At that level my report in Answers should substract "Total expenses" from "Total incomes"!
    How can I do that?
    thanks..
    Ivan

    Sorry to pop the obvious question, but can't you model that nicely and put it into distinct columns?
    If not, you can create derived measures on you fact using "case when" statements. One for the incomes with amount > 0 (or >=0 ...depends on where you want to have the 0's) and one for the expenses with amount < 0.
    HTH,
    Chris

  • One Dimension with Facts at different levels

    I currently have a single dimension with 5 levels. I have two fact tables that both connect to the dimension table but at different levels.
    For example. If we have a Dimension Country -> Region -> City and then two fact tables. One that has facts at the Region level and one that has facts at the City level.
    Is there a way to be able to have an answer that contains facts from both fact tables. So if there was a fact from City and the Region level? Everything I seem to try does not work. Would I have to create an additional aggregate table that aggregates the City level data up to the Region? Or is there a way to show the data at the lowest level and show either nulls or duplicate values for the additional records.
    Any help is greatly appreciated

    This has helped a little. I am now getting values from both levels. However, because i am summing the two values. The value from the upper level is now summing duplicate values. For example.
    Value 1 on its own
    Level1 Level 2 Level 3 Value 1
    1234 10 10 13.05
    1234 20 10 70.00
    1234 20 20 70.00
    1234 30 10 105.00
    1234 30 20 105.00
    Value 2 on its own
    Level1 Level 2 Level 3 Value 2
    1234 10 10 0.50
    1234 20 10 2.00
    1234 20 20 2.00
    1234 30 10 3.00
    1234 30 20 3.00
    What I am getting
    Level1 Level 2 Level 3 Value 1 Value 2
    1234 10 10 13.05 0.50
    1234 20 10 140.00 2.00
    1234 20 20 140.00 2.00
    1234 30 10 210.00 3.00
    1234 30 20 210.00 3.00
    Desired Outcome
    Level1 Level 2 Level 3 Value 1 Value 2
    1234 10 10 13.05 0.50
    1234 20 10 70.00 2.00
    1234 20 20 70.00 2.00
    1234 30 10 105.00 3.00
    1234 30 20 105.00 3.00
    Now, the problem with this is that Value 1 is a fact at Level 2 and Value 2 is a fact at Level 3. I have one dimension table and two fact tables. The join between the fact table for Value two and the dimension table is the same as the join between the dimension table and Value 1 only it is missing the last level of detail.
    I have then set the logical table source content tabs for each fact table to the corresponding levels.
    I thought this would be enough but i still don't get the desired result. I am not sure if this is possible with one dimension table.
    Any ideas would be greatly appreciated.
    Edited by: user10800227 on Jan 11, 2010 12:43 PM

  • Extract Data in Power Pivot from MDX with diffrentnt different Level of Hierarchy in MDX

    Hi All,
    My requirement is to extract the data form tabular model and put in power pivot,as all the measures calculation is present in model just extracting the aggregated data.
    Issue is appearing on Rolling up the data, so is there any way to extract the data so that it will display the right data on different level. As per the below example on level 2 data is getting summed up which is not correct.
    Ex:-
    Level1
    A
    10%
    B
    20%
    Level2
    30%
    Thanks Chandan

    Hi Chandan,
    According to your description, you create a SQL Server Analysis Services Tabular model and extract Data in Power Pivot from MDX, the problem is that the hierarchy data rolling up base on the hierarchy level, right?
    I have tested it on my local environment, we cannot reproduce this issue. So as per my understanding, the issue can be cause by the hierarchy setting in your tabular model. Here are some links about how to create and manage hierarchies in a tabular model,
    please refer to the links and check if the settings are correct.
    http://msdn.microsoft.com/en-in/library/hh213003.aspx
    http://www.youtube.com/watch?v=qKKNY1Vj_2c
    If the issue persists, please provide us more information about you hierarchy creation steps, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Measures in different levels

    I am having problems with measures based on different levels of a dimension.
    The situation is: I have a product dimension with 2 levels (category and detail) and a client dimension. I want a measure with the number of distinct clients wich buys each product (it works fine with count distinct). But I also want a measure with the number of distinct clients wich buys the category of products, wich it's not working.
    I have tried level based measures, but it didn't show the right result. I have changed the aggregate rule for this measure to count distinct, but it shows the same result as the SUM.
    Can I define a custom rule for aggregation based on attributes of another tables?
    Does anyone know a solution for this?

    The output of the reports needs to be as below which shows details of a single customer.
    customer_name---ca_number-----obl_number--------gl_balance--------limit_available-----state
    Krio motors---------222222222-----763764754---------37000.00--------1834297.00--------CA
    Krio motors---------222222222-----326635675---------34820.00--------1834297.00--------CA
    Krio motors---------111111111-----326684759---------670000.00------3456789.00--------CA
    Krio motors---------111111111-----326611111---------32400.00--------3456789.00--------CA
    Krio motors---------111111111-----326622222---------8700.00----------3456789.00--------CA
    Krio motors---------111111111-----326633333---------632450.00------3456789.00--------CA
    here for each record in dimension D6 (for each Ca_number) there are many records in dimension D1 (obl_number records)
    The limit_available is at ca_number level (higher level) and gl_balance is in obl_number detail level.
    Thank you.

  • Different levels of a dimension

    I am having problems with measures based on different levels of a dimension.
    The situation is: I have a product dimension with 2 levels (category and detail) and a client dimension. I want a measure with the number of distinct clients wich buys each product (it works fine with count distinct). But I also want a measure with the number of distinct clients wich buys the category of products, wich it's not working.
    I have tried level based measures, but it didn't show the right result. I have changed the aggregate rule for this measure to count distinct, but it shows the same result as the SUM.
    Can I define a custom rule for aggregation based on attributes of another tables?
    Does anyone know a solution for this?

    Luciene,
    Is your requirement to have seperate metric for the category and a seperate metric for the detail level? if so then you can duplicate the count distinct metric and specify the level for the product dimension.( for the category metric it would be at the category level and for the detail metric it would be at the detail level). But on the other hand if you want the same metric to act at different levels, then you don't have to create a level based metric. Pulling the category/detail and the metric would aggregate the metric to the specific level.
    Arjun

  • How service Provider Provide MPLS different level of Class of Service!!!

    Hi Team,
    Most of the time Service provider says that they can provide any class of service and any level (CoS1 to N)...On a global setup, how Service Provider Core is being provisioned to provide this kind of scalability and redundancy...I am interested in mainly the core Cloud of Service provider not the PE...Any docs or link will be of gr8 help...Service provider will no away running 50% of their capacity and provide redundancy..So there should be some tweking which allow them to Provide different level of SLA..How need to know..
    Thanks in advance..
    With best regards,
    Mani

    1) Irrespective of how many ever COS they are providing/selling for the Customer at the Edge most SP will have only 4 to 5 major classes in the core, and the SLA provided on DSCP,COS,PREC are merged into these super classes where they map to.
    2) The question of BW of 50% this is subjective to each SP, just like you have a pipe of 1 gig for Internet in what ratio would you sell this BW is subjective to each SP. SImilarly when you provide SLA with certain guranteed uptime, the bandwdith availability during backup is considered and the its generally sold in the same ratio.
    If the ratio at which the BW is sold at the edge, exceeds the available 50% during failure, then olny your upper higher priority classes get tranmistted. But this is seldom recommended.
    HTH-Cheers,
    Swaroop

  • Different aggregations at different levels

    When I view the data using 'Measure Data Viewer', the items in a dimension are showing in random order.
    How do I load the data in a dimension in ascending order so I can view it in ascending order.
    Also, is it possible to apply different aggregations at different levels in a dimension?
    Thanks.

    Thank you. I will put different measures with different dimensions in different cubes.
    After I mapped my measures in the mapping canvas(I can see the mapping lines), I tried to maintain the measure. But I am getting an error 'some-measure-name may not be maintained since mapping do not exist for the measure'.
    I am using AWM 10.2.0.3A and the database is 10.2.0.4
    Thanks

  • Just downloaded iOS 6. Cannot view maps at street level now. Any solutions?

    Just downloaded iOS 6. Cannot view maps at street level now. Any solutions? Apple help told me I cannot delete iOS 6 and go back to 5.1.1

    Apple is constantly working on improving their new Maps service, but until it reaches the level of finesse necessary to be usable, take a look at some alternatives.
    Bing Maps offers a very good maps service with Bird's Eye, a feature similar to Flyover. It's arguably better than Google Maps.
    http://itunes.apple.com/us/app/bing/id345323231?mt=8
    You can use Google Maps by creating a shortcut to the Home Screen with help from the article below.
    http://www.ign.com/articles/2012/09/20/how-to-get-google-maps-on-ios-6
    MapQuest also has a very nice app available.
    http://itunes.apple.com/us/app/mapquest/id316126557?mt=8
    Nokia Maps is another great service that you can add to your Home Screen via a web shortcut.
    http://m.maps.nokia.com
    Waze is another very well reviewed app.
    https://itunes.apple.com/us/app/waze-social-gps-traffic-gas/id323229106?mt=8
    Here's an article detailing how to receive Public Transport directions.
    http://www.wired.com/gadgetlab/2012/09/transit-apps-ios6-woes/?pid=3798
    If you want a YouTube app, Google has made a very improved version available on the App Store.
    http://itunes.apple.com/us/app/youtube/id544007664?mt=8
    If you would like to send a suggestion to Apple, please go to http://www.apple.com/feedback or you can Report a Problem via the Maps app by tapping the bottom right.

Maybe you are looking for