Material deletion with MM70 / MM71

Hi Friends,
I am trying to delete a material by archiving and deletion with standard transactions MM71 / MM70.
while archiving, the system throws an error that "Material Used in BOM". However this material was used in a BOM but later removed from that. System is finding link between material and BOM from different tables.
currently the material is not used in any BOM. can someone suggest me how to proceed in this case.
Thanks a lot
Rohit

Hi Rohit,
You can get step by step for archiving the materials master records (SARA) on the following posts
MM70,MM71,MM72
Cheers
Kris

Similar Messages

  • Materialized view with join

    In 10g release 2,I tried to create following materialized view with join:
    test_link is a normal table
    test_geom is a table contains a column in SDO_GEOMETRY
    CREATE MATERIALIZED VIEW LOG ON test_link with rowid
    CREATE MATERIALIZED VIEW LOG ON test_geom with rowid,primary key
    CREATE MATERIALIZED VIEW MV_LINK USING INDEX REFRESH FAST ON DEMAND AS
    SELECT li.rowid link_rowid,geom.rowid geom_rowid,li.link_id,geom.link
    FROM test_link li, test_geom geom
    WHERE li.link_id=geom.link_id
    But I always got an error like:
    ORA-12015: cannot create a fast refresh materialized view from a complex query
    If I change the geometry table to another table, everything works fine.
    Anyone have ideas?

    Unfortunately, creating a fast refreshable materialized view on a join with one of the select columns being a user defined type (sdo_geometry is a user defined type) is not allowed. See 5303489 in the metalink bug database.
    You could do like the workaround in the article suggests and create two materialized views and then create a regular view on top.
    In our scenario, our materialized view also contains unions, so we would really like to have one physical object at the end of the day. One approach that we are currently investigating is to create the materialized view (MV1) without the geometry column, which makes it fast refreshable, and also create a materialized view (MV2) on the table containing the geometry column. MV2 is also fast refreshable. We then create a table (T3) that contains all of the columns from MV1, plus a geometry column. An insert, update, delete trigger on MV1 is created. The trigger is used to push all of the columns from MV1 to T3 and the geometry column from MV2 to T3. I have created the above in one of our test environments and haven't encountered any issues yet.
    Let me know if you come up with a better approach.

  • Updatable Materialized View with Union ALL

    (please don't ask about db structure)
    DB: 11gR2
    create table table_1  (
        id number primary key,
        val varchar2(100)
    create table table_2  (
        id number primary key,
        val varchar2(100)
    insert into table_1(id) values (0);
    insert into table_1(id) values (2);
    insert into table_1(id) values (3);
    insert into table_1(id) values (4);
    insert into table_1(id) values (5);
    insert into table_2(id) values (10);
    insert into table_2(id) values (12);
    insert into table_2(id) values (13);
    insert into table_2(id) values (14);
    insert into table_2(id) values (15);
    update table_1 set val='Table1 val:'||id;
    update table_2 set val='Table2 val:'||id;
    create view v_table_all as
    select * from table_1
    view V_TABLE_ALL created.
    select * from v_table_all;
    ID                     VAL                                                                                                 
    0                      Table1 val:0                                                                                        
    2                      Table1 val:2                                                                                        
    3                      Table1 val:3                                                                                        
    4                      Table1 val:4                                                                                        
    5                      Table1 val:5                                                                                        
    select column_name, updatable, insertable, deletable
    from user_updatable_columns
    where table_name = 'V_TABLE_ALL'
    COLUMN_NAME                    UPDATABLE INSERTABLE DELETABLE
    ID                             YES       YES        YES      
    VAL                            YES       YES        YES      
    update v_table_all set val='XXX changed' where id = 3;
    1 row updated.
    select * from table_1;
    ID                     VAL                                                                                                 
    0                      Table1 val:0                                                                                        
    2                      Table1 val:2                                                                                        
    3                      XXX changed                                                                                         
    4                      Table1 val:4                                                                                        
    5                      Table1 val:5                                                                                        
    rollback;
    select * from table_1;
    ID                     VAL                                                                                                 
    0                      Table1 val:0                                                                                        
    2                      Table1 val:2                                                                                        
    3                      Table1 val:3                                                                                        
    4                      Table1 val:4                                                                                        
    5                      Table1 val:5                                                                                        
    create or replace view v_table_all as
    select * from table_1
    union select * from table_2;
    view V_TABLE_ALL created.
    select * from v_table_all;
    ID                     VAL                                                                                                 
    0                      Table1 val:0                                                                                        
    2                      Table1 val:2                                                                                        
    3                      Table1 val:3                                                                                        
    4                      Table1 val:4                                                                                        
    5                      Table1 val:5                                                                                        
    10                     Table2 val:10                                                                                       
    12                     Table2 val:12                                                                                       
    13                     Table2 val:13                                                                                       
    14                     Table2 val:14                                                                                       
    15                     Table2 val:15  
    select column_name, updatable, insertable, deletable
    from user_updatable_columns
    where table_name = 'V_TABLE_ALL'
    COLUMN_NAME                    UPDATABLE INSERTABLE DELETABLE
    ID                             NO        NO         NO       
    VAL                            NO        NO         NO       
    trying update:
    update v_table_all set val='XXX changed' where id = 3;
    SQL-Fehler: ORA-01732: Datenmanipulationsoperation auf dieser View nicht zulässig
    01732. 00000 -  "data manipulation operation not legal on this view"
    *Cause:   
    *Action:
    drop view v_table_all;
    view V_TABLE_ALL dropped.all is ok before this point.
    now we want create a new materialized view with some query
    create  materialized view v_table_all
    as
    select * from table_1
    union all select * from table_2 ;
    materialized view V_TABLE_ALL created.
    select column_name, updatable, insertable, deletable
    from user_updatable_columns
    where table_name = 'V_TABLE_ALL'
    COLUMN_NAME                    UPDATABLE INSERTABLE DELETABLE
    ID                             YES       YES        YES      
    VAL                            YES       YES        YES       it seems to be ok with update.
    but...
    update v_table_all set val='XXX changed' where id = 3;
    SQL-Fehler: ORA-01732: Datenmanipulationsoperation auf dieser View nicht zulässig
    01732. 00000 -  "data manipulation operation not legal on this view"
    *Cause:   
    *Action:How can solve this issue??
    Any suggestion

    Looks like user_updatable_columns sort of thinks the MV is just a table - I don't know about that...
    An MV on a single table can be updated - I tried that and it works:
    create materialized view mv_table_1 for update
    as
    select * from table_1;I noticed [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16579/advmv.htm#sthref294]examples stating the UNION ALL needs a "marker" so Oracle can know from the data which source table a row in the MV originates from - like this:
    create materialized view v_table_all for update
    as
    select 'T1' tab_id, table_1.* from table_1
    union all
    select 'T2' tab_id, table_2.* from table_2 ;But that also fails (the "marker" requirement was specifically for FAST REFRESH, so it was just a long shot ;-) )
    What are you planning to do?
    <li>Create the MV.
    <li>Update records in the MV - which then is no longer consistent with the source data.
    <li>Schedule a complete refresh once in a while - thereby overwriting/losing the updates in the MV.
    If that is the case, I suggest using a true table rather than an MV.
    <li>Create table t_table_all as select ... .
    <li>Update records in the table - which then is no longer consistent with the source data.
    <li>Schedule a job to delete table and insert into table select ... once in a while - thereby overwriting/losing the updates in the table.
    In other words a kind of "do it yourself MV".
    I cannot see another way at the moment? But perhaps try in the data warehousing forum - the people there may have greater experience with MV's ;-)

  • Material Deletion Issue

    Hi Gurus,
    I have a issue, The client want to delete material from the material master. In the TCode MM06, I have made the material deletion flag. When I checked in MM02 it says that material is flaged at client level.
    But the client requirement is that they want to delete the material permanently. I tried to do it in TCode SARA, but could not get it. When we check it in MM02 the message should be.." The material is no more exist ". Can any one give step by step process to delete the material permanently.
    Valued respondents will be rewarded properly.
    Babu.P

    Dear Babu,
    If you want to delete a material, first you have to mark the material for deletion and then you have to archive the materials.
    Please check with,
    [Archiving the Material Master|http://www.sap-img.com/bc003.htm]
    [SAP Help - Archiving the Material|http://help.sap.com/saphelp_erp2005/helpdata/en/8d/3e59bc462a11d189000000e8323d3a/frameset.htm]
    Best Regards,
    Amit
    Note: Just for knowledge-sake:
    T. Code: MMDE - Delete all Material from the Client

  • Creation of Material Documents With Mvt Type

    On Performing Post Goods Issue (PGI) in one Plant in case of Plant to Plant Dispatches, there should be Inbound delivery created for already created Purchase Order (PO). In addition after creation of inbound delivery, there should be material document created with 103 movement. This Material document is triggered when the inbound delivery is saved. Once Warehouse processes are finished, then Post Goods Receipt (PGR) happens, so 101 Movement Type happens for Purchase Order. PGR document should trigger one more material document with 104 movements; this document is reversal for material document with 103 movement type.
    can any one suggest to enhance SAP for this?
    Moderator message : Requirements dumping is not allowed, show the work you have already done. Thread locked.
    Edited by: Vinod Kumar on Oct 21, 2011 5:18 PM

    Hi Nitin,
    Before creating the Service type of product, you have to define the Base category for Service type product. Generally the category for service will be created under the R3 hierarchy R3PRODSTYPE. You can create this category using the TCode:
    COMM_HIERARCHY. Here you have to select the product type as Service and have to assign the set types to the category.
    You can create a service product using the transaction : COMMPR01 -> Click on Service ICON -> Select the Category for Service Type. Then fill in the details for Service Product description, Service ID(Based on number range settings for products), Language.
    Also fill other details like Base Unit of measure, Pricing condition for different sales areas for the service product.
    Since you are using CRM7.0, you can do all these activities using a POWER USER role.
    For more information about Set types and hierarchies please refer the following help link:
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/57672501a208e7e10000000a114a6b/frameset.htm
    Hope this helps!
    Regards,
    Chethan

  • Adobe XMP Files not deleted with Raw Files in ACR

    I am using Photoshop CS3 on a Windows XP platform. My camera raw files are mostly kept on a Windows 2003 file server, which has a gigabit connection to my workstation. However, I have the same problems when using PS CS3 on my Windows XP laptop.
    I take many hundreds of 'technical' photographs using an Olympus E1 and Canon G9 cameras. I usually bracket the exposures on the E1, specially when photographing white painted yachts, and then rate and select the images that I want in ACR 4.1.1. Unwanted images are deleted at this time.
    The problem I am having is that the associated *.xmp files are not always deleted with the camera raw files, with the result that I now have literally thousands of these 'orphaned' files cluttering up the server. The only options I have are to delete the files manually, which is a pain, or to leave them on the server, wasting unnecessary space.
    I have the same issue with Canon and Nikon raw files, so this problem is not specific to Olympus files.
    This is a long standing problem, and I would be grateful if anyone has any answers?
    If any Adobe programmers are watching, it would be handy if you could provide a simple utility to delete orphaned *.xmp files, or at least compress them into some kind of archive.
    Thanks,
    Nigel.

    [quote] As far as Photoshop and ACR go, ALL raw files are treated as read-only.
    Your original raw files remain untouched, no matter what you do to them.
    Any adjustments you make to a raw file are kept only as metadata (flags, if you will) in that XMP side-car file. Every time you want to re-open that raw image file, ACR will reach for the XMP file and apply the adjustments automatically, transparently. [/quote]
    That is not quite correct. Camera RAW files can be permanently deleted from within Adobe Camera Raw. The problem with ACR 4.1 to 4.4 4 was that the XMP files were left behind. This now seems to have been rectified in the latest version (ACR 4.5).
    Thank you Adobe!

  • Report For list of material Master with PO text

    Hi all,
    I need a report whether it is available in Standard SAP or a customized, for List of Material Master with their PO text.
    If any one can help, please reply to this theard.
    Regards,
    Kapil Kulkarni

    To get the material number combined with the PO text you will need the help of an ABAP programmer.  The programmer can create a report for you using the function module READ_TEXT in the function group STXD.  The tables to use are:
    STXH - STXD SAPscript text file header
    STXL - STXD SAPscript text file lines
    The selection screen should have at least the following:
    OBJECT - STXH-TDOBJECT
    NAME - STXH-TDNAME
    LANGUAGE - STXH-TDSPRAS
    TEXTID - STXH-TDID
    You find the information for these fields by going to the PO text entry screen and displaying the header information under Goto -> Header.  For materials, the object is MATERIAL, the name is "material number", the language is "EN", and the text ID is BEST.  You can use this program to get long text in lots of places like information records, purchase order texts, etc.
    Hope this helps.

  • Find Material Document with Movement type 103 for material document 105

    Hi experts,
    In PO History, I have three line items with movement type 103 (Blocked Stock) and one with movement type 105 (From blocked stock to unrestricted stock). I would like to know the material document with movement type 105 document that has the movement type 103.
    Regards,
    Abdullah

    Hi,
      you can get the material documents (mblnr) for the movement type(bwart) in table AUFK.
    But i think you need to pass some other data along with bwart like matnr or aufnr for getting the correct mblnr.
    Regards,
    Chaitanya

  • Having Multiple Material Codes with Different Profit Centers in one Plant

    Hi,
    Can someone explain me what impact it will have, if there are different Material Codes with multiple profit centers in a single plant? For example, say Material 1 has Profit Center as PC1 and Material 2 has Profit Center as PC2 and they are in a single plant. Will this have impact on Financial Transactions?
    Thanks and Regards,
    Sameer Joshi

    Hi Sameer
    No negative impact.. It is very much possible and logical
    All the purchases made - > Stocks and vendor liability will be tagged to the PC of the Material
    All the sales made -> COGS, Revenue and Customer Liability will be tagged to the PC of the material, unless you overwrite using a Substitution
    Br, Ajay M

  • Not able to create a material document with movement type 103

    I am not able to create a material document with movement type 103,
    The system is populating the value as 101 .
    How do I create a matdoc with movement type 103?

    What is the error you receive? Please specify with message number.
    On MIGO, you need to change the default value mvmt type value to 103 before you enter the PO number to be able to do 103.
    Once this defualt value is set, you can enter the PO and item number in the document number fields and proceed with 103.
    But you cannot change the mvmt type for already entered items from 101-103 or vice versa.
    I think the 101-103 and 103-101 mvmt type conversion message is standard error message

  • To fill in the material number with item category u201CBu201D for Framework Order.

    The use of framework orders (also referred to as blanket purchase orders)  enables you to procure a variety of materials or services from a vendor up to a predefined maximum value (the value limit).
    Instead of a specific delivery date, you specify a validity period for the order.
    Goods receipts or the entry and acceptance of services performed are not necessary in the case of a framework PO and limit items.
    The invoices are posted directly with reference to the purchase order, provided that the specified value limit is not exceeded. When the value limit of the PO is reached, or the validity period is exceeded, the system issues a warning message. It is possible to book the invoices, but these are blocked for payment.
    During the phase of service performance, the cumulative u201Cactual" values (for the services actually performed) are continually updated in the underlying purchase. This enables you to monitor the progress of a procurement project on an ongoing basis. By comparing the "actual" value with the total value, you can always obtain an overview of the degree to which a budget for unplanned services or materials has been exhausted (i.e. see whether predefined limits have been reached or nearly reached).
    So with the Framework Order type (FO) and item category u201CBu201D you get the error that it is not allowed to fill in the material number with item category u201CBu201D.
    Please suggest me the possible solution to fill in the material number with item category u201CBu201D for Framework Order.
    Best Regards,
    Harisha

    The Framework order type is specialy defined for lesser value procurements (ex: stationeries, cleaning services ....) which are all not worthy to create Material Master at all.
    If you are very sure to fill the Material number, then proceed with some other document type.
    In what circumstances you want to put material number in FO order?
    Karthi.

  • Material to Material transfer with movement type 321

    Dear Experts,
    Material to material transfer with movement type 309, the system create a price difference account if price control "S"
    but we transfer material to material with movement 321 (quality ), no price didderence account is generated, system showing different document
    Exp--- Material "A" with STD price 150
    Material "B" with STD price 100
    document is created
    Material A A/c. Credit 100
    Material B A/c. Dr. 150
    My question is, the price difference where is adjusting, is finance and costing books of account will effect.
    Kindly help to solve the issue
    Thanks & Regards,

    Dear Wasim,
    321 movement is to transfer the stock of a material lying in quality to unrestricted stock.
    It's not used for material to material transfer.
    Check and revert back.
    Regards
    Mangalraj.S

  • Materail recevice with referance to material document with mvt type 303

    Hi Guru:
    In MB1B we are creating mateiral document with movement type 303 from one plant to other plant.
    Now same material we need to receive in other plant with movement type 305 in same T code Mb1B.
    Now as per user requirement if there is number of item are coming in material document which is generate with movement type 303, why we need to give all material, qty, batch again in MB1B movement type 305,
    while we are receving same material in plant.
    In MB1B there is link to create material document with referance to material document but we can use this facility for creating new material document for movement type 303 of same mateiral, qty and batch.
    Please suggest is there any way to use this 303 movement type material document with movement type 305.
    Thanks.
    Virendra
    09887603301

    Hi
    In my opinion in MB1B you can not have Material Doc. as a ref. Doc. for M.Type: 305...
    But for MIGO transaction you can have Material doc. as a ref. doc. for M.Type: 305
    Goto ---> OLME ---> Settings for Enjoy Transaction ---> Settings for Goods Movements -
    > Settings for Transactions and Referance Documents ---> There...for MIGO_TR...Transfer Posting ---> Referance Documents ---> For your M.Type: 305 assign Material Document as a Referance Documnt...
    Reward if useful
    Regards
    S.Baskaran

  • Functinality to compare two material price with reference to BOM in CO

    Hi All,
    Is there is any functionality in Controlling which can compare the costing for two FERT materials.
    or
    is there is  any functionality where we can compare two material price with reference to BOM in controlling
    Please help me to compare the material price with reference to BOM
    Regards
    nandu

    Hi,
    You can use this report to compare two itemizations. The report compares the characteristics item number, item category, cost element, resource, material, cost center, plant/work center, cost center/activity type, operation number, BOM item, assembly indicator, and cost component.
    You can access this report as follows:
    Accounting ® Controlling ® Product Cost Controlling ® Product Cost Planning ® Material Costing ® Cost Estimate with Quantity Structure or Cost Estimate Without Quantity Structure ® Compare
    or
    Accounting ® Controlling ® Product Cost Controlling ® Product Cost Planning ® Information System ® Object Comparisons ® For Material ® Itemization Comparison.
    For Detail Please reffer following link:
    http://help.sap.com/saphelp_46c/helpdata/en/56/abd108f1a611d28a950000e8214595/content.htm
    Thanks and Regards
    Binoj M D

  • Subcontracting child material issue with SO ref

    Hi all,
    As per the client business scenario we are using MTO for all production/purchase process, In between the production process the material also going to subcontract for some process and coming back as new material. As i mentioned earlier all material movement with ref to sale order only.
    So, the child material in SO stock, created the subcontract PO through MRP by using Item cat - L and Account Assignment - M, with child material, system is recoganising the subcontract consumption with ref to SO in 543 mvt type. but while sending the material from plant through 541 system is not able to recoganise (since there is no special stock assigned in value string OMJJ).
    How to make the Sale order reference as manditory while GI (541/542) and GR (101/102/543/544/545/546) of subcontracting.
    Request your valuable suggestions
    Regards
    Sridharan

    Hi,
    Please refer below link...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a04ec1a0-c39b-2c10-6889-f6f69625f3f3?quicklink=index&overridelayout=true
    Kuber

Maybe you are looking for

  • System locks up during multiple Podcast downloads

    I am using the latest 7.7 (43) iTunes and found that when I download Podcasts using the setting "Allow simultaneous downloads" my entire system totally locks up after about 1/2 hr. It's not just the Beachball effect but the whole computer just freeze

  • IPad Mini safari problems

    Have a new iPad 5 Mini with the iOS 6.1.3  Trying to open up a webpage in safari and keep getting the message "You do not have permission to view "ArWx" " along with a No Permission title on the tab.  My cookies are set to always accept.  Anything th

  • Can You Help with an iWeb Nav Bar Not Displaying Problem?

    Hi Everyone, I have had a website that I created with iWeb and have successfully hosted with me.com (Mobile Me) for the past 8 months. I added a new page yesterday and ever since then, the Nav Bar has stopped appearing on any browser. This happens on

  • Newly installed version 4.01.2.6 dies when browsing

    Since I installed Bridge 4.01.2.6 version of Photoshop, I have not been able to browse pics from anyt folder. Once I select 2 or more pics of all pics from a folder and the I go to browse them (CMD-B) Bridge hangs for a few minutes and then simply cr

  • Run time error 429

    Hi Forum, I have Created queries in FIAR on a particular Infocube which uses Datasource 0FI_AR_4. The problem is when ever I make any changes in the property of any query object it give me an error which reads as: " Run time error 429"   "Activex Com