Batch deletion of Custom Object data

Hi,
I have a requirement to delete a Custom Object records from CRM OD application. Here for this Custom Object, I have to delete all the reords data at one time run, iam trying to delete the data using "CustomObject3Delete_Input" functionality and for that iam writing the following request code:
<soapenv:Body>
<ns:CustomObject3Delete_Input>
<data:ListOfCustomObject3>
<!--Zero or more repetitions:-->
<data:CustomObject3>
</data:CustomObject3>
</data:ListOfCustomObject3>
</ns:CustomObject3Delete_Input>
</soapenv:Body>
after runnig the above code, i got an response (error) like:
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>No user key can be used for the Integration Component instance 'Custom Object 3'.(SBL-EAI-04397)</faultstring>
<detail>
<siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault">
<siebelf:logfilename>OnDemandServicesObjMgr_enu_246474.log</siebelf:logfilename>
<siebelf:errorstack>
<siebelf:error>
<siebelf:errorcode>(SBL-EAI-04397)</siebelf:errorcode>
<siebelf:errorsymbol>IDS_ERR_EAI_SA_NO_USERKEY</siebelf:errorsymbol>
<siebelf:errormsg>No user key can be used for the Integration Component instance 'Custom Object 3'.(SBL-EAI-04397)</siebelf:errormsg>
</siebelf:error>
</siebelf:errorstack>
</siebelf:siebdetail>
</detail>
</SOAP-ENV:Fault>
Any responses or suggestions are highly appreciable. Thanks in advance:).
Regards,
Kashyap

Here is the query for a single delete
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAPSDK1="urn:crmondemand/ws/ecbs/customobject3/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:SOAPSDK2="urn:/crmondemand/xml/CustomObject3/Data">
<SOAP-ENV:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>your pod</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">yourpassword</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<SOAPSDK1:CustomObject3Delete_Input>
<SOAPSDK2:ListOfCustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
</SOAPSDK2:ListOfCustomObject3>
</SOAPSDK1:CustomObject3Delete_Input>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
For multiple delete it would look like - up to 20 objects per delete
<SOAP-ENV:Body>
<SOAPSDK1:CustomObject3Delete_Input>
<SOAPSDK2:ListOfCustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
</SOAPSDK2:ListOfCustomObject3>
</SOAPSDK1:CustomObject3Delete_Input>
</SOAP-ENV:Body>

