Attachment link from  SRGBTBREL is not deleting?

All,
I have custom transaction that have option to attach documents. I am using the following for attachment option.
      i_borident-objtype = 'YATTA'.
      i_borident-objkey = yatthdr-docno.
      create object gos_manager
        exporting
           is_object            = i_borident
           it_service_selection = i_services
           ip_no_commit         = ' '
        exceptions
           object_invalid       = 1.
After attaching the documents , some times users will delete the attachments .
when they delete the attachments , the releation link from table SRGBTBREL still exist. Why?
The real problem is i am printing the number attachments in print output using
* Get Attachment List
  call method cl_gos_attachment_query=>count_for_object
    exporting
     is_object = i_object
     ip_arl    = space
    receiving
     rt_stat   = i_stat.
  read table i_stat into wa_stat index 1.
  if sy-subrc eq c_0.
     move wa_stat-counter to v_attno.
  endif.
So here after deleted all attachments this above said query giving number of attachments to a document giving value (ie > 1 ) and not giving 0.
This is not happening on all the case while deleting the attachments, this happening 1 to1000 ratio.
Any info?.
a®s
Edited by: a®s on Jan 18, 2008 9:38 AM

For Your Info. May other users found this info helpful.
After deleting the attachments using GOS service object you need to call the following methods for deleting the reference links compleletly
  cl_binary_relation=>refresh_links( ).
  call function 'STATUS_BUFFER_REFRESH'
   exporting
     i_free        = 'X'.

