Checkbox - delete issue

I have a report which is based on a function. I can not use a tabular form, because the data come from different sources and one of the tables is called via db-link.
I need to be able to "mark" as deleted (with my own pl/sql procedure) the items the user select for delete.
How can i achieve this?
Thanks,

Hello Max,
The reference I gave you includes an example of how to use the checkbox item to delete records from a table (under the heading “Creating an On-Submit Process”).
The principle is that when you are submitting your page, APEX engine populate a global array corresponding to the p_idx parameter you used when created the item. In your example, it will be APEX_APPLICATION.G_F01.
Just remember that in the case of a checkbox item, this array will include ONLY the checked records. Using this technique, you can perform any operation you need on the checked records.
Regards,
Arie.

Similar Messages

  • Restrict user from deleting issued component in Tcode CN22

    1) In  T Code - CN22  user can delete issued components ( thru  movt type - 281 ) how this can be restricted .
    2) Deletion indicator for  deleted component not  seen in CN22.
    Pls tell me what  are the  settings required  to set deleted component indicator on.

    Hi,
    In OPSG u can restrict deletion of withdrawn material component as error....

  • Delete Issue with 1:M Relationship.

    We had following Relationship M-M relation mapped through a cross Reference Table.
    Table Cust(customer Table), AddrXRef (XRef table), Addr(Address)
    Relationship is as follows.
    Cust - > AddrXRef 1-M Privatly Owned
    AddrXRef -> Cust 1-1
    Addr -> AddrXRef 1-M Privatly Owned
    AddrXRef -> Addr 1-1
    Here the Sittuation we have a use case where two row in AddrXRef table which
    share the the same Addr Row for Same Customer. We need to update one of
    the AddrXRef row to association with a New Addr row.
    We tried create a new instance for instance of Addr Object and associating it
    to existing AddrXRef instance.(Both Forward and Back Refrence for Add ->AddrXRef)
    The behaviour we see is instance of issue update on AddrXRef table and Insert of new row in Addr table. We see two insert one of new Addr row and one for AddrXRef.
    and delete issue for AddrXRef row and old Addr row which is shared with other AddrXRef row.
    sample code for method.
         public void validatePackageSentAddress()
    CustomerAddress homeAddress = getHomeAddress();
    CustomerAddress pkgSentAddress = getPackageSentAddress();
    if ( pkgSentAddress != null && homeAddress != null &&
              pkgSentAddress.getDelegate() != null &&
              pkgSentAddress.getAddrUniqNum() != null
              && pkgSentAddress.getAddrUniqNum().equals(homeAddress.getAddrUniqNum()) )
         CustomerAddrXRefBO pkgSentAddrXRefBo = pkgSentAddress.getDelegate();
         CustomerAddressBO newAddrBo = new CustomerAddressBO();
         // Associated new CustAddressBo instance pkgsendAddrXRefBo
         //     1) reference the new Addr from AddrXRef for PkgSent
         // Set from Forward and Back reference
         pkgSentAddrXRefBo.setCustomerAddress(newAddrBo);
         newAddrBo.addCustomerAddrXRef(pkgSentAddrXRefBo);
         // Only specific attribute need to be copied for PackageSent Address
         pkgSentAddress.setCityName(homeAddress.getCityName());
         pkgSentAddress.setCountryDescText(homeAddress.getCountryDescText());
         pkgSentAddress.setCountyDescText(homeAddress.getCountyDescText());
         pkgSentAddress.setStateCd(homeAddress.getStateCd());
         pkgSentAddress.setStreetNum(homeAddress.getStreetNum());
         pkgSentAddress.setStreetName(homeAddress.getStreetName());
         pkgSentAddress.setResidencyTypeCd(homeAddress.getResidencyTypeCd());
         pkgSentAddress.setBldgName(homeAddress.getBldgName());
    Message was edited by:
    user462895

    The problem is that by making the AddrXRef privately owned it cannot be reparented. Once it is removed from it's parent's list (either one) it will be deleted. To achieve what you're trying to do you'll need to delete the old incorrect AddrXRef and replace it with a new correct one.
    From the TopLink Developer's Guide[1]:
    When you tell TopLink that a relationship is privately owned, you are specifying that:
    * If the source of a privately owned relationship is deleted, then delete the target.
    * If you remove the reference to a target from a source, then delete the target.
    --Shaun
    [1] http://www.oracle.com/technology/products/ias/toplink/doc/10131/main/_html/uowbas007.htm#i1134011

  • Icloud data back up delete issue

    Hi! I've recently bought an iphone5 and have restored it from icloud.
    The problem I have now is that i cannot delete the back up data.
    I have 3 back up data showing
    (1) My old iphone
    (2) My new iphone
    (3) My ipad.
    I can delete items 2 and 3 and not (1) My old iphone data. I keep geting the message "cannot delete data as it'sin use".
    I have tried everything from turning Wifi off, stoping icloud back ups, nothing sems to work!
    Please help!!!!!

    Hi, El P.
    You wrote: "I am thinking this is a minimal way to save my important data and be able to re-boot if I have an issue with the hard drive. Any thoughts? El P"Well, if your hard drive fails, you're not going to be able to re-boot. If that's a risk you're prepared to live with, then what you're doing is adequate, but minimal.
    FireWire drives are available at far more reasonable prices than $200. For example, OWC's Neptune series starts at $93.99 plus shipping. Their drives include Retrospect Express, the OEM version of the Backup and Recovery solution I use. Therefore, it also provides you with all the software you need to create a bootable backup on the FireWire drive. I've bought all of our FireWire drives from OWC.
    Assuming you have a problem that requires wiping the drive to correct, one could still spend many hours reinstalling the OS, your third-party applications, and your data. Having a bootable backup makes that process far faster and less painful.
    So, while what you're doing may be minimally adequate, I'd recommend looking into a FireWire-based bootable backup and recovery approach at some point when funds permit.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Photoshop CS3 delete issues

    I am having issues in photoshop. I can select a background of a photo but when I hit delete or cut nothing happens. I reset the preferences but still no luck. This has been going on for months and I need to get it fixed.
    Had the same problem today inverting selection then hit delete. Nothing. Used CUT nothing. This makes life VERY difficult!

    Hmmm...  Difficult to test because i think most of use CS5, and delete brings up the Fill dialogue box.
    Are these single layer 8 bit bitmap images (opened from a JPG or converted RAW file)?  And you are hoping to leave the transparent background?

  • IMAP Email / Folder Issues / Deleting Issues

    Recently purchased the Palm Pre and love it.  I use an IMAP acount through a webhosting company (oneworldhosting).  I am able to get and receive email with no problems.
    Only issue is that under "Default Folders" in "Preferences", it says "none yet available".  Would love to have a sent / trash, etc folders.  Only have "Inbox / Outbox".  Also, deleted emails do not delete on the server.  I have folders in my webmail account, but perhaps that doesn't carry over.
    Any thoughts? 
    Thanks,
    Matt
    Post relates to: Pre p100eww (Sprint)

    yes, I experience the same bug: if I wipe out or delete imap emails_ they disapear until the next sync happens. Then they are bach. Delete simply doesn't work with IMAP!!!! urgent fix needed!!!

  • IPhoto deleting issues and iTunes syncing issues with IOS 5 on my iPhone.

    While upgrading to IOS 5 my iphone (3gs) would not allow me to restore to back up so I had to restore to original settings, ugh, losing everything on my iphone. Thought this wouldn't be a problem but iTunes won't let me pick and choose what music I want to add anymore even though I have "pick checked music only" checked. It refers now only to full albums, etc, instead of whatever songs I want from each album. I had to create specific playlists with all the music I wanted on my iphone. And it only added one playlist. I have loads of space on my iPhone so don't know what the issue is. Does anyone know why I cannot add more than one playlist?
    Also, I discovered I can't delete iPhoto pics on my iphone. I can trash whatever I add to my Camera Roll but nothing else. I had to designate a specific folder for pictures from iphoto to be added to iphone and those I cannot delete. Anyone know what to do here as well?
    Thanks!
    Found answer to iPhoto question here: https://discussions.apple.com/message/7636294#7636294
    ...but still need help with music. thanks

    It's inside the iPhoto Library package.  Open it from the Finder as show in this screenshot:
    Then drag the iPod Photo Cache folder to the Trash, close the package, launch iPhoto and try again.
    OT

  • Process Order Deletion issue.

    Dear PP/SAP Master,
    Good Day. I encounter one issue as below:
    Standard SAP will create the reservation based on dependent requirement once there's process order created.
    Example Raw Material are used in FG PO , Raw Material will in reservation when FG PO created.
    If the Process Order flag for deletion , the stock from reservation will move back to unrestricted.
    There's one issue , after i deleted the FG Process order but the Raw material in reservation are not move back to unrestricted.
    Kindly Please if anyone know how this can happen.
    thank you.

    Dear ,
    Frist of all , technically , you can set deletion flag  for process order  when this order is finicially setteled  within FY periods , Technically complete from production [TECO] , Final Goods Issue indicator is set [GMPS] , Operations are confirmed [CNF] and Goods Delivery completed [DLV]
    Or , you should reverse all of them .If it is not settled so far by FICO , then reverse TECO [CO02-FUNCTION-Revock TECO] , Reverse  Goods Receiept -102 -MIGO ,Reverse Goods Issue -262-MIGO , Reverse Confirmation -CO13 and  then you can set deletion Flag .
    If you set deletion flag prior to that , stock will not move back to unrestricted stock .Settting deeltion flag does not mean you have deleted the PO rather it is an entry to SAP tabel  for Process Order .
    Regards
    JH

  • Request Deletion issue in Infocube

    Dear Experts,
    We have 2 different source systems feeding data to single infocube.
    We are loading the full upload every month, so we need to delete previous request from the infocube.
    Is it possible to restrict the authorization to delete request in Infocube based on sourcesystem ? 
    For eg, source system A admin, should be able to delete requests in infocube only from this source system only.
    Is it possible? 
    Any advice or pointers will be highly appreciated.
    Regards,
    Ravindra

    Hi:
    You can do it by tools given by SAP. When you go to infopackage that loads the data, there is a Checkbox for Delete Data Target. Select this. Next to it, there is a small check box. Click on it and it will give you more selection options for Delete. Select the Source System is the same and this will solve your problem.
    Ram Chamarty

  • How to fix deleting issues in Mail program

    I have a MacBook Air (only a year old) and I like to use the mail program that came on the computer ( since it syncs with my phone ) However when I delelte messages they re-appear in the box I deleted them from. Does any one know how to fix this issue with out having to use another App, or directly going to Gmail.com?
    Thank you.

    I use Gmail. When I set it up, I just typed in my email address and went at it. I haven't changed any settings. It use to work fine, then it started acting up. I have tried other email apps, but I don't like that (too hard to file away saved emails, or just plain set up awkard)

  • Aggregation level deletion issue

    Hi ,
    I have a requirement to delete few aggregation levels from the system , i deleted them in development system and put them in a request but on transporting to Production these are not getting deleted. Any pointers .
    Is there any other way to delete them directly in production system . There are few tables like RPLS_ALVL and RPLS_ALVLT .can deleting entries from these tables can resolve the issue ?
    thanks.

    Check whether these objects are attached in any transport in production.
    You can re-import the transport by checking 'overwrite originals' and 'overwrite objects in unconfirmed repairs' options.

  • Checkbox positioning issue in module pool program screen

    Hello All,
    I am facing one issue with the checkbox positioning in module pool program.I have designed the screen in 'SAP Signature Theme' and the checkbox position looks fine (while tested the screen in SE80) as shown below.
    Test Result from 'SAP Signature Theme':
    But the lead has a different theme in his SAP system and he got the below result where the checkbox automatically shifts right with the same code and screen design as shown below.
    Test Result from'Enjoy'  theme :
    Could you please help me resolve this strange issue as soon as possible.
    Thanks in advance!!!
    Thanks & Regards,
    Hafizul

    Hi Bhaskar,
    Sure , in fact this is has been created by dragging and dropping of the the standard checkbox template availabe in the layout,no custom code has been written for this.
    Please find the layout properties for this checkbox below.
    P9021-COMPLI_CONF is one character field.
    Please let me know if you need any other details on the same.
    Thanks & Regards,
    Hafizul

  • Small Business Video Monitoring System SWVMS16 - Preset Point Deletion Issue

    When using the Video Monitoring System with a PVC-300 camera, I created a Preset Point with the name "Bev and Al's Place"  The apostrophe has caused issues.  The preset point will not work, and now I cannot get rid of that preset point.  I have tried using the single clear preset point option, the "clear all" for preset points, plus uninstalled the Video Monitoring System, deleted all the files that I think were related to the software, plus removed the registry variables that comprised the preset point that I found in there.
    Any Ideas as to how to get rid of that preset point?  There must be a file that is lurking around or some other registry setting?

    Hey Dave,
    Thanks for looking into this, but this is not the case.  I did not mention that I did a camera reset to factory on the configuration too, thus wiping out all the presets that were on the camera too.  The only place that still has presets configured now is in SWVMS16 and I have only one right now and that is the one that I cannot delete.  What is also interesting is that when I configured the preset as "Bev and Al's Place"....the preset is listed as "Bev and Al"...it dropped all the characters after the apostrophe.
    There has to be a file or registry that is picking this up.  I did reset the camera to factory, uninstalled the SWVMS16, removed registry settings that contained the presets, and deleted all data and program files too that were related to SWVMS16.
    After, what I thought I cleaned up all the files, I reinstalled only the SWVMS16 software and not the camera installation wizard, and the management software found the camera and when I clicked on presets within SWVMS16, the one still remained, "Bev and Al".  There has to be a registry setting or a file in an obscure location that is holding onto this data.  Just haven't found it yet.
    When I opened a web page to the camera directly, there were no presets in the list there. 
    Still no solution to this issue.  Looks like a defect in using the apostrophe in preset list names.

  • (Kodo 4.1); DELETE issued even with @ForeignKey cascade delete?

    I'm wondering if anyone has seen this.
    I'm using Kodo 4.1, and MySQL, and I basically have the following situation (default generated IDs omitted):
    Code:
    @Entity
    public class A {
      @OneToMany(mappedBy="a", cascade=CascadeType.ALL, fetch=FetchType.EAGER)
      private Set<BB> bMany = new HashSet<BB>();
    @Entity
    public class BB {
    @ManyToOne(cascade={CascadeType.PERSIST, CascadeType.REFRESH })
    @JoinColumn(name = "A_ID")
    @ForeignKey(deleteAction=ForeignKeyAction.CASCADE)
    private A a;
    Schema:
    CREATE TABLE BB(
      A_ID BIGINT NOT NULL,
      CONSTRAINT FOREIGN KEY (A_ID) REFERENCES A(ID) ON DELETE CASCADE
    ) ENGINE=InnoDB;OK. I create an A with a couple of BBs in it, and persist it. Everything's fine. Now I call entityManager.remove() on the A instance I persisted, and I can see it issuing DELETE commands for BB after the DELETE for A, which produces an OptimisticLockException. I'd have hoped that the above @ForeignKey would have told Kodo not to issue such commands, knowing that the DB would do it.
    Any insight? Have I used @ForeignKey correctly (examples seem sparse in the documentation)? Is there a workaround, other than removing the cascade delete and doing deletions manually from code?
    Thanks,
    -- Bryan Loofbourrow

    1. Kodo needs to know the constraints set on mapped columns.
    Set the following properties in your configuration
    kodo.jdbc.SchemaFactory:native(ForeignKeys=true)
    2. Are you explictly setting kodo.jdbc.UpdateManager property?

  • PSA Deletion Issue from the Process Chain

    Hi,
    I am facing problem in PSA Deletion from the chain. Scenario and issue as follow:
    Scenario:
    I have a PSA deletion Chain which got trigger daily. Which contains the many "Deletion of Requests from PSA" step. Datasources in the steps are from 3 different source system. Previously all are working fine.  I am using 7.1 version.
    Issue:
    1. All PSA Deletion step working fine except the BW source system Datasources.
    2. Few of the Datasources from BW source system are working fine(i.e, deleting the requests as per the condition given in the step.) and few are not(i.e, it does not pick up any request for deletion, but it have to delete some requests as per the conditions.).
    All the PSA deletion steps are  turns to green when chain executed.Few of them is not working from august and few are from the october(i.e, Not any specific date)
    Please suggest me the solution for above issue.
    Thanks in Advance.
    Himanshu.

    Hi ,
      Goto display/maintain  variant of the PSA deletion step and compare conditions of  the Infopackages which delete data successfully with those which do not .
       The condition given for the info-package whose data is not deleted from PSA , is not being satisfied that might be the reason the request is not deleted from the infopackage.

Maybe you are looking for

  • Why is itunes crashing when i try to sync my iphone 3g

    it was working fine until today. this is what i'm getting from diagnostics: Microsoft Windows Vista Professional Service Pack 1 (Build 6001) LENOVO 7763B6U iTunes 8.0.2.20 QuickTime 7.5.5 FairPlay 1.1.11 CD Driver 2.0.7.5 CD Driver DLL 2.1.1.1 Apple

  • Itunes won't let me back up my Ipod, or sync music

    Hi there My itunes won't give me the option to back up my ipod touch (3rd gen)- I have the latest iTunes and iOS (4.2) but it still won't let me create a backup. When I right click on the ipod, the only backup option I am given is to restore from an

  • Synchronizing Updates on a Staging Table

    Please help me out with the resolving the following issue: A load script is running for moving records from a data file to a staging table. After this script completes, there is a code to update two fields of the staging table. To do this the shell s

  • Query to find out the list of user who have delete access

    Hi, I need a query to find out the list of users who have delete access on perticular folder/universe/ reports  in infoview. Please advice. Regards, Neo.

  • IPhoto not recognising date

    When I open iPhoto to import photos from my camera, it puts the device in the side menu as a listed device, but it won't allow me to import anything from after the 15th. When it has the dates, it lists the 15th as the "to:" date. It does the same for