Compounding Master data

Hi All,
Say I have master data coming into BW from two separate instances. I compound the master data to client.
What are the steps to be followed? Do I need to enhance data-sources (for example I compound masterdata 0MATERIAL with client do I need to enhance data-source 0MATERIAL_ATTR?)
Also say we have a material 1001 coming from client 800 & same material 1001 coming from client 100, how does BEx differentiate these materials?
Thanx in advance.
Monica

Hi Monica,
You will need to add 0SOURSYSTEM on the compounding tab of 0MATERIAL (in RSD1) and activate it. In both of the transfer rules (for each source system) then please assign the value of the Source System as a constant.
Hope this helps...
p.s. OSS note 184948 (Compound Infoobjects to 0SOURSYSTEM) useful to read when you are compounding chars to 0SOURSYSTEM.

Similar Messages

  • What is the significance of having a compound master data in the planning levels?

    In "SAP2" model there is PERPRODCUST as a planning level.
    This planning level has PERIOD, PRODUCT, CUSTOMER and PRODUCT-CUSTOMER master data as part of the planning level.
    Wouldn't PERIOD, PRODUCT, CUSTOMER be sufficient? Why is the compound master data required to be added to this planning level.
    Could someone clarify this for me.
    Thank you.

    I'll attempt:
    It depends on if you want to surface the result/value of the compound master data type on the key figures in your planning level.  If you do then you'll need to include it in the planning level.
    If the question is why would I want a compound master data type, then my attempt at that answer is as follows:
    From my understanding, the idea of a compound key figure is that you are able to derive an attribute or attributes that are related to, in this case, two master data types - all without having to 'store' that attribute on the transactional record.
    Here is a simplistic example:
    Master data on PRODUCT (where PRODID is the key)
    PRODID,PRODDESCR,PRODSIZE
    P1,Widget A,Big
    P2,Widget B,Big
    P3,Widget C,Small
    P4,Widget D,Small
    Master data on CUSTOMER (where CUSTID is the key)
    CUSTID,CUSTDESCR,CUSTREGION
    C1,Store A,West
    C2,Store B,West
    C3,Store C,East
    C4,Store D,East
    Master data on compound MDT PRODUCT-CUSTOMER (where PRODID and CUSTID are the key)
    PRODID,CUSTID,SALESREGION
    P1,C1,BIG_WEST
    P1,C2,BIG_WEST
    P1,C3,BIG_EAST
    P1,C4,BIG_EAST
    P2,C1,BIG_WEST
    P2,C2,BIG_WEST
    P2,C3,BIG_EAST
    P2,C4,BIG_EAST
    P3,C1,SMALL_WEST
    P3,C2,SMALL_WEST
    P3,C3,SMALL_EAST
    P3,C4,SMALL_EAST
    P4,C1,SMALL_WEST
    P4,C2,SMALL_WEST
    P4,C3,SMALL_EAST
    P4,C4,SMALL_EAST
    Finally you have some transactional data for the Key Figure on the planning level (ex: Sales)
    PRODID,CUSTID,SALES
    P1,C1,10
    P3,C4,15
    P4,C3,30
    P1,C3,20
    P2,C2,15
    *Note that you don't need to 'store' the sales region attribute on the record
    Then on your report, you can pick the SALESREGION and get your aggregated values:
    SALESREGION,SALES
    BIG_WEST,25
    BIG_EAST,20
    SMALL_WEST,0
    SMALL_EAST,45

  • Remodelling, substitution of a non-compounded master data with a compunded?

    Hi,
    i have to do a subtitution from a non-compounded master data to a compounded master data in a filled infocube. I have any problem because the code abap
    ASSIGN c_r_newfield->* TO <l_newfield>.
      ASSIGN i_r_old->* TO <l_s_old>.
    not have fill <l_newfield> because c_r_newfield is blank.
    Why this?
    the code in my user-exit is below:
    METHOD IF_RSCNV_EXIT~EXIT.
      FIELD-SYMBOLS: <l_s_old> TYPE ANY,
                     <l_fillfield> TYPE ANY,
                     <l_newfield> TYPE ANY.
      DATA:          l_chavl TYPE rschavl,
                     l_ZFIPLANT_chavl TYPE rschavl,
                     l_attr TYPE string.
    Assign the references to field symbols
      ASSIGN c_r_newfield->* TO <l_newfield>.
      ASSIGN i_r_old->* TO <l_s_old>.
    To use the individual fields of the old table
    structure (e.g. SID_ZFPLANT), assign these fields
    to field symbols using the field name.
      ASSIGN COMPONENT 'SID_ZFPLANT' OF STRUCTURE <l_s_old> TO <l_fillfield>.
    Implement the logic you want to use for determing
    the value to be filled into the new field.
    E.g. Here, I have the SID of ZFPLANT available in
    <l_fillfield>. I then do the following -
    1) Get the ZFPLANT value corresponding to that SID.
    2) Extract the month from this value
    3) Get the SID for this month value
    4) Assign this value to the changing parameter
       through a field symbol
    (Note: Steps 3 and 4 are done in one step in the
    code)
      CALL FUNCTION 'RRSI_SID_VAL_SINGLE_CONVERT'
        EXPORTING
          i_iobjnm               = 'ZFPLANT'
        I_S_COB_PRO            =
          i_sid                  = <l_fillfield>
       IMPORTING
         e_chavl                = l_chavl
        E_S_NODESID            =
       EXCEPTIONS
         no_value_for_sid       = 1
         x_message              = 2
         OTHERS                 = 3
      IF sy-subrc <> 0.
        l_attr = text-001.
        RAISE EXCEPTION TYPE cx_rscnv_exception
          EXPORTING
            attr1  = 'CL_RSCNV_USER_EXIT_SAMPLE'
            attr2  = 'EXIT-1'
            attr3  = l_attr
           ATTR4  = sy-subrc
      ENDIF.
      l_ZFIPLANT_chavl = l_chavl.
      CALL FUNCTION 'RRSI_VAL_SID_SINGLE_CONVERT'
        EXPORTING
          i_iobjnm                  = 'ZFIPLANT'
          i_chavl                   = l_ZFIPLANT_chavl
        I_S_COB_PRO               =
        I_CHECKFL                 = RS_C_FALSE
        I_WRITEFL                 = RRSI_C_WRITEFL-NO
        I_MASTERDATA_CREATE       = RS_C_TRUE
        I_RNSID                   =
        I_NEW_VALUES              = RS_C_FALSE
       IMPORTING
         e_sid                     = <l_newfield>
       EXCEPTIONS
         no_sid                    = 1
         chavl_not_allowed         = 2
         chavl_not_figure          = 3
         chavl_not_plausible       = 4
         x_message                 = 5
         interval_not_found        = 6
         foreign_lock              = 7
         inherited_error           = 8
         OTHERS                    = 9
      IF sy-subrc <> 0.
        l_attr = text-002.
        RAISE EXCEPTION TYPE cx_rscnv_exception
          EXPORTING
            attr1  = 'CL_RSCNV_USER_EXIT_SAMPLE'
            attr2  = 'EXIT-2'
            attr3  = l_attr
           ATTR4  = sy-subrc
      ENDIF.
    ENDMETHOD.

    Hi,
    i have to do a subtitution from a non-compounded master data to a compounded master data in a filled infocube. I have any problem because the code abap
    ASSIGN c_r_newfield->* TO <l_newfield>.
      ASSIGN i_r_old->* TO <l_s_old>.
    not have fill <l_newfield> because c_r_newfield is blank.
    Why this?
    the code in my user-exit is below:
    METHOD IF_RSCNV_EXIT~EXIT.
      FIELD-SYMBOLS: <l_s_old> TYPE ANY,
                     <l_fillfield> TYPE ANY,
                     <l_newfield> TYPE ANY.
      DATA:          l_chavl TYPE rschavl,
                     l_ZFIPLANT_chavl TYPE rschavl,
                     l_attr TYPE string.
    Assign the references to field symbols
      ASSIGN c_r_newfield->* TO <l_newfield>.
      ASSIGN i_r_old->* TO <l_s_old>.
    To use the individual fields of the old table
    structure (e.g. SID_ZFPLANT), assign these fields
    to field symbols using the field name.
      ASSIGN COMPONENT 'SID_ZFPLANT' OF STRUCTURE <l_s_old> TO <l_fillfield>.
    Implement the logic you want to use for determing
    the value to be filled into the new field.
    E.g. Here, I have the SID of ZFPLANT available in
    <l_fillfield>. I then do the following -
    1) Get the ZFPLANT value corresponding to that SID.
    2) Extract the month from this value
    3) Get the SID for this month value
    4) Assign this value to the changing parameter
       through a field symbol
    (Note: Steps 3 and 4 are done in one step in the
    code)
      CALL FUNCTION 'RRSI_SID_VAL_SINGLE_CONVERT'
        EXPORTING
          i_iobjnm               = 'ZFPLANT'
        I_S_COB_PRO            =
          i_sid                  = <l_fillfield>
       IMPORTING
         e_chavl                = l_chavl
        E_S_NODESID            =
       EXCEPTIONS
         no_value_for_sid       = 1
         x_message              = 2
         OTHERS                 = 3
      IF sy-subrc <> 0.
        l_attr = text-001.
        RAISE EXCEPTION TYPE cx_rscnv_exception
          EXPORTING
            attr1  = 'CL_RSCNV_USER_EXIT_SAMPLE'
            attr2  = 'EXIT-1'
            attr3  = l_attr
           ATTR4  = sy-subrc
      ENDIF.
      l_ZFIPLANT_chavl = l_chavl.
      CALL FUNCTION 'RRSI_VAL_SID_SINGLE_CONVERT'
        EXPORTING
          i_iobjnm                  = 'ZFIPLANT'
          i_chavl                   = l_ZFIPLANT_chavl
        I_S_COB_PRO               =
        I_CHECKFL                 = RS_C_FALSE
        I_WRITEFL                 = RRSI_C_WRITEFL-NO
        I_MASTERDATA_CREATE       = RS_C_TRUE
        I_RNSID                   =
        I_NEW_VALUES              = RS_C_FALSE
       IMPORTING
         e_sid                     = <l_newfield>
       EXCEPTIONS
         no_sid                    = 1
         chavl_not_allowed         = 2
         chavl_not_figure          = 3
         chavl_not_plausible       = 4
         x_message                 = 5
         interval_not_found        = 6
         foreign_lock              = 7
         inherited_error           = 8
         OTHERS                    = 9
      IF sy-subrc <> 0.
        l_attr = text-002.
        RAISE EXCEPTION TYPE cx_rscnv_exception
          EXPORTING
            attr1  = 'CL_RSCNV_USER_EXIT_SAMPLE'
            attr2  = 'EXIT-2'
            attr3  = l_attr
           ATTR4  = sy-subrc
      ENDIF.
    ENDMETHOD.

  • Change of Master Data after compounding addition

    Hi,
    I have changed one info object, changes are mentioned as below:
    Activated it as master data
    Added one compounding attribute
    This info object is already being used in various data targets in production environment which holds data.
    Now what shall be the steps in case we transport this change to the production environment.
    The only solution i can think right now is to delete the data from existing data targets and reload the data
    Could you please suggest if there is any alternate approach to it through which i need not to delete data.
    Regards,
    Rahul

    If you want to Add compounding to the existing MD -
    -Delete TD data where it is being used
    -Delete MD
    -Make sure all the SIDs has been deleted
    Add compounding to the MD and reactivate flow before and upwards(TR , DTP ..etc)
    Before transport .. perform all the above actions in target sys and do transport
    If you want to add new IOs as NAv to the existing MD
    -ADD - Activate - transport!!

  • How to make 0datefrom a compounding key to master data having single key ?

    Dear Experts,
    I am trying to add 0DateFrom to compound a master data object via RSD1.
    In the Compounding tab, i keyed in the 0DateFrom and tried to activate but system does not allow :
    Message :
    Characteristic ZCONxxx: InfoObject 0DATEFROM is not allowed in the compound
    Message no. R7596
    Diagnosis
    InfoObjects 0DATETO 'Valid to' and 0DATEFROM 'Valid from' are not allowed in the compound.
    System Response
    Characteristic ZCONxxx can not be activated.
    Procedure
    Define attributes or the texts for the characteristic as time-dependent. The fields 'Valid from' and 'Valid to' will then be automatically included in the master data tables or text tables.
    I then followed the advise on from the message and ticked the DateFrom attribute in the master data. This attribute is existing one. But the system says :
    Characteristic ZCONxxx: Attribute 0DATETO cannot be used w. time-dependent attribte
    Please advise. I must compound the master data with datefrom. How can it be done when BI disallows?
    Thanks in advance.
    regards
    Pascal
    Edited by: Pascal Gabin on Aug 15, 2011 10:47 AM

    Hi
    In SAP standard reminders are triggered based on requirement type 103 (dunning). Instandard it is assigned to output type MAHN. You can create a new requirement by modifying requirement 103 which considers confirmation entered in PO. Then it can be assigned to the reminder output type in output schema.
    Regards
    Antony

  • COMPOUNDING SOURCE SYSTEM ID WITH OUT DELETING MASTER DATA

    Hi,
       We have existing data from  r/3 system (for eg. D1) in BW. Now we have a requirement to get data from a new r/3 system (for eg D2). So we need to use 0COMP_CODE for two sources. We have COMP CODE C11 with different master data in D1 and D2. So we need to compound sourcesystem id to 0COMP_CODE. If we compound it now we need to delete comp code master data in production which means deleting data from 10 other cubes which are dependent on  0COMP_CODE. We can create a new infoobject ZCOMP_CODE for D2. But is it a good idea to create a new info object as we can't report on D1 and D2 if master data is different?. Is there any other way to reuse 0COMP_CODE for D1 and D2.

    Krishna,
    simple and well known solution... You might want to try if appropriate.
    Since you dont nwant to modify the COMP_CODE and Datasource D1, for data coming fom D2, add an identifier at the end..
    for example, if comp_code 1000 is coming in from D2, make is 1000D2.
    so that if 1000 already exsits in D1, then
    1000 means D1
    1000D2 means D2.
    You can modify the text for D1 data to indicate that it comes from D1.
    Kind of patchy solution, but may be appropriate given your situation.
    Good Luck
    Gova

  • Loading Master Data with compounding attributes

    Hello All,
    I have a characteristic, "Commission Code", compounded to "Product" and "Commission Code" is an attribute of the InfoProvider, "Sales Rep".
    Now, I'm not able to load data into the master data for "Sales Rep" from a flat file because as I get the same sales rep with two different commission codes I get an error caused by "duplicated keys":
    below an extract of the flat file which goes in error :
    SalesRep (key)     ///     CommissionCode     ///     Product
    1000                    ///       10%                      ///    ProdA
    1000                    ///        20%                      ///     ProdB
    how to load the master data in the proper way ? Where I'm wrong ?
    Thanks in advance.

    Hi ,
    Sales rep infoobject should be compounded by commision code. I think you will get the compound of commision code (product) as well in the compound.
    This will make the records unique and you would be able to load same sales rep with two different commision code.
    So your key then would be sales rep, commsion code and product together.
    Hope it helps,
    Regards,
    Sunmit.

  • Using Master Data attribute and compounded IO in Transformation

    Good day
    I have the following issue in a transformation.
    I want to u201CRead Master Datau201D from IO u2018ZSIDCONTRu2019 to display data for an attribute u201CContract Durationu201D (Key Figure).
    IO u2018ZSIDVEHCNu2019 is also compounded to master data IO u2018ZSIDCONTRu2019.
    The Source field of Rule = field u201CID_CONTACTu201D
    In my transformation my Rule Type = Read Master Data and the u201CFrom Attrib. ofu201D field = ZSIDCONTR and the IO Assignment is also = u2018ZSIDCONTRu2019.
    If I test this rule then the following error message is displayed:
    Characteristic ZSIDVEHCN compounded to ZSIDCONTR is missing in
    transformation source   
    How do I add the compounded characteristic ZSIDVEHCN to the transformation rule?
    Thanks in advance.
    Cj

    Hi,
    You should add the InfoObject ZSIDVEHCN to your target and define a mapping rule to fill it up from your datasource.
    Only when both objects are available in your mapping you will be able to perform a master data selection (since they are compounded).
    If this object is not available in your source, you should define a mapping rule to fill it up (constant? ...)
    Hope this helps.
    Best regards,
    Michel Hoefkens

  • Master data  deletion -  text with compounding

    HI All,
    I have " 0PYMT_METH" Info object which is having "0PYMT_METH_TEXT" Data source.  " 0PYMT_METH" Info object is having text and  0country with compounding attribute.
    - First , I did not load this master data , I loaded transactional data. so some values for key are loaded without text and country in master data.
    - Later i came to know we need text for paymnt method, then i loaded again master data. but i am not able to delete previous entries which have blank text.
    -i deleted data with SIDS and deleted all the transactional data , still i am getting that entries with blanks.Because of this in report output i am getting # value for the text.
    How to solve this? Is it because of compounding attribute ? If so can u please suggest regarding this ASAP?
    Thanks in advance,
    Jo

    Hi,
    Please check the data load for the text as you must be loading
    MAster Data CHAR , Country , LANGUAGE and TEXT as fields in your data source.
    As the Text can be over written so if the porper key fields are matched the text should be modifyed everytime.
    SO please check what combination you r  loading .
    ANyway if that is one time , and very less data you can manually maintain th text for master data .
      In order to delete teh data you use SE14 use the text table there to delete the data. PS : This is not recommended solution .

  • Master Data: Transformation and DTP for compounded characteristic

    Good day
    Please assist, I am not sure what is the correct way.
    I extract master data from a db via DB connect.
    There are three fields in the db view for extraction. (1) Code (2) Kind and (3) Code Text.
    What I have done is the following. I created a datasource with transformation and DTP for master data text for (1) and (3), and then a datasource master data attribute transformation and DTP for (1) and (3).
    Is this the correct way to handle extracts of compounded characteristics?
    Your assistance ill be appreciated.
    Thanks
    Cj

    Hello,
    if the char ' Code' is compounded with 'Kind'.
    then for text datasource u shld have  1, 2 and 3. the table for this datasource should have 'code' and 'kind' as keys.
    for the attribute datasource u shld have 1 ,2 followed by the reqd attributes of 'Code'.
    Reagrds,
    Dhanya

  • Loading master data compounded infoobject

    Hello experts
    I want to load master data into an InfoObject from a flat file, thus i want to define this infoobject as an infoprovider
    In order to do that i use the "Insert characteristic as InfoProvider" option from the InfoArea but i get a message :
    InfoObject PA_PAPRCT is not a basis characteristic; not used as data target
    This InfoObject has a superior InfoObject defined as superior InfoObject in the compounding tab, is that the problem ?
    Thanks for your help and happy new year
    Thibault

    Dear Thibault
    Yes, PA_PAPRCT is not the basic characteristic.
    Instead of this, use the superior object for this object.
    Than you can load the master data for all these objects.
    Hope now you will get the idea
    Regards
    Saravanan.ar

  • Loading master data for characteristic having compounded characteristic

    Hey guyzz
    I am getting an error when i am trying to load master data for a custom characterisrtic ZQUALGRP (Quality Group) which has a compounded characteristic 0PLANT.
    The data in the excel file used for loading looks like:
    Plant | Quality Group | Description
    1601 | BlendA | Willow Lake Underground | Blend A
    1610 | BlendA | Riola Complex - Riola Portal | Blend A
    1611 | BlendA Riola Complex - VG Portal | Blend A
    I have defined transformations for Master Data Text Load and all these three fields are mapped in the transformation. There are no attributes for this characteristic.
    I get the following error in the Data Transfer Process Monitor
    ZQUALGRP: Data Record 1 ('1601BlendA E'): Version '1601BlendA' is not valid.
    ZQUALGRP: Data Record 2 ('1610BlendA E'): Version '1610BlendA' is not valid.
    ZQUALGRP: Data Record 3 ('1611BlendA E'): Version '1611BlendA' is not valid.
    The transformation for some apparent reason is concatenating the plant and quality grp together.
    Can you please comment why i am getting this error.
    Please note I DELETED AND RECREATED DATA SOURCE AND TRANSFORMATION, STILL I GET THE SAME ERROR.
    Thanks,
    Ameya Kulkarni

    A change..
    The data in the file looks like this
    Plant | QGrp   | Description
    1601 | BlendA | Willow Lake Underground Blend A
    1610 | BlendA | Riola Complex - Riola Portal Blend A
    1611 | BlendA | Riola Complex - VG Portal Blend A

  • Error with regard to Compounding in Master Data

    Hi All,
    I am having a problem with a Master Data Info Object. I am actually adding a Compounding attribute to the Master Data Info Object. But when i am activating it is giving an error message "Concatenated values used in documents for master data". I am having no clue on this. Please help me put on this issue.
    I gaurantee full points to the answer(s) which help me resolve this.
    Thanks in advance,
    Sudeep.

    Hi,
    Kindly check if you have created any documents for the master data infoobject(ZDEPTID),or the compounding attribute(ZSETID).
    If so..first delete the documents.
    Activate the infoobject and then create the document once again.
    Assign points if this helps!
    Regards,
    Dhanya

  • Overwrite data of master data infoobject

    Hi all,
    We have one master data infoobject ZASRYHMA. This infoobject does not have any attrbiutes but it has two compounding fields ZSITE and 0DISTR_CHAN.
    Now customer has a requirement in which value of ZASRYHMA can change for a particular site and distribution channel. Generally if this value changes then system creates a new entry in tables /bic/pzasryhma and /bic/szasryhma.
    What they want is to overwrite the existing entry.
    Is it possible to achieve?  It's a master data infoobject.
    Please provide your kind help.
    Regards,
    Nilima Rodrigues

    Hi,
    You have three fields as key field in table as shown below along with values,
    ZASRYHMA     ZSITE         0DISTR_CHAN
    A-1                     B-1            C-1
    A-2                     B-2            C-2
    now if you want to change the value of say second row to
    A-3                    B-2             C-2
    right?
    This is not possible just by overwritting in the info-object master data. Because these are key-fields system will treat A-3 as new value and create new entry, on top of this your A-2 master data values must have been used in transactional data.
    Only way I can think of is to delete the transactional data where ever A-2 is used and then delete ZASRYHMA master data and then upload master data for ZASRYHMA with new values. And then transacional data.

  • How can you make a field "key" in transformation rules - master data maping

    Hello ,
    We are in the process of creating some custom master data datasources for HR module. In this we are trying to extract fields from particular infotypes. In my situation we are pulling fields from only one table PA0032.  From this table I am making a view where in I am selecting all the key fields from that table and including 2 other fields (Buliding name and room number). Now I create an ATTR master datasource with this view and check in RSA3 I see the data very good. All this is time dependent data like for Employee he might be in buliding AB room 32 first and then get moved to Buliding CD room 34. So we need to keep a history of the records. Now I replicate the DS in BW system, and create custom infoobjects for building and room no. I create an infoobject called Zworkaddress and dates I use 0VALIDTO and 0VALIDFROm. I make both the dates, bulding and room as attributes of ZWORKADDRESS. Now I map all the fields from datasource to the infoobject but field ZWORKADDRESS is on,y coming up as KEy field not the dates and subtype. Thats why I am getting only the last record not all the records of the emplyee work address. 
    We are using BI 7.0, so my question is how can I make the other fields as key's so that I can have all records.
    Thanks in advance.

    Kiran,
       If you make any one time dependant system will create Dateto and date from internally. we don't need to add those.
    1. for Employee, add Company Address as attribute. make this as Time Dependant. keep Subtype as Compounding key to your employer. then you will get Employee, Sub Type and Dates as key fields. you can have complete history of Employee Address change.
    Hope this helps.
    Nagesh Ganisetti.

Maybe you are looking for

  • BAPI to Clearing in F-44

    Hi Expert's! I am looking for  a BAPI to clearing a Vendor in F-44 transaction. This BAPI must  to do a compensation of expenses in Credit Card. Someone can Help me?

  • How to create file menu in the swing?

    How to create file menu or any menu in the swing? Please help me.

  • Target Mode not recognized

    I am trying to have my iMAc G5 use a older iMac G4 as a firewire drive. The G4 goes into target mode - seemingly fine - but the G5 does not recognize it. That is, it doe not appear in the desktop. If I open Disk Utility, it sees that it is there. Any

  • Organization data profile creation

    Dear experts, Please tell me the reason for choosing the package as "$tmp" while creating the Organization data profile.What does it say and what happens if its not taken as $tmp?

  • Cannot VSphere Console to UCS Express on SRE. MKS 902 Error

    I have a 910 SRE with UCS Express running on it. We recently imported it into the Corporate vCenter and I am getting a weird error everytime we try and Console to a VM on the SRE via the vSphere client. We get the same error when using the vSphere cl