Similar Messages

  • Deleting emails from Gmail does not delete them from BB

    HI,
    Just bought a brand new BB 8830 World Edition and using Gmail. Deleting emails from the BB works just fine and Gmail is being updated. But deleting emails from Gmail does not delete the corresponding email from the BB.
    On the BB, there is an option "Mailbox and Handheld" that works just fine but there is no such thing on the Gmail options.
    Is this a bug or a normal way of doing things? It would be quite abnormal to having to manually delete your emails on the BB that have already been deleted on Gmail; it's just deleting twice the same email.
    I would be grateful to anyone who can provide an answer.
    Regards.
    Springtime.

    You can delete mails from your handheld as well as from Gmail server which I guess solve the issue for you. To be able to do so check the following options -
    Messages
    Options
    Email Reconciliation
    Deelete On: Mailbox & handheld
    In place of Mailbox & handheld you also select Deelete On: Prompt. This is will give prompt wheneve you'll delete any mail and give you options what to do.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Contact disappeared from iPhone but not deleted from Address Book on sync

    FYI, I have an iPhone 3G running iOS 4.2 (the latest), and I have never so much as thought about MobileMe.
    Until two days ago, I have had no reason to doubt that my iPhone's Contact list is the same as my MacBook's Address Book list. I now have no confidence that the same info. exists in both: I know for sure that at least one contact long present in both has disappeared from the iPhone, yet syncing all contacts neither returns it to the iPhone nor deletes it from Address Book! I need help troubleshooting this contact as well as verifying that there aren't other similar anomalies corrupting my data, hopefully without manually comparing all 685 entries...
    Two days ago, a certain number, let's call it (310) 555-5555, popped up in my recents list as a missed call and in my visual voicemail. When I listened to the voicemail, I discovered that (310) 555-5555 was Jane Smith. I remembered entering Jane Smith several months ago, so I thought hmmm, does she have a second number? I tried to add (310) 555-5555 to an existing entry, only to find my iPhone had no entry for Jane Smith anymore at all! I did not delete her myself, and I'm not aware of any 3rd-party app that ought to have affected the entry. I haven't called Jane Smith or (310) 555-5555 in quite some time, so I have no idea how long the entry may have been missing. I searched the whole phone (left of the first home screen)
    At the next opportunity, I looked in Address Book on my laptop, and indeed found the expected entry for Jane Smith, (310) 555-5555. I have no idea how she disappeared from my iPhone -- did I or some third-party program delete her? Or did it happen through some sync issue? -- but I naturally worried that when I next synced, the deletion would sync, too, and I would lose the Address Book entry, leaving me without Jane Smith's number at all.
    Such an event would defeat the entire purpose of backing up my phone contacts to my computer; I just moved to iPhone this spring after being a Palm user since 1997, and the idea that iPhone might not be reliably syncing my contacts is frankly terrifying. I checked and saw that my Address Book listed 685 contacts to iPhone Contacts's 684, so I decided to risk a sync in hopes that maybe I had caused a one-off deletion. I wrote down Jane Smith (310) 555-5555 just in case and hit sync.
    The results of the sync and my subsequent troubleshooting have seriously undermined my confidence in the fidelity of the sync process. The first time, nothing changed--I still had 684 iPhone, no Jane Smith, and 685 Address Book, including Jane Smith.
    Thanks in advance for any assistance.
    Message was edited by: Lindsey Worth

    Before conecting your phone, open iTunes on your computer and go to Preferences, on the Devices tab check "Prevent...from syncing automatically".  Now connect your phone and when it appears in iTunes on the left sidebar click on its name.  Go to the Info tab and confirm than your have checked Sync Contacts with Address Book.  Now further down on the Info tab under Advanced>Replace information on this iPhone check Contacts.  Click Apply and sync your phone.  This will replace the contacts on your phone with the contacts in Address Book.  (When complete you can go back to iTunes preferences and uncheck "Prevent..." to re-establish automatic syncing if your prefer this.)

  • Safari 8.0.2 updated on the 20Jan2015 and Link from Mail do not open | Advertisement pages opens | Blank page do not open on new window click, etc

    Hi! 
    Safari 8.0.2 was last updated on the 20Jan2015 and is my default browser. 
    Below listed are issues with Safari after last two updates.
    When I click web link from mail, Safari does not open that link. I changed to Chrome browsing & it works.
    When I click to open new window from the dock, I get last browsing page of the previous opened window web page, where by my setting is for a bank page for a new safari window. .
    Every time I click on the link to open in the same browsing web page, a new tab opens with advertisement web page. How can I stop advertisement pages to open automatically.  
    Safari does not open first time by one finger single click on the safari icon from dock, need two finger click and then select the preferences.
    Thanks, will await your assistance & if required updated version at the soonest.

    1.Use free AdwareMedic to remove the adware
        http://www.adwaremedic.com/index.php
        Download, install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic.
                   or
        Remove the adware  manually  by following the “HowTo” from Apple.
        http://support.apple.com/en-us/HT203987
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.

  • Startpage ok,now links from email are not.

    Startpage ok now but can't access links from email. Everytime I do this I'm asked to make changes to the computer then an error box appears,I click ok and Then it works.this happens every time on every email link

    Check for problems caused by DDE.
    *http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox
    You can also try to redo the default browser setting.
    *http://kb.mozillazine.org/Default_browser
    *https://support.mozilla.org/kb/Setting+Firefox+as+the+default+browser+does+not+work

  • Verizon mail deleted from server is not deleted from IPAD2 but works fine on Android

    I have both an Android phone and an IPAD.  This Android (RAZR) and my previous one (Droid2) worked fine.   Mail deleted from the server is also deleted from the phone.  Deleted from phone would delete from server.  Worked great.  On IPAD, when setting up the Verizon mail account, it defaults to POP and I can set it to delete from server when removed from IPAD.  However, mail deleted from the server is not deleted from the IPAD and so I have to remove it manually (a second time).  Why does it work on Android and not on IPAD?  Settings on Android appear to also be for POP.  Can anyone help with this?  It's too hard to believe that with so many people using IPADs, that this is such a problem.   I've read that Verizon isn't supporting IMAP, but how in the world is the Android phone working?
    MrBigHands

    Any mail service POP downloads a copy of the message to the phone. It would then need to be deleted from the device itself. What you are referring to where its deleted in both places is an IMAP type email service.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • Songs deleted from Library but not deleted from Hard Disk

    HELP: I had multiple songs repeated in my Library, deleted the songs and cleaned up the Library data base. Some songs were NOT deleted from the hard drive. Copied all my music to my laptop computer and asked Itunes to rebuild database. There are about 1100 more songs in the new data base than in my home computer. how can i erase all the songs that are on my laptop hard drive that are not in my itunes Library?

    You may have to rebuild your iTunes Match library by turning it off on both your computer (iTunes>Store>Turn Off iTunes Match) and you phone (Settings>Music>iTunes Match>Off), then turn it back on on your computer, and when complete, turn it back on on your phone.

  • Copying links from published forms - not working for all!

    I currently have two web based forms open.  I am trying to allow others to view the results and feedback and have therefore published both forms.  I have then copied the links from each forms and created links to them via a Sharepoint site.  One of these links works fine whilst the other states 'That URL is not in the correct format for an Acrobat.com document link.'.
    Any advice on how to fix this?

    Hi;
    When you paste the URL directly into a web browser does it display the results correctly?  If it does then it seems it would be related to how the link is embedded in the sharepoint site.  Double check that you've copied and pasted the URL correctly.  Is the Sharepoint site a public site you could share the URL with me to take a look at it?  If so you can email me at [email protected]
    Thanks,
    Josh

  • Remove attachment link from standard task

    I want to get rid of the attachment for a standard task TS90100038 - Approve trip. In our scenario we want PDF instead of the transaction screen. I am able to pull PDF but, Its showing up two attachments on the task. I am not able to get rid of the attachment that points to PR04.

    hi,
    1)You can also delete it whenever you fetch it in your task remove binding of attachobject container from method to task or task to WF contaier as per your Requirement this will help you.
    2)or you can create custom BO of supertype your current Standard BO using SWO1 and then made custom method using existing Std. method and remove that stmt. which attach that document which you don't want.
    Hope magic Works!
    Regards,
    Purvesh Patel.

  • Deleting from library does not delete from hard drive????

    itunes support states when deleting from library, it should prompt to remove from hard drive. i am not getting this prompt. i cannot find a setting that changes this either. please advise
    thanks,

    It only deletes it from the hard drive if it is in the iTunes Music folder path;
    Look at your itunes menu > Edit > Preferences >Advanced tab.
    "itunes music folder location"
    For example, say it is set to C:/Music. If you delete a file from the itunes library list that exists in C:/Music you'll get asked if you want to keep or delete the file.
    If you delete a file from the itunes library lists that exists in C:/SomeOtherFolder, it will not get deleted from the hard drive.

  • Links from emails do not open in Firefox

    Recently when I click on a link (usually from an email), it will not open in Firefox. Although I am taken to Firefox, the new link doesn't open, instead I just see the windows that were already open. This was working before. I reinstalled Firefox which seemed to fix the problem for a week or so, but now it's not working again.
    I checked and Firefox is set as the default browser, and there are no security problems in the error report. I am running version 3.6.12 on a MacBook Pro using Snow Leopard

    some say its to do with uninstalling chrome which i have just done.. there is no simple fix to it... well depends how computer literate you are i suppose... some suggest reinstalling chrome in order to resolve it.. i am not sure that i wouldnt make matters worse if i tried to fix it. see:
    http://www.google.co.uk/support/forum/p/Chrome/thread?tid=6223bc3b0294b96a&hl=en&fid=6223bc3b0294b96a00046b62310e2204&hltp=2

  • E-mail links from iCal event - not working in Yosemite

    My workflow has always depended on dragging e-mails from Mail to iCal
    This generates link in ical event "Show in mail" - giving me option to find the e-mail with one click from iCal
    Since Yosemite install the links go wrong!
    I can generate several events from several e-mails and all links point me to the same random e-mail. I haven't yet found clear pattern in this randomness, but it seems to link to the first mail-to-iCal created after sleep/restart, but not always...
    Anybody experiencing similar bug?
    Tried "mailbox" > "rebuid" with no result.
    Any more ideas?
    I'm on MB Pro 2009 using POP-accounts for mail but the random-link behavior is just same when dragging mails from my icloud account.

    Well it's good news i'm not alone in this - frustrating indeed!
    Searching for solutions with no result so far.
    I've been migrating my user library from one opsys to other since Leopard i guess, so probably i should just do a clean install one day - this MUST help
    My workaround after a week of being just unable to manage my incoming information was to use Notes
    Dragging emails to notes content still works, and in a way i kind of like it - u can keep a single note with several links to different emails etc. At least for now it seems like a decent substitute. Organizing notes to folders is helpful too, but i guess you can't organize folders in iOS which is really bad.
    So - still hoping to move back to my iCal

  • Delete from Q10 does not delete from Outlook

    After the 10.2.1.537 update I just did this weekend, my emails are no longer deleting from Outlook (work Exchange account). I deleted a few emails over the weekend, and when loading up Outlook this morning at work the emails are still in my Inbox.
    I have made sure that 'Delete on Mailbox & Handheld' is ON and I have never had an issue with this before the update.
    Any help would be greately appreciated.

    Cabmerlot wrote:
    I have had the same problem since the update yesterday. I have both an Outlook and Yahoo mail accounts and neither will allow me to delete from the BB Hub. I receive a popup that asks if I would always like to perform this action. No matter if I select it or not the 'Delete' button does not become accessible.
    Dear Blackberry folks, how can I delete my emails??
    Go into your Settings and reduce the font size to something less than 12.  Then go back to the Hub and try deleting again.  You should be able to make the selections.  If you set one or the other to default then you can change your font size back. 
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Mail from Exchange account not deleting

    I have Exchange 2010, SP1 using iPhone to connect to the Exchange Server everything works fine.  Except that when I'm on the workstation and delete the message from my inbox, it will never delete off the iPhone. 
    I get mail fine, the push is working as expected.  It just will never delete messages after they've been deleted off the workstation.  Help is appreciated.

    James R, GoDaddyGuy,
    I REALLY appreciate your help as none of the online articles I found on your website had those settings.
    I made the changes, but unfortunately that did not help.  Also, I was on the phone last night with GoDaddy technical support for a long time to no avail.  The tech suggested I submitted a support ticket.  I did and received back a list of articles.  I went through all of the relevant articles but they were also of no help (everything suggested was already set up correctly or had been tried already).
    I'm really at my wits end on this.  With my mailbox growing on three devices, it is a bit of a nightmare for me.  I would need to delete each email on the server and on all three devices to keep from getting out of control.  Any help you can provide would be appreciated.
    Thanks,
    Mike

  • How to remove attachment link from header!!

    Hi All,
    I have created a Process in CAF-GP design time workbench. There are 5-6 actions/process steps in this process. End user is accessing this process through Web Dynpro iView in portal.When the end user access the actions/process activities steps of this process, a link called 'Attachments' is displayed to him/her. By following that link, user can create attachments in that step. I want to hide/disable that link. Is it possible to do it somehow through configuration? If not how should I proceed?
    Thanks in advance..
    Regards,
    Dharam Vir
    +1-847-938-4218

    http://free.avg.com/us-en/linkscanner-mac
    I have no experience with that particular software but such things are usually garbage. There has been at least one crash report attributed to it and it may not be compatible with Mavericks.
    Edit: I can find no obvious way to uninstall it from perusing its website. If you contact them (phone number is 510 771 1717) do not permit them to remotely access your Mac. That is an invitation for illicit activity and even more trouble.
    AVG may demand money from you to help eradicate their junk from your Mac. If they do, refuse. If you don't get anywhere with them write back for suggestions.

