Master data update picks only new records

Hi Experts,
We are using 0CRM_OPPT_H to update 0CRM_OPGUID master data infoobjecct. The issue is it is not updating custom fileds if there is a change.  But works only if there is a new Opportunity.
Does anyone know why it happens and how to fix it??
Thanks,
DV

Normally custom fields that you have added to SAP does not trigger a delta when they are changed. It is because they are not part of the comparison of before and after image that triggers the delta. Don´t know how you can correct this unless you make a generic extractor for this field and have a date/time field to mange the delta. Alternative is often full load,
Hope it helps

Similar Messages

  • Master data update bringing in multiple records for single entry

    Hello,
    I found that if I deleted and reloaded data in a master data object, it was showing me correct number of records. However, just a full update was not overwriting it with correct number of data records. there were always 1 or 2 extra blank records. I thought master data update should overwrite previous records and we need not delete and reload it.
    Why would this happen?
    Thanks!

    Hi there,
    Are you refering to time dependent master data? From to values are present?
    If so, that's the correct situation, since BW (OLAP) instead of R/3 (OLTP) allows you to mantain historical data, i.e., a material can be valid from a specific time period with several attributes and other attributes can be valid for the same material in another time space.
    Diogo.

  • Sql query to Load only new records,or update old records

    Hi,
    I need a query (not stored procedure) to insert only new records otherwise update existing records.
    I tried by creating "Merge statement in SQl", but the sql query is wrong,it is not updating,always inserting records(replicating..1,2,4,8,16,32..).
    below is my sample query,
    Here "FACT_mytbl -FCT" is my fact table.(which need to update if already records found ,otherwise insert as new records).
    *Inside select ---the table   E_tbl1,E_tbl2  is the business logic table ,using this two table only ,"FACT_mytbl" was created  .So the "S" alias will be the source
    table and "FCT" will be target table. based on this we have to insert or update records.   
      ---Query starts-------------------------------------                    
     MERGE INTO [FACT_mytbl]  FCT
     USING  (
           SELECT 
           FCT1.ID
          ,FCT1.PKcol1
          ,FCT1.FKcol1
          ,FCT1.col1
          ,FCT1.col2
         , FCT1.col3     
       FROM  [FACT_mytbl] FCT1 WITH(NOLOCK)        
       LEFT JOIN dbo.E_tbl1 CT WITH(NOLOCK)
    ON CT.PKcol1=FCT1.PKcol1
       LEFT JOIN dbo.E_tbl2 CT1 WITH(NOLOCK)
    ON CT1.PKcol1=FCT1.PKcol1
       ) S  
       ON FCT.PKcol1 = S.PKcol1 
     WHEN MATCHED AND (FCT.PKcol1 ! = S.PKcol1 ) THEN
     UPDATE SET       
           FCT.col1
          ,FCT.col2
          ,FCT.col3     
     WHEN NOT MATCHED THEN 
     INSERT VALUES
           S.ID
          ,S.PKcol1
          ,S.FKcol1
          ,S.col1
          ,S.col2
         , S.col3     
    --query ends----------------
    any suggestions,
    Thanks,
    R.B

    Hi Bhupesh_Rajasekaran,
    According to your description, if you want to insert only new records which does not exist in destination and update existing records which does exist in destination. We usually accomplish these in two statement.
    1.A join statement to update records.
    2.A insert statement for new records.
    Also we can use MERGE in SQL Server to insert, update at the same time. You specify a "Source" record set and a "Target" table, and the join between the two. You then specify the type of data modification that is to occur when the records between the two
    data are matched or are not matched. For more information, there is an similar example about merge in SQL Server, you can review the following article.
    http://www.codeproject.com/Tips/590085/Merge-in-SQL-Server
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Master Data Update Report

    Hi All
    Can you please provide me a solution for the below scenario:
    At the time of master data update from BW to BPC client wants to see the updated master data reports in excel file.
    Exmp:
    Existing number of Master data (IDs) before BW update : 1000
    Today : I updated the master data into bpc from BW:10
    Now they want to generate a report for only updated recoreds that is "10" and along with this they want to see is there any changes (property values) happen with the existing master data as well and this activity should be included in the package link of master data update and a Email noticafication should be triggered to the concerned person.
    Please help me
    Regards
    Srikant

    Hi Srikant,
    I have attached the screenshots of above table.
    hope this will help,
    thanks,
    Rishi

  • How can I upload text master data for attribute-only Charactertic?

    I can't create infosource for attribute-only Charactertic via direct update from Infoobject, because attribute-only Charactertics you can't choose from available infoobject.
    How can I upload text master data for attribute-only Charactertic?
    Thanks!

    Hi roberto,
    I soloved the problem. I can input the attribute-only char directly in the text box instead of choosing from list of infoobjects, but I still can't find the char in infoobject selection dialog even using search.

  • Customer master data updation from one system to another system

    HI  Experts,
    I have an issue with customer master data updation from one system to another system. And here only one field is not updating properly from one system to another system. and we found this is through idoc , but we don't find field in any segment.
    and the field is called ADDR1_DATA-HOME_CITY.
    and this will displayed as different city in address column.
    but as per the notes given in help , it is by program , form through only passing. but not able to trace and as per my analysis ADRC table , ADRNR  had this field HOME CITY.
    And this is for some customers updating wrong one from one system to another system , and for some customers field itself not updating in address column.
    please can you suggest any one. here are screenshot for your reference.

    that is not enough, it was enough in times before 40b release, but this was in the  last century
    Please read OSS note 384462 - Master data and addresses
    it explains what you have to do for ALE

  • Generic master data update

    hi all,
    i have created a generic data source on Z table in r/3, replicate in BW and generic data source is available in BW. i have created a infosource and want to do flexible upload into 0Material data target which is assign under Cross applicant component( flexible master data update. i can not see the infoprovider under this application component in BWD system. 0material infoprovider is availble in BWQ and BWS system. i think some one remove this characteristics as a data target. i look into business content under cross application Master data flexible update , but can not find 0 material as a data target. please some one advise me how i can go after this.
    Thank you
    Qandeel

    hi Martin,
    Thank you for your quick response. i look into RSD1 infosource with direct update check box is enable, but its not enable for the" Character is data target/infoprovider.
    i look into BWQ system 0material is enable for direct update and also a character is data target/ infoprovider. what i need to do to change the setting for 0 material and to enable this a infoprovider/ data target. some how settings get change in BWD system and its not available as a data target. please advise
    Thank you
    Qandeel

  • Is there FM that enables master data update?

    Hello
    Is there FM that allows master data update? I would llike to modify text of infoobject without data load or .
    I know its possible to make a fake update but I dont wish to do so

    HI
    Check this document :
    'How to... update Master Data during upload of transaction data', there is sample code
    https://websmp202.sap-ag.de/~sapdownload/011000358700002766042003E/HowToUplMasterDataTransact.pdf
    you may need RSDDS_ATTRIBUTES_ACTIVATE to activate data.
    Function modules for Master Data
    Regards
    Chandra Sekhar T

  • Master data updation not reflected in Bex report

    Hi,
    There is a field "Approver" in a report. It will only show the name of the Approver. And recently the same approver name has been changed in MDM system and now the problem is newly changed name is not reflecting the reporting. It shows the only old name in reporting.
    My doubt is, what about already loaded record in BW system. Whether changes will be made for the older data. I mean it is possible to overwrite the approver name stored earlier in BW.
    D Raj

    Hi
    Yes, master is always overwritten.
    load the new value to the  approver Info object.
    in RSA1 -> right click --> activate master data.
    Initially when data loaded, records will be Modified version. when you perform activate master data then M versions records will turn to A version.
    records with A version are only visible in Report.
    If your report is on Aggregates, then you have to perform ACR (attribute change run) to update the same new value in aggregate.
    you can use the program RSDDS_AGGREGATES_MAINTAIN.
    Regards,
    Venkatesh

  • Master Data Update to Infoobject

    I have a master data 0RECONTRACT NOW if I can load this infoobject from master data source 0recontract_attr. but if i include this infoobject in the cube to be used in the report to restrict my report by contract type. What should i do in the transactional data that is coming from transactional datasource to cube. Please tell exact steps what to do in transformation or update rule when i see
    this new added infoobject 0RECONTRACT  . should i set that to "initial value" or what do i have select. since i can load this infoobject as master data and use that in report so i do not have to enhance to include this in transactional data.
    please help
    soniya

    Hi Soniya,
    It depends upon your requirememt.
    Since you want to restrict the values of the cube which are going into the report then you should include this object into the cube.
    In any case if you want to restrict the value of the transactional data in the cube with either the value of the objects ot the attributes of object you will have to add this object  into the cube.
    As you said you can load master data and use in report but how you are going to use it..............you will have to include it in the cube to use it.
    Also you can check whether this object is attribute of some other object already in the cube in that case you can make it navigation attribute and then use it for the restrictions in the cube.
    In this case only you do need to add it to the cube,But if it not an attribute of any object then you must add it to the cube.
    Thanks
    If helpful then PP.

  • Updating field when new records saved.

    Hi,
    I was wondering if there are any suggestions on updating a picklist field when a new record is saved (as field updates only work for modified records).
    We recently created a custom Probability % field that is tied to both the Sales Stage and another custom picklist field called "Business Type" (has two options - New or Existing). The Probability % field is updated based on a simple workflow that says if Sales Stage = x and Business Type = y, then Probability % = z.
    For example, if the Sales Stage is = to "Validation" and the Business Type is = to "New", the Prob. % will be 5. If the Sales Stage is = to "Validation" and the Business Type is = to "Existing", the Prob. % will be 10... (just so you get the idea).
    Since the workflow is tied to modified records, the new records keep missing the Probability % field.
    Any suggestions on how we can get those newly created records have an updated Prob. % field would be helpful.
    Thanks in advance!

    Thanks for the response, Min.
    1) I've thought about the post default value, but the problem we encounter is that the user might not create an Opportunity in the very first sales stage- is there a way to place a default in the Prob. % field depending on the sales stage the record is created with?
    2) I thought fields could only be updated when modified records saved - it isn't an option with the "new record is saved". Is there a workaround? I'm still quite new at this, so any help on how I can create a workaround would be great!
    Thanks again.

  • Master data updated or not

    Hi.. If there are millions of records then how do we verify if master data is completel loaded or not ? Is there any mechanism to do so ?

    Hi,
    Corss checking number of records in R/3 and BW is one way to achieve .
    There is a mechanism in the info package -> Update tab page -> Make sure that radio button always udpate transaction data even if no master data exists is checked. This will make sure that all data has been loaded correctly.
    Hope that helps.
    Regards
    Mr Kapadia

  • Master data update and navigational attrivute

    Hi.
    There is master data which is having some 10 attributes.All of them marked as a Navigational Attribute.But all the attributes are coming from R/3 and only last attribute(X) is not coming from R/3.This X is maintained in flat file.My questions are
    1.After uploading all the remaing attributes from R/3 can we update the X through Flat file by creating sperate Infopackage and un mapping remaing objects.
    2.Here there is no Hierachy.All the attributes are marked as a navigational attributes.So, Is there any question of drilling down on a particualar Attribute like organizational Unit,or Station or plant.
    When we said all as navigational attributes we can make all the drill down and drill across operations on all of them corrrect??
    It is very Urgent.

    hi Vasu,
    say you have master data infoobject ziobjmst, you can try
    - make ziobjmst 'as infoprovider', rsa1->infoprovider->insert characteristic as infoprovider
    - create infosource with flexible update, e.g zisX put infoobject ziobjmst and X in transfer structure, assign with flat file datasource.
    - create update rules for ziobjmst from rsa1->infoprovider, assign with infosource zisX, assign ziobjmst with ziobjmst and X with X, let other infoobjects as 'no update'.
    - create infopackage and upload data.
    another way as mentioned by Vikash with look up from table A (e.g infoobject is A), you can create start routine in transfer rules and put code
    data : it_A like /bic/pA occurs 0 with header line.
    p is attribute table
    select * from /bic/pA into table it_A.
    then create routine for X in transfer rules, code
    result = ''.
    read table it_A with key /bic/A = tran_structure-/bic/A binary search.
    if sy-subrc = 0.
    result = it_A-/bic/X.
    endif.
    hope this helps.

  • Production orders: Master data updating

    Hi everyone,
    This is my scenario:
    I had created hundreds of production orders with a previously defined BOM and routing. Now both the BOM and the Routing have been modified.
    I was wondering if there's any way for updating the master data in all the former production orders without doing it explicitely accessing one by one.
    Points will be rewarded.
    Thanks and best regards.
    Ben.

    Dear ,
    I hope you can do it by Mass processing of  Production .
      Logistics ---Production -- Production Control  Control --- COHV Mass Processing to go to the Mass Processing Production Orders screen
    Transaction Code :
    COHVOMPP
    Here u have to capacity and availability check for all the orders.Now u can include the function in the Mass processing tabe page in COHVOMPP ok  and also set the error log.Once u have executed a list of PO will be displaed and u have select all of them and hit the mass procesing button.
    2.In case your order beyond the shop fllor ,u can do it through Order Change Management 
    3.Or U can perform Read PP Master Data in the CO02 --Function tab  which will ask u to include your BOM/Routing.
    Hope it will help u to clear ur idea.
    Reward point if useful
    Regards
    Jia

  • Master data update

    Hi Experts,
    we have a process chain in which there is an abap program which updates data to master data for that info object, to which also there is a compounding attribute, which also gets filled thru abap prog.
    Data is coming to P table of the master data, but it is not shown in the Maintain master data
    In the process chain we have used attribute change run after the master data load thru abap prog and ran but still it is the same
    Please give your suggestion how to handle this.
    Regards
    Sudha

    Hi,
    you should consider using those FM/BAPI. This ensures correct handling of data. Try to make a trace while maintaining masterdata and you will see what tables will be updated.

Maybe you are looking for

  • Where can I find a Havok tutorial?

    I want to write a virtual assembly program. I think maybe Havok is useful for me. But I can't find a tutorial. Where can I find a Havok tutorial? And where can I download the Havok xtra?

  • Ipod suffle 3g recognized by iTunes but doesn't start! (water damage)

    My ipod shuffle 3G has a water damage. it shows the red/pink indicator. It doesn't starts but it connects to iTunes. I can move songs to my iPod shuffle and other stuffs. But it doesn't start. I have opened my iPod shuffle. It had green sedimentation

  • Contacts put all my contacts in one

    How come all my contacts all showing up when I just check Contacts. All of the emails show up too.

  • Possible fix for some dlink routers with wifi issues

    I found something online that stated that if you turn off a feature  called WMM that it can help or fix some wifi issues, and on my dlink  dir-268 it seems to be working. Now without this feature turned off I  could connect to my wifi but not much el

  • After installing Mountain Lion, my iMac gets VERY hot!

    I installed Mountain Lion yesterday onto my mid-2010 21.5" iMac.  Today, while running it normally, it got so very hot that I couldn't even touch the aluminum back.  The heat could be felt through the glass on the screen. The fans could be heard, but