Deleting a potential customer record from SAP

Hello
Does anyone know how to delete a potential customer that has been created in SAP. As once you have created it, if you dont transfer it into a proper customer record, then the potential customer record will sit there is SAP. This then takes up space. So I wanted to know whether there is a way deleting the potential record.
Thanks
Bindi

Hello
A potential customer is one that has been created and their account group is set to 'Potential Customer'. This means at this stage that no transaction can be carried out against the customer as they have not been transfer into a proper customer account. A credit check, etc is then carried out on the customer, and if successful then customers account group is changed from 'Potential Customer' to 'Sold to Party'  for example. However if the record is not transfered and is still in the system as a Potential Customer then we need to be able to remove these.
Is there way to delete these. I tried the above methods however was not successful.
Regards
Bindi

Similar Messages

  • How can  distribute 5 lakhs records from sap R/3 setup tables ?

    How can  distribute 5 lakhs records from sap R/3 setup tables in to multiple  requests in sap BI?

    Hello,
    what is "lakhs" ?
    Please use plain English words on a world wide forum...
    Regards,
    Olivier

  • Deleting 3 millon duplicated records from 4 million records

    Hi,
    I want to delete 3 million duplicate records from 4 million records in production. We dont have the partitions. I cann't recreate table using CTAS Option. So I have to delete the data in batch because of shared environment and people acceessing the data.
    Is there any fastest way to delete the data in stead of using bulk delete by using max rowid.
    please help me out.
    Regards,
    Venkat.
    Edited by: ramanamadhav on Aug 16, 2011 8:41 AM

    After deletion of data( with suggestion given by Justin), make sure that latest statistics are also taken.
    After such a heavy delete there is always a mismatch between num_rows and actual count.
    the best way is to shrink space and then gather table statistics, other wise optimizer will get confused and it will not take into consideration correct statistics.
    For e.g.
    16:41:55 SQL> create table test_tab_sm
    as
    select level col1, rpad('*888',200,'###') col2
    from dual connect by level <= 100000;16:42:05   2  16:42:05   3  16:42:05   4 
    Table created.
    Elapsed: 00:00:00.49
    16:42:08 SQL> exec dbms_stats.gather_table_stats(ownname => 'KDM', tabname => 'TEST_TAB_SM', cascade => true);
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.51
    16:42:17 SQL> select table_name,num_rows,blocks,avg_row_len,chain_cnt from user_tables where table_name = 'TEST_TAB_SM';
    TABLE_NAME                       NUM_ROWS     BLOCKS AVG_ROW_LEN  CHAIN_CNT
    TEST_TAB_SM                        100000       2942         205          0
    1 row selected.
    Elapsed: 00:00:00.01
    16:42:28 SQL> delete from TEST_TAB_SM where mod(col1,2) =1;
    50000 rows deleted.
    Elapsed: 00:00:01.09
    16:42:39 SQL> select table_name,num_rows,blocks,avg_row_len,chain_cnt from user_tables where table_name = 'TEST_TAB_SM';
    TABLE_NAME                       NUM_ROWS     BLOCKS AVG_ROW_LEN  CHAIN_CNT
    TEST_TAB_SM                        100000       2942         205          0
    1 row selected.
    Elapsed: 00:00:00.01
    16:42:47 SQL> exec dbms_stats.gather_table_stats(ownname => 'KDM', tabname => 'TEST_TAB_SM', cascade => true);
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.26
    16:42:55 SQL> select table_name,num_rows,blocks,avg_row_len,chain_cnt from user_tables where table_name = 'TEST_TAB_SM';
    TABLE_NAME                       NUM_ROWS     BLOCKS AVG_ROW_LEN  CHAIN_CNT
    TEST_TAB_SM                         50000       2942         205          0
    1 row selected.
    Elapsed: 00:00:00.01
    16:43:27 SQL> alter table TEST_TAB_SM move;
    Table altered.
    Elapsed: 00:00:00.46
    16:43:59 SQL>  select table_name,num_rows,blocks,avg_row_len,chain_cnt from user_tables where table_name = 'TEST_TAB_SM';
    TABLE_NAME                       NUM_ROWS     BLOCKS AVG_ROW_LEN  CHAIN_CNT
    TEST_TAB_SM                         50000       2942         205          0
    1 row selected.
    Elapsed: 00:00:00.03
    16:44:06 SQL> exec dbms_stats.gather_table_stats(ownname => 'KDM', tabname => 'TEST_TAB_SM', cascade => true);
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.24
    16:44:17 SQL> select table_name,num_rows,blocks,avg_row_len,chain_cnt from user_tables where table_name = 'TEST_TAB_SM';
    TABLE_NAME                       NUM_ROWS     BLOCKS AVG_ROW_LEN  CHAIN_CNT
    TEST_TAB_SM                         50000       1471         205          0
    1 row selected.
    Elapsed: 00:00:00.01
    16:44:24 SQL> We can see how the no. of blocks changes. It changed from 2942 to 1471 which is half and in your case it will be 1/4th times of what it was using.
    There are other options for shrinking space as well other than MOVE.
    alter table <table_name> shrink space;Try it out and you can see the difference yourself.

  • Issue while importing customer records from Staging tables

    hi,
    we are trying to insert customer records from other erp system to oracle ebs.
    We are able to push the data into staging table and call the procedure 'hz_cust_account_v2pub.create_cust_account'
    Now we could see the data being entered in 'HZ_PARTIES'
    but could not see the records from frontend.
    On the other hand in case of vendors and employee we could see the data from frontend as well
    Is there any particular flag or field we are missing?
    thanks for the help in advance
    Edited by: sam on Sep 13, 2012 1:15 AM

    Has the " DQM Serial Sync Index Program" run after you have run the import? If not try and manually submit this job and see if you can view your changes

  • How to delete master data of materials from sap tables

    how to delete master data of materials from sap tables...its needed now.
    i know its not recommended but still we need to do this. give me the best possible approach.
    regards,
    suneetha

    Hi,
    I would suggest you not to write your own code to delete the entries.
    BAPI_MATERIAL_DELETE, this would mark all materials selected for deletion. But still the material would exist in SAP.
    Another solution: Delete a material manually and in another session execute the transaction SM04. This would display the tables which get locked when you do the operation, Then you can write your own code to delete the material numbers from all the related tables.
    Regards
    Subramanian

  • Is there a transaction to delete an article (Material Number) from SAP?

    Hello SAPients!
    Does anybody know: Is there a transaction (or FM) to delete an article (material number from SAP ?
    Thanks!

    You can only flag the material for deletion.  You do this via MM02, or you can do it via BAPI_MATERIAL_SAVEDATA.  THe material can only be fully deleted when the archive process has been ran for the object.
    Regards,
    Rich Heilman

  • Delete record from sap tables

    Hi,
    i wont to delete duplicates recored from sap standard  table,
    i can do that?
    Regards

    Hi Ricardo.
    As you know we can use the concept of DELETE ADJACENT DUPLICATES  FROM with options according to your specifications like
    COMPARING
    OR
    COMPARING ALL FIELDS...   (ADDITIONS).
    But, don't forget to sort the table according to the COMPARISON ORDER.
    Reward points if usefull.
    Regards
    Harsh

  • SAP Query: How to filter records from SAP Query output before display

    Hi Friends,
      Can I delete records from an SAP query basic list before it is displayed?
    For example I want to delte all the orders whose system status is "RELEASED" before the basic list of that SAP query is displayed.
    I have gone through SAP help and found out that we can write some code in <b>END code</b> section which will execute before the basic list of the query is displayed. But I could not figure out how the code this...following is an excerpt form SAP help.
    <b>"The END-OF-SELECTION code consists of two parts (Before list output and After list output). The first part is processed before the list is output and the second part afterwards."</b>
    Can anybody help me?
    Regards,
    Bharat.
    Message was edited by:
            Bharat Reddy V

    Try this simple procedure. <b>Hope</b> this should work for you.
    You do the slection of the status in the List-Processing. say your final field of status flag is GF_STATUS.
    Immediatly after that use this within the List-Processing.
    CHECK GF_STATUS EQ '<RELEASED STATUS>'
    How it works:
    SELECT  <>       "<-------Query processing(system code).
    *< Your code put in the List processing
    CHECK GF_STATUS EQ '<RELEASED STATUS>'   "< --only released records passed.
    *>
    ENDSELECT      "<-----Query endselect(system code).
    Please let me know the result.
    Regards,
    A.Singh
    Message was edited by:
            Amarjit Singh

  • Deletion of  a particular record  from database table

    hai friends,
         i want to <b>delete</b> (or)   <b>insert</b> particular record from  predefined sap table... that is with out module pool programming...  can i delete or insert a record to or from  the table..
         thanks in advance
    @jay

    hi,
    ucan do it without module pool programming in your normal report program.
    To insert a line into an index table, use the statement:
    INSERT <line> INTO <itab> [INDEX <idx>].
    <line> is either a work area that is convertible to the line type, or the expression INITIAL LINE. If you use <wa>, the system adds a new line to the internal table <itab> and fills it with the contents of the work area. INITIAL LINE inserts a blank line containing the correct initial value for each field of the structure.
    To select the lines that you want to delete using a condition, use the following:
    DELETE FROM <target> WHERE <cond> .
    All of the lines in the database table that satisfy the conditions in the WHERE clause are deleted. The FROM expression must occur between the keyword and the database table.
    You should take particular care when programming the WHERE clause to ensure that you do not delete the wrong lines. For example, if you specify an empty internal table in a dynamic WHERE clause, all of the lines in the table are deleted.
    If at least one line is deleted, the system sets SY-SUBRC to 0, otherwise to 4. SY-DBCNT contains the number of lines deleted.
    regards,
    keerthi

  • How to delete all the crystal reports from SAP B1 ?

    Dear Experts,
    I have one problem and I need to Delete all the Crystal PLD's and Crystal Reports from SAP B1.
    I can delete a PLD or Report using delete option from Report and layout manager or layout designer.
    But I need to select delete option for each PLD and It makes very time.I have some 200 Reports and I need to delete fully.
    Is there any possible to multi delete option in SAP B1?
    I have searched many but i will not receive proper solution. Any one can explain how to do This?
    Thanks ,
    Karthikeyan.P
    MSBI Developer-Chennai

    Dear Karthikeyan,
    Manual deletion is actually the most safe way to delete them. If you try update B1 tables directly, you are against SAP support rule.
    Thanks,
    Gordon

  • Unable to delete a set of records from PSA

    Hello All,
    I am trying to delete a PSA request (INIT With data transfer) which had about crores of records. But in my PSA, I can still see about 16000 records from the earlier deleted request.
    Please advice as my next INIT is not brininging in any records. the issue is very critical...
    Regards
    Sneha

    Hi,
    Check out for any other History Init Request available in the PSA and delete it. Or use the program - RSAR_PSA_CLEANUP_DIRECTORY to clean the PSA Completely. Next, check out in the InfoPackage menu, Scheduler - > Initialization for source system, whether there is any successful Initialization request is available or not. If available delete the request by selecting delete from all the systems.
    Now, you can again use the Init Infopackage to initialize the delta.
    Regards,
    Geeta

  • Customer role from sap standard role SAP_SM_SCHEDULER_DIS or SAP_SM_SCHEDUL

    HIi,
    according SAP Note Note 1054005 - FAQ: Job Scheduling Management with SAP Solution Manager we want to design a customer role with this roles as templates.
    But:
    There are a lot of open authorization objects.
    We need proposal how to fill this role with adequate values.
    Does anybody has designed customer roles from that standard roles ?
    What values are advisable ?
    Regards,
    Roland Fischl

    Dear Aviya Paul,
    1. Who will responsible for Authorization Matrix?
    Authorization Matrix that define "what position may have access to which authorization/ role" shall be developed by User (Management), with support from BASIS. User is the one who have the authority to decide, while BASIS should help User in understanding the technical knowledge of access authorization.
    2 to 5. BASIS.

  • How to Transfer Customizing Data from SAP ECC6 to SAP Solution Manager

    Hi all,
        I want to Transfer Customizing Data (such as organization structure) from SAP ECC6 to SAP Solution Manager.Please tell me how. Thanks.

    Hi,
    The system cannot capture the customizing data from your ECC6. This is another myth with SAP Solution Manager. Solution Manager can only smoothen the process of your Project Management.
    Hope this solves your problem.
    Feel free to revert back.
    --Ragu

  • How to reach customer record from a SAP Query (Report)

    Dear all,
    I have created a Query to list customers based on parameters like 'Created by' and 'Creation date'.
    from that query output screen how can we enter customer master data screen in display mode.
    that means I have listed all customers using a query, but by clicking on any customer number it has to take us to the customer master data screen in dispaly mode - (XD03 / VD03).
    Please educate me to resolve this issue, your help will be highly appreciated.
    Thank you,
    Raghu Ram

    try: sq01 - goto - report assignment
    A.

  • How  to delete(remove) one row(record) from a dynamic table

    Hi,
    I have adynamically created table.
    I want to delete 1 record(Row) from that Dynamic table.
    Say if my dynamic table contains 5 records(rows);after deletion of 1 record(1 complete row)from that dynamic table,the number of records(rows) should be 4 .
    Please suggest me how to proceed.
    Please provide me some sample code.Its not working
    I tried with these code:-Its not working-->
    IPrivateExportexView.IEt_WriteoffNode node=wdContext.nodeEt_Writeoff();
    IPrivateExportexView.IEt_WriteoffElement nodeEle= node.createEt_WriteoffElement(new Zfrm_Writeoff_P());
    node.removeElement(nodeEle);
    Please suggest
    Thanks
    -Sandip

    Hi,
    *int n=wdContext.nodeTable().getLeadSelection();*
    *wdContext.nodeTable().removeElement(wdContext.nodeTable().getTableElementAt(n));*   
    Further more , an example is given below for better understanding , do modifications according to your need.
    node :
           value node - Table (cardinality - 0..n , selection 0..1)
                              no    ( value attribute - string  )
                              name (value attribute - string )
       // create node elements 
         for(int i=0;i<5;i++)
        IPrivateClearnodeElements.ITableNode node = wdContext.nodeTable();
        IPrivateClearnodeElements.ITableElement ele = node.createTableElement();
        ele.setNo((101i)"");
        ele.setName("name :"(i1));
        node.addElement(ele);
    // Apply template Table -- select -- table node  or
    // create a table UI element and set the property Datasource - Table ( of the context)  
                             Insert Colum , in that column, next insert celleditor , of type text view  , bind the property text -- to "name " of Table node of the context
               Insert Colum , in that column, next insert celleditor , of type text view  , bind the property text -- to "no " of Table node of the context
    // create a action "removeElement"
    // create a button "Remove Element "  --> Event action -- removeElement
    // under the action write down the code :
    public void onActionremoveElement(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionremoveElement(ServerEvent)
        // before removing display elements
        wdComponentAPI.getMessageManager().reportSuccess("Before  deletion :");
         for(int i=0;i<wdContext.nodeTable().size();i++)
             wdComponentAPI.getMessageManager().reportSuccess(wdContext.nodeTable().getTableElementAt(i).getNo()) ;
         wdComponentAPI.getMessageManager().reportSuccess(wdContext.nodeTable().getTableElementAt(i).getName()) ;
        int n=wdContext.nodeTable().getLeadSelection();
        wdContext.nodeTable().removeElement(wdContext.nodeTable().getTableElementAt(n));
       // After deletion
        wdComponentAPI.getMessageManager().reportSuccess("After deletion :");
             for(int i=0;i<wdContext.nodeTable().size();i++)
                   wdComponentAPI.getMessageManager().reportSuccess(wdContext.nodeTable().getTableElementAt(i).getNo()) ;
                   wdComponentAPI.getMessageManager().reportSuccess(wdContext.nodeTable().getTableElementAt(i).getName()) ;
        //@@end
    If helpful , give points .
    Let me know if any problem u face .
    Thanks,
    Srini

Maybe you are looking for

  • Java Servlet/Linux issues

    Hi- I use an applet that works fine on Windows but fails on Linux. It stops on the 'Loading Applet' screen. I've tested it in Mozilla, Netscape and KConqueror, all with the same result. I'm guessing it has something to do with the applet making an ex

  • HELP!!!!  File name / document title metadata question

    Is there any way to have the file name and the document title carry over to one another? I am doing a huge selection of images for our stock agency and have figured out how to add a simple bit of information to our in-house file names for example 111

  • Changes in export cmd file

    Hi Guru's, The offline backup job was not run last Sunday at 7am until I triggered it manually at 1pm. So, 1. i Always want to keep 2 set dump files a. Before exporting / dumping, move the previous dump file to "Spider Dump Backup set 1" folder and d

  • Getting node number/name in a multi node installation

    Is there any way to get the number/name of the node in an installation with multiple nodes (Netweaver ce 7.1 java).

  • When I choose a website, I end up with a different unrelated website

    When I do a search in Google through Mozilla Firefox, and then select the website I want, a completely different website with completely different URL opens up, often selling stuff like hedge funds, or redirected to another search website. So, the we