Maybe you are looking for

  • Xperia Z1 touchscreen issue

    Hello, I am one of the unlucky owners of a Z1 which has a problem with the touchscreen. The issue is known. People report that the screen registers an input, then shortly losses the input and then regains it, making web browsing difficult as anything

  • HELP !!!! no wifi on 20" imac coreduo sole with Leapord

    Just done a clean install of leapord (did this as the drive was full of crap) , came to the install screen where you can connect to wireless network, but it could not see any, not even mine where the router is sat in the same room, my macbook sees ab

  • 9.2.0.8 DB on linux

    If an Oracle shop is currently running DBEE 9.2.0.8 on linux and plans to purchase a new server, where can this shop download a version of 9.2.0.8 EE to install? They understand they should upgrade to 11.2.0.2 and are running an unsupported DB (no ex

  • BPS CCA Retractor setup

    Hi All, I am new to BPS and and am trying to set up the functionality for Retraction of data from SEM to R/3. But when I go to the transaction (as mentioned in SAP Help) Business Analytics -> Financial Analytics -> Cost Center Planning -> Cost Center

  • Aperture dimages not opening

    When trying to get the images to open in Photoshop, I have recently got this Error message This image cannot be rendered for editing because Aperture does not support the image format. I am not sure why this has happened as it has been fine up until