Remove Item Master Data

I want to delete bulk of unused item master data from SBO.Please suggest the method as its become very hectic to delete item one by one from Item master data form.

First Download the B1TCH application.  After unzipping.  Run B1TCH.exe, enter the Server name, userid and password and Refresh Icon next to company dropdown list.
On the page link I send you can see the following tips.  You could build a query which picks all Items in the OITM table which do not exist in any of these OINM, OPOR and ORDR tables. 
You can save this list as a txt or dynamically pass the query.  Rest is explained below.
Deleting stuff
The following examples focus on deleting items from the database. This is something you cannot do with the DTW.
To delete a single item with ItemCode 'DEMOITEM1' from the database, just type:
remove(ITEM,'DEMOITEM1')
...you may also build the list of items by defining a list such as this:for itemcode in['A123','B124','C125']:  remove(ITEM,itemcode)
The above samples are nice for testing, but in a real world scenario you might perhaps want to read the itemcodes from a textfile with one itemcode per line:
for itemcode in open("c:
itemstodelete.txt"):  remove(ITEM, itemcode)
...OR you might wish to use a resultset from a query as a source for the item codes:
rs=query("select itemcode from oitm where qrygroup64='Y'")for itemcode in browse(rs):   remove(ITEM, itemcode)
Function calls can be nested for a more compact expression:
for itemcode in browse(query("select itemcode from oitm where qrygroup64='Y'")):  remove(ITEM, itemcode)

Similar Messages

  • Error while importing Item Master data through DTW

    Hello Expert,
      I trying to import item master data through DTW but it gives an error while importing as shown in attach file..
      Please help me...
      I am using SAP 9.0 Pl 6
    Regards,
    Sandy

    Hi Sandy,
    Kindly follow the check list
    1. Right Click DTW and run it as Administrator.
    2. Is your DTW version is same as SAP B1.
    3. Uninstall and re-install DTW.
    4. If you are using 64-bit DTW, try to use 32-bit one.
    5. Check the Template, is it of the same DTW version.
    6. Remove all the unnecessary columns.
    7. Last try different Template extension.. (e.g: CSV (Comma delimited), or Text (Tab delimited))
    Hope you find this helpful......
    Regards,
    Syed Adnan

  • How to erase the definition of a standard warehouse within item master data

    Dear Community,
    I got a short question. We want to use the user definition in order to pick the right warehouse when we create a purchase or any other kind of document.
    Right now the customer defined the standard warehouse within the item master data.
    In order to use the definition stored within the user data it seems as if we have to delete the standard-entry within the item master data.
    So far I could not find a possibility to erase that.
    Can you help me with that problem??
    Cheers, daniel

    If you have nos of records.then make CSV file for DTW and update all item warehouse in item master.
    if you get any issue form will help you .
    i have done same many times .
    manually:-
    Add another warehouse in master make default it then delete it so you can remove default option in master.
    Manually,
    Make a FMS whenever user select item(On every transaction Docuement) then warehouse field become blank and blank warehouse we cant add the document so here user select warehouse which he want.
    Thanks
    Manvendra Singh Niranjan

  • Delete item master data

    Hi all
    I have a db with almost 1000 items master data with no movement. I want to remove them to import  a new list of items master data, but it's very difficult to do it one by one.
    How can I remove them all at once?
    Thank you
    Irina

    actually there is no option in the application to do so.
    there is one option i can think of and for this you will have to write a simple DI add-on that takes the item code from the list (assuming you have the list of items you want to remove, you can get it with a simple SQL query) and remove them in a loop
    if you need the query to find the items with out transactions let me know
    good luck

  • Item master data table

    Hi All ,
    I have to update item code .so i want to know how can i update this . and i want to know if it is better to delete item data through SQL Back end .and what tables are linked  to item master data table .
    Thanks In advance
    Areeba Ali

    Hi,
    you can delete the item code using SQL statement thorugh backend using this sql query e.g. item code is B747400:
    delete from dbo.oitm where itemcode = 'B747400'
    if you delete it, the db will not consistent and no more support from SAP AG except you create new db and taken the opbal for the db.
    The warehouse journal, all created documents and history tables will not consistent anymore after the deletion.
    to prove it, you may check using this code:
    select itemcode,dscription from oinm where itemcode not in (select itemcode from oitm)
    select itemcode from oitw where itemcode not in (select itemcode from oitm)
    select itemcode from itm1 where itemcode not in (select itemcode from oitm)
    select itemcode from itw1 where itemcode not in (select itemcode from oitm)
    All of the tables involve in the above queries will be affected.  If the item never have any transactions, you can delete it directly using this step:
    1. search the item
    2. if the item is available then right click --> select remove
    JimM

  • Item master data cancelled

    Dear All,
    When I open a item master data, some of the data has 'cancelled' comment on the top.
    The window's title is item master data - cancelled. But I cannot find anything diff on those items.
    What changes did they made then we have a 'cancelled' on that window? Thanks.
    Regards,
    Yuka

    You are right. Right click 'cancel' with cancel the item. Then when we open it, we will see 'item master data - cancelled'
    It will not been shown in the item list when we create document. But will still in the list of items if we do a find in item master data.
    Then if we right click 'remove', the item will disappear.
    Thanks.

  • Error Message while adding Item in Item Master Data- [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 's008 01' to data type int. (CINF)

    Dear Experts
    I am getting the following error message while adding item in Item Master data. I have modified the following SBO_SP_transactionNotification in SQL server after that could not able to add the item
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                      -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                       -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    -- Select the return values
    select @error, @error_message
    end

    Hi Rathna,
    Just put the SP like this, without the -- before the IF. A -- marks the line as a command therefore you need to uncomment and it will work.
    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    Hope it helps

  • Error while importing Item MAster Data using DTW

    Hi,
    when we are importing item master data using items template
    it is giving error.
    Error:":connected value 1 was not found "
    can any one send the oitems template that is working fine wthout any error.
    Thanks,
    Neetu

    You cannot import  data prepration templates>>Testcase1_Test Data for Import function>Oitems directly.
    You will have to do certain prerequisites like setting CommissionGroup, CommissionPercent, CommissionSum,CustomsGroupCode etc., in SAP before importing Items.
    So I would like you to try out with minimum fields in the template and import. After understanding, you can import the required fields.
    I suggest you to use the template from "C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\oItems"

  • Unit Price in Item Master Data

    Step no.1) At time of Defining Item Master Data  we are Defining Unit Price say<b> 2,000</b> <b>INR.</b> Data Saved in Price List 01.
    Now with this information I am Preparing Purchase Order.After Selecting Specific Item unit price is reflecting in P.O by default, Then I modified Unit price from 2000 INR to 2500 INR in P.O.
    Step no 2)  I received material by Goods Receipt PO
    Step no 3) When I am posting A/P Invoice based on GoodsReceipt PO in invoice the original Master Data Unit price is Reflecting.
    Now vice versa I made another Transaction also in Another System.
    In Step no 3 it is reflecting the Unit Price of Purchase Order.
    Can I know why it gives different Information for same type of Transaction. Does I followed wrong System.
    Regards
    Narender

    Please confirm the following.
    Once you select a Price in PO it should carry all the way through at the AP Invoice and should not change unless changed manually.
    Are you copying the PO >  Goods Receipt PO > AP Invoice
    And when copying to Goods Receipt PO or Invoice you are not changing the price or Pricelist
    Pls let me know
    Suda

  • 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

  • Set Length in Inches in item master data in purchasing tab

    Dear Experts,
    I want to set the length,width and height in Inches in the item master data of purchasing data tab. By default it is coming in meter. Please help me
    Regards,
    Ravindra

    Hi Ravindra......
    Go to Administration --> System Initialization --> General Settings --> Display Tab --> Default Length UoM --> set in Inch.
    Hope this will solve your problem.......
    Regards,
    Rahul

  • Item master data: can't modify

    Hello Experts,
    In Item master data >> Purchasing Data Tab >> Items Per Purchase Unit: when I try to change the value of this said field, it gives an error:
    Cannot change the field becuase item is already involved in transactions Message [150-16]
    Though I closed all the PO, Goods Receipt-PO, and Invoice but still the error is same.
    Help Required
    Regards,
    Edited by: Shazad Nazir on Jan 6, 2009 11:40 AM

    Hi,
    You can check Note No. [1059753|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1059753] regarding your case.
    Regards,
    Jitin
    SAP Business One Forum Team

  • Inbuilt RFC/IDOCs to upload ITEM MASTER DATA in SAP IS Retail system

    Hi,
    Kindly let me know the inbuilt IDOCs/RFCs to upload ITEM MASTER DATA in SAP IS Retail system.
    Otherwise let me know the tcode to check the inbuilt IDOCs/RFCs in SAP IS retail system or let me know all MASTER DATA related inbuilt IDOCs/RFCs in SAP IS retail system.
    Thanks
    Ramesh

    Hi,
    Please check below link. hope it helps you to answer your question
    http://wiki.sdn.sap.com/wiki/display/Retail/SAPRetailPOS+Interface

  • Cost Price In Item Master Data Changing

    hi guys...
    the cost price in item master data has been changing by itself in WH2..what could be the possible reasons guys???
    regards

    Hi,
    You must have set your 'Valuation method as ,Moving Average' so the system changes calculates the ost price and changes the value everytime
    regards
    Md.nazeer Shaikh

  • Update of Intrastat details against Item Master Data

    Hi I'm looking to import Intrastat details against item master data.  I understnad from the portal that this needs to be imported to UDO but need some guidance in terms of template set up. 
    Grateful for any help
    Regards
    David

    Hi,
    If you have made already the transactions you cannot update the G/L method.
    Secondly if you have set G/L by Item level then you need to define the inventory accounts for all the items in your template then only you will be able to proceed further
    Regards
    Md.nazeer Shaikh

Maybe you are looking for

  • Safari Quit Unexpectedly due to Plug In

    Help I'm losing my gosh darn mind! Just started the past week Can watch movies and shows and stuff but pops up and tonight I went to listen to something on soundcloud.com and it won't let me play Process:         WebKitPluginHost [222] Path:         

  • What is the Role that gives me access to JCO settings page?

    Hi all, I am at the customer site doing some WDP dev. I need to setup JCO so as to make use of RFC. Customer has already assigned all the roles they have and i still cant access to the backend setting page. What is the role to give me the access? how

  • ARGH!  Accidentally run Insert silence on the wrong track - HELP!

    Is there anything I can do? I had a perfect comp of a pedal steel part and ran several insert silences over a part of it and have completely lost lots of work. Can I do anything? Will the raw wave file be intact? Gutted

  • I can download a program but wont instal

    I downloaded a free trail of a DJ software i am thinking of buying, but after i downloaded it, i click to open and it said i couldn't install because its says this program can not be run is DOS mode. Can someone help me? Im on my first mac and am abs

  • Error 2343 in easylink 3.1 install

    I received an error 2343 when installing LELA 3.1 AFTER it uninstalled 3.0. What the h... do I do now?