Deleting EEWB Component Records

Hi,
We are facing a challenge trying to delete component records that have been created on the CRM order using EEWB.  Where there is only one record to delete we have found that a call to CRM_ORDER_MAINTAIN works when we set the mode in the extension to 'D', but this doesn't work when there are multiple records to delete. 
Has anyone done this successfully?  If so, please share your knowledge and code with us.
Many thanks,
Martin.

Hi Martin,
If my understanding is correct, you wanted to delete the value tht is present in the EEWB field but not the entire Order right...
If so, use FM BAPI_BUSPROCESSND_CHANGEMULTI to change the field value of multiple order at one time/..
If you wanted to delete multiple Orders at one time, please use FM
BAPI_BUSPROCESSND_DELETEMULTI specifying the mode to be 'D'.\
Shud help u...
Siva

Similar Messages

  • FM to get deleted bom component

    Hi all,
    Is there any function module available to get the deleted BOM component.
    From The "CDPos" table, will get the fields client,Bom Type,BOM number,Node position and counter(Corresponding technical fieldnames for the above said fields are mandt,stlty,stlnr,stlkn,stpoz).
    Want to pass the above got parameters to the FM to get the deleted BOM component record.
    Is there any Function module to do that.Or anything similar.
    Thanks
    Koh

    Hi,
    Try using FM's CSAP_MAT_BOM_MAINTAIN / CSAP_BOM_ITEM_MAINTAIN.
    Thanks and Regards,
    P.Bharadwaj

  • Error while deleting enhanced component

    Hi,
    i have enhanced the component 'ICCMP_BP_CP' and the view 'ICCMP_BP_CP/BuPaContactPersonCreat'. When we enhanced the component, it throwed me the error message that user is not authorized for sicf transaction. after getting the authorization, i enhanced the component. But when we we enhanced the view, it was throwing view bind exception in Web UI. so, we deleted the enhanced view and when we are trying to delete the enhanced component 'ICCMP_BP_CP', its throwing the error that 'run time repositry could not be loaded',
    After I tried deleting the component enhancement, I can still open that component with enhancement set from BSP_WD_CMPWB but it doesn't show me any repository.xml. Also, I don't see any entry for the enhanced component in BSPWD_CMP_C_REPL.
    I am attaching the screen shots like how I am deleting the enhanced component. Could you please tell me how to delete it.
    Thanks & Regards,
    Kamesh Bathla

    Hello,
    Open table BSPWDV_COMP_EXT via SM30 and open it with the Enhancement Set in which you created the enhancement you want to delete. (or the view cluster BSPWDVC_CMP_EXT via SM34)
    Look for the component for which you want the enhancement to be deleted. Note down the "Runtime Rep. BSP application" and delete the record.
    Open the BSP application you noted down in SE80 and delete the (incorrect) enhancements, then delete the whole BSP application.
    Restart enhancing the component.
    Hope this helps,
    Joost

  • How to delete the double records connected to one or more than one tables in SQL 2008?

    Hi
    Can anyone please help me with the SQL query. I Im having a table called People with columns names: personno., lastname, firstname and so on. The personno. is having duplicate records,so all the duplicate records i have written with "double" in
    the beginning of the numbers. I tried deleting these double records but they are linked to one or more than one tables. I have to find out, all the tables blocking the deleting of double person. And then create select statements which creates update statements
    in order to replace the current id of double person with substitute id. (The personno. is in the form of id's in the database)
    Thanks

    You should not append "double" in the personno. When we append it will not be able to join or relate to other table. Keep the id as it is and use another field(STATUS) to mark as duplicate. Also we will require another field(PRIMARYID) against
    those duplicate rows i.e the main or the primary personno.
    SELECT * FROM OtherTable a INNER JOIN
    (SELECT personno, status, primaryid FROM PEOPLE WHERE status = 'Duplicate') b
    ON a.personno = b.personno
    UPDATE OtherTable SET personno = b.primaryid
    FROM OtherTable a INNER JOIN
    (SELECT personno, status, primaryid FROM PEOPLE WHERE status = 'Duplicate') b
    ON a.personno = b.personno
    NOTE: Please take backup before applying the query. This is not tested.
    Regards, RSingh

  • 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

  • Error while Deleting Software Component

    Hi All,
    I am getting following error while deleting Software Component Version:
    Unable to Delete object DELETEDEMO_COMPONENET, 1.0 of delete.
    You cannot delete a sotware component version if it contains imported interfaces.
    Is there any shortcut isntead of deleting all objets manuually?
    Sri

    Hi Sri.
    It's very simple
    Solution:
    Double Click on Software Component, On Right Hand side >Go to Software Component Version->Delete the software component.If all the necessary Objects have been properly deleted, there will be no problem in Deleting the Software Componet version
    1) Delete the created Data Types, Message Types, Message Interfaces, Message Mappings, and Interface Mappings.
    2) There should be no Imported SAP Objects in the Software Component. If any delete them and activate changes.
    3) Delete all namespaces in the editor using sign. Do not save the changes.
    4) Delete the two default data types that are created in the Interface Objects-->Data Types of the software component version (ExchangeFaultdata, ExchangeLogdata). Now save changes for the s/w component version and activate the changes. Ignore the warnings that pop-up.
    5) The radio button for u201CInterface import should be at u201CNot permittedu201D instead of u201CImport RFC and IDoc Interfaces from SAP Systems Permittedu201D.
    6) Now go to Software component version menu in the right hand pane. Click on delete and the software component vanishes from left hand pane 
    >> Is there any shortcut isntead of deleting all objets manuually?
    NO.. other way or any any shortcut for this
    Abid

  • Unspecified Error while deleting a component

    Hi
      I have a component with a <form> tag; which refers to a servlet which is registered with a particular path.
    When i try to delete the component I am getting "Unspecified Error" - error. Once i run the page am not able to select the component to delete also.
    Any help will be appreciable
    Thanks
    Veena

    Hi Veena,
       Look at your log file to get complete stack trace to find the cause.
       As a workaround, In crxde go to the page under par identify your component. Then delete that node & save the changes. An example to delete productlist from geometrixx product page is [1].
    [1] /content/geometrixx/en/products/jcr:content/par/productlist
    Thanks,
    Sham

  • APP-PAY-07201 Cannot perform a delete when child record exists in future

    I am trying to put end date to a payment method of any employee in HR/Payroll 11.5.10.2
    but receiving the following error message:
    APP-PAY-07201 Cannot perform a delete when child record exists in future
    Can u advise what steps I should follow to resolve this issue.
    Regards /Ali

    This note is related to termination of employee while our employee is on payroll and just want to change is payment method. But in the presence of existing payment method we cannot attched another becuase we are receiving an error:
    APP-PAY-07041: Priority must be unique within an orgainzational payment method

  • 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.

  • 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

  • How to delete the single record from the  ODS

    HI,
       I want to DELETE  the particular record from ODS.. how to delete that..
    plz give me the solution.. it's urgent..
    with regards
    @jay

    Hi Prakash,
        You can delete a particular record from ODS by specifying the key field name in Selective deletion button available in Contents tab in the manage screen of ODS. But it will only delete the record from the active data table and not from the Change log and new data table . You should be very carefull if you are doing in Production system as there is chance of deleting other records accidentally.
    Go to Selective deletion button - > Click on delete selection -> Enter the key field values of the record you want to delete-> Press save button to save as Variant -> Go back and click on selection button -> Chosse the background job type -> Click on start button.
    Regards,
    Prakash

  • Procedure to delete mutiple table records with 1000 rows at a time

    Hello Champs,
    I am having requirement to create procedure to achive the deletes from 5 big tables. 1 master table and 4 child tables. Each table has 28 millions records. Now I have to schedule a procedure to run it on daily basis to delete approximately 500k records from each tables. But the condition is: Seperate procedures for each tables and delete only 1000 rows at a time. The plan is below. Since I am new for writing complicate procedure, I don't have much idea how to code the procedures, can some one help me to design the procedure queries. Many Thanks
    1. Fetch 1000 rows from master table with where clause condition.
    2. Match them with each child tables and delete the records.
    3. Atlast delete those 1000 rows from master table.
    4. over all commit for all 5 X 1000 records.
    5. Repeat the steps 1 to 4 till no rows to fetch from master table.
    Below are detailed procedure plan:----
    ----- Main procedure to fetch 1000 rows at a time and providing them as input to 5 different procedures to delete records, repeating same steps till no rows to fetch i.e. (i=0)-----
    Create procedure fetch_record_from_master_table:
    loop
    i = Select column1 from mastertable where <somecondition> and rowcount <= 1000;
    call procedure 1 and i rows as input;
    call procedure 2 and i rows as input;
    call procedure 3 and i rows as input;
    call procedure 4 and i rows as input;
    call procedure 5 and i rows as input;
    commit;
    exit when i=0
    end loop;
    ----- Sepereate procedure's to delete records from each child tables------
    Create procedure 1 with input:
    delete from child_table1 where column1=input rows of master table;
    Create procedure 2 with input:
    delete from child_table2 where column1=input rows of master table;
    Create procedure 3 with input:
    delete from child_table3 where column1=input rows of master table;
    Create procedure 4 with input:
    delete from child_table4 where column1=input rows of master table;
    --- procedure to delete records from master table atlast----
    Create procedure 5 with input:
    delete from Master_table where column1=input rows of master table;

    Oops, but this will work, won't it?
    begin
      execute immediate 'truncate table child_table1';
      execute immediate '  truncate table child_table2';
      execute immediate '  truncate table child_table3';
      execute immediate '  truncate table child_table4';
      for r_fk in ( select table_name, constraint_name
                    from user_constraints
                    where table_name = 'MASTER_TABLE'
                    and   constraint_type = 'R'
      loop
        execute immediate 'ALTER TABLE ' || r_fk.table_name || ' MODIFY CONSTRAINT ' || r_fk.constraint_name || ' DISABLE';
      end loop;
      execute immediate '  truncate table master_table';
      for r_fk in ( select table_name, constraint_name
                    from user_constraints
                    where table_name = 'MASTER_TABLE'
                    and   constraint_type = 'R'
      loop
        execute immediate 'ALTER TABLE ' || r_fk.table_name || ' MODIFY CONSTRAINT ' || r_fk.constraint_name || ' ENABLE';
      end loop;
    end;
    / Or
      truncate table child_table1;
      truncate table child_table2;
      truncate table child_table3;
      truncate table child_table4;
    begin
      for r_fk in ( select table_name, constraint_name
                    from user_constraints
                    where table_name = 'MASTER_TABLE'
                    and   constraint_type = 'R'
      loop
        execute immediate 'ALTER TABLE ' || r_fk.table_name || ' MODIFY CONSTRAINT ' || r_fk.constraint_name || ' DISABLE';
      end loop;
    end;
    truncate table master_table;
    begin
      for r_fk in ( select table_name, constraint_name
                    from user_constraints
                    where table_name = 'MASTER_TABLE'
                    and   constraint_type = 'R'
      loop
        execute immediate 'ALTER TABLE ' || r_fk.table_name || ' MODIFY CONSTRAINT ' || r_fk.constraint_name || ' ENABLE';
      end loop;
    end;
    /

  • 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

  • Error while deleting any component from the widget

    Whenever i delete any component from widget it stops running..i means whenever after deleting i execte the widget nothing happens.........it gives me an error saying
    "Syntax Error in line 1 " and no other information....so can anyone tell me how to resolve this????????

    Hello,
    This might happen when you delete Header or Footer from widget. It is already corrected in latest version of Tools. Workaround is to add dummy view that is not used anywhere in widget but contains Header and Footer.
    Eriks

Maybe you are looking for

  • After iPhoto upgrade i can no longer access the photos stored on my external hard drive, after iPhoto upgrade i can no longer access the photos stored on my external hard drive

    I was just about to order a photo book, using photos stored on an external hard drive. I organised the book and pressed 'buy'. IPhotos instructed me that I needed to upgrade and so I went on the ASpp store, bought the upgrade and installed as directe

  • Adobe Reader 8.2.1 russian for Windows

    Hello! I heed to update Adobe Reader for Windows to 8.2.1 version for fix vulnerability (CVE-2010-0186) for russian users. I have Adobe Reader 8.1.3 russian now. It's only possible for download 8.x.x version with russian interface (9.x.x is not possi

  • Error in my first interface

    Hi All, I have created my first interface using ODI 11g. All looking good in topology navigator . I am simply moving data from one oracle source table to other oracle target table in same database Both source and target are on my Oracle 11g laptop in

  • Bex : Get KF result in a formula variable

    Hi, I'd like to get the global result of a Key Figure into a formula variable but i see no way to do it... This is to use this variable in an exception so as to color the individual results in comparison with the result caught in the variable... if u

  • How can I remove spot colors?

    I'm still working on changing a document I didn't create. It needs to be CMYK, but I keep getting error messages when I save it that there is a spot color. I saw one spot color in the Swatches (at least I seem to remember that's what the little dot i