Is it possible to add items back with same item code if deleted through SQL

dear all,
My client has completely revised the item master. So about 1000 items are needed to be removed from the item master. As it will be tedious to remove it one by one from SAP, first I tried doing this in the test database.
What I did was using a query I deleted the items groups wise as a bulk. But if I try to add any one of the deleted item back again with the same item code it is saying that the item already exists even if it is deleted from SQL. How to add the items?
There must be a solution for this.. Experts please help me ASAP in this situation.
waiting for your valuable solutions...
Yeshwanth Prakash

Hi,
First at all, i like to say : it is not recommend to do a update or delete statement by a sql query!
What I did was using a query I deleted the items groups wise as a bulk.
That would be a big mistake! See my introduction statement.
But if I try to add any one of the deleted item back again with the same item code it is saying that the item already exists even if it is deleted from SQL. How to add the items?
It clearly says that the items already existing. I think you only delete from the OITM table, but items not only stored in this one table. Of course there are many other tables like ITM1..ITM9 or the financial tables.
Regards Steffen
Edited by: Steffen Kamphoff on Jan 10, 2009 6:07 PM

Similar Messages

  • Powershell Script to Remove and Add the user with same permission

    Hi,
    I need to remove all users within all site collection of a web application and add them back with same permission level. We have a siteminder based custom trusted identity token issuer configured in our farm. The name of the issuer will be changed
    due to some architectural decissions , hence all users which are there before will be unidentified, hence need to be removed and added again.
    Currently each user looks like :                       c:0ǹ.t|Identity Token Issuer1|user1
    Post the change the user will look like:          c:0ǹ.t|Identity Token Issuer New|user1
    I am looking for a powershell script which can handle this operation.
    Thanks, Bivsworld

    Bivsworld,
    Below link should give you a start.
    http://www.sptechlearn.com/2014/10/delete-users-from-user-information-list.html

  • HT5621 I changed my Apple ID but on my iPhone when I go into settings iCloud it still shows the old Apple ID. How do I change this? I was going to delete the iCloud account from my phone then add it back with the new Apple ID, but I'm not sure...help!

    I changed my Apple ID but on my iPhone 4S w/ iOS 7.0.4, when I go into settings > iCloud it still shows the old Apple ID. How do I change this? I was going to delete the iCloud account from my phone then add it back with the new Apple ID, but I'm not sure...help!

    http://support.apple.com/kb/TS5223?viewlocale=en_US
    Peace, Clyde

  • Is it possible to add a column to the Item matrix in the ItemLookup form (C

    Hi,
    Is it possible to add a column to the Item matrix in the ItemLookup form (CFL or Find Lookup).
    I need to display a value in the newly added column if the itemgroup in that row matches a certain value , how can I achieve this.
    Thanks

    Hi,
    You may check this: Can we add CFL to the  system/form defined textbox?
    Please close your previous open thread.
    Thanks,
    Gordon

  • Is it possible to add new columns with format "Text" once a table is linked to a form

    Is it possible to add new columns with format "Text" once a table is linked to a form in Numbers for iPhone or is it impossible and thus a serious bug?(Rating stars and numeric vales seem to work.)
    Those bugs happen both for new speadsheets as well as existing onces, like the demo. When you are in the form only the numeric keyboard shows up.
    Pat from the Apple Store Rosenstrasse/Germany approved that it looks like a Bug during the Numbers Workshop I was in: It is not possible to add new columns with format "Text". I reported the error for Version 1.4 but there is no update nor do I get statement of understanding the issue.

    Hi Knochenhort,
    I see what you are talking about now. Without knowing how the program actually works, I think this is what's going on:
    When you add a new column to an already existing table (with already existing formats), the new cells come already formatted like the previous column. So when you add a column to the end of the demo table, the cells are already formatted like stars, and when you add a column to the beginning, they're already formatted like number.
    I think this is why it's different when if you add columns to a table with blank (unformatted) columns. In that case, the new cells aren't already "tainted" with a set format, so you can change to text format without issue.
    It seems like the problem is that you can't format cells that are already formatted as "number" as "text" format (even if it doesn't look like they are, because they are blank). IMO, this is a bug! This is why you don't see this issue when adding columns to a new table, because the new cells don't already come with a format.
    To workaround, you can highlight the body cells after adding the new column, and delete the cells. This will "clear" the formatting, so you can then go in the inspector, format them as text, and the correct keyboard will pop up.
    Hope that helps!

  • Two deductions for invoice with same reason code posted as one line item

    Hi
    We have a scenario wherein we are taking two or more deductions on the same invoice and are using the same reason code which have a setting of charge off.
    SAP system displays the FI posting with same reason codes with charge off setting as one line item.
    However we want the FI Posting to display separate line items per deduction and not combine amounts of deductions based on same reason code with charge off setting.
    Any comments are appreciated.
    Edited by: Kirti Bhardwaj on Jul 24, 2011 9:46 AM

    Hi,
    you can use different reason codes in distribute differences screen once you have fist selected one reason code for one invoice.

  • How to make plant default on the line item along with the item category

    Hi All,
    I want to default Plant on the line item along with the item category.In order to meet the following scnario.
    1. I have two plants,first plant is maintained for the valuated item and the second plant is maintained for the non valuated item (Free Goods).
    Whenever user is entering an item in the sales order for which corresponding free goods item is maintained in the master record.System is proposing two lines items in the sales order.
    First line item is the main item which appears along with the Plant 1 which contains valuated items
    Second line item is for the Free of charge item which is being proposed from Plant 2, which contains the non valuated items.
    I want that the system should always propose Plant 1 with main item and Plant 2 with the Free of Charge item by default. (Along with the item category TAN and TANN)
    Rahul

    Delivering Plant is determined in the following order
    1. Customer material info record.
    2. Customer master
    3. Material master.
    Use one of them an default your plant.
    I think in your case you can use the materila master which will give an item level plant different. The other two will default the plant at the header level.
    regards
    jude

  • I have a license for all adobe files but recently i had a virus and all my files were deleted.Now when i want to have them back with my redemption code it says that i cannot use it anymore.But my license is not expired.How do i get my files back??

    i have a license for all adobe files but recently i had a virus and all my files were deleted.Now when i want to have them back with my redemption code it says that i cannot use it anymore.But my license is not expired.How do i get my files back??

    Your redemption code was used to acquire an activation code.  The activation code is what you need to use when you want to reinstall/enable the software again.  Check your Adobe account online to see if the number(s) can be found there.

  • FOC item relation with standard item

    Hi All,
    I am new to SAP SD. I have small doubt related to FOC item relation with standard item. When i enter standard item in sales order automatically free of charge item coming as sub item.
    Please tell me where do we create link between standard item and FOC item so that once standard item entered in sales order automatically free item will come into sales order.
    Regards
    Ashok

    If I am understanding you correctly, you will maintain this using VOV4
    go to your order type
    find the Item category from the material master for the material you are using (NORM,DIEN,etc)
    enter your high level item category for sales order (standard Item) (item categories that are defined in VOV7)
    then enter your default item category  for sales order (sub items)
    I hope this helps you in the right direction.  Please advise

  • Cross company subcontrating in sap with same company code

    Dear Sir
    we have an scinario of cross company subcontrating in sap with same company code , take an example my plat is 1003 and another is 1019 with same company code, so is it possible to do subcontracting ? i will process doccoumntation like j1if01
    which i raise with vendor also.
    plz send me procedure
    regards''
    sumit

    Yes,you can do subcontracting between plants of same company code.
    You need to to treat respective plants as vendors.
    SAP process may be
    1. Create a subcon p.o (sending plant as vendor)
    2. Issue material using MB1B
    3. Raise challan using J1IF01 if it is excisable or else print material document(step-2) as delivery challan for reference.
    4. Receiving plant will raise sales order based on p.o
    5. GR material from issuing plant - MIGO
    6. Process material
    7. Do Delivery / PGI from receiving plant
    8. Do billing or proforma invoice
    9. Receive processed  material based on p.o
    10. Challan reconcillation(not needed if material is non excisable)
    11. Invoice for subcontracting work(optional)

  • TS3212 every time i try to download itunes my computer comes ups up with an error code half way through  down load error code 2330

    every time i try to download itunes my computer comes ups up with an error code half way through  down load error code 2330

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Form-16 ,if employee get transfered with same company code.

    Hi Friends,
    If an employee get ransfered from one personnel subarea to other personnel subarea with same company code, can we get Form-16 seperately for two different periods.
    Thanks in advance.
    Appreciate any help and points will surely be rewarded.
    Thanks & Regards,
    Nanditha

    Hi,
    Pricing configuration for STO: -
    In SPRO > MM > Purchasing > Conditions > Define Price Determination Process > Define Schema Determination > Determine Schema for Stock Transport Orders > Here assign Calculation Schema "RM2000" i.e. Stock Transfer Document to Schema Grp Pur. Org, STO Type (For e.g. UB) and Supplying Plant.
    Calculation Schema "RM2000" has condition type P101 which will pick up the MAP of supplying plant automatically during creation of STO in ME21N ("Conditions" Tab).
    You can create new freight / delivery cost conditions in M/06 for Margin and assign in pricing procedure "RM2000" in M/08 and also assign the Accrual Key to this and do the Account Determination for this Accrual Key in OBYC
    At the time of PGI, following accounting entry will get generated;
    Stock A/c - Dr - 110 INR (Receiving Plant)
    Stock A/c - Cr - 100 INR (Supplying Plant)
    Margin Account - Cr - 10 INR (Supplying Plant)

  • Is SAP BI reporting is possible in ECC 6.0 with same client

    Hi all,
                             My requirement is, we need to design SAP BI data flow in ECC 6.0 with same client only.  Now I am designing the BI data models as per the requirement of SD sales reports in ECC 6.0.For this, when i was extracting the data from SD datasource(2lis_11_vahdr) in RSA3 its showing 0 records,actually  as per VA01 some records are available but its not showing in the RSA3.
                              My doubt is , is it possible to extract the data from ECC 6.0 and load the data to the datatargets  and get the SAP BI reports in ECC6.0 with the same client.
                              Please suggest as soon as possible.
    Thanks

    It is possible to load the data from the same client. It all depends on the source system and the client which has been connected in the RFC connection.
    Let me know if this helps.
    Regards,
    Avinash

  • 2 Shopping Cart items with same item number

    Hi experts,
    We are facing a problem I never heared before : a shopping cart has been created with total of 51 items in SRM but some of them have the same item number in BBP_PD (2 items nr 16, 17...).
    For example, the 2 items nr 16 have a different Guid, only 1 entry in status section (I113 => OK), 2 entries in Partner section (vendor, requester, receiver, ship-to & site => OK), 2 entries in organization section, only 1 entry in item link section, 2 entries in concract section, 2 entries in account assignment section.
    Functionnally, these 2 items are not on the same article (even product categories are different).
    The problem now is that only one of the 2 items has been transfered to the backend, the other item has status "approved" but no "follow-on document created".
    The only thing diffrent from another SC is that this SC has been put on hold before being ordered (status I1009 is inactive).
    I didn't found any note on this problem, we are user SRM5.5 SP6 with classical scenario.
    I heared about a maximum item number in SC but I think in SRM5 there is no limitation, at least not less than 99 items.
    Thanks in advance for your help!
    Best regards,
    Benjamin

    Hi,
    please try to process the Held SB ,backend document will be created. since Creation of Shopping cart is in WEB processing of time take more normally .I think you can create a line item of
    999 line in SB because in backend SAP R/3 it will allow only 999 line items
    G.Ganesh Kumar

  • CAS server deployment -- Additional Primary server deployment with same site code

    Hi,
    I have an primary site server deployed at one of the location on windows server 2008 R2 with SCCM 2012 R2.
    I need  to have an additional primary server at same site with OS of windows server 2012 R2 with SCCM 2012 R2.
    I would need help in how to achieve this.
    If I deploy this will my all endpoints will get an information of new Primary server at same site.
    Regards,
    Deepak Sharma

    To add-on, based on the title of the post, do I understand it correctly that you want to deploy that second primary site in the same hierarchy with the same site code as an existing primary site? If so, that's a huge no-go. Never use the same site code
    twice in the same hierarchy...
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

