Attachment display

Hi,
             As in FB03 transaction we have option of seeing attachment document attached on double click.. How do we display the Document on double click in my custom program.. The Attached Document information ie doc id is available in table toa01. Is there any FM or class that does this function or any sample program wchich will help me in implementing the same..?
thanks.
Moderator Message: Please search for available information before posting.
Edited by: kishan P on Dec 20, 2010 3:03 PM

Davide,
Hi. I had a similar problem.
You can programatically display the attachments as an ITS service. This is done through a call to function module within a bespoke ITS transaciton.
The below code was to send the shopping cart print out as a pdf, but the same principle would apply from any attachment. You would just need to read in the attachment as a binary table (Look at the code in docserver to see how to do that)
Buffer set for
concatenate
   'attachment; '
   'filename=Cart'
   i_cartid
   '.pdf'
   into lv_mimedisp.
Download & display this on the ITS server
call function 'BBP_ALEWEB_DOWNLOAD'
   exporting
     data_len          = l_size
     mime_type         = lc_type
"    mime_disp         = lv_mimedisp
   tables
     data_tab          = tab_pdf
   exceptions
     its_not_available = 1
     others            = 2.
if sy-subrc ne 0...
I found this to be a bit flawed in that you loose the link to the transaction (ITS page), and therefor the user is always logged, even though they have closed the attachment display. In the end I used a call to WAS from ITS (i.e. the docserver), and turned on SSO.
By turning on SSO you would most likely avoid security issues, but obviously it is dependant on your specific network.
These issues are avoided with SRM 5.5 where the ITS is internal, and therefor on the WAS
http://saptest:8080/sap/bc/gui/sap/its/bbpstart/!
vrs
http://saptest:8080/sap/bc/bsp/sap/itsm/default.htm
Cheers
Rob

