How to remove related data by cmp

I want to remove the data from database use cmp ejb.
But the exception occured:
ORA-02292: integrity constraint (YFZHU.SYS_C005711) violated - child record found
How can I remove all the data by cmp EJB?
Thanks in advance!

The way it looks, you will have to remove the child first. Whether this can be done by cmp I don t know. If the child is another bean, just call the it's remove method first. Otherwise you might have to use a bean managed persistence
With regards
rh

Similar Messages

  • How the HR related data of BP is stored in SAPCRM Sys??

    Hi Guru's,
    I' m very new to the CRM.
    I want to know <b>How the HR related data of BP is stored in SAPCRM System?? for the project requirement.</b>
    Please, can anybody help in this regard ??
    Regards,
    Arjun

    hi,
    I don;t entirely understand your question.
    But just as in R/3 HR data is stored in infotypes, accesible as always with PPOM, but for CRM, there's also PPOMA_CRM.
    If you check the evaluation paths in OOAW, you also see some specific ones for BP. this is also an entity in HR, just as P, O CP etc.
    In short, data is stored as relations eventually in table HRP1001
    Kind regards, Rob Dielemans

  • How to remove blank data from a byte array

    Hi All,
    How to remove blank data from a byte array. Suppose I created a byte array as byte[] b = new byte[8192] and i read the data as inputstream.read(b). If the data that has been received is only 1000 bytes length, how to find out how much data has been read or how to delete that blank 7192 bytes of data?
    Thanking you,
    Regards,
    Shankar.

    1) Always try to sidestep this by allocating only the necessary amount of space required...
    2) If 1 is not possible, you will have to index byte for byte how much data was read into the array which
    denotes reading byte for byte... not ideal as this is relatively slow...
    Are you reading from a file?

  • How to retrive relational data from an XMLType column in Oracle 10g R2

    Hi
    I want how to retrive the data which is in XML document in an XMLColumn in a Table(or an XMLTable which has the XML Document). This XML Document has to be Queried with XQuery as a Relational data(not an XML Document).
    If any body has some ideas please share it across ASAP.
    please share an example for this because i am new to this XQuery.
    Thanks in Expectation,
    Selva.

    Got it working now. I used the 'extract' function in my select statement, but had to add the .getStringValue() fuction. The extract function, just by itself, returns an XMLDocument type. The call for the column in the SQL statement looked like this.
    extract(XML_CONTENT, '/ROOTOBJECT').getStringVal() xml_content
    Thanks so much for your help. Problem solved!

  • How to remove header data from JMS Queue while sending by jms adapter

    Hi.
    I have a problem regarding the MQ-series JMS adapter.
    When writing the file the JMS adaptor putting  some additional tags.
    Actually we are converting idoc-xml to flat file by using ABAP mapping which is available in SAP document. We are using JMS Receiver adapter, whiel sending flat file to JMS QUEUE,  it is displaying some extra xml tags. I think this is the header data available in IDoc XML. Can any body help me in removing header data.
    There must be some way for XI's JMS adaptor to not include these information.
    My example looks like this:
    RFH Ø  
    ¸MQSTR
    ¸ " is junk that I really dont need in the file.
    How can you setup the JMS adaptor not to put in these information?
    Thanks & Regards,
    Madhusudhan

    not related

  • How to remove messages data

    My iPhone 4s is running low on starage space.
    When I go to usage in the settings it says my messages is using 5gb of data storage.
    My emails are empty as are my text messages.
    How can I remove the data that the messages service is stroring?
    Thanks.

    Barbara222 wrote:
    "What do you need a plug-in to do?"
    To strip exif data and tags.
    Sorry, I thought you were asking a follow-on question.  It didn't make any sense that you would ask about a plug-in if you were already told how to do it in Photoshop.
    Frankly, it doesn't make all that much sense to use Photoshop at all for the task.
    Have a look at the freeware viewer called IrfanView.  I believe it can be set to batch process a group of images, and save them back out without metadata.
    -Noel

  • How to remove extra data

    Hi there.
    I recently added some data to my capped plan mobile phone and want to remove the added data. So it was 2GB usage and I made it 2.2GB but I want to go back to 2GB. Anyone know where/how to do this please :/

    Thanks Jeff
    It says:
    Removing a data pack
    To remove a data pack from your service, please:
    Call us on 1800 303 302
    Visit your nearest Telstra Store
    So there is no self service to this. So easy to add the extra data pack but have to get Telstra to do it I don't that but thank you so much for your reply (y)

  • How To Remove Exif Data

    Hi,
    Can you tell me how to remove all exif data, tags, etc from a photo?  And, how to batch remove?  Do you have to add a plug in?
    Thanks,
    Barb

    Barbara222 wrote:
    "What do you need a plug-in to do?"
    To strip exif data and tags.
    Sorry, I thought you were asking a follow-on question.  It didn't make any sense that you would ask about a plug-in if you were already told how to do it in Photoshop.
    Frankly, it doesn't make all that much sense to use Photoshop at all for the task.
    Have a look at the freeware viewer called IrfanView.  I believe it can be set to batch process a group of images, and save them back out without metadata.
    -Noel

  • How to remove the date format validation done by the UI

    Hi All,
    I am having a date field which is an input field for Dateof Birth. User can either select from the calendar or enter his own date. If the user enters invalid date format'(032342525') something like this, when we move to the next tab the column turns to Red and it displays a message saying that date is not a valid date. I wanted to validate that on Save instead of tab click.
    Can anyone of you tell me how can we remove this date format validation in Java Webdynpro.
    Thankyou for your time and consideration!
    Madhavi

    Thankyou for your reply. I cannot the change the date type to string bcas the users need date picker to select the date. The problem I am having is once the format is wrong and the UI validates, though the other fields are entered by the user the application returns error saying that the required field are not entered.
    And also I am having multiple containers in my view set and for all other error messages I am using a popup to display the messages and this only error is shown at the bottom of the page which the users does'nt like.
    Is there any way I can identify that format error occured before it throws on the UI screen??
    Regards,
    Madhavi

  • Does anyone know how to remove the date stamp from photos?

    I don't remember how I added the date ON the photos to begin with, and now I don't know how to remove them!

    Try the Retouch tool in iPhoto. Otherwise you would need to use a 3rd party image editor, like Photoshop Elements that has a clone or healing tool to remove the date from the image.
    This is what PSE can do but it might be a bit overkill for just doing dates.
    OT

  • How to remove all data.

    We're donating an iPad and want to remove all data.  What is the simplest, effective way to do this?  Remote wipe using FindMyiPhone?  Reset to factory conditions?  Something else? 
    Original iPad, no 3G, iOS 4.3.3.

    I think the best way to do this is to download the latest iPad firmware from here:
    http://www.felixbruns.de/iPod/firmware/
    Plug the ipad into your computer and go into iTunes.
    When in iTunes goto the iPad screen.
    From the iPad screen hold down the "option" key (shift key in windows) and click "Restore". iTunes will then ask you where the restore file is. Here you will choose the one you downloaded from http://www.felixbruns.de/iPod/firmware/
    Once restoration is complete do not restore from a backup and unplug it from the mac so that it is no longer registered to a computer.
    After this is done the iPad will just display the "Plug into iTunes" picture and is ready for the iPad to be sold or whatever.
    This may not be the easiest way but is the the best way to ensure all of the data is removed from the iPad.

  • How to remove Exif data using terminal

    I want to remove Exif data from images using Terminal
    I've googled and cant find anything
    There's a Linux command, but nothing fro Terminal - or at least I cant find
    Thanks
    Omar

    @Frank Caggiano, thanks. i only want to remove and not do anything else. exiftool allows u to write as well
    my ideal solution: not to install anything
    that's something that comes from windows: fearing that installing things will clog up ur system. lol
    i need imagemagik for other image editing anyway
    thanks for the replies

  • How to pass relative dates (Yesterday, Last week) via Command Parameters in a linked subreport

    I have been struggling with this one and would sure appreciate your help
    I have a report that runs fine but takes to long when running, to optimise it have setup it up as a subreport , created a main report which I linked to it via a relative field ({?ServiceID}) field, this has reduced the report time but I would like to go even further by user selecting date e.g startdate, enddate or relative field eg ‘yesterday’, ‘Last Week’
    I can do the selectable start and end date fine but I’m failing to make use of the ‘Yesterday’,’ last week’ within the command parameters, below is an example of the code I have on the reports select expert but I want a semiliar filtering on the command parameter to avoid the filtering taking place on crystal but straight from the DB.
    IF  {?Relative Date}= "Yesterday" THEN currentdate-1
    ELSE IF {?Relative Date}="Last Week" THEN LastFullWeek

    Good Day Guys,
    Apologies for the late response, I have been looking and trying the different suggestion you pointed out, unfortunately without any success
    Stored Proc
    Nrupal, I tried setting one up but I’m getting a error I cannot seem to get past, below is my condition, any help would be appreciated
    where cd1.Service_ID = @Service_ID
    and cd1.CallStartDt in (
      Case @RelativeDate
      When 'Today' then CONVERT (date, getdate())
      When 'Yesterday' Then DATEADD(DAY,-1,CONVERT (date, getdate()))
      When ‘Last Week’ then between @LastWeekStart and @LastWeekEnd       //sytntax before between, also tried using ‘IN’, same result
      When ‘Last Month’ then between @LastMonthStart and @LastMonthEnd 
    else between @CallStart and @CallEnd
    END )
    End
    Crystal command parameter code
    where cd1.Service_ID in ({?Service_ID}) and
    convert(datetime,cd1.CallStartdt) in (
    Case {?RelativeDate}
    When 'Yesterday' Then GetDate()-1
    else  {?CallStart}
    END)
    Abhilash,
    I have tried both your proposed command parameters but still fail
    I’m getting an invalid column name ‘Yesterday’ error , I’m not sure if Crytsal takes this type of command formatting using the command parameters, would appreciate your help as I would like to stay clear of the SP, unless it’s the only altanative
    Dell
    I will start working in your re
    Thanks Again

  • How to remove the date extensions from a filename in SSIS Flat File Connection Manager dynamically at run time

    Hello,
    I have to load data from a csv file to SQL Database. The file is placed into a directory by another program but the file name being same, has different extensions based on time of the day that it is placed in the directory. Since I know the file name
    ahead of time, so, I want to strip off the date/time extension from the file name so that I can load the file using Flat File Connection Manager. I am trying to use 'variable' and 'expression editor' so that I can specify the file name dynamically. But I
    don't know how to write it correctly. I have a variable 'FileLocation' that holds the folder location where the file will be placed. The file for example:  MyFileName201410231230  (MyFileName always the same, but the date/time will be different)
    Thanks,
    jkrish

    I don't want to use ForEach Loop because the files are placed by a FTP process 3 times a day at a specific time, for ex. at 10 AM, 12 PM and 3 PM. These times are pretty much fixed. The file name is same but the extension will have this day time stamp. I
    have to load each file only once for a particular reason, meaning I don't want to load the ones I already loaded. I am planning on setting up the SSIS process to load at 10:05, 12:05 and 3:05 daily. The files will be piling up in the folder. As it comes,
    I load them. At some point in time, I can remove the old ones so that they won't take up space in the server.  In fact, I don't have to keep the old ones at all since they are saved in a different folder anyways. I can ask the FTP process to
    remove the previous one when the new one arrives. So, at any point in time, there will be one file, but that file will have different extensions every time.
    I am thinking of removing the extensions before I load every time. If the file name is 'MyFileNamexxxxxxx.csv', then I want to change it to 'MyFileName.csv' and load it.
    Thanks,
    jkrish
    You WILL need to use it eventually because you need to iterate over each file.
    Renaming is unnecessary as one way or another you will need to put a processed file away.
    And having the file with the original extension intact will also help you troubleshoot.
    Arthur
    MyBlog
    Twitter

  • Want to move an Apple Extreme. How to remove the data?

    I am updating my Airport Extreme from an older unit to a newer one.
    Want to give the older one to a friend. How do I remove all current data, or reset the older unit first?
    Thanks

    Connect an Ethernet cable from one of the LAN <--> Ethernet ports on the modem/router to the WAN (circle of dots) port on the AirPort Extreme.
    Click the WiFi icon at the top of the iMac's screen and look for the setting of New AirPort Base Station
    Click on AirPort Extreme just below that heading to get the setup wizard running
    The setup wizard will take a minute to analyze the network and then present a screen that looks similar to this, except that you will see an AirPort Extreme icon
    Name the wireless network, Name the AirPort Extreme and enter a password that will be used. Verify the password and click Next.  The utility will setup everything for you.

Maybe you are looking for

  • Looking for a copy of Appleworks

    I am new here and am looking for a reliable source where I can purchase Appleworks. I am not interested in a copied version but want an original. I am new to the MAC (had an Apple ll with works in the early to mid 80's) and would like an original dis

  • User defined funcs in a Servlet

    I am invoking a servlet from a java program. Some data is being sent to the servlet. I want to manipulate that data in servlet. The data sent from java program is received in doGet(). Now to manipulate the data can I write member functions inside a c

  • Web Dynpro ABAP Material

    I am new to web Dynpro ABAP. Please send the regarding sites to work out this concept. Please send me materials or pdfs regatrding this topic My Mail ID is <b>[email protected]</b> Please help me. I am requiring it a lot. Please send me . With Regard

  • Transporting Error: "Signed a business system in TEST"

    Hi, While transporting a scenario from dev to test using cts+, I am getting the following error. "Signed a business system in TEST" Pls give some solution. Br, Madan Agrawal

  • Can't mount or access Time Capsule shared drive after installing Mavericks

    Hi everyone, I upgraded my MacBook Pro to Mavericks (10.9.2) last weekend and everything went fine at first. However, after copying and moving several files from-to my Time Capsule, I can't access the shared drive anymore. My Time Capsule is installe