Maybe you are looking for

  • Edit Appraisals:  Notes only shows one row at a time

    Under the Employee Review tab of MSS-->Edit Appraisals, when I click to create an appraisal, the appraisal form in our system has areas to add notes.  However, in the portal, the area to add notes is only 1 row.  It is scrollable, but you can only se

  • Problem  while reading XML file from Aplication server(Al11)

    Hi Experts I am facing a problem while  reading XML file from Aplication server  using open data set. OPEN DATASET v_dsn IN BINARY MODE FOR INPUT. IF sy-subrc <> 0.     EXIT.   ENDIF.   READ DATASET v_dsn INTO v_rec. WHILE sy-subrc <> 0.   ENDWHILE.

  • PO (Sapscript) is sent to vendor as PDF attachment

    Hi,    Here it is configured to send PO (sapscript form) as PDF attachment to an email address.  There are two emails sent, one as text email and the other as PDF. I could find how the text email is sent. Both emails(?) are sent from a custom FM. The

  • Gigaworks 750 speaker wiring sucks

    I would like to upgrade speaker wire to quality 6ga. Is there a way to accomplish this? I want to ceiling mount the satellites and run the wiring thru the attic to a central junction panel. Unfortunately the unusual configuration of RCA to spring cli

  • JMS P2P Persistence with Oracle

    A couple of questions w.r.t Weblogic JMS p2p messagsing and persistence. I do realise           that after configuring, via the console, a persistent store, that WL creates or requires two oracle tables: prefix.JMSStore and prefix.JMSState.