Customer deletion

HI
I would like to know how to manage deletion of customer or material.
I would like to report only on active customer/material. i saw that in the extraction flow there is a field deletion but i made a test with a customer in R/3 i delete it with transaction VD06 and the flag is always empty. so i don't know how to retrieve this information.
The objective is to create a report on the master data but only active.
Thanks
Cyril Leredde

Hi
Thanks for the reply.
The problem is i try to find how to identify it. WHen users use VD06 what is the consequence?  is the deleteion flag updated or not ? if not how this field is updated ?
Thanks
Cyril

Similar Messages

  • Customer Deletion flag

    Hi Gurus,
    How to delete multiple customers (its not specified from 1 to 10 like, its like customer no: 2, 4,8,10,13,17,89,99,110 like)in one go, In XD06 we can enter only one customer number. I tried T. Code: MASS also, but could not find the solution.
    please help me ASAP.
    Thanks in advance.
    Regards,
    Vamsi P.

    Hi Vamsi,
    The CATT is primarly a testing tool and can also be used for mass upload of data. The CATT works as if an user is updating the values one by one.
    The procedure to upload the data using CATT is done in four steps
    a) Creating the CATT Test Case & Recording the sample data input
    b) Download of source data file
    c) Modify the source data file
    d) Upload the data from source file
    I have explained the procedure step by step and do note the following explanation is specific to your problem
    Creation of CATT Test Case:
    1)Go to TCODE [SCAT]
    2)Create a Test Case by entering a name and clicking the TCD button in application tool bar
    3)Enter the TCODE you want to execute [XD06]
    4)Enter the customer number, company code and sales area data.
    5) Select the required deletion flag and/or deletion blocks
    6)Click on Save
    7)End Recording
    8)Click on Save and save as local object
    9)Press Exit button and save changes while exiting.
    Now we have created a recording for deleting a customer with a sample data.
    Ensure while recording the transaction you do not get an warning or error messages else you might have to redo the recordng.
    Download of source data file
    1)In the [SCAT] screen select your test case and click on change
    2)Click on choose button in the application tool bar
    3)Click on field list in the application tool bar
    4)Double click on the customer number and change the parameter name as &CUSTNO. Any field starting with & would be treated as an input field from a file. If you have to execute the customer deletion across multiple Sales Area you need to do the same for the Sales Area fields too
    5)Remove the default value
    6)Press Exit and save the test case
    7)In the SCAT screen select your test case and in the menu bar Goto -> Variant -> Export Default
    8)You would get a text file.
    Now you have downloaded a source data file
    Modify the source data file
    1)Open the text file in Excel and load the remaining data
    2)Remove the fourth line which starts with three asterisks
    3)Below the customer number heading (&CUSTNO) load all the customers for which the deletion flag has to be set
    4)Save the file as Text Delimiter
    Now the data to be uploaded as been prepared.
    Upload the data from source file
    1)Go to [SCAT], select the test case and press F8
    2)Select the processing mode as background
    3)Chose variant as external from file
    4)Click on choose and select the path of the text file
    5)Press F8 for the remaing records to be updated
    After execution press Enter to see the log. Any line highlighted in Red is an Error for which you need to do further analysis to find out the error reason.
    Hope this helps.
    Regards
    Nadarajah Pratheb

  • Tcode for customer deletion

    Hi,
    What is the Tcode for customer deletion and what is the process, like VD01 for create customer and VD02 for update customer.
    What is the Icon we use for update like ICON_DELETE for deletion.
    Thanks,
    Veni.

    Hi,
    You can mark a customer for Deletion and not physically delete it from the database for business continuity purposes.
    Go to VD02 and enter the customer you want to delete.
    Then Click on Extras->Deletion Flags.
    Then it will take you to a screen with various options for Deletion.
    Select the option Deletion Flags->All Areas to delete all data.
    I hope this reply helps.
    Thanks,
    Priyabrata Samanta
    Edited by: Priyabrata Samanta on Jan 25, 2008 4:27 AM

  • Table or FM for finding customer deleted date - Distribtn channel specific

    Hi All,
    I need your help in getting table name or any function module which will give the customer delete date.
    I can not use CDHDR table since it only gives the customer number.( Same customer can exist in different distribution channel and i want to know the specific date on which specific distribution channel customer is deleted).
    Note: Deleted date is not available in KNA1 or KNVV.
    Any pointers will be rewarded.
    Thank You.
    Regards,
    Sheeba

    Hi,
    Call FM CHANGEDOCUMENT_READ with parameters
    OBJECTCLASS = 'DEBI'  &
    OBJECTID    = <CUSTOMERID>.
    Output structure EDITPOS will have change document data of all
    customer related tables.
    Regards
    Vinod

  • I have an iPhone 3gs, operating on iOS 6.  For some reason, I'm unable to custom delete individual photos from my photo library....

    I have an iPhone 3gs, operating on iOS 6.  For some reason, I'm unable to custom delete individual photos from my photo library.  When I select the Edit button to do so, I'm only given the 2 options of "Share" and "Add To". My Camera Roll does everything the way I wish my Photo Library would.  Can anyone help?

    Only photos in the Camera Roll can be deleted.  The rest of the photos got there by synching to your computer.  You get them off the same way.
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • Customer Deletion via RFC

    We would like to delete a customer (set deletion flag) via RFC. The problem is that the BAPI_CUSTOMER_DELETE calls screens which means that it cannot be called. We want to avoid doing database updates on KNA1-LOEVM because we want such deletions recorded in the change log and properly executed.
    Are there any functions in SAP which delete customers properly without user interaction?

    Here is the sample code:
    DATA: BDCDATA TYPE TABLE OF BDCDATA.
    DATA: ITAB TYPE TABLE OF BDCMSGCOLL.
    DATA: PROGRAM LIKE SY-REPID,
          WA_BDCDATA TYPE BDCDATA.
    WA_BDCDATA-PROGRAM  = 'SAPMS38M'.
    WA_BDCDATA-DYNPRO   = '0100'.
    WA_BDCDATA-DYNBEGIN = 'X'.
    APPEND WA_BDCDATA TO BDCDATA.
    CLEAR WA_BDCDATA.
    WA_BDCDATA-FNAM     = 'RS38M-PROGRAMM'.
    WA_BDCDATA-FVAL     = PROGRAM.
    APPEND WA_BDCDATA TO BDCDATA.
    CALL TRANSACTION 'SE38'  USING BDCDATA  MODE 'N'
                             MESSAGES INTO ITAB.
    For more info, please refer to SAP online help documentation http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm

  • Custom delete button script

    On the form linked below, I am trying to create a script for the red custom button (red button with white "X" ) that will delete only that particular meeting topic and renumber the remaining topics sequentially. I created a pop-up message to appear warning the user that they are about to delete that row but cannot figure out how to delete that particular sub-form occurrence.
    I was also trying to make the Action Items dropdowns only include displayed topic numbers but can leave what I have (list 1->25) if that is not possible,
    https://acrobat.com/#d=7Is3SWf5AY-hg7d9bYu67A

    Try the following code in the click event of the Delete button.
    var nResponse = xfa.host.messageBox("You are about to delete this row. \n\nDo you want to continue?", "Deleting a row", 1, 2);
    if (nResponse == 4)
    this.parent.instanceManager.removeInstance(this.parent.index);
    Also place the following code in the Layout Ready event instead of initialize event of the NumericField.   
    this.rawValue = this.parent.index +1;
    Thanks
    Srini

  • BCC Custom Delete Asset

    Hi all,
    I am using Oracle Commerce 11.0 in a B2B project and I have this requirement: When a user try to remove an Organization from BCC, I have to do some checks before it.
    So, I tried to search some FormHandler at viewmapping, and found OrganizationFormHandler and RepositoryAssetService.
    At OrganizationFormHandler, I found the handleDelete and pre/post delete methods. So I wrote my custom code and changed the component class property.
    But when I tried to remove and organization at BCC, it seems like this isn't the correct form handler. So I tried to see RepositoryAssetService, but it don't have handleDelete or any other remove/delete method.
    Anyone knows which is the correct component to override?
    Thanks in advance.

    in the entityImpl:
    public void remove() {
    brDeleteAllowed();
    super.remove();
    public void brDeleteAllowed() {
    String query =
    "select count(*) from SCHEMA.TABLE table where table.FK_ID=?";
    PreparedStatement stmt =
    getDBTransaction().createPreparedStatement(query, 1);
    try {
    stmt.setInt(1, this.getPk().intValue());
    ResultSet rs = stmt.executeQuery();
    if (rs.next()) {
    int val = rs.getInt(0);
    if (val != 0) {
    throw new JboException("This row's primary key is references as a foreign key by another table.");
    } catch (SQLException e) {
    throw new JboException(e.getMessage());
    let me know if that doesn't make sense. basically, you are just executing the query to find out whether or not you can delete the row prior to violoating the database constraint.

  • Customized delete process

    Hi
    in my application i have
    Process Row of WPA_emp_TABLE and has all operations of insert/delete/update of type Automatic Row Processing (DML)
    now i created another button of Logical Delete and created a process to logicallly delete the record bypassing the acutal delete process created by apex.
    but it is not working. any help please.
    How can we customize the delete as follow in a process associated with delete button
    update emp set logical_delete='Y' where empno=:p1_empno;
    thanks very much in advance.

    Have Logical delete button Redirect to URL and the URL would be like
    javascript:confirmDelete(htmldb_delete_message,'LOGICALD');This causes a dialog box to appear asking for confirmaiton to delete the record And changes to the Process Request to LOGICALD, which will cause the DML process to NOT fire.
    htmldb_delete_message can be replaced with a literal message to put on the dialog box that confirms delete
    Create a process with a PL/SQL condition on it where
    :REQUEST = 'LOGICALD'Would be one way.

  • Bulk delete of customer details after soft bounce

    Another item that has been requested time and time again over the years.
    Anyone have a solution of how to delete Leads after a soft bounce, which never came through as a hard bounce. (I won't call them customers as there is no other information on them or purchases - just an email address, so there is no issue)
    Nothing is easy in this system! Getting jack of it, and so are clients.
    You can pull up the problem soft bounces, and fantastic, you can open in a new tab, instead of the STUPID pop up box.
    But that is where the ease stops. I can not view the customer in a "New Tab" and then delete them.
    I can only click on the link and view the customer, which means my list of all the soft bounces disapears.
    After deletion, I have to go through the whole rigmarole again, of
    going to the email campaign
    Going to bounces
    changing the sort criteria
    waiing for the list
    viewing the customer
    deleting them
    and starting again
    There are over 200 bounces
    Seriously !!
    Again I point out this was on the wish list for years!!

    A row-by-row delete should function properly but will probably be slow for a couple of reasons. The index maintenance has already been mentioned, but the other reason is context switching - there can be overhead from switching back and forth between SQL and PL/SQL. Bulk SQL as John illustrated should be efficient. Also remember to do as few commits as possible, one if you can.
    If you are deleting a significant number of rows in the table you can try dropping non-critical indexes (not used for the delete) and rebuilding them when the delete is done - if other processes don't need to access the data during this time. Indexes used for the delete can be dropped and recreated afterwards.
    Another option suggested here on OTN that might help is to copy the rows you want to keep to a new table, recreate any indexes and constraints (this will take a bit of effort), drop the old table and rename the new table to the old name. This might help if you are deleting a lot of rows.
    The parallel query option might help if you can parallelize the deletion, or perhaps reading the list of rows to delete. I'm not sure about licensing on this option.
    Another option is to consider partitioning - if you have the license. If you can partition by the deletion key removing the rows by dropping the partiton can be very fast.

  • Deleted Sales Orders not Reflecting in BI

    Dear Experts,
    When ever my customer deletes a SO(Sales Order) in R/3, the reverse posting or deleted SO is not reflecting in BI. The Data source used is 2LIS_11_VAHDR. We are deleting the relavent SO in BW manually. But our customer wants to automate it.
    Can any one suggest any setting in R/3 or BI for the changes to reflect?
    Plz help.

    Hi Raj,
    check your data source support for reverse posting.
    go to rsa6 select your data sourceselect changecheck weather the sales order field is selected for inversion. if it not do it.
    and also check this condition
    If the option Field recognized only in Customer Exit is chosen for the field, this field is not inverted. You cannot activate or deactivate inversion if this option is set.
    hope this will give u some idea
    regards
    harikrishna N

  • Customer login problem

    Customer account [email protected] has used the password reset and does get the emails but the passwords do not work. Had customer delete all cookies and files, shutdown all browsers and restart, still could not get in. Please email him when his account is fixed.
    Kirsten Maier Oracle HUB

    Kirsten,
    We have resolved the issue for this user and contacted them separately.
    OTN

  • Maintenance form - Insert/Delete rows

    I've got a report and form on the same page which I have attached to a view. The base table of the view provides a map between two tables.
    I've set the report up with a row based Delete link which is attached to a custom delete process whic h executes based on the PK.
    Post delete when the report brances back to itself it generates an NDF error and it looks like it is trying to fetch the row which has just been deleted. I'm not sure if this is an artifact of the link on the PK - which is in the report as a Hidden Item.
    Should I be resetting the item in the Delete code ?
    Anyone got any hints ?

    Thanks Dennis
    Following a hint I found on the forum I have a commit in the code - I'm not convinced about that - however.
    I tried this previously with the item reset post the commit. The Form complained so I thought it must be wrong
    EDIT :
    Nope still not happy with the FR. Must need to clear the session variable for the Item - is tis possible ? I wrote a seperate proces to fire after the delete to do it ... but it doesn't seem to work.
    OK ... Following another thread I deleted the FR process which seemd redundant when I looked at the code.
    That seems to have worked.
    Cheers
    Stephen
    Message was edited by:
    StephenP
    Message was edited by:
    StephenP

  • 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

  • Hide the delete menu item from a specific document library

    I want to hide the Delete  item menu option for a specific document library.Since it is for a specific library I would not like to use customcore.js approach.Please suggest some useful javascript for same.
    I have a custom delete action associated with the menu which performs other function as well so need to hide the OOB delete option from the item  menu of a document library.
    I have already used below javascript in CEWP which I added on the document library page itself(allitems.aspx) but yeild no results:
    <script type="text/javascript">
    var elemTable=document.getElementById('ECBItems');
    if (elemTable !=null) {
         var elemTBody=elemTable.childNodes[0];
    //iterate each table row to find the correct ECB menu item to hide(remove)
       for (var iMenuItem=0; iMenuItem < elemTBody.childNodes.length; iMenuItem++) {
             var elemTR=elemTBody.childNodes[iMenuItem];
             var elemTDTitle=elemTR.childNodes[0];
             var title=GetInnerText(elemTDTitle);
     //here we filter on title, but the table contains more information if need be
            if(title =='Delete') {
                 elemTBody.removeChild(elemTR);
    </script>
    Please suggest which can be kept specific and requires no change in masterpage as same masterpage is used across the site.

    Hi justSP,
    Greetings.
    Hope the below links help you
    http://social.technet.microsoft.com/Forums/office/en-US/9adea3a2-6d08-4c04-ace2-88a704833f1d/how-to-hide-delete-item-from-ecb-menu-for-1-specific-custom-list?forum=sharepointcustomizationlegacy
    http://chakkaradeep.com/index.php/sharepoint-hiding-menu-items-from-the-edit-control-block/
    http://social.technet.microsoft.com/Forums/office/en-US/1b832635-4ae7-4f31-826c-2d6b834ece52/hide-delete-from-ecb-menu-for-a-specific-document-library-in-sharepoint-2010?forum=sharepointcustomizationprevious
    http://social.technet.microsoft.com/Forums/office/en-US/919e01e6-9a7a-4439-b778-28e0dc8bffba/how-to-hide-delete-option-from-ecb-menu-in-document-library-in-sharepoint-2010?forum=sharepointdevelopmentprevious
    Please remember to click 'Mark as Answer' on the answer if it helps you

Maybe you are looking for

  • Image upload in sap

    HI all, I have a requirement in which I have to upload a picture. DATA: lr_mime_rep TYPE REF TO if_mr_api. DATA: lv_filename TYPE string. DATA: lv_path     TYPE string. DATA: lv_fullpath TYPE string. DATA: lv_content  TYPE xstring. DATA: lv_length  

  • Required application library (keydecoder.dll) deleted or damaged

    This is the message I receive when trying to open Xcelsius 2008 after installation.  I have reinstalled multiple times.  Any advice?

  • How find manager's manager in hr report

    hi, i want to find manager's manager in hr report...Suppose there is organization A having organization unit B and C. In organization unit B there is Manager and Assit Manager and Some other employee. Now other employee report to Assit manager and As

  • Hierarchy  to  Flat  Structure

    Hi all.. I  need to map a Hirarchial Struture to a Flat Structure ...in  my souce node HDR can appear multiple times and below that one sub node STS also can appear multiple times ... i need a flat targer stucture of source of same kind .. what is th

  • Email attachment size limitation

    My boss has an I-Phone 4.  What is the size limitation of email attachments he can send or receive? Spoke to AT&T who said it is an Apple issue.