How to restrict Invalid record in 0Material_Text Master Data

Hi,
In R/3 ,during legacy data loading through Excel file , invalid Material code ( with Balnk spaces ) gives error BW data .It comes upto PSA & gives error Invalid material code. Because there is no field in for deletion Flag in Material_ text . How we can stop the material in BW.
Thanks with Regards,
Anand Mehrotra.

Hi Anand,
First identify the list of invalid materials. If the list is small, say less than 10 or so, you can correct the data is PSA and then load the master data. This will save you from doing any change to the data model.
If there are huge number of records, follow any one of the below steps.
1) Try to edit the data in the Source file (Excel file)
2) Write a code in the Start Routine in the Material transformation, to eliminate the invalid materials.
Regards,
Balaji V

Similar Messages

  • How to change specified hierachy node to master data attribute automatic?

    Dear BW experts:
             How to change specified hierachy node to master data attribute automatically? I have a retail business: I have a fixed material group hierachy in R3 Retail ,Now I will extract the material group hierachy ,my goal is that the specified material group hierachy node as dimension in query ,not show hierachy level,So I need change specified material group hierachy node to material group's attribute.
    Anybody solve the requests?
            Thank you for your help in advance !

    If I understand your requirement correctly, you need to have a specific Material Group Hierarchy level (Say Level 2) to be an attribute of Material Group. Usually, this level represents a Brand or Segment, or something with specific meaning.
    If this is correct, here are the things you need to do:
    1) Create an InfoOnject for this specific attribute representing the specified hierarchy level
    2) Add this InfoObject to Material Group as an navigational attribute
    3) Select this navigational attribute in your InfoProvider
    4) Create a transformation routine for this navigational attribute in Material Group Transformation so that the specified hierarchy level for Material Group will be found and populated. The detail of this routine will depend on your specific requirement. Also, you have to make sure Material Group Hierarchy is updated before Material Group attributes are loaded. If you are not family with ABAP, please ask an ABAPer to help you for the Transformation Routine.
    5) Include this navigational attribute in your query along with other required InfoObjects.
    Hope this help and good luck!
    Bill

  • Restricting time dependent records on employee master data in BW

    Experts,
    We have a Future hire report which gets data from 0Employee. Now whenever hire date of an employee is getting assigned in case of new hire  record get's created in BW.
    Now, due to some reason this new hire employee is not able to join on the hire date first assigned to him and new hire date is updated in PA30 for this employee in ECC.
    This would create a new record in BW with new hire date for this employee which is valid in BW from the date it moved into BW till 9999 and the previous record 'Valid To' date is changed to previous date of the "Valid From" date of newly entered record.
    Now all these records has moved into Multiple Cubes also therefore we cannot delete these records from Master data until transaction data is delete.
    Client HR team is saying that previous records of all such employees are not valid , so they should not appear in BW reports even if they are running this report on historical dates.
    0Employee is time dependent master data. So it makes sense to have one records for any actions done for an employee in HR system.
    Cleaning up a master data for all such employee would be a tedious task and need lot of effort.
    Is there any way , we can restrict previous records of all such employee , so that they do not appear in BW report in case users are going to run the report previous dates.

    We were doing this activity as part of weekly house keeping job. Weekly we get list of invalid PERNR records from ECC team.
    While deleting particular PERNR (say 10015824) from 0EMPLOYEE, and the log (SLG1)says, SID exists in DIM table (like /BIC/D0PA_C011).
    First delete that PERNR (10015824) from cube (0PA_C01)
    Use Tcode RSRV --> Tests in Transaction RSRV  --> All Elementary Tests --> Transaction Data --> Entries Not Used in the dimension of an InfoCube (Dbl Click)
                 From the right side window, expand “Entries Not Used in the Dimension of an InfoCube” Node &
                 Enter InfoCube (like 0PA_C01), click “Transfer”
                 Now, click “Execute” (Toolbar)… and the results displayed in the right side window..
                 Now, click “Correct error” (Toolbar)
    Now, try to delete same PERNR from 0EMPLOYEE, and if the log says SID used in some other DIM table, follow the above process.
    If the log says, the SID used in DSO/Cube, then goto manage (of DSO/Cube) and do the selective deletion.

  • How to restrict Overwritten records of Info-Cube  in Query

    Hi ,
    In query i am able to see the overwritten/replaced records with Zero values as well the same records with new values i.e. same record with in 2 lines one with zero value and other with replaced value.How i can restrict that only new record should be shown in Query.
    With regards,
    Abhishek Kumar

    As in InfoCube if a new record is inserted with same key fields it add the previous record with -ve values and new record with new values having same key fields.Now i can see these records in Info-Cube but when it comes to query it shows all the records ,one with the zero value and the same with the new values.Question is how i can restrict the record with zero value.
    Abhishek Kumar

  • How to only update existing records when loading master data ?

    Hello experts, I need your lights one more time.
    Here is my need :
    I have created an infoobject (IO) which is a very simple version of 0material, let's call it Znewmat --> Znewmat has material type and trademark as attributes, those two fields are available in 2 different datasources :
    - 0MATERIAL_ATTR for material type (field MTART)
    - 0MAT_SALES_ATTR for trademark (field MVGR2)
    When loading my new IO from 0MATERIAL_ATTR I use a filter (at DTP level) to get only a few material types (I get something like 1000 records),
    here is my issue : when I load from 0MAT_SALES_ATTR the field "material type" is not available to keep the same filter as for 0MATERIAL_ATTR and existing records are updated with the trademark, but I also get 5000 records I don't need, and my master data is "polluated" with useless lines.
    *and my question : is there a way while performing the second loading to ONLY UPDATE EXISTING RECORDS AND NOT ADD ANY
    NEW RECORDS ? (i didn't find anything in main options of my DTP)*
    (I'd like to avoid the solution to update the 0MAT_SALES_ATTR datasource to add the missing field)
    Thanks in advance for any help, points will be distributed.
    Guillaume P.
    Still no idea ?

    in the start routine of transformation from 0MAT_SALES_ATTR to znewmat do the following:
    select materials from /BIC/PZNEWMAT into i_mat
    for all entries in source_package where material eq source_package-material.
    loop at source_package.
    p_ind = sy-tabix.
    read table i_mat with key material = source_package-material.
    if sy-subrc ne 0.
    delete i_mat index p_ind.
    endif.
    this way you'll only update records that have previously been loaded by 0MATERIAL_ATTR DS
    loading sequence:
    first load ZNEWMAT from 0MATERIAL_ATTR. then activate ZNEWMAT. then load 0MAT_SALES_ATTR to ZNEWMAT.
    M.

  • How to put equipment no. in Asset master data  (manulaly)

    Hi Guru
         I have implement Asset module and link asset no. to equipment no. come from  Plant maintenance module. How I can put the equipment no. in field  equipment number / Tab Allocations  in Asset master data .  How I can do?
    thank you very much

    Hi
    You must have selected 'No synchronize' in Asset accounting for automatic equipment creation view-Specify Conditions for Synchronization of Master Data.
    If you wish to assign equipment to Asset after creation of equipment that means you have equipment number with you which is not assigned to any of the Asset and now you want to assign this to Asset master .
    Please go to IE02 and go to Organisation tab, here you need to assign your desired asset and save it.
    Now go to As03 and see allocation tab, you will find the assigned equipment number here.
    If you wish to let system assign equipment number automatically then please the settings in SPRO Asset accountingMasterdata - Specify Conditions for Synchronization of Master Data-Specify Conditions for Synchronization of Master Data to direct synchronization after savings, then you will not be required to assign equipment number manually, as soon as you will create an asset it will create equipment master as well for that asset and you can see in allocation tab, you can also deleat an equipment master if you don't want to create equipment master for a particular asset before saving the asset record.
    Cheers
    Mukta

  • How to avoid changes in Inactive pernr master data

    Hi Expert,
    I want to know the best option to avoid the changes in Separated employees master record. Client requirement is to freeze the separated employee History data related to PA, OM,Time, PMS.
    can be do it level wise or Period wise?
    Thanks,
    Akhilesh

    Dear Sandeep,
    Your suggestion will work if Payroll is in process, in my case one of my client subsidiary having no payroll process in the system.
    Client having PA,OM,Training & Event Mgmt. PMS, Time Mgmt. Process  in SAP but not Payroll.
    Payroll locking is not working as control record not maintained due to No payroll process in System.
    there are huge data based of employee master with inactive status & requirement  is to restrict the changes in inactive employees data.
    can we do it ?
    Thanks,
    Akhilesh

  • How to update entries of already uploaded master data?

    Hi Experts,
    Master data for one of the infoprovider 0PROMOTION has uploaded with blank value for one of it's attribute zcatgrp and zcatgrp master data is being maintained in BI. Recently one more Zcatgrp has been uploaded but business wants existing records with this new catgrp .
    Please suggest how to update the existing master data entries?
    Regards,
    BW USER

    RELOAD the masterdata with zcatgrp for the promotions.
    when you reload the masterdata with the zcatgrp associated to the promotion (key), the existing records(with blank values) would be overwritten with new records with the associated zcatgrp value.

  • How are attributes and texts for a master data linked and targeted to ...?

    Our previous consultants used to load data to master data 0MATL_GROUP. 
    1. RSA1 -> InfoProvider -> Select 0MATL_GROUP or 0MATL_GROUP___T
    Check these above two and find the records loaded are both 1,216 for Language EN.
    We check the data flow of this master data (0MATL_GROUP or 0MATL_GROUP___T) and find there are four branches which target 0MATL_GROUP:
    branch 1: 0MATL_GROUP is itself an InfoSource and the datasource is 0PROD_CATEG_R3_MAP_ATTR.  However under this datasource, there is no any InfoPackage, i.e., the system doesn't load data to 0MATL_GROUP through this branch.
    branch 2: Through InfoSource 0MATERIAL_ATTR.  However the InfoPackage under this InfoSource target data load to 0MATERIAL but not 0MATL_GROUP, i.e., the system doesn't load data to 0MATL_GROUP through this branch.
    branch 3: Through InfoSource ZMATL_GROUP_ATTR and it's corresponding datasource Z_MAT_GROUP_ATTR.  InfoPackage monitor shows the data load record for this datasource is 490 (Run RSA3 on R3 for this datasource also gives the same record count).
    branch 4: Through InfoSource 0MATL_GROUP_TEXT and it's corresponding datasource has the same name. InfoPackage monitor shows the data load record for this datasource is 1190 for Language EN (RSA3 on R3 for this datasource gives the same count for language EN).
    2. InfoObj. 0MATL_GROUP
    1). Master data tab (/BI0/PMATL_GROUP): 526
    2). Text table (/BI0/TMATL_GROUP):
    1657 (includes both EN and other lan-guages), for EN: 1190.
    3. Check R3 Table T023T (Material Group Descrip-tions) for EN: 1190.
    Our questions are:
    1. The InfoProvider 0MATL_GROUP and 0MATL_GROUP___T
    both have counts of 1,216 for Language EN.  And for the four branches in the data flow, only 3rd and 4th branches feed data to it.  3rd branch (datasource Z_MAT_GROUP_ATTR) feed count is 490 and 4th branch (datasource 0MATL_GROUP_TEXT) feed count is 1190 for Language EN. We wonder how attribute and text data are corelated to each other and with it's master data.  Obviously 1,216 is not equal to the sum of 1190 and 490, the how 1190 (text) and 490 (attribute) constitute the master data count 1,216?
    2. Do we have to use 1st and 2nd branches to feed data to 0MATL_GROUP?
    3. How InfoObj. 0MATL_GROUP Master data tab (/BI0/PMATL_GROUP) shows the count is 526?  it should be 490 from the custom datasource Z_MAT_GROUP_ATTR, right? But why the count is different?
    We would be appreciated any expert input!

    Kevin,
    can you check the data in Material Group charecterstic againest R/3. One moe thing check how these 4 branches Mapped to material Group?
    Take the for Attributes it should be 490. it is 525. try to analyse what are the extra records comparing with Source. take the you found so and so meterial group extra then analyze from where is it getting extracted to BW i mean which DS.. (either branch 1 or brach 2 or branch 3 or 4). then check in R/3 side DS for the 4 branches. then you will know what exactly happening.
    Analyze the data from step by step from r/3 to BW for each level. You will get clue.
    Nagesh.
    Message was edited by: Nagesh Ganisetti

  • Duplication of records while loading Master Data.

    Hi All,
             I am facing problem while loading master data from 0BPARTNER_ATTR. The infopackage is getting failed showing message "44 duplicate record found. 32 recordings used in table 44 duplicate record found. 32 recordings used in table /BI0/XBPARTNER"
    we can rectify manually but daily the loading is getting failed showing the same message. So Cvan anybody suggest me how to rectify this problem permanently. And Can you  Explain me why the error is?
    If i go to PSA and check i can find only one dulplicate record. I am not able to understand the Error Message.
    With Regards,
    Thilak
    Edited by: thilak. neelam on Mar 10, 2009 1:46 PM
    Edited by: thilak. neelam on Mar 10, 2009 1:47 PM

    Hi,
    there was (is?) a recent problem in the SAP BI 7.0 software, so that duplicates were removed during init load, but not during delta load. Although the DTP could not set currently (also an error that has already a SAP note). We added a manual removal using ABAP code to avoid upgrading to a new SAP version. That helped. The duplicates may also result from two full request that are loaded at the same time.
    Hope this help to analyse the problem in details.
    Regards
    Thomas

  • How can I reference records outside the two date parameters?

    Hi all,
    I have a query that fetches records based on the two date parameters defined (Startdate and Enddate).
    If the Startdate is 2014-12-01 and the Enddate is 2014-12-12, I want to pull records outside these two date parameters, that is      2014-09-01 and 2014-11-30.
    I want to add up the records from  2014-09-01 and 2014-11-30 and include them in one of the columns in my report.
    I tried using this query:
     SUM(CASE WHEN FilteredIncident.Statuscodename IN ('QUEUED', 'ASSIGNED') AND (EnteredOn >= '2014-09-01' AND EnteredOn<= @StartDate) THEN 1 ELSE 0 END) AS OpenRecords
    Please help with any ideas..thanks

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you probably need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    There is no such crap as a “status_code_name” in RDBMS. It has to be a “<something in particular>_status”; think about how silly that data element name is! Want to keep going and have a “status_code_name_value_id”? LOL! 
    The name “Filtered_Incident” is also wrong. Tables are sets, so unless you have only one element in this set, the table name should be a plural or (better) collective name. But a better question is why  did you split out “Filtered_Incidents” from “Incidents”?
    Would you also split “Male_Personnel” and “Male_Personnel” from “Personnel”? 
    Get a book on data modeling and learn some basics. 
    >> I have a query that fetches records [sic: rows are nor records] based on the two date parameters defined (report_start_date and report_end_date). If the report_start_date is 2014-12-01 and the report_end_date is 2014-12-12, I want to pull records [sic]
    outside these two date parameters, that is 2014-09-01 and 2014-11-30. I want to add up the records [sic] from 2014-09-01 and 2014-11-30 and include them in one of the columns in my report. <<
    Having no DDL and no sample data makes this hard. Does your boss make you program without any documentation, DDL, etc? This spec is vague; you say to do a total, but show a count, etc. 
    One of the many nice things about DATE data types is that the BETWEEN predicate works with them, so you can quite writing 1960's BASIC predicates with primitive logic operators. 
    Here is a guess: 
    SELECT SUM(CASE WHEN incident_date BETWEEN '2014-09-01' 
               AND @report_start_date THEN 1 ELSE 0 END)
           AS open_record_cnt 
      FROM Incidents
     WHERE incident_status IN ('QUEUED', 'ASSIGNED')
        AND incident_date <= @report_end_date; 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Automatic Creation of Scheduled Master Record for Scheduled Master Data

    Hi experts,
    We know that MRU and Portion are Scheduled master data but Scheduled master record is transactional data. So it is obvious that we have to generate scheduled master record in every server wher we transport the master data manually. And we can generate records for a particular time span and after that time we have to generate the records again.
    All I want to know that whether it is possible to get all the records generated automatically after certain period.
    Thanks,
    Arghya

    Hi,
    Scheduled records do NOT get created automatically , altleast not by any sort of configuration, in case you are looking for it.
    Your can always create custom program to do so, but it isn't worth the effort.
    You can create records for upto 7yrs ( do need to check but definitely for a period long enough)
    Hope that helps!!!

  • How to include the UDF of items master data into PLD (Inventory in Warehouse Report (Detailed))

    Hi,
    Is there a way to include the UDF in the items master data into the <<Inventory In Warehouse Report (Detailed)>> PLD?
    I checked the default layout and found out all the column source type is "free text" and the content is #Item, how do I know the value of the UDF?
    Thanks

    Hi,
    Some of the standard reports are hardcoded in sap. Not possible to add UDF field in PLD.
    Also refer this thread Variables -  Sap business one
    Thanks & Regards,
    Nagarajan

  • How to add new fields in asset master data

    Hello,
    i was wonder if anyone knows how to add new fields that arent defined in the asset master data.
    Thanks.
    Pedro

    Hi Pedro,
    SAP allows entering upto 8 fields on the asset master. These fields are called 'Evaluation group'. Out of 8, 4 are four character long and others are 8 character long.
    You can configure them @ the following 3 nodes in IMG:
    Financial Accounting>Asset Accounting>Master Data-->User Fields: Define 4-Character Evaluation Groups & Define 8-Character Evaluation Groups & Change Key Words in the Evaluation Groups.
    Regards,
    Vishal Thakur

  • How to upload different views of customer master data using LSMW-IDOC

    I need to upload customer master data  using LSMW Idoc method for my client. Now customer will have different views like main view, Sales data, Company code data, Partner function data etc. And except main data all other data can be multiple for each customer. We are going to upload data from tab delimited .TXT file. Should I propose different LSMW for upload different views for the customer from different .TXT files? or we can upload all the customer related data (like main view data and partner function data )from a single .TXT file. Kindly suggest which one in convenient and how we can prepare the data file in both cases.

    convinient is the method that you can handle.
    but as the guy who loads the data you have to load the data like they are available, like it is convinient for others to prepare the data.
    In general there is no problem to use an IDOC method to load a customer master with multiple comany codes and several sales orgs in one shot.
    the data can be in one source file, but need then to be maintained in a certain way
    Example1: all data in 1 structure
    GD1 - CC1 - SO1
    GD1 - CC2 - SO2
    GD1 - CC2 - SO3
    in this case the GD (general data) is redundand in each line which has different Company code data or different Sales Org data
    Example2: all data in 3 sturcures but one file
    GD1
    .CC1
    .CC2
    ..SO1
    ..SO2
    ..SO3
    Example3: data delivered in 3 files - you join the files in LSMW, they must have a common identifier like the old customer number in the beginning of each file
    FILE General data:
    GD1
    GD2
    GD3
    file Compamy code data:
    CC1
    CC2
    CC3
    file Sales org data:
    SO1
    SO2
    SO3
    LSMW is flexible and can handle each of this scenarios, are you flexible too?

Maybe you are looking for

  • How to get rid of the on screen volume display?

    how to get rid of the on screen volume display, it stays on even after reboot. and when i hit the volume button another one shows on top of it.

  • Open in new tab lists site in new tab but displaysd a blank page version 5

    New install of version 5. Home page opens ok (Google Australia) and I can run search ok. When I select a site to explore and use the open in new tab option (right click) the new tab appears and seems to run the load process. The tab displays the chos

  • Who can I do this?

    Ok I am helping a friend with a website for a local ski shop to sell online. I have done dynamic sites before and have managed to figure things out most of the time by searching....but I am really butting my head against the wall. Here is what I need

  • Exceptionn handling in the constructor

    The exception handling doesn't seem to be working. This constructor is designed to take numbers (double). When I try to enter a char or a string, the exception handling doesn't work. Does anyone know what I'm doing wrong? try{ Circle c = new Circle('

  • Create schedulers for all existing user jobs

    Hi Forum, In my database (Oracle Database 10g Enterprise Edition Release 10.2.0.4.0), I have 7 DB schemas. There are total existing 50 jobs (usaer_jobs). I want to shift them all to scheduler (user_scheduler_jobs). My plan is, 1.     Create scheduler