Using a single master data infoobject for multiple fields

Hello experts. Today I ran un with the following problem: I am modelling an Infocube and will be receiving a flat file with several fields, of which 3 of them give information about sales representatives.
For each transaction there are 1-3 sales representatives involved, and this is reflected in the file I am going to be loading. If only one representative is involved, it means that he was in charge of a complete negotiation, and his code will be found in all three fields, if two representatives are involved, it means that one was in charge of one part of the negotiation, while the other was in charge of the rest, and according to what they were in charge, their code will appear in one or two of the fields. If three representatives are involved, each one's code will appear on the field corresponding to the part of the negotiation they were in charge of handling.
I already have the sales representative's codes as master data, but I was wondering how I can have those three fields map into the same InfoObject, if that is possible at all. Maybe in the transformation I map them to the same object? Also, what happens when you create the Data Source? As far as I know, each field in the Data Source must be unique, which makes it impossible to use my ZSALESREP InfoObject for the three fields, at least at Data Source level. What can I do in this case?

Hi  Pedro Olvera,
You need 3 infoobjects in datasouce to load 3 different fields.
If you want load to a single infoobject, you can map accordingly in transformation, bult last field overwrites previous one.
Its better to maintain 3 fields in cube. Create 2 more sales Reps(ZSALESREP1 & ZSALESREP2) with Reference to ZSALESREP then you no need to maintain master data for ZSALESREP1 & ZSALESREP2.
Use these 3 fields for modeling.
Hope it Helps
Srini
[Dont forget to close the call by assigning poings.... - Food for Points: Make a Difference through Community Contribution!|https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/007928c5-c4ef-2a10-d9a3-8109ae621a82]

