DELETING THE MASTER RECORDS

Hi gurus,
i want to upload the new master records into my system regarding the MM. first thing i want to delete the old records in the system and freshly want to load into the system. please give me the soluion how to do it.
it is a development server..
thanks in advance..
ravi

i want to upload the new master records into my system regarding the MM. first thing i want to delete the old records in the system and freshly want to load into the system. please give me the soluion how to do it.
>
> it is a development server..
When uploading the new master records, just assign the previous numbers used by the old master records and the new upload will overwrite those old records. In this case deleting/overwriting the old records.
If you dont assign the new upload any numbers, it will append below the exisiting records, that way not deleting the old records.

Similar Messages

  • How to delete the master records when corresponding details records exist.

    What is the SQL statement to delete the records of master when the corresponding detail records are present.
    Note: No Cascade clause was used at the time of creation of referential integrity constraint.
    "M"- Master Table
    "D"- Detail Table
    I used, "Delete from M cascade". This statement is not working.
    Your favour in this will be deeply appreciated.
    Cheers
    PremChin

    Hi folk,
    i appreciate your suggestion,
    my crux of the situation is to know whether there is a way to make it without disabling,removing or modifying the referential integrity constraint.
    If so, modifying, please help me out how to modify the constraint in order to remove the master records keeping detail records in-tact.
    Cheers
    Premz

  • Advanced Table in Table - Error on Deleting the master record

    Dear All,
    I have a custom EmployeesVO and a ReimbursementsVO.
    EmployeesVO is the master and ReimbursementsVO is the child.
    They are based on EO which are linked by entity association. The VOs are linked by a viewlink (which is inturn based on the Association)
    I have created an advanced table-in-table, where EmployeesVO is the master, and in the detail, I have the reimbursementsVO.
    Both inner and outer table have a "Select and Delete Row" functionality. This works fine on the Inner table (Reimbursements).
    However on the outer table for Employees, I have two options
    1. In the Employees EO , select the "Implement Cascade Delete"
    2. In the Employees VORowImpl, create a "Remove" method, iterate through the child rows using view link accessor, delete the child rows first and then call super.remove method. to delete the employee row itself.
    In both cases, I get an error saying "error forming SQl statement...Invalid column type" or "Unable to create java.lang.Object". On debugging, I see that it has no issues deleting the child rows and that goes through fine, but when the master row is deleted - :(
    Will be grateful if anyone can provide any advise on this.
    Thanks !

    From MetaLink it looks like bug# 2433386
    Not yet resolved.

  • You must set the deletion flag in the master record

    Hi,
      when I go  through  Archiving  document,
      Pre requiste is to 'you must set the deletion flag in the master record'.
      Please  let   me  know  how  to set  deletion  flag.
    Thanks,
    Asha

    For archiving you have to Flag thel master record for deletion. This is known as logical deletion.
    For examble make customer delete ie set flag you can use tranx vd06

  • Error while deleting the Master data

    Hi Friends,
    i am getting the below error while deleting the data from a master data:-
    The system is unable to delete all of the specified master data,because some of it is still in use. (See log:Object RSDMD, sub-object MD_DEL )
    Do you want to delete the data records that are no longer in use?
    Could you guide how should i proceed to delete the data.
    Regards,
    Hirdesh

    Hi Hirdesh,
        If you are using master data in someother data targets u cant delete master data.So first you have to delete the data in data targets where this particual master data object is used, then remove the data in master data object.
    Regards
    Prasad

  • How to delete the material records related to storage type

    Dear SAP guru's,
    I got a situation that if the material "XXXXXX" exists in two different storage type (let say 001 & 002 ) and the material needs to be removed out of one (Let say 002) to avoid the picking and putaway in future.
    Inorder to accomplish an above requirement we tried the below cases
    Case 1: By flagged the material "XXXXXX" under storage type 002 in MM06 transaction.But it didn't restrict the system on allocating and removing the stock from /to to the storage type 002.
    Case 2:After we flagged the material for deletion under storage type 002 ,we used to MM71 transaction to archive & delete the material record that assocaited with the storage type 002 completely.
    I am kind of queiries to know if there is any other method or procedure available to delete the storage type associated material records in SAP.
    Please guide me with the other options.Thanks.
    Regards,
    John.

    Hi John,
    Its very simple, remove the Storage type indicators from the material master - Warehouse View 1 at Stock placement & Stock removal section, with this it won't pickup or place the materials in the concerned storage type.
    If you have extended this materials to more than 1 storage type, you need to do the same for all the storage types.
    Reward if it is helpful.

  • Delete the parent records and child table records at a time

    hi all;
    I am facing the pbm like to delete the all records in child table and corresponding records in parent table at a time. so I want to delete the all the records in child table and corresponding parent records in parent table by using single SQL query. plz help me
    Thanks in advance

    You want to use one single SQL statement to delete the child records in a table and the corresponding master records in the master table??
    That's not quite possible with a single SQL, of course unless you are talking about Oracle Forms, where you have a relation and set the delete behavior to Cascading, like said in the above posts.
    Tony

  • How to delete a master record with transaction data?

    Hi,
        Iam able to delete master record(GL/Vendor/Customer)through OBR2 when there is no transaction data in those respective master records. Despite of clearing all open items in a particular vendor Account, Iam unable to delete that master record. Please suggest me how we can delete vendor master data having transactional data.
                               Thanks in Advance
    Regards,
    Satish

    Hi...
    Not sure whether this helps....you can mark the vendorrecord for deletion and later try to delete it.
    Logistics >> Materials management >> Purchasing >>
    (new menu) Master data >> Vendor >> Central >> Flag for deletion
    try using XK06/FK06
    Assign points if useful
    Regards
    Aravind

  • Can VMD_EI_API handle Create, Edit, and Delete Vendor Master records?

    Hi Everyone,
    I have a development that requires to create, edit, and delete vendor master records through a webportal ui. Technically, it will be a background process in SAP because it must not have a dialog screen. In my search so far, there is no standard BAPI or Function module that can handle this one.
    Can the class VMD_EI_API handle the requirements?
    Regards,
    John

    Hi,
    Yes, You can use this class to create/modify/delete vendor master data. You can find in SCN documents with example how use it.
    Jarek

  • Attribute change run fails - "Error when deleting the data record /B05/X.."

    Hello,
    I get the error message "Error when deleting the data record /B05/X.." on doing the change run.
    I have already done RSRV on this objects and found no errors, but still the activation fails.
    please give your suggestions ASAP to fix the issue as it is on production system.
    Thanks.

    Attribute change run could fails due to 2 reasons-
    (1) attribute xchange run is already runnnig for any toher object(monitor lock) (check by thi prog-RSDDS_CHANGERUN_MONITOR)
    (2) data is loading deleting from the object on which attribut changerun is running.(go in a manage tab and check)
    check this two conditions and rerun the attribute changrun again from program - RSDDS_AGGREGATES_MAINTAIN and give the master data name in the selection.
    Hope it helps you.

  • How can we delete item master records in B1?

    Hi everyone,
    Can anyone tell me to how can we delete item master records in B1?
    Regards,
    Ronauk

    Hi Ronauk,
    Item Master Data --> Right click and Remove Items
    Before that check the items
    1.Item was '0' qty
    2.Item Master Data--Inventory Data-->Check all the warehouse-->Instock-->Commitment->Order Qty
    Removal items is fresh nothing problem for removing process.
    Is there any postings, the all related data's are abused.
    Regards,
    J.M.Halik

  • How to Delete the condition record in CRM

    HI,
    Can you please help me how to delete the condition record from condition table in CRM.
    Please explain the usage of FM CRMXIF_CONDITION_SEL_DELETE with examples.
    I have also read the documention of the function module. How to use this FM for custom defined condition table.
    (this is the code given in Documentation)
    DATA-OBJECT_REPRESENTATION         = 'E'
    DATA-SEL_OPT-CT_APPLICATION              = 'CRM'
    DATA-SEL_OPT-OBJECT_TASK                    = 'D'
    DATA-SEL_OPT-RANGE-FIELDNAME        = 'PRODUCT_ID'
    DATA-SEL_OPT-RANGE-R_SIGN                  = 'I'    (Including)
    DATA-SEL_OPT-RANGE-R_OPTION           = 'EQ'
    DATA-SEL_OPT-RANGE-R_VALUE_LOW  = 'PROD_1'
    Thanks
    Shankar

    Hi Shankar,
    I am using the same CRMXIF_CONDITION_SEL_DELETE function module to delete condition record present in CRM.
    But it is giving me below error in the return table of the FM after i run the program. Can you please correct me if I am doing any thing wrong?
    Error in  lt_return: SMW3     CND_MAST_SEL_DEL_EXT_VALIDATE     CND_M_SD
    code:
    ls_range-fieldname = 'PRODUCT_ID''.
    ls_range-R_SIGN = 'I'.
    ls_range-R_OPTION = 'EQ'.
    ls_range-R_VALUE_LOW = '123456'.
    APPEND ls_range TO lt_range.
    MOVE lt_range TO ls_entry-SEL_OPT-range.
    ls_data-SEL_OPT-object_task = 'D'.
    ls_data-SEL_OPT-ct_application = 'CRM'.
    ls_data-object_representation = 'E'.
    CALL FUNCTION 'CRMXIF_CONDITION_SEL_DELETE'
      EXPORTING
        DATA          = ls_date
    IMPORTING
       RETURN        = lt_return
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      IMPORTING
        return = lt_ret.
    Edited by: Saravanaprasad Nadar on Jul 7, 2010 1:27 AM

  • Can I configure to always delete the master file?

    Hi!
    If I want to delete a file, I don't just remove it from the cataloge, but to delete the master file, too.
    If I use the remove key, I get the (annoying) pop up, what I want to do: (sorry, I've a german version, so I just try to translate it)
    Delete from hard disk
    Remove (default selected)
    Cancel
    Is there any chance to avoid this dialog? Or at least to chance the preselected button, so I've just to use the enter key?
    Actually I've to
    press delete
    press left arrow key
    press enter
    That is a little bit annoying and error-prone
    Thanks a lot!
    P.S.: I just found out, that ALT+DELETE is a shurtcut to remove the file from the catalog. So it would be greate to have a similar shurtcut to delete the file from the filesystem.

    Thanks!
    But it is almost the same as CTRL+ALT+DELETE, which has a special meaning in Windows :-(
    So there is no way, to get a delete action, that easiliy deletes, without pressing four keys in parallel? :-|
    Perhaps, the developers of Lightroom could provide an option, so you get the pop up, but the default action is different. That would be really great.

  • How to delete the duplicated records, not just surpress the records?

    I am new to CR. Right now I am doing a project which needs CR get query from Oracle. I got the query from Oracle. There are records with duplicated fields. For example (the following only show part of fields):
    ID    body_code  
    1            10            
    2             10            
    3             15            
    4              15           
    5              15           
    6              16           
    I need to only select records (not surpress, because I will do some caluculate later) like following:
    ID         body_code        
    1             10         
    2              15
    3               16   
    I tried to creat selection fomula in fomula workshop, shown as follows:
    onlastrecord;
    <>next
    but CR said next can be evaluated. I think it must have something to do with the print-time. So what show I do to delete the duplicated records.Thank you very much.

    Ting,
    Try this:
    Insert a group on body_code.  Then create a running total called Distinct Count.  Field to summarize -> ID, Evaluate on change of group Group # 1 Body Code, and Never Reset.
    Then insert a chart in the report header:
    In the advanced layout, select body_code on change of and select Distinct Count running total in the Show values.
    I hope I understood what you're looking to accomplish.
    Z

  • How to delete the duplicate records in a table without promary key

    I have a table that contains around 1 million records and there is no promary key or auto number coulums. I need to delete the duplicate records from this table. what is the simple effective way to do this.

    Please see this link:
    Remove duplicate records ...
    sqldevelop.wordpress.com

Maybe you are looking for

  • Something in iTunes version 7.6.9.2 is not working on my laptop (Toshiba)

    Just this week I began having problems with my iPod nano (3rd generation) and my computer. Here's the deal: A couple of weeks ago I went through some of the files on my computer and removed them because I thought I didn't need them. One of those file

  • Can i reduce the size of a numbers file after creating it?

    I have created a template using numbers and after adding the information and photographs the file appears too big to email; can the numbers file be reduced after created to enable emailing?

  • Itune ask for a password but i cant becaus my ipod is disconnect

    My ipod tell me to connect to Itune because my bro try to many times to find my password so now i even cant put it so i connect to Itune but wen i do.Itune tell me to put my password on my ipod becaus if i dont ,Itune can't open my ipod but there is

  • Pacman Errors: Installing ndiswrapper

    I'm currently installing Arch-Linux on my laptop, and everything has gone well. But, I am having a little trouble using Pacman to install Ndiswrapper on my machine. I first attempted to install it, and it appeared to download all the dependencies and

  • Mavericks wont access time machine !! ARGGHH

    Hi All, Im having this problem and its driving me Mad ! I have a 2010 machine, with Intel Chipset. Since updating to Mavericks its caused all sorts of issues. I went into the Apple store and they said to wipe the hard drive and reinstall using the Ma