Similar Messages

  • Batch Delete on Custom Objects

    I have only just noticed that there is no batch delete on Custom Objects. I have read over the R16 release notes and I cannot see this as an enhancement, is anyone able to confirm if this functionality is actually included in R16.
    As this is only a few weeks away before we upgrade.

    Hi, I have an R16 account and i dont see the batch delete feature available for custom object :-(
    -- Venky CRMIT

  • Custom object - data loader issue

    Hello guys.
    I've just attempted to upload a CSV file in order to insert new records to a custom object.
    after some tweaking I've managed to get it to work, the log stated 100% success but no new records appeared.
    I've ran the data loader for "ordinary" objects (account, parts) with full success.
    Any thoughts?
    Thanks,
    Adi Smulian
    [email protected]

    The dataloader will often state 100% this does not mean that all the records were imported correctly. You will need to go to the data import queue to retrieve the findings of the import this will then tell you if you have any errors.

  • Siebel -00284 Error while editing the Custom object Data

    I have created one custom object and when i tried to edit the data which i have entered , i am not able to edit the data on Custom object. Could you please suggest me on this. Please find the below error.
    You do not have permission to edit the record. Click cancel or Back link to continue.(SBL-DAT-00284)
    Edited by: Subbu on Jun 29, 2010 1:57 AM

    Hi Shyam,
    Try with this code.
    *-----Adding the Condition Types at item level
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KSCHL(01)'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=V69A_KONY'.
                  PERFORM bdc_dynpro      USING 'SAPMSSY0'    '0120'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  '05/04'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=PICK'.
    *----1. Unitprc ( ZPR0 )
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KSCHL(01)'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=V69A_KOAN'.
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KBETR(02)'.
                  WRITE x_item-unitprc TO v_unitprc CURRENCY komv-waers NO-SIGN.
                  PERFORM bdc_field       USING 'KOMV-KSCHL(02)'  'ZPR0'.
                  PERFORM bdc_field       USING 'KOMV-KBETR(02)'  v_unitprc.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '/00'.
    *-----End of Addition
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '/EBACK'.
    Regards,
    Aman
    Message was edited by:
            Amandeep Kumar

  • Need to export customer master data in a batch input file

    Hello all,
    I'm searching for a solution to export customer master data out of a R/3 system (Release 470).
    The challenge is that the file must have the same structure like the file for batch input of customer master data (import file of the program RFBIDE00).
    So, has anybody an idea, if there is a standard tool to get such a file? Or has anybody developed a report creating this structure by his own?
    Thanks for your help,
    kind regards,
    Dietmar

    Hi,
              I have also come across the same problem as above. There is a standard program RFBIDET0 which has to be customized to get the file which can be uploaded to RFBIDE00. Do anybody come across this kind of problem before and have  a program already. It will be of great help, if you can forward the program or guide.
    Regards,
    Vishnu Priya

  • Delete Customer Master Data OBR2

    Hi
    I'm using LSMW to import data. I would like to delete it afterwards. Transaction OBR2 which is in spro Financial Accounting (New) -> Accounts Receivable And Payable -> Customer Accounts -> Master Data -> Delete Customer master data.
    But it does not delete the sales are segment, it also does not allow me to delete general data if sales segment exists.
    Can anyone please let me know if there is another way around this? Any other way to delete this test data???
    Thanks in advance

    Hi
    Please go through the SAP documentation on how to perform deletion of customer master data.
    This may help you in executing the function correctly.
    <b>Delete Customer Master Data</b>
    In this activity, you delete the master records for customers by using a program. Only use this program in the test phase.
    Note
    The company code for which master records are to be deleted, may not yet be flagged as productive.
    Only master records for accounts which do not have any transaction data may be deleted.
    Requirements
    The general customer master data is only deleted for customers who are not also created as customers in Sales and Distribution.
    Activities
    Delete the master records for the required company codes.
    Additional information
    Refer to the SAPF019 program documentation for further information on the program.
    Deleting Master Data
    Description
    This program deletes master data in Financial Accounting and is designed for preparing the system for productive startup. It deletes:
    •     Customer master data
    •     Vendor master data
    •     G/L account master data
    You can run this program in three different ways:
    1. Deleting general master data (in G/L accounts in one chart of accounts)
    2. Deleting master data dependent on company code
    3. Deleting general master data and master data dependent on company code
    For each deletion run, you can specify whether or not the system should take into account the deletion flag in master records ("Delete per deletion flag only"). If it takes into account deletion flags, it uses the following standard logic:
    Option 1: The "All areas" deletion flag must be set.
    Option 2: The "Specified co. code" deletion flag must be set.
    Option 3: It is sufficient to have the "All areas" deletion flag set.
    Note: Deletion blocks are always checked at general data and company code-dependent data level. If there is a block at company code-dependent data level, then the general data is not deleted either. The deletion block takes precedence over the deletion flag.
    General master data in Financial Accounting can also be used in other SAP applications:
    •     Customer master data in Sales and Distribution
    •     Vendor master data in Purchasing
    •     G/L accounts as primary cost elements in Cost Accounting
    The program deletes the following:
    •     Change documents for master data
    •     SAPscript text files
    •     The following data is deleted for customers:
    o     General master data
    o     Bank details
    o     VAT registration numbers
    o     Addresses
    o     Classifications
    o     Credit management: across control areas
    o     Credit management: centrally
    o     Unloading points
    o     Tax indicators
    o     Contact persons
    o     Licenses
    o     Partner function limit
    o     Shipping data
    o     Master data in the company code
    o     Dunning data
    o     Linked data
    •     The following data is deleted for vendors:
    o     General master data
    o     Bank details
    o     Contact persons
    o     VAT registration numbers
    o     Addresses
    o     Classifications
    o     Master data in the company code
    o     Dunning data
    o     Linked data
    •     The following data is deleted for G/L accounts:
    o     General master data in the chart of accounts
    o     Names in the chart of accounts
    o     Key word list in the chart of accounts
    o     Master data in the company code
    o     Sample accounts, if selected
    For customer and vendor contact persons, the addresses are not determined from central address management until the actual runtime. Therefore differences can arise as to the number of addresses in the detail log between the test run and the update run.
    Automatic worklists for customers and vendors are also deleted with the general master data. Matchcodes are always deleted.
    You may have to fix the number ranges after the program run.
    The system makes changes to the database in the update run only. It will then also write a system log entry for documentation.
    Requirements
    General master data can only be deleted if no other application makes reference to the account. Use the resetting programs from
    •     Sales and Distribution (customer master data)
    •     Purchasing (vendor master data)
    •     Cost Accounting (G/L account master data)
    If you want to delete only general master data, master data dependent on company code cannot have been created in Financial Accounting.
    If you want to delete master data in a test company code, master data dependent on company code cannot have been created in any other company code except the test company code. The productive indicator cannot be set for the company code.
    If a customer or vendor is referenced by another customer or vendor (for example, via fiscal address or alternative payee), you can only delete the referenced master record by deleting the referencing master record at the same time.
    Furthermore, you can only delete master data in Financial Accounting if no transactions have been posted to the corresponding accounts. If there are transaction figures in one of the selected accounts, you have to manually access and run program SAPF020 (reset transaction data from a company code) before you can delete that account.
    Output
    The log lists every table which is processed in the program selection.
    You can also create a detail log for each account type to find out why certain data cannot be deleted. The detail logs show you what other company codes and applications use the data and how customers and vendors are linked to one another.
    Note
    Since deleting or displaying even smaller volumes of data can result in runtime problems, you should run this program as a background job. Currently, the program individually deletes matchcodes for each master record in the database. Several match code IDs refer to each matchcode. This can place a considerable load on the database.
    You cannot delete transaction data in individual accounts.
    Important: The archiving programs in Financial Accounting are designed for the productive system.
    If you are running this deletion program for the first time, then you must start program SAPF047 before deletion in order to generate link information.
    I hope this may be of help to you
    Good Luck
    Hari

  • Reg: Reporting on Custom Objects

    Hi all,
    I want to know if there is any tool or workaround that we can use to report on a custom object data in siebel crm on demand.
    regards,
    uday.

    Uday,
    Custom object reporting is available as a patch after the R15 release. I do not know dates but there is an existing forum posting with the patch numbers so you can tell if your pod has had it applied or not.
    regards
    alex

  • Deleting a customer record

    Dear Xperts,
    Can any one let me know, whether we can delete a customer master?
    I have duplicated a customer code using the T. Code XD01, by mistake but now i want that to delete from system, how do i do it ?
    I dont want to re-name.
    Thanks in advance.

    Hello,
    You may set a deletion flag in the customer master record using VD06 / XD06.
    If you want to delete a customer master data permenantly from the system, you need to think of archiving. It is not so simple in live system. You need to delete every single document, data which references that customer like invoices, orders, financial documents etc... If you don't do this, then your system will be inconsistent and will cause you problems if you try and view any documents which are linked to that customer .
    Prase

  • Custom Object 1 - Batch Deletion

    Hello,
    I am trying to delete all records using Batch Delete option from a Custom Object. The option is not present in CRMOD even when I am the Admin of CRMOD. I have checked the Access Profile and everything seems alright.
    Please suggest me some alternatives?
    Thank you.
    Regards,
    Rohit Dassani

    Hello,
    you have only one alternative. You could write a program (Java, .Net, etc.) for delete records from Custom Object(s) by using CRMOD Web Service.
    Certainly you can find some samples in the Net.
    Regards

  • Batch Delete Custom Objects?

    Is this possible yet? Specifically for Custom Object 2. I am an administrator and have all access/privliges, but there is not a Batch Delete option when creating a list of Custom Object 2's.

    Batch Delete is supported for Accounts, Contacts, Opportunities, Leads, Service Requests and Activities.

  • Batch delete custom obeject records

    Hi expert,
    we accidently imported hundreds of records into custom object. I undertsand batch delete function does not apply to custom object. Is there any other alterntaive to batch delete these unwanted records? (besides manually delete one by one... :P)
    Thanks, sab

    hello Bob,
    The customer care replied they don't know when this patch will apply to our environment, is there anyway we can push this to be avialble asap?
    The oracle customer care's reply is as follows:
    1. Web Services Support for Custom Object 3 will be available in the new Patch 931.0.03 Unfortunately we don't have any information regarding the date of deployment for this patch for your environment. 2. An Enhancement Request,3-600732901, has been logged with the Siebel Support Engineers regarding this issue. Please be assured that development and engineering will analyze this request and will take the appropriate action towards implementation if it meets their approval. We appreciate all customer feedback and will work hard to implement as much as we can into our product. However, we are currently unable to provide you an estimated time of implementation while your request is being analyzed and processed. Please review the Training and Support portal for future Release Notes indicating the most current product updates or contact Professional Services for a custom solution.
    Thanks, Sab.

  • Data import/update on Custom Objects

    Hi,
    We are using the Custom Object1 for capturing site data within an opportunity. Since the custom object does not have capability to check for duplicates, the users have now entered data into this object which have lot of duplicates and also the data quality and integrity is lost. I am trying to see if there is an option to export this data and reimport them back after cleansing the data.
    I then realised while importing custom objects, the only available option is to use external id.All the site that have been entered by the users do not have any external unique id. Also there is no option to do a mass delete records within the custom object1.
    I understand that the only option to cleanse and reimport them back into ondemand is using web services. I want to use web services as last option.
    Is there any other option to reimport them back into ondemand using the import utility after cleansing the data.
    I would like to know what is the best practice while using custom objects. Is it advisable to populate a default value in the external unique id for custom objects while creating new records. If i had populated some value in the external unique ids while creating those records, i would have had the option to update the existing records. Now i don't even that option.
    I am looking for some suggestions for this issue.
    Thanks
    Swami

    Bobb,
    I exported the data and mapped the row id to the external unique id. Like i said before, the external id is blank in crm ondemand when it is created. We did not have any default value specified for the external unique id.
    When i tried to import with overwrite option, it does not find a match.
    I get the following error message as i expected.
    Row Id: AEMA-EYGFE     No matching record has been found. The import process will ignore this record.
    Row Id: AEMA-F8CPC     No matching record has been found. The import process will ignore this record.
    Row Id: AEMA-12CLIA     No matching record has been found. The import process will ignore this record.
    Unless i do a web service update of External Unique ID in crm ondemand, the import option will not work.
    Thanks
    Swami

  • Customized LSMW (Batch Input Recording) to upload data for Vendor

    Hello Fiends,
       can u help me on this object and how to upload in xk01.
            Customized LSMW (Batch Input Recording) to upload data for Vendor Master using Transaction code XK01
    With best wishes,
    Chandu.
    Point will be rewarded....

    Hi,
    Go through the following link, you will find your answer
    http://www.sapbrain.com
    Regards,
    Bhaskar

  • Deleting records from the Custom Objects

    Hello all,
    We want to delete all records from a custom object and as there is no 'Batch Delete' functionality on it, we are thinking of other ways to delete all the records. One of the possibilities is to delete all the records by hand, which will be very time consuming, but this might become the best option. Another option is to use webservices to delete the records, but to do so, you will have to write a kind of program that will query for the records and then deletes them. Does anyone have another option or does anyone have written such a tool that I can use to delete the records from the Custom Object?
    Kind regards,
    Niels Rekers

    Hi, To my knowledge WS is the way to do it. We are a system integrator and can help you out in doing this by providing a WS program. If interested you can write to [email protected]
    -- Venky CRMIT

  • Expose Data 0f 1 Custom object group them based on another custom object

    1. Custom Object 2: Call Report
    2. Custom Object 1: Customer
    3. Account:
    Fields: Account
    Account Id
    Call Report
    Created Date
    Row Id
    Subject
    Owner
    Status
    Customer
    Customer Name
    Using Real Time Reporting-> Call Reporting
    Hide Display of Distributor Id, prompt on dashboard
    Need to group customer name based on call report row id.
    Union of 2 reports, we cannot use Account Id as prompt(does not support).
    Report output as below
    Account id1, created date, object, status, owner, Customer name 1
    Customer name 2
    Account id2, created date, object, status, owner, Customer name 6
    Customer name 7
    Account id4, created date, object, status, owner, Customer name 9
    Thanks in Advance.

    Please add a question to your post. It is not clear what output you are trying to achieve that is not working.
    Thanks!

Maybe you are looking for

  • Wifi Internet HELP!!

    I bought my new Curve 8900 today. I am a first time blackberry user. I tried browsing and downloading apps with the blackberry using my home wifi connection. Most of the websites opened, but some did not. I was also unable to download applications fr

  • FB01 - Create an outgoing payment with a Bapi

    Hi there, I'm trying to simulate outgoing payments with BAPI_ACC_GL_POSTING_POST but I'm finding problems, does someone knows if this is the right bapi ?? I'm finding problems 'cause the bapi needs a gl account but I have to put the vendor code and I

  • Urgent3

    Can anybody help on below questions with a view of fresher to software as well as fresher to BW …points assured for each question? 1)     How many ways we assign deltas to an info package? BW side? 2)     What are type of deltas we assign R/3 side du

  • Default blend setting

    Would anyone know why all blends are set by default to Knockout Group in the transparency panel? I don't understand the value for print or web. The disadvantage (for me) is that it sets the blend to a state other than normal (default) in the appearan

  • MinimumOSVersion 8.3 is not acceptable

    I am now using  xCode 6.3 for upgrading apps to IOS 8.3.  On 04/09 I submitted 3 apps to iTunesConnect for IOS 8.3 with BASE SDK set to Latest IOS (IOS 8.3) and a deployment target of 8.3.  However later In the day new submissions are obtaining this