Deactivate trash can icon for attachments

Hi,
I am trying to deactivate the trash can icon during the approval of invoices. I have found where I can deactivate the icon, that is in SE80 > Internet Service > BBP_PDH_TEXT 100.
I have commented out the line:
        `if ( (GV_MODE_TEXT=="E") || (GV_MODE_TEXT=="C") )`
              `if (GV_INTERNAL_ATTACH_MODE=="X")`
                  `if (GS_ATTACH-INTERNAL_IND[j])`
                   `TD(align="center")` 
                    <a href="javascript:deleteAttachment('`GS_ATTACH-GUID[j]`')"><img src="`mimeURL(~service="bbpglobal", ~language="",  ~name="images/icon/trash.gif")`"
                    alt="`BBP_TEXT_GLOBAL-DELETE_TXT.label`" title="`BBP_TEXT_GLOBAL-DELETE_TXT.label`" border=0></a>
                  `else`
                   `TD(align="center")`
                  `end`       
              `else`
                `TD(align="center")` 
<!--                  <a href="javascript:deleteAttachment('`GS_ATTACH-GUID[j]`')"><img src="`mimeURL(~service="bbpglobal", ~language="",  ~name="images/icon/trash.gif")`"
                  alt="`BBP_TEXT_GLOBAL-DELETE_TXT.label`" title="`BBP_TEXT_GLOBAL-DELETE_TXT.label`" border=0></a> -->
              `end` 
        `end`
However this only achieves that when I add an attachment when I create the invoice, I can't then delete it because the icon's gone. Does anyone know of a way where I can only remove icon during invoice change and not during invoice create?
BTW, can you guys please be really specific as I am not actually a developer (my skills in coding are very limited as you can see)
Thanks,
Paula.

Hi Paula,
     You can keep only 1 condition in the template GV_MODE_TEXT=="C" i.e. CREATE mode.Hope this will keep the icon only for the create mode.
  If this doesnt help,then may be you wil have to mdofiy the std code ..Include LBBP_PDH_TEXTF11 and Form modify_screen_tc--Here you can set your condition based on the field "gv_mode"...I.e. only for create mode you can have the attachment icon.
Regards,
Disha.
Pls reward points for helpful answers.

