Master data tables with unwanted records from transaction data upload

Hi Friends,
  I have a master data table for infoobject 'C' with compounding characteristics 'A' & 'B'.  I upload this master data with values given below:
    <i><u> A,              B,              C,           Short text,                        Long text</u></i>
       <b>  <b>P,          10,           BBB,         Apple,                              Big Apples
         Q,             20 ,           XYZ  ,       Tomatoes    ,                    Red Tomatoes</b></b>
  When I load data into ODS from a source system, I may not necessarily have data for all these 3 fields in these transaction record.  Example:
  <i><u>     A,                B,             C,             D,            E</u></i>    
     <b> P                -1            FFF</b>          20           30            
     <b> Q                10           GGG        </b> 10           40
   The problem is when I upload the above transaction data, it populates the <b>master data table</b> too with these two new records <b>1 -1 FFF</b> and  <b>2 10 GGG</b>, which I would like to avoid.
   Is there any way?
   Will assign full points to anyone who helps me here.
   Thanks,
   JB

Hi JB,
If you want to load transactional data and still want to prevent the population of the master data table, I don't think it is possible, as it is goes aginst the data consistency in the warehouse.
However, if you can afford not to load transactional data for such cases, you can activate referential integrity check for the infoobject C. Then neither transactional data nor masterdata enter the datawarehouse until you maintain masterdata yourself for the infoobject C.
hope this helps.

