BO Extension - how to detect object deletion?

Hi community.
I have the problem that we extended an SAP BO node and this BO node might get deleted by user interaction using SAP floorplans.
However to prevent associations from our custom BOs to this extended SAP BO node pointing into the void I need to somehow react on deletion of this BO node.
Our own floorplans following these associations and showing content from the SAP BO node throw exceptions if the SAP BO node does not exist anymore.
the afterModify or beforeSave events of the extended BO do not work: both are (afaik) not triggered upon deletion.
Did anybody else encounter a similar problem and maybe found a solution?
More specific: we exended the SAP Project BO and have trouble when a ProjectTask is deleted.

Hi Sunil, thanks for your answer.
I already to check for IsSet on the ProjectTask but the assoviation was set even though the destination object was not existent anymore.
The Idea about counting the project tasks is a good additional idea, i will try to explore into this direction.
However, how could I solve the problem when the exception gets thrown by UI?
I.e. when viewing floorplans (no changes made to object so far -> no events/actions with custom code triggered) the UI interpreter follows these associations and tries to load the relevant object to show  the project task data.
I might save a local copy of this data maybe...
Best regards,
Ludger

Similar Messages

  • How to detect object being touched or not in kinect

    Dear all,
    i am new bie to kinect programming. i want to build application where camera can detect object touched or not.consider 3 object are placed on table like in set book ; remote & MOUSE . whenever object being picked i wanted to increment paricular item
    being counted up. if object kept back count remain same. 
    Is it possible to check which object being touched?? & increment the count in the particular item section.
    if moused picked once increment mount count value by 1 & display on screen.let me know how can i do usinf kinect sensor.
    AMPS12

    Kinect itself does not provide any type of object recognition. There are third party libraries and tools that you may want to look into that can do that. Kinect will only provide you depth and color information of what the camera sees. We have a body tracking
    system so we know where people are. Based on that and if you define target areas, you may be able to deduce things.
    Carmine Sirignano - MSFT

  • How to find Object delete information when Audit is not enabled.

    Hello Experts,
    One of the object is deleted from our environment .
    I tried fetching the deskin report frm acitvity universe but , no data availble as the audit option is not enabled .
    Is there any way to get the information of object deleted , like who deleted it.
    This is very import isssue to find out the information can any one help me with it.
    Regards,

    Hi Neo, in addition, I suggest you to remove any right to delete any object if it is in the Production environment.
    If you are using the BusinessObjects tool, you should join ASUG at www.asug.com

  • How to detect and delete double files like for iPhoto

    I have a high number of double photos in iPhoto and would like to know a possibility to detect and delete the doubled ones
    any idea for a reliable support tool
    thanks

    Are you looking for an option for you Mac/iLife version of iPhoto or the iPhone/iPad version of iPhoto for iOS? Since the pictures in iPhoto for iOS are from the built-in camera or synced with iPhoto on your Mac, I would guess you should look for a utility like that in the iPhoto of iLife forum.
    https://discussions.apple.com/community/ilife/iphoto
    -Doug

  • I have 8000  photos in my iPhoto library.  Many are duplicated in the "Pictures" folder in the Finder.  Is there an easy way to detect and delete duplicates in the "Pictures" folder?

    Anyone know how to detect and delete duplicate photo files that exist in the Pictures folder in the Finder that are also in the iPhoto library?

    There's no way to compare the photos in the library with those outside the library.  However, as long as you're running a "managed" library
    You can import batches of the photos, i.e by folder, into the library.  If the photo is already in the library you will be given this notice:
    Check that checkbox and clik on the Don't Import button.  When that folder is finished importing (or not) delete it and go to the next.
    If you need to check for duplicates in the library you can use one of these applications to identify and remove duplicate photos from an iPhoto Library:
    iPhoto Library Manager - $29.95
    Duplicate Cleaner for iPhoto - free
    Duplicate Annihilator - $7.95 - only app able to detect duplicate thumbnail files or faces files when an iPhoto 8 or earlier library has been imported into another.
    PhotoSweeper - $9.95 - This app can search by comparing the image's bitmaps or histograms thus finding duplicates with different file names and dates.
    DeCloner - $19.95 - can find dupicates in iPhoto Libraries or in folders on the HD.
    OT

  • How to detect the HTML extension window close in In-design? Does the In-design throws any event on opening/closing of extensions?

    How to detect the HTML extension window close in In-design? Does the In-design throws any event on opening/closing of extensions?
    I have a HTML extension running in In-design CC 2014 version.
    I want to perform some required set of actions before my extension window is closed(by clicking on the cross button on top right corner).
    Does In-design throws any event for it? Or can we capture it using C++ plugin in some way?

    Naah.......haven't got any event for that yet.
    Although, since HTML extensions are using chromium browser,  as a workaround, u can attach listener to HTML onClose event, but it won't solve any purpose if you
    are looking to logout session or do some business login in your code.

  • How to see who deleted the Object

    Hi Gurus
    Would you please advise if some data target or transformation is deleted from the BW system how to know who deleted the objects?
    Thanks

    How to see who deleted the Object

  • How to detect session objects in a project

    Hi,
    There are many session objects in our project which has over 1000 classes. What would you suggest as the best practice to identify all of them. I am using eclipse. How to detect they are serialized or not. If not serialized how could i make sure they are serializable or not.?
    Appreciate your time.
    Pralav

    If not serialized how could i make sure they are serializable or not.?By implementing the Serializable interface.
    If you want to ensure they can't be serialised, then you implement Externalisable and throw exceptions when you override readExternal() and writeExternal()
    As for identifying the objects that are added to a session.... do a search for things like session.setAttribute() on your code. No easy way.
    regards,
    Owen

  • How to detect modifications in an ABAP Object?

    Hi all,
    I was wondering if there's a simple way of detecting modifications in an ABAP Object.
    Imagine an ABAP entity object which holds several attributes and you need to know if this object has been modified. Instead of having to check attribute by attribute to compare it's previous value with the new one I came with the idea of calculating a HASH code for the object before the execution of the application which can change the object attributes and comparing it with the HASH calculated for the same object after the execution.
    That way, checking only two hashes simplifies a lot the code. So.... is there any way of calculating a HASH for any object instance? if not... any other approach?
    Thanks in advance.

    Sorry Hüseyin Dereli, but I'm not talking about source version control, but how to detect attribute modifications of an ABAP Object Instance.
    for example, suppose you have a program which reads data from DataBase and stores temporally that data into an ABAP Object like this:
    ABAP Object AAAA{
       private attr1
       private attr2
    and passes this ABAP Object into a screen for user interaction, or even a FunctionModule or Method or anything else...
    data: myObject type ref to AAAA.
    myObject-attr1 = 1
    myObject-attr2 = 2.
    CallFunction AnyFunction Changing data = myObject
    After the execution of AnyFunction I would like to know if myObject has been changed but I'm trying not to check attribute by attribute because if myObject has a lot of attributes (not in this example but in the real source code)
    It would be great if we could do something like this:
    data: myObject type ref to AAAA,
              oldHash type hash,
               newHash type hash.
    myObject-attr1 = 1
    myObject-attr2 = 2.
    oldHash = myObject->get_hash()
    CallFunction AnyFunction Changing data = myObject
    newHash = myObject->get_hash()
    if oldHash NE newHash.
    * MyObject has been modified
    endif.

  • Objects deleted under transport request by me-how can I know what were dele

    I am using my collegue's user id and password.
    I was creating data element and adding it to segment in we31 and then I did program change in se38.
    Unfortunatley, I was created all the above under my colleague's existing transport request which contains so many objects.  After I realised, I deleted some to create all under a fresh request ( it seems some which are not related to my development were also deleted . so how can i find what ever were I deleted ? ) ...not sure what was I deleted...may be one program, one transaction code etc.
    Kindly help me how to find out what were I deleted under that request  ?
    YOUR HELP WILL BE HIGHLY APPRECIATED.

    There is no easy way to find it out. Something you can do that you can find out the object list from TADIR table which is created by your friend and then go to E070 table and E071 table and check among those objects which are not attached with any transport request.
    So thus you will get a smaller list of objects and your friends objects ( deleted by you) will be definitely in that smaller list. Now you can check with your friends so ensure which are the objects deleted by you.

  • Use of BAT file - How do you completely delete 150 phones and their associate DNs?

    How do you completely delete 150 phones and their associate DNs? All the phones are in the same device pool. I prefer BAT way.
    Version of the CUCM: 8.6.2
    Type of phones: 7962 phones - associated with the same device pool.
    Additinal questions: Is there a way to delete elegantly all the phones and their associated DNs when all the phones are associated to the same device pool? I rather not work with specific extensions and MAC addresses.
    Thank you,
    Calin Lupas

    Hi Calin,
    Using BAT this will require 2 - passes. 1 for the phones and 1 for "unassigned DN's". this is nicely shown in the attached doc;
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/bat/8_0_1/bat-801-cm/t03delph.html#wp1342774
    Of course for the DN's you could delete them via the Route Plan report>Unassigned DN>select all>Delete
    Cheers!
    Rob

  • How to close  or delete a PO?

    Hi
    How to close or delete a PO ?
    I can see to delete the line items .
    But if I wanna delete a PO itself , is it possible ?
    regards,

    Hi Sandeep
    You can flag all items for delete in Purchase Order,
    Go to ME22N and enter purchase order. Select item and click on delete button (which is available just above item details) and save.
    Once you complete mark for deletion, you can proceed for archiving.
    transaction code for archiving: SARA
    Object: MM_EKKO
    also check above link for detail process.
    regards
    Srinivas

  • How to detect the path of Temp directory

    I am writing a class library which allows users to manipulate a database in the web server java applications/applets. In my logic the Application/Applet communicate with a CGI script/Servlet in the server and that do all the database handling. My objective is to make the Client independant from the Database Drivers, and to some restrictions and possible security threats that can arrice when accessing the database directly.
    99% of the work is done and now I am doing the fine tuning.
    My Problem:
    When the user downloading a blob object from the server database. each time the program read the blob it will get a new copy from the server. This is not good if the blob is large (few 100 megs) . So I am going to implement a cache system. but the problem is If I am caching in the memory it will not support large objects (Memory is a limited factor). So the preferance is use the Temperary files but I do not know how to detect the path to temperary folder.
    And my 2nd questions is are the applets allowed to write and read in temperary folder.

    The Java default temporary file path can be determined with
    System.getProperty("java.io.tmpdir")This is typically the same value as the os environment variable

  • How to detect color pages in a PDF?

    I am using a C++ Acrobat plug-in do read/edit a PDF file.
    I need to get the total number of pages in the PDF as well as the page numbers of color pages.
    So far I have been able to get the total number of pages using PDDocGetNumPages() without any trouble.
    However, I cant seem to find an API that lets me know whether a particular page is color or not. Is there a way to do this?
    Thanks in advance!

    But what if there is RGB data that means black or gray (R == G == B), does that mean black or RGB?
    There is some sample code in the SDK for iterating over the content in the PDF, and then you can get the colorspace and the color of each object.
    But you really need to do some background research on colors & colorspaces to properly achieve this goal.
    From: Sachintha81 <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 8 Feb 2012 16:57:10 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: How to detect color pages in a PDF?
    Re: How to detect color pages in a PDF?
    created by Sachintha81<http://forums.adobe.com/people/Sachintha81> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4194889#4194889

  • How to detect is flash player is idle

    How to detect whether flash player is playing any animation
    like moving an object or it is static like an image for .swf file.
    I want to know the duration of the .swf file played.

    is is as2, yes I have to detect animation duration achieved
    via action script, for example there is only one frame in the .swf
    in that frame there is movieclip it will change its _x positon
    using scripting upto 500 pixel and come back to 0 position it may
    loop for 3 times or 4 times and stops. I want to detect duration of
    the movie clip played till it stops. I have only .swf file no
    fla.

Maybe you are looking for