Similar Messages

  • How do I delete photos and photo albums from my iPhone? The instructions given do not work. No "delete" symbol appears next to the album name, and no trash can icon appears below most of the pictures the computer just put on my new iPhone 4.

    How do I delete photos and photo albums from my iPhone 4? The instructions given do not work. No "delete" symbol appears next to the album name when I press "Edit," and no trash can icon for me to click appears below most of the individual photos in the albums the computer just loaded on my new iPhone 4. When I synced the new phone the computer added these photo albums without permission from me. They are now taking up about 3 GB of memory on my phone. I would like very much to get rid of these photos from the phone. How do I do this?

    To delete photos from your device
    In iTunes, select the device icon in the Devices list on the left. Click the Photos tab in the resulting window.
    Choose "Sync photos from."
    On a Mac, choose iPhoto or Aperture from the pop-up menu.
    On a Windows PC, choose Photoshop Album or Photoshop Elements from the pop-up menu.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Click Apply.

  • Missing arrow and trash can icon in camera roll

    Recently found that the arrow and trash can icon is missing from the camera roll, instead i found there are 4 buttons - "Share", "Copy", "Print", "Delete". But it doesn't show any effect when i touch on any of these buttons.
    Did i accidentally change the setting that causes this ? Please help. Thank you !

    hi,
    You can cancel the use of the item...which is then stored in the trash and can be reused at any time...
    In few cases it is used with regards to different fields, you can check the links for eg:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/bf/1d4654bf3211d296000000e82de14a/frameset.htm
    Cancelling attendence:http://help.sap.com/erp2005_ehp_03/helpdata/EN/f0/128a034eb311d189530000e829fbbd/frameset.htm
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/f3/6eecd3c0c111d296020000e82de14a/frameset.htm
    Hope it helps..
    Regards
    Priyanka.P

  • There are text messages that I'm having trouble deleting.  With some of my text messages, I can swipe to the left and delete ... or press and hold, get more and delete to trash can icon. But there are some where neither will work. Can't delete. Help!

    There are text messages that I'm having trouble deleting.  With some of my text messages, I can swipe to the left and delete ... or press and hold, get more and delete to trash can icon. But there are some where neither will work. Can't delete. Help!

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • My trash can icon disappeared from my email screen. How do I get it back?

    My trash can icon disappeared from my email screen. How do I get it back? The archive box replaced it on screen and now there is an arrow to go to it. It is annoying because I trash things way more than I archive them.

    By the way, it's an ipod touch 32G 4th generation.
    Thanks for any help I can get.

  • Messages: won't delete, Trash Can icon becomes Camera icon

    I have noticed that since about iOS 8.1, both my iPhone and iPad have trouble deleting old text messages.  I will go back and select old messages that I no longer need, one by one, then touch the Trash Can icon on the bottom left of the message window.  After a confirmation to delete, I go back to delete more.  After either a certain number of messages, or a certain number of attempts, the Trash Can icon changes into a Camera icon, and I can't delete the messages I've just selected.  The only solution so far that works is to close the Messages app (a default iOS app), and reload it.  But, that only works for a a certain number of messages or attempts, too
    Has anyone else had this problem?  I think Apple should fix this in their next release.

    Hi Molly,
    If 10.7.0 or later...
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    Antychange on reboot?
    Find Any File...
    http://apps.tempel.org/FindAnyFile/
    Hold Option or alt key when selecting Find to Find All.
    Search for...
    247263.emlx

  • How to make my mail go into the trash when I select the trash can icon

    Nonsensically the default behavior for mail from google (setup either as push or fetch) is for the trash can icon to archive the mail (drop it into all mail) rather trash it. I was able to correct this behavior for the fetch mail account but for the mail setup as push I see no option. Can anyone tell me how to fix this?
    What kind of drugs were the designers on where they thought I would like to either archive all my junk mail or better yet have to login from my desktop and re-review it and then delete it again. That sounds GREAT for productivity! ***?

    tikvenik wrote:
    This is definitely an apple problem and not a google issue as plainly demonstrated by the fact that there is a setting located at:
    settings -> mail, contacts, calenders -> "account name" -> Advanced -> Deleted Mailbox
    It defaults to "all mail" but you can correct it to "Trash"
    The option simply isn't there for accounts setup as push. I am absolutely dumbfounded by this. How can they not fix such a simple yet ridiculous problem? There is no functionality to delete mail from my iphone.
    An option that's there when the account is IMAP but not there when the account is Exchange, and somehow that must be the iPhone's fault? When creating a calendar event for a 'local' calendar on the iPhone, I can set two alerts, but when I create a calendar event for an Exchange calendar, I don't have that option and am limited to just one. You might think that's plainly an Apple problem, but you'd be wrong since Exchange calendar events don't support multiple alerts.
    Point is, this is more likely a Google issue than an Apple one. Note that Google Sync and Gmail push email are beta products. There are a whole bunch of known issues that pertain to Google Sync and different mobile devices.
    But, you cam blame it on Apple if it makes you feel better...

  • How do you delete a picture that does not have the trash can icon to do so.

    I Am trying to delete a picture and it does not have the trash can icon. 

    You have to sync it off of the device using iTunes. That is likely how it got there in the first place.
    See:
    http://support.apple.com/kb/HT4236

  • HT4207 How do I move the trash can icon up to the top of my gmail bar on my iPad2?

    Using gmail on my iPad 2:  How do I move the trash can icon up to the bar at the top of my gmail?

    You can't with the default Mail app.  Try using the Gmail app... much easier to use and the Trash is easily accessible, even with lots of labels.

  • I want to delete photos that I have backed up from my computer, but when I go to select there is a faded trash can icon which I cant access

    I want to delete photos that I have backed up from my computer, but when I go to select there is a faded trash can icon which I cant access

    If you copied the photos in question to your iPhone by connecting to itunes on your computer you need to do this again. Start itunes on your computer, connect your iPhone, select your iPhone in itunes and select the photos tab. as long as you are connecting with the same computer you should see, in the Photos TSB, a list of the photo albums on your computer. Those that were synced previously have a check mark and are selected. Deselect those you no longer want on the phone and then click on Apply or Sync. The deselected albums will be deleted from your iPhone but they will remain on your computer.
    if you only want to remove a few specific photos from various albums on your iphone, then move those photos out of the albums they are in on your computer. Then sync with iTunes. The photos you removed from the albums on your computer will be deleted from the albums on your iPhone when you click on Apply or Sync.

  • Trash can icon always shows as empty after upgrade to 10.6.2

    I searched the archives and didn't see any information about this particular situation: my trash can icon always shows as empty even though the trash has items in it.
    If I right click on the icon, "Empty Trash" is grayed out, but if I click on the icon I can open the trash can and choose "empty" at the top right of the window. It's not really a big deal, just weird.
    Anyone else have this happen?
    Kim

    V.K., I hadn't had the chance to try creating a new user account yet, but I just noticed the trash showed it had trash and I right clicked the icon and the empty trash option is now available. I chose empty trash and it worked.
    I don't what changed...but it seems to be OK now...
    Thanks!
    Kim

  • How do I add a Trash Can Icon?

    How do I configure my iPad Mail so that I can see the Trash Can icon amongst the reply, forward, compose, archive, etc. icons?

    I assume that it's a Gmail account if you have archive, in which case you can chose in the account's settings in Settings > Mail, Contacts, Calendars whether you have archive or a trashcan, you can't have both : http://support.apple.com/kb/HT4207

  • Iphone 5 how do i delete a photo or multiply photos? there is no trash can icon in ios 7

    Where is the trash can to delete photos in ios 7 iphone? Also if you rotate a photo you can only save it to the camera roll why? in ios 6 if you rotated a photo it just saved your edited photo for you as the same photo.

    First go into the moment page for photos (photos at bottom left->collections->moments), FROM THERE ONLY either click on photo and select trash can from bottom right OR hit select on moment page (top right) and select and delete multiple photos at once. ( note, clicking on each moment ex: washington trip, will not enable deleting.
    Good Luck!

  • Trash can icon

    Help! When I initially go on my Macbook my trash icon works. After I've been using the computer for awhile and alternately just close it for sleep mode throughout the day and then attempt to open trash, it will not open. I literally have to restart the macbook again to get trash to work. Has anyone else experienced this? I want to be able to check my trash before I totally delete items mistakenly, so it is important to me for this feature to work properly.

    Since Apple does not provide a way to put the Trash in the Sidebar you either used some third-party application to do it or did some sort of hack. To get it back you'll need to use that third-party application again or repeat the hack.
    Did you know that you can put a "Delete" function into the Finder window's toolbar? Personally I find that much easier to use, since it you don't have to actually drag files anywhere. With a Finder window open go to the menu bar View item, then select "Customize Toolbar..." and drag the Delete tool to where you want it on the toolbar. Now when you've selected something in a Finder window that you want to toss just click the Delete tool and it is moved to the Trash.
    Francine
    Francine
    Schwieder

  • Mail 5.1 Missing View as Icon for attachments

    I don't seem to have the option to have attachments as icons - when I right click the option is no longer there.
    When I open an email with an attachment (say a pdf) it is an attached file for a short time and then the attachemnt automatically is visible?

    Hello!
    Your English is great.
    There is no default setting for this in Mail but check Mail Attachments Iconizer.

Maybe you are looking for

  • What is difference between C# Gzip and Java swing GZIPOutputStream?

    Hi All, I have a Java swing tool where i can compress file inputs and we have C# tool. I am using GZIPOutputStream to compress the stream . I found the difference between C# and Java Gzip compression while a compressing a file (temp.gif ) - After Com

  • How do I add an email body text for remittance advices / payment advices?

    Hello, I am trying to send an email body text with the pdf remittance advice to my vendors. Background: We are running automatic payments to vendors via transaction F110. We have configured the pay run to produce remittance advices for vendor payment

  • How to avoid pop-up dialog? "Read From Spreadshee​t File.vi"

    I am using LV2010 and VBAI2011. I am using LV to write vi for my VBAI user interface. VBAI will send the inspection results to vi by "Update Inspection UI". I am calling a "Run LabVIEW VI" from within the VBAI. This vi contains a sub-vi "Read From Sp

  • IP confusion in Convergence

    Hello, I just completed a single-host installation of CommSuite 7 (on Solaris 10 x86) and I seem to have put myself into a bind (nothing new there!). I have customers that need access to my server from behind firewalls with immutable configurations (

  • Microsoft Word "track changes" error

    Has anyone experienced this? Someone sent me a file with changes made using the "track changes" option. The file shows those changes perfectly on a PPC Mac. But on my MBP, the changes are not visible. I've done the obvious stuff -- the option to "hig