Similar Messages

  • Select max date from a table with multiple records

    I need help writing an SQL to select max date from a table with multiple records.
    Here's the scenario. There are multiple SA_IDs repeated with various EFFDT (dates). I want to retrieve the most recent effective date so that the SA_ID is unique. Looks simple, but I can't figure this out. Please help.
    SA_ID CHAR_TYPE_CD EFFDT CHAR_VAL
    0000651005 BASE 15-AUG-07 YES
    0000651005 BASE 13-NOV-09 NO
    0010973671 BASE 20-MAR-08 YES
    0010973671 BASE 18-JUN-10 NO

    Hi,
    Welcome to the forum!
    Whenever you have a question, post a little sample data in a form that people can use to re-create the problem and test their ideas.
    For example:
    CREATE TABLE     table_x
    (     sa_id          NUMBER (10)
    ,     char_type     VARCHAR2 (10)
    ,     effdt          DATE
    ,     char_val     VARCHAR2 (10)
    INSERT INTO table_x (sa_id,  char_type, effdt,                          char_val)
         VALUES     (0000651005, 'BASE',    TO_DATE ('15-AUG-2007', 'DD-MON-YYYY'), 'YES');
    INSERT INTO table_x (sa_id,  char_type, effdt,                          char_val)
         VALUES     (0000651005, 'BASE',    TO_DATE ('13-NOV-2009', 'DD-MON-YYYY'), 'NO');
    INSERT INTO table_x (sa_id,  char_type, effdt,                          char_val)
         VALUES     (0010973671, 'BASE',    TO_DATE ('20-MAR-2008', 'DD-MON-YYYY'), 'YES');
    INSERT INTO table_x (sa_id,  char_type, effdt,                          char_val)
         VALUES     (0010973671, 'BASE',    TO_DATE ('18-JUN-2010', 'DD-MON-YYYY'), 'NO');
    COMMIT;Also, post the results that you want from that data. I'm not certain, but I think you want these results:
    `    SA_ID LAST_EFFD
        651005 13-NOV-09
      10973671 18-JUN-10That is, the latest effdt for each distinct sa_id.
    Here's how to get those results:
    SELECT    sa_id
    ,         MAX (effdt)    AS last_effdt
    FROM      table_x
    GROUP BY  sa_id
    ;

  • Help with listing records from two tables

    Hi: I have two tables joined by the first field. The field is primary key in first table. Need help listing records from both tables with each record one line/record.
    create table EVENTS (
    event_key varchar2(64) primary key,
    event_description varchar2(64),
    create_time int
    create table EVENT_UPDATES (
    event_key varchar2(64) NOT NULL ,
    update_description varchar2(64),
    update_time int
    insert into EVENTS values('Event1', 'This is event1', 1);
    insert into EVENT_UPDATES values('Event1', 'Ticket created', 3);
    insert into EVENT_UPDATES values('Event1', 'Event cleared', 10);
    insert into EVENTS values('Event2', 'This is event2', 4);
    insert into EVENT_UPDATES values('Event2', 'Ticket created', 6);
    insert into EVENT_UPDATES values('Event2', 'Event cleared', 8);I want to print each record in EVENTS table as one line and corresponding records in EVENT_UPDATES as one line/record like this
    Event1   1     This is event1
                3     Ticket created
                10   Event cleared
    Event2   4     This is event2
                6     Ticket created
                8     Event clearedTIA
    Ravi

    select  case weight
              when 1 then event_key
            end key,
            time_val,
            description
      from  (
              select  event_key,
                      create_time time_val,
                      event_description description,
                      1 weight
                from  events
             union all
              select  event_key,
                      update_time,
                      update_description,
                      2 weight
                from  event_updates
      order by event_key,
               weight
    KEY          TIME_VAL DESCRIPTION
    Event1              1 This is event1
                        3 Ticket created
                       10 Event cleared
    Event2              4 This is event2
                        6 Ticket created
                        8 Event cleared
    6 rows selected.
    SQL> SY.

  • I HAVE A SOURCE TABLE WITH 10 RECORDS AND TARGET TABLE 15 RECORDS. MY WUESTION IS USING WITH THE TABLE COMPARISON TRANSFORM I WANT TO DELETE UNMATCHED RECORDS FROM THE TARGET TABLE ??

    I HAVE A SOURCE TABLE WITH 10 RECORDS AND TARGET TABLE 15 RECORDS. MY QUESTION IS USING WITH THE TABLE COMPARISON TRANSFORM .I WANT TO DELETE UNMATCHED RECORDS FROM THE TARGET TABLE ?? HOW IT IS ??

    Hi Kishore,
    First identify deleted records by selecting "Detect deleted rows from comparison table" feature in Table Comparison
    Then Use Map Operation with Input row type as "delete" and output row type as "delete" to delete records from target table.

  • How to spool in excel sheet of table with 1561828 records

    how to spool in excel sheet of table with 1561828 records
    i think excel got only 65l limit?
    COUNT(*)
    1561828
    i am using windows box...any suggestions?

    Raman wrote:
    means excel 2007 can hold 15,61,828 records ? can i give like spool filename.xls?You can name the spool file anything you want, but surely you realize that naming it 'filename.xls' doesn't make it an xls file. A name is just a name. There are industry standards on certain names indicating certain file formats, but the name doesn't make it that format.

  • FI Master data upload sequence

    Experts,
    Please excuse me if my post sounds vague. I am a Technical Consultant working off-site independently. I couldn't think of a better forum to get functional advice.
    Please look at the below list of FI Master data upload objects, and suggest:
    a. the recommended sequence in which the objects are to be uploaded
    b. points to consider/tips for uploading/recommendations (LSMW/BUS*/BAPIs, etc)
    FI Objects:
    1. Cost Centers
    2. Profit Centers
    3. GL Accounts- COA,CC
    4. Fixed Assets
    5. Bank Data
    6. Cost Elements
    7. Activity Groups
    8. Activity Types
    9. Activity Prices
    Thanks in advance.
    NW

    Hi,
    we have to upload first the Master such as G/l Accounts , Primary Cost Elements & Secondary cost elements.then upload the open items , then p/l balances, then B/S balances , finally asset master with balances
    Pre-Check LSMW: To-Do-List Before Using the Tool
    The LSM Workbench is a tool that supports the transfer of data from non-SAP systems to R/3. Basic functionality of the LSM Workbench:
    1. Import old data from spreadsheet tables or sequential files.
    2. Convert the data from source format into target format.
    3. Import the data into R/3.
    Before using the LSM Workbench, you need a concept for data migration. In particular, note the following items:
    · Make sure that R/3 customizing is complete.
    · Analyze the data existing in the legacy system to determine which data will be needed in the future (also from a business-operational point of view).
    · Consider whether usage of the tool makes sense with regard to the data volumes to be transferred. In case of very small data quantities, it may be easier to carry out the transfer manually. With very large data volumes, however, batch input technology may lead to excessively long runtimes. Rough estimate for the required time: 10000 records per hour; this value, however, may vary strongly depending on the hardware.
    · Identify the transaction(s) in R/3 you want to use for bringing the data into the SAP System. Here, it may also be relevant whether the data is required for statistical (evaluation) purposes or for further processing in the system.
    · Test the relevant transaction in R/3 manually with test data from the old system and make sure that all required fields are filled. There may be required fields that do not correspond to any data window in the legacy system. In such a case, assigning a fixed value or defining the field as optional for data transfer may be appropriate.
    · Check the interfaces provided by the application. Is there a batch input program and an IDoc (for example)? Which method should be used in your project?
    · Develop a mapping plan in written form: Assign the legacy system fields to the R/3 fields.
    · Determine the form (e.g. via u201EMOVEu201C or assigned according to a rule) in which the legacy system data shall be transferred to the SAP System.
    · If applicable, define the allocation rules (LSM-internal name: u201Etranslation rulesu201C).
    · Define the way for extracting the data from the legacy system. (Note: LSMW does not extract data.)
    · Describe the form in which the old data are available: Will the host or the spreadsheet interface of the LSMW have to be used?
    · If only a part of your legacy system will be replaced by R/3, define the functionalities to be provided by the SAP System and those to be provided by the legacy system. If required, create a concept of the data flows and interface architecture.
    These questions can only be answered individually for every customer; as a matter of course, this should be done before the tool is used!
    SKS

  • Master data upload into SAP system

    Hello,
    I want to know if there is any standard method to upload material master, customer master, vendor master and finance master data into SAP system.
    I am not referring to LSMW's, BDC's and using BAPI's. I am aware of standard programs like RMDATIND for material master upload, RFBIDE00 for customer master upload and RFBIKR00 for vendor master upload. But these are using direct input method and SAP recommends this only for testing purpose. I am not sure if this could be really used in actual live scenarios.
    From some other posts in the forum, I came to know about some transactions like BDLR, SXDB and BMVO. Can some one tell me how to use these T.Codes?
    If some one has any detailed documentation on these T.codes or in general standard master data upload techniques please send it to [email protected]
    Thanks in advance,
    CMV

    Hi,
    Define the following attributes, using the F4 input help and F1 field help:
    Report
    Name of a registered program for this program type
    Variant
    You can only specify a variant with programs that are started directly.
    With direct input, data from the data transfer file undergoes the same checks as with the online transaction and is then transferred directly into the SAP System. The database is updated directly with the transferred data.
    For the documentation of other transactions please refer the correponding program documentation..which is more helpful,
    <b>Reward points if helpful,</b>
    Regards,
    jinesh

  • Master data Uploading using QTP

    Can any one explain detail about QTP master data uploading.If possible send me the materials abt QTP uploding.

    Hi
    You won't get ready made template.
    You have to prepare the layout according to your requirements.
    First check it with the business requirements, and make note of the details and find the relevant fields in the relevant tables of the master data.
    Prepare the layout as below:
    Say your doing for the Chart of accounts load - Table is SKA1 - take the important fields technical name, character type and length of the field. Enter the data and save it in the desired format.
    VVR

  • Profit center and cost center master data upload errors

    Hi Sapiens,
    Could you please guide me to resolve the below errors in profit center and cost cost center master data upload through LSMW. i am usinng recording method for upload and  getting below error while uploading the data from txt file.
    1. Valid from and to dates are not converting in DDMMYYYY format, which field type we have to use in field mapping?
    2. some of the fields data are overlapping when uploading the data.
    3. How to create validation for empty cells data.
    thank in advance.
    regards,
    jagadeesh.

    Hi
    when you are using LSMW for uploading PC & CC, simple way to correct the Error's WHILE RECORDING The First record, while Creating LSMW, B very care full while entering the details ,bez wht ever Fields your updating ..the same Fields get updated While LSMW Processed.
    As mentioned above update the vaild from and to date in wht ever format you want While recording, in the same format all the remaining records gets updated.. 
    Hope the suggections will Help you in solving your Issues.
    Thanks
    Goutam
    Edited by: Goutam78 on Apr 29, 2011 8:59 PM

  • LSMW used only for master data upload?

    Hi
    Can you please let me know if LSMW is used only for master data upload or we can also use it for transaction data ?

    Hi Christino.
    I have come across a standard SDN thread which deals with the uploading master data, refer it:
    [SDN Reference for uploading master data using LSMW|how can we upload master data by using LSMW;
    [SDN reference for which uploading is preferred (Master data or Transaction data)|Which one is better for uploading data LSMW or ECATT ?;
    Good Luck & Regards.
    HARSH

  • New SAP Tools for faster Master Data Upload?

    Hi All!
    I am interested in getting some detailed information on different tools that are used for faster master data upload. Please let me know about the tools apart from LSMW, BAPI, eCATT and BDC.
    We basically want to know the following things:
    1.Which are the tools available for this master data upload?
    for eg. SAP MDM, Info Shuttle, other available new age tools etc........
    2. Their performance / feature comparions?
    Please provide performance / feature comparison for different new age tools in detail.
    Thanking you in advance.
    Regards,

    Hi Amar,
    regarding SAP MDM you can read advantages and characteristics here: http://www.sap.com/platform/netweaver/components/mdm/index.epx
    Hope this help you,
    Vito

  • Master data uploading

    Hi friends,
    1.Please send me the prerequisites for HR Master Data Uploading?
    2.Also tell me is it mandatory to create the jobs and positions, on OM?, If no what is the option?
    since we have to use the imp. Infotype Org Assignt 0001>position field.  We have 133 positions and jobs. how to do it?
    Please reply.
    Thanks,
    milinds

    Hi Milind,
    1.Please send me the prerequisites for HR Master Data Uploading?
    >>You need to first understand what all data need to be uploaded i.e. which all infotype you will be maintaining for the master data.
    Then the second step is to identifying the fields for different infotypes, so while doing this you can create the template for each infotype. Along with this you also need to understand the source data means will it get directly uploaded or do any translation logic is required.
    After this you can create LSMW's or BDC program.
    2.Also tell me is it mandatory to create the jobs and positions, on OM?, If no what is the option?
    since we have to use the imp. Infotype Org Assignt 0001>position field. We have 133 positions and jobs. how to do it?
    >>If you want authoraizations and workflows for approvals. also if FI is integrated then its always best to have positions, organizational units, cost centers in place and the rellevant relationships between the objects.
    You can create BDC using TCODE PP02 for creating positions, Jobs and their relationships.
    Regards,
    gusd

  • Function module Vs BDC for master data upload

    Hi ,
    Please advice we should use the following function modules for master data upload or we should go for BDC.
    MP_RFC_SINGLE_CREATE
    MP_RFC_INACT_CHANGE
    MPLAN_CREATE
    MPLAN_CHANGE
    MPLAN_SET_DELETION_INDICATOR
    ASSET_MASTERRECORD_MAINTENANCE
    MPLAN_ITEM_CREATE
    MPLAN_ITEM_CHANGE
    GL_ACCT_MASTER_SAVE
    GL_ACCT_MASTER_SAVE
    GL_ACCT_MASTER_SAVE
    Actually, we have already used these function modules in our upload program, but we are not sure if these function modules will create any data inconsistency.
    Please let me know, if we should continue using the FMs, or there is any risk using the FMs and we should replace them by BDC.
    Thanks in advance.

    HI Vikram,
    Better to serch for the BAPI for uploading the master data.Becuase we have problems with BDC and FM's.
    If you use FM's it does n't contain all the fields which you want.IF you go for BDC this is not maintainable for future releaseas.IF you upgrade then screen may change.
    IF don' have any BAPI then better go for BDC.
    Thanks

  • HR Master  Data Upload

    Hi All,
    I am doing the HR master data upload, I found one idoc HRMD_A but i am unable to find the infotypes  PA2001,PA2002,PA2010,PA2012 in this idoc type.
    Could you please let me know in which type i can get all inoftypes including these .
    Thanks,
    Satheesh

    Check these threads.
    Need ur helps on - HR master data upload Thru LSMW
    about HR data upload

  • Can any one tell me what is the master data upload sequence in sap pm...? i am new to sap pm module..

    Hi experts,
    Please help me to get the sequence for master data upload in sap pm ......

    Probably yet another Blog/Document for someone to create..
    Here's my offerings:
    Finance data: chart of accounts, g/l accounts cost centres, profit centres, activity types, etc
    Configuration data
    Classes/characteristics
    Inspection characteristics
    Master Warranties/Permits/Partners/Documents
    HR masters
    Work centres
    Materials
    Functional locations
    Equipment (serial numbers)
    Measurement points/documents
    BOMs
    Task Lists
    Maintenance items/plans
    Maintenance plan schedule
    Historical orders (if required)
    Historical notifications (if required)
    Historical Measurement documents (if required)
    PeteA

Maybe you are looking for

  • After Upgrading to iTunes 7.6.2 my library is tiny

    Hi- I am sure this has been asked and answered somewhere, but I can't find it so..... After experiencing "iTunes not responding" for a day, I decided to upgrade the application. So I did. After which all of my folders and most of my library is not th

  • Incremental number range in non leading ledger

    Hello Experts, I have a serious problem with regard to number ranges in non leading ledger. I have defined number range from 8000 to 8999 for document type SA. When I do a posting in FB50L, document number for non leading ledger is created as 8001. I

  • Patches required for PI / XI 7.0

    Hi Friends, I had instaled P.I. 7.0 and now want to knw what are the patches / SP requied to for PI 7.0 e.g. SP15 XI Content for SAP BASIS 7.00. etc.. can any one provide me list of this patches tht is required? is there some document,which i can ref

  • CS3 on Snow Leopard... slow slow slow

    Just recently updated to Snow Leopard (iMac, intel dual, 2G ram), Photoshop is working but very slow... feel like as if it's in 1995. Don't know if this mean anything... showing on Activity Monitor, PS runs 1.9G ram... with a 20mb file open. It took,

  • Images and Pop-Ups Will Not Open in IE???

    I have several .html pages being displayed within an i-Frame. There are thumbnail images on .html pages that are being displayed within the i-frames, and these thumbnails are not displaying in IE, even though they do display in Firefox. The thumbails