Similar Messages

  • Track Master Data Changes for Multiple countries

    Hi experts,
    I am in a Global HR Implementation & Rollout Project. We are creating Outbound Interfaces for 3 countries to export pay, time and general data to the 3rd party systems in those local countries. (Payroll is outsourced there).
    As well as sending New Joiners data every month, we need to send Changers data also to all those 3rd partys every month before the Payroll runs.
    I know 2 solution for this :
    a). Using Change Documents - Tcode : SCDO ..etc
    b). Using the report RPUAUD00.
    c). Using RBDMIDOC.
    Query :
    1). Are these the only solutions ?
    2). Whats the best solution for doing this for a Global Rollout project ? I need to track master data change for different countries for different set of Infotypes and fields. I need to send those Changers data as well as the New Joiners data through the Outbound Interface to all the local countries.
    This year we are doing for 3 countires, next year for 9 more countries, etc. Whats the best solution keeping this in mind ?
    Restrictions :
    1). Our Client HRs dont want us to disturb the report RPUAUD00 as they use that regularlly and want the flexibility to configure the configs themselves.
    2). If I must need to create and activate Change Documents for ALL individual fields, is there an easy way of doing this ?
    3). I need to send this Changers data from SAP to Legacy system, so dont know if RBDMIDOC will be a good solution for this. Any comments ?
    Just want the best possible and feasible solution for this issue.
    I will be please to allot point to anyone who gives a good solution.
    Moreover will be Thankfull also !!
    Cheers.

    Please try with transaction code "PC00_M02_LINF0"
    Cheers
    Suresh.KK

  • HR ABAP : Track Master Data changes for multiple countries

    Hi experts,
    I am in a Global HR Implementation & Rollout Project. We are creating Outbound Interfaces for 3 countries to export pay, time and general data to the 3rd party systems in those local countries. (Payroll is outsourced there).
    As well as sending New Joiners data every month, we need to send Changers data also to all those 3rd partys every month before the Payroll runs.
    I know 2 solution for this :
    a). Using Change Documents - Tcode : SCDO ..etc
    b). Using the report RPUAUD00.
    c). Using RBDMIDOC.
    Query :
    1). Are these the only solutions ?
    2). Whats the best solution for doing this for a Global Rollout project ? I need to track master data change for different countries for different set of Infotypes and fields. I need to send those Changers data as well as the New Joiners data through the Outbound Interface to all the local countries.
    This year we are doing for 3 countires, next year for 9 more countries, etc. Whats the best solution keeping this in mind ?
    Restrictions :
    1). Our Client HRs dont want us to disturb the report RPUAUD00 as they use that regularlly and want the flexibility to configure the configs themselves.
    2). If I must need to create and activate Change Documents for ALL individual fields, is there an easy way of doing this ?
    3). I need to send this Changers data from SAP to Legacy system, so dont know if RBDMIDOC will be a good solution for this. Any comments ?
    Just want the best possible and feasible solution for this issue.
    I will be please to allot point to anyone who gives a good solution.
    Moreover will be Thankfull also !!
    Cheers.

    I have used PU12 for same purpose at a similar client. It will fulfill all your needs I guess, but the learning curve is big. Search for "Interface Toolbox" or "PU12". Basically your search will end-up in these two links:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYSOME_INTERFACE.pdf
    HR Interface Toolbox - PU12

  • Using a single HeaderHandler of JaxWS for multiple services

    Hi,
    In our application,we are using 3 different services.The authentication credentials are different for each one of them.So,we have created 3 different Headerhandlers for each one of them.
    I wish to know if it is possible to have a single HeaderHandler for all 3 services.Please let me know if we can set the username/password in Headerhandler at runtime.
    I am not able to pass the parameters in handleMessage(SOAPMessageContext smc).
    Please suggest.

    Hi Phillip,
    both scenarios will work. One CSS can certainly manage more than 3 services! You can even use just one VIP for all traffic, then just create the proper rules to send specific traffic to the corresponding service(s). No need for 3 VIPs.
    Regards
    -juerg

  • Request deletion from Manage-Master data infoobjects

    Hi All,
    I have a master data infoobject, for which i have created a process chain for deleting the data. I am deleting the P and S table in a program.
    When i run this chain data is getting deleted from the tables, but i see the request (green/red/yellow) in the manage section of the infoobject. I want to delete those entries as well from the manage section.
    Any inputs ?
    Regards,
    Sandeep

    Hi,
    to delete those entries you will have to delete the entries from standard SAP tables...all the tables begining with RSREQ stores the information about the requests...but you may not have authorization for that...
    did you tried RSDMD_DEL_BACKGROUND or RSDMD_DEL_MASTER_DATA_TEXTS function modules....you can use in the program and use at as a ABAP variant in the process chain.
    Thanks
    Ajeet

  • Data not uploading in Time dependent Master data Infoobject

    Hello All,
    I have a master data infoobject for HR entity and have to load data from PSA to that info object.
    The HR entity infoobject already have sone data like below:
    HR Entity
    Version
    Date from
    Date To
    x
    A
    01.07.2013
    31.12.9999
    x
    A
    19.04.2013
    30.06.2013
    x
    A
    01.09.2012
    18.04.2013
    x
    A
    01.01.2012
    31.08.2012
    x
    A
    01.01.1000
    31.12.2011
    Now the data in PSA is as follows:
    HR Entity
    Start Date
    End Date
    X
    01.01.2012
    18.12.2013
    Once I loaded this data to the infoobject, i can not see this value which is the latest value of this HR entity.
    Can somebody please explain how the data gets loaded in the time dependent master data infoobject and why this entry is not getting loaded in the info object.
    Regards
    RK

    Hi,
    did you activate master data after your load?
    You can check also version 'M' records and see if your record is there.
    The load went green?
    The problem is, that your entry overlaps all exisitng time intervals, which can't be deleted or merged as there may be dependent transactional data. You have first to delete the transactional data for this entity.
    Then you can delete the time-dependent data and reoload it from your PSA.
    BW will build then correct time intervals.
    The easiest is to change the time interval in PSA, see example below:
    At the moment the time interval is not accepted. But you can add time intervalls before 31.12.2011 and after 01.07.2013, Then system will create remaiing time intervals, e.g. your new record is:
    HR Entity
    Start Date
    End Date
    X
    01.08.2013
    18.12.2013
    Result will be:
    HR Entity
    Version
    Date from
    Date To
    x
    A
    19.12.2013
    31.12.9999
    x
    A
    01.08.2013
    18.12.2013
    x
    A
    01.07.2013
    31.07.2013
    Regards, Jürgen

  • Insert new Master Data Record for an InfoObject using a Function Module

    Hi @ all,
    is there any Function Module for creating a new master data record for an InfoObject? Implementing a FM for inserting a master data record into a master data table is done quickly. I think there will be problems with inconsistency implementing a FM using a simple "Insert" Statement. Isn´t it?
    I know it is possible to maintain an InfoObject in RSA1 (Master data IO> right click>Maintain Master data>execute(F8)> ...) but I have another requirement for using a FM.
    Thanks!
    Regards,
    Johannes

    use this
    RSNDI_MD_ATTRIBUTES_UPDATE

  • Adjusting the SID table for master data infoobject

    Hai
    Im trying to activate one master data infoobject. But it says the error like below
    <b>The SID Table /BI0/SBBP_DELREF must be converted incompatibly with an activation of characteristic 0BBP_DELREF (changes to the key in the table). Table /BI0/SBBP_DELREF contains data. Parts of this data were lost in the conversion</b>.
    or
    <b>Undo the changes that led to the incompatible conversion (the changes in the key) or delete all data from table /BI0/SBBP_DELREF.</b>
    So how can i adjust the SID table for this .
    pls tell me
    kumar

    Hi,
    you'll have to delete ALL the master data for this IObj. Therfore you'll have to
    delete all data in ALL the IObjs using 0BBP_DELREF (ODS, CUbes and characteristics).
    Then activate your IObj. You will go through some step which I explained in the
    following thread
    Re: Urgent...Company Code lenght has been changed
    Extract:
    1. Delete 0COMP_CODE master data.
    - get objects list using 0COMP_CODE with loaded data: I suggest to delete
    master data via AWB (right click the characteristic). If it can't be deleted because
    it is used display the deletion log (via AWB or tx SLG1 / RSDMD, MD_DEL).
    - delete loaded data for the list above.
    This should not be too much since you are in DEV.
    2. change 0COMP_CODE length
    - change the length to 4;
    *- Activate your IObj. You'll get a popup log, validate. Activate despite warning and
    errors. You will get An error message, validate.
    You should get an horizontal pane with the activation log. Read it for your personal culture but if you don't have time then don't...
    - Next the system will prompt to convert the tables: answer YES. The system will ask to schedule the table conv. in the background, go4it.
    - next is the SE14 screen for the P table: Hit Activate and adjust (Direct
    execution, or in the back as you wish). Answer yes to the mass processing
    question and yes (again) for request adjust online. Your table should be converted successfully.
    - go back twice from this screen (leaving SE14 tx and return to RSD1). reread the update log if you wish.
    - repeat from the *- above... it will perform the very same for all other P tables of IObj using 0COMP_CODE and the 0COMP_CODE S table.
    Your IObj is reactivated again. So should your ODS/DSO objects (check activate for example). Cube didn't need to convert tables since the MDID is note posted in any table of a cube.
    Please note that once your IObj is in revised version you can perform the same via the menu extras / database table / convert all (see my previous post).
    Now you have to evaluate the task. Of course that is a work to fix the mistake.
    Depending on when it has be changed it may be worth to restore your DEV sys with a backup (loose work performed from the backup until now).
    hope this helps... otherwise, revert.
    Olivier.

  • Simple basic question on attribute data load for Master Data InfoObject....

    Hi
    I am a bit confused & wanted to have some clarification on the following:
    1) For loading Attributes data to Master Data InfoObject, we load it through Data Source of Type Master Data Attribute.
    But what i did, i created Data Source of type Transaction data and using the same Excel file, i was able to create transformation with Matser data Attribute and was able to load the data.
    This shows i can use Data source of type either master data attribute OR Transaction Data doen't matter while loading into master data attribute. IS THIS TRUE?
    2) I have 2 master data infoobjects (Test1 & Test2). I made Test2 as an attribute in Test1.
    My question is while loading Master data for Test1, will it also load the data into Test2 if it doen't find respective data in Test2?
    (i did all the transformation as per need.)
    Waiting for your reply....
    Thanks...

    HI Harpal,
    1. Did you make a transformation between attribute data source from source system other than flat file and DSO?...
    I think PC File is flexible in this aspect..
    2.While loading Test1 the infoobject Test2 will get loaded only if it is a navigational ttribute..(You can see this by refering the SID Table)
    Please also note that it does not load Test2 attributes.
    regards,
    Rakesh.

  • Error - InfoObject cannot be used to read master data

    Hi All,
    We am working on mapping objects in a transformation, on some of the transformation I am using the master data attribute to fill the infoobject.  In some cases the mapping happens without incident but in others we are getting the following error
    InfoObject  cannot be used to read master data
    Inside the long text of the message it says:
    InfoObject  does not have the correct attributes to be used to read master data for the target field
    The object is one of the master data attributes, so we are not sure why we are recieving this error?
    We have recieved it with 0COMP_CODE trying to load Fiscal Year Variant and with a non standard enhanced object ZMATERIAL which is a copy of 0MATERIAL with added attributes for Product Class, Product Group and Product Line wich come from the product hierarchy and are populated on the load of the material from product hierarchy.
    Has anyone else had an issue with this error and can you tell us how you fixed it???
    Thank you!
    Caroline

    You received this error for loading 0FISCVARNT (Fiscal Year Variant) because that InfoObject isn't an attribute of 0COMP_CODE (Company Code) and it cannot therefore determine what data to populate based on your input. Instead of using 0COMP_CODE, you may have to enter a constant value for the Fiscal Year Variant if you don't have it in your source InfoProvider.
    When you created ZMATERIAL, did you use 0MATERIAL as a reference so that it would inherit the attributes and texts? If so, Product Class, Product Group and Product Line would have to be attributes of 0MATERIAL. If you didn't reference 0MATERIAL and are loading attributes directly to the custom InfoObject attributes, then Product Class, Product Group and Product Line would have to be attributes in ZMATERIAL in order to use the Use Master Data function for transformations. You may have to derive the values for these different, such as add ABAP for lookup routines.

  • Load Master Data InfoObject using Query as Datasource

    I there a way to use a BW Query as a Datasource to load a Master Data InfoObject.  I have a query that calculates DSO for a customer and would like to update a custom DSO attribute in 0Customer

    As Bhanu mentions, Analysis Process Designer would be an option.  I did not use it before 3.5, but I know it did not have all the capabilities it has with 3.5.
    I don't think there is any need for transactional ODSs in the process however. You can specify your query as the DataSource, specify any filtering / transformations needed, and then specify the InfoObject that is the data target.  I haven't used a query to create Master Data with it but I do use it to take Master Data as input, manipulate it, and then update that Master Data.
    The APD is covered in BW380 along with Data Mining - which is a good class if anyone is interested.
    Is it easy enough for someone to pickup without training on it? I don't know - I think it would be for someone that has experience with the BW Admin Wkbench and has time to experiment. I think the related Data Mining features would require training.
    APD has a lot of powerful capabilities that could be used to solve a variety of challenges not readily solved with the Admin Wkbench tools.  I'm not sure why SAP hasn't done more to promote it.

  • Master data Load for Substance Creation :  Using BAPI in LSMW  ?

    Hi ,
    Had any one did a Master data load for creating a Substance in SAP RM. If so please let me know the best possible option. I am beeing trying to figure out the option to load Substances and its IDENTIFIER / MATERIAL ASSINGMNET from my legacy system. But I am not geeting a clue to use LSMW. ( Direct or BatchInput )
    I am not seeing any BAPI for uploading it through the LSMW except the one BUS1077 ( method SAVEREPMUL ) and I guess this is used along with IDOC.
    Appreciate your help and suggestion.
    David

    Thanks John.
    I will try this option what you have suggested. Even I told by business team to look for CG33. But they were been telling me some format issue. Probably they would meant the same what you have said. But they were not aware of work around for this. your information is intresting.
    The other option given to me was to create a recording for each and every Tab like Substance header / Identifier / Material assignment etc. seperately. Technically I don't feel good to create in that way. Do you think that is alernate approach.?
    With Respect & Regards
    David

  • Master Data is in Revised Version while transporting a request to add an attribute in existing master data infoobject

    Hi Experts,
    I am facing short dump when trying to send a request to add an attribute in Master Data Infoobject from DEV to QA.
    Although the attribute is getting added to main Master data Info object but main master Info object is in Revised Version.
    I have been searching the solution in SCN from couple of days and tried every single solution but none of them works for us.
    When I check in se09 I am getting the following message
    Program terminated (job: RDDEXECL, no.: 09445401)
       Execution of programs after import (XPRA)
    End date and time : 20150420094559
    Ended with return code: ===> 12 <===
    When checking in ST22 IN QA I am getting the following message
    The exception 'CX_RS_PROGRAM_ERROR' was raised, but it was not caught anywhere
      along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_RSDD_DS====================CP' has to be
    terminated.
    When I checked in ST22 in QA I am getting following dump
       31         RAISE EXCEPTION TYPE cx_rs_program_error
       32           EXPORTING
       33             text = 'Invalid DSO subtype'.                   "#EC NOTEXT
       34     ENDCASE.
       35
       36 *   get table name from DDIC
       37     CALL METHOD cl_rsd_odso=>get_tablnm
       38       EXPORTING
       39         i_odsobject = n_infoprov
       40         i_tabt      = l_tab
       41       IMPORTING
       42         e_tablnm    = l_tablnm
       43       EXCEPTIONS
       44         OTHERS      = 1.
       45
       46     IF sy-subrc <> 0.
       47       RAISE EXCEPTION TYPE cx_rs_program_error
       48         EXPORTING
       49           text = 'Error in CL_RSD_ODSO=>get_Tablnm'. "#EC NOTEXT
       50     ENDIF.
       51
       52     CALL FUNCTION 'DDIF_NAMETAB_GET'
       53       EXPORTING
       54         tabname   = l_tablnm
       55       TABLES
       56         dfies_tab = l_t_comp
       57       EXCEPTIONS
       58         not_found = 1
       59         OTHERS    = 2.
       60     IF sy-subrc <> 0.
    >>>>> RAISE EXCEPTION TYPE cx_rs_program_error
       62         EXPORTING
       63           text = 'Error in DDIF_NAMETAB_GET'.        "#EC NOTEXT
       64     ENDIF.
    I have attached the short dump
    Thanks In Advance
    Rashid

    Hi Tom
    Thanks for your reply.
    I am not sure what do you mean by Manually activated in Dev or QA . If you mean Dev then i did and also maintain the infoobject related tables using transaction SE14 but still same error.
    But if you mean in QA then QA is lock for manual activation but i tried though program RSDG_IOBJ_ACTIVATE but again failed. I also maintain the infoobject related tables using transaction SE14 but still same error.
    Regards
    Rashid

  • Attr Change Run Master Data Infoobject PChain

    In the master data process chain process type Attribute Change Run which is usually at the end of the chain updates the changes in the master data infoobjects.
    The Chain is usually designed with full infopacks and say if it is scheduled every night , isn't it loading the master data again ( duplicating ) and again even though considering the process type Attribute Change Run at the end.
    Is it like just the attribute change run is executed for updates ?If thats the case why do we need a process chain for Masterdata...if its only one time full ..that can be done manually right?
    Am I missing something here ...?

    If you look at the detail in the Monitor for a Master Data load, it will tell you how many recordssent from R/3 and how many records were updated and inserted.
    As far as static master data that deos not regularly have new records or changes - you're right you don't need to load those objects daily, they could be loaded perhaps monthly.
    You might consider balancing how fancy you try to get with breaking up master data into different groups, loading some daily, and other sweekly, others monthly, etc.  In our case we use to have a fairly elaborate master data load schedule, loading someobjects 1st Tuesday of the month, others 2nd, Tues, others 3rd etc, and then we had weekly loads and dailys.  When I began to review the run times involved, it was apparent that the various monthly loads, in total, ran less than 10 minutes, so I just consolidated the 4 differently monthly maser data loads and the weekly loads all into a single process chain.  While much of the this master data doesn't change much, it was much easier to just schdule mastr data either daily or weekly, rather than getting too elaborate.
    Now if run time of master data loads or change runs sarts to become an issue, then you might have to adopt a more elaborate schedule. It really depends on your environment.

  • 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.

Maybe you are looking for