Similar Messages

  • Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

    Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

    Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

  • Attachment display by ITS instead http Service

    Hi,
    we use EBP 4.0 Bid Scenario.
    Our Support package level is:
    SAP_BASIS     620       0036     SAPKB62036
    SAP_ABA        620       0036     SAPKA62036
    BBPCRM          400       0004     SAPKU40004
    PI_BASIS         2003_1_620      0005     SAPKIPYH55
    ST-PI    2005_1_620      0004     SAPKITLQG4
    ST-A/PI 01H_CRM400    0000          -
    ITS, Version 6200.1020.55116.2, Build 800981
    The topic of our request is about download of file ‘Attachment’ in Bid Scenario. As you know in the bidding transactions of EBP bid invitation and vendor quotation (BBP_BID_INV and BBP_QUOT) the user can attach some files during the creation of the document (bid invitation or quotation). During the phase of attachment download the server use the ‘docserver’ configuration and we get a link similar to http://touareg.it.pirelli.com:8045/sap/ebp/docserver/008/pirelli_re.gif?attcget&ClId=4510DA3E6C093A55E10000000AEFF00F
    This is a tipical link that use the document server http service to display the attachment.
    We would like to use the old configuration of ITS attachment display instead the ‘docserver’. In particular the use of docserver force to use different TCP port and address and not the same TCP port and address that the ITS use. We need to use only channel (the same as the ITS use for the users logon) in order to satisfy the security policy.
    This is the link of the user during the ITS connection that use different server and ports (ITS instead WAS):
    http://crmserver.it.pirelli.com:85/scripts/wgate/bbpstart460952c7/~flNlc3Npb249SVRSOmNybXNlcnZlcjowMDAwLjAwMGIuMjNiNGUxNTMuNWM3MyZ+aHR0cF9jb250ZW50X2NoYXJzZXQ9dXRmLTg=
    We find some oss notes as 434218, 588597 or 605323 about this topic but what we need is the opposite behaviour : display the attachment from ITS connection instead http Service.
    Best regards.

    Davide,
    Hi. I had a similar problem.
    You can programatically display the attachments as an ITS service. This is done through a call to function module within a bespoke ITS transaciton.
    The below code was to send the shopping cart print out as a pdf, but the same principle would apply from any attachment. You would just need to read in the attachment as a binary table (Look at the code in docserver to see how to do that)
    Buffer set for
    concatenate
       'attachment; '
       'filename=Cart'
       i_cartid
       '.pdf'
       into lv_mimedisp.
    Download & display this on the ITS server
    call function 'BBP_ALEWEB_DOWNLOAD'
       exporting
         data_len          = l_size
         mime_type         = lc_type
    "    mime_disp         = lv_mimedisp
       tables
         data_tab          = tab_pdf
       exceptions
         its_not_available = 1
         others            = 2.
    if sy-subrc ne 0...
    I found this to be a bit flawed in that you loose the link to the transaction (ITS page), and therefor the user is always logged, even though they have closed the attachment display. In the end I used a call to WAS from ITS (i.e. the docserver), and turned on SSO.
    By turning on SSO you would most likely avoid security issues, but obviously it is dependant on your specific network.
    These issues are avoided with SRM 5.5 where the ITS is internal, and therefor on the WAS
    http://saptest:8080/sap/bc/gui/sap/its/bbpstart/!
    vrs
    http://saptest:8080/sap/bc/bsp/sap/itsm/default.htm
    Cheers
    Rob

  • Computer keeps 'loosing' one of the two attached displays.

    My graphics adapter is an 'ATI RADEON HD5770'.  I have two displays attached, a 23" Cinema HD, and a 20" Cinema.  It has worked OK for a year or so and now I have a problem where the computer 'looses' the 20" display (assgined as monitor 2) at power-up or when waking up from a 'power save, display sleep'.  At first I thought the problem was the display itself, but if I swap displays (swap the ports the displays are plugged into), the 20" works OK and the 23" goes dark (into stand-by).  Doing a 'restart' doesn't help, however, if I unplug the computer and plug it back in again, the problem will go away, and both monitors will start working again.  After a few more daily power-ups, it will fail again, and unpluging and plugging in the computer will 'fix' it for a few more power-ups, then it fails.   To be clear, when I say 'fail', I mean the computer goes back into a single monitor mode.
    I discovered this morning that there is one other way to 'fix' it (i.e. getting it back into a dual monitor mode).  Normally I have each monitor connected via a mini display port adapter.  I can get things working again by disconnecting the 20' monitor from the mini display port and plugging it into the 5770's DVI connector.  It will work this way through a few more power-ups, then fail again, this time being 'fixed' by moving it back to the mini display port.  Sorry, I know how confusing all this may sound, but I don't know how to make it any clearer.  My gut feeling is the problem is with the 20" monitor... it fail the power-up handshake and the computer assumes only one monitor is attaced.  Power-cycling the computer or swapping mini display port and DVI port initiates another handshake session, the 20" reports in this time and the computer goes back into a dual monitor mode.  The displays are rather old and no longer under warranty.  I don't want to go to the expense of replacing the 20" until I'm absolutely sure it's the problem.  I could live with it the way it is, but unfortunately it keeps getting worse (i.e. it is failing more frequently).  Any ideas?

    Sorry, I should have posted this weeks ago...  Yes, I fixed it by installing the Apple 'Mini DisplayPort to DVI Adapter'.  I also was using the Accell adapters.  I can't believe that Accell adapters suddenly went bad after many months of use,  More likely, the Accell's started failing due to some change in the latest update of OSX.  I have two similarly configured Mac Pro's (mid 2010 and early 2008) and both started failing with the Accell adapters and were fixed by installing the Apple adapters.
    I recently had a similar experience with some 3rd party memory modules.  Worked fine for years, then I couldn't even boot the computers.  Replaced the 3rd party memory with the original Apple memory that shipped with the computer and it started working again.  I hate to say it, considering the price difference between Apple hardware and 3rd party equivalents (4 to 1 in the case of the memory), but you're usually better off biting the bullet and buying Apple.

  • ME23N Attachment Display

    HI,
    Which Function module will call, to display the attachments through ALV report in  Purchase order.
    Regards.
    suleman.

    Hi,
    Go to table SGOSATTR in the feild NAME put the parameter VIEW_ATTA  ( u will get the one line item)
    Change the value of field SRVCMIT 'X' to Blank (' ').
    it will not commit the work to delete attachment in ME23N
    Regards
    suleman

  • See attachment display in new message

    How can I view attachments I have included when composing a new mail message? I can do so in OS X mac mail and would prefer to use Thunderbird if I can solve this difference. Display attachments inline is checked but only works for incoming mail.
    Thank you

    The answer you got was that one of the admins has moved your request to Thundebird... I assume it was posted as a firefox issue initially.
    but I really don't know what your issue here is.
    I just created a mail, added an attachment and double clicked on it and it opened. Have you installed any add-ons that might make Thunderbird behave differently?

  • Difference between attachment display name in Outlook and FileAttachment.Name in EWS Managed API

    Hello.
    Does anybody know why a plain-text attachment would appear to have one name when viewed in Outlook and saved from there to my computer, but have a different name when I load the attachment from the message using the EWS Managed Api - specifically using the
    EmailMessage and FileAttachment classes from Microsoft.Exchange.WebServices.Data?
    I am connecting to on-premises MS Exchange 2010 with SP3 and using v2 of the EWS libraries.
    Many thanks in advanced for any help you can offer.

    Outlook stopped using DisplayName (PR_DISPLAY_NAME) for attachments back in the Outlook 2002 days to prevent malicious code from displaying MyEvil.exe as ReadMe.txt.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Imac retina 5k; hot corner display sleep only works on attached display

    Just taken delivery of iMac retina 5k.  I have two Thunderbolt displays attached left and right.  I always use the bottom left hot corner to put the display to sleep but on this new setup I have to swipe to the bottom left of the left display to get this to work.  With my previous Macbook Pro it used to work if I swiped to the bottom left of the Pro, ie I didn't have to go to the left hand Cinema Display. Anyone had this problem?

    Thanks but och I ken that.  Thought some bright spark would save me the long Christmas wait.  Actually I'm getting a callback soon re another issue so I'll try them on this too.

  • Change PM Notification - attach / display file as service of object

    Hi experts .
    My requirements are :
    1. open attached file of selected notification for display ( if exists one)
    as it done in transaction iw22->System->Services for Object
    2. attach a file as service of object (in the same transaction Iw22)
    If any  function exists for it ? - In batch input option attach file in non active
    Please your help. Helena

    I'm also not familiar with IW22.
    But I can help you in debugging screens. Open a new notepad and paste the ff:
    [FUNCTION]
    Command=/H
    Title=Debugger
    Type=SystemCommand
    save it and include it in your pc's shortcut icons for easier drag and drop.
    You can simply drag and drop this notepad on the sap screen to activate debugging on screen.

  • Folder holding attachment displayed in receiver's email message

    Sorry about the possibly obtuse Subject. I received a reply from a client to an email with an attachment sent to him earlier by me. I noticed on the bottom of my original message that was quoted in his reply that the name of the folder holding his attached document was printed out. I recently switched to Leopard and Mail from Tiger and Entourage. I don't recall seeing the name of the folder being revealed when I used Entourage. Is there a way to turn that off in Mail?

    Mail does not include any reference to a folder or path that I can see. I've sent myself a mail message with various attachments from different folders on my MacBook and downloaded that on my PC clone (Outlook). No file path is included. There is no option to either switch that on or off in Mail. I also forwarded the same mail message from Outlook back to myself and then viewed that message in Mail. There is still no path reference so perhaps what you are seeing is your clients mail system has included a path reference when he forwarded the email back to you. Something which you have no control over.
    Chris

  • DMS Original Attachment Display Error - 26172

    Hello Expert,
    While retrieving DMS Orignal file , receiving following error message
    "File C:\DOCUME1\ADMINI1\LOCALS~1\Temp\_SAMAS91_1SAP01 cannot be created
    Message no. 26172
    I have checked OSS note,
    Note 880532 - DMS:File Checkout for display includes the whole path and Note 910973 - Unable to display/checkout document layer,
    But we are at already higher version so no need to apply these OSS notes.
    Appreciate your quick help.
    Thanks,
    SamirV.

    Hello All,
    Thanks a lots for providing information,
    But, I have already configured
    - DC20-->for PC or front end maintain the path for ex c:\TMP\
    - I can access tmp path on local machine and create files in the folder
    - I have logged in to system with Admin rights
    - PC has also default entry exits.
    We have stored the document in the OpenText Archive server.
    Appreciate if you can provide if anything is missing.
    Thanks,
    SamirV.

  • About   Attachment  display

    hello everyone!
    my English is very poor !
    I receive one E-mail no Attachment ,but in mailboby is
    begin 666 batch/04665735.xls
    M/&AT;6P@>&UL;G,Z;STB=7)N.G-C:&5M87,M;6EC<F]S;V9T+6-O;3IO9F9I
    M8V4Z;V9F:6-E(@T*>&UL;G,Z>#TB=7)N.G-C:&5M87,M;6EC<F]S;V9T+6-O
    M;3IO9F9I8V4Z97AC96PB#0IX;6QN<STB:'1T<#HO+W=W=RYW,RYO<F<O5%(O
    M4D5#+6AT;6PT,"(^#0H@/&AE860^#0H\;65T82!H='1P+65Q=6EV/4-O;G1E
    M;G0M5'EP92!C;VYT96YT/2)T97AT+VAT;6P[(&-H87)S970]=7,M87-C:6DB
    end
    I use outlook receive mail, this E-mail include Attachment.
    what can I do than resolve this E-mail ?

    Very old versions of Outlook would send this non-MIME format message.
    The text you found is a uuencoded attachment. Depending on how
    ambitious you want to be, there are several approaches to the problem.
    The simples approach is to scan messages (perhaps only message with a
    certain X-Mailer header) for lines that start with "begin ", extract the text
    from "begin" to "end", use the MimeUtility.decode method with an encoding
    type of "uuencode" to decode the attachment contents.
    A more complete and clean solution would do much the same, but package
    it in a reusable "MSMessage" class that would allow all the rest of your
    program to treat the message as a normal message with an attachment.
    (With the above approach you would have to special-case more of your
    message handling.) This is definitely more difficult, and requires a more
    complete understanding of the JavaMail APIs.

  • Attachment display as list?

    I find the icon view of attachments rather clumsy. Is it possible to set the attachments display to list view with filesize, like in Entourage for Mac?

    Anyone have solution for this?

  • Attachment displaying turn off in email

    Ok this is just killing me and I can't figure out how to change the setting or if it is possible.
    I work with clients all day long who send me pdf documents via email for projects, i will get upwords of 20-30 a day over 2 megs,
    My ipad keeps locking up due to the large file sizes waiting to load to the display in each email.
    how do i turn off the feature so that it does not auto display attachments?
    or am I missing something
    Thank you

    Steve Killingback wrote:
    That works but it does not allow me to see a preview of the message which would enable me to know if I should read it now or leave it unread until later. Is there a way to do this?
    no, there isn't.

  • Workflow attachment Displayed differently in different SAP User Id

    Hi
    I have a very strange issue with Workflow attachment. When I open the attachment from One user it is showing the correct attachemnt and with another user it is a complete different attachment. Please note that it is happening for a set of users only. There might be settings that is causing or some refresh that is not taking place for the set of USER Id: Please note that I am doing it in R/3
    Thanks
    Arghadip

    Hi,
    This can probably happen due to two reasons firstly Authorisation issue, secondly it could be some user parameter setting.
    BR,
    Prashant.

Maybe you are looking for

  • I use iMac desktop. I can't save web pages to PDF file by using Firefox, but by Safari is fine.

    I'm using Mac OS X 10.6.4. Today, I tried to save my email content as a PDF file. However, I only got a PDF file that have partial content of email. Then I adjust the printer setting and did it again, then I only got a blank PDF file. There was nothi

  • Ipad 4 airplay dropping link to AppleTV when streaming from Safari

    When using Safari to view video, and Airplay to show it on my TV via an AppleTV, it drops the link every few minutes. It does not happen if I'm watching a video on an app, only with Safari. I have the latest iOS on my iPad (7.1), and the latest Apple

  • Mac Mini internal issue

    I set up a new mini server and everything is working except I can't access the server/iMail internally. It works fine from outside the network. I'm assuming this is a router issue but can't figure it out. Externally when I type in www.example.com I c

  • Report output as an email attachment

    Hi , I am sending report output as email attachment by using 'mail recipient ' CLTR+ F7' option in alv list. But this is sending mail as pdf attachment. I want it as excel format. Is there any option to change type of attachment which sending mail?

  • Missing Library

    I have a question about iPhoto 6.0.5. I'm running a mac mini with 1.33GHz, Power PC G4, with 1 GB DDR SDRAM, and using Mac OSX 10.4.8. Last February I moved my iPhoto Library to an external hard drive for storage and to create more space. Having a ne