PO Item attachment as email attachment

Hi Guys,
I need to send the PO item attachment the data stored in the DMS document type SRM and Storage cat. DMS_C1_ST,
I am able to get the document details using the  bapi BAPI_DOCUMENT_GETDETAIL2 but I want content of the document in SOLIX so that I can email it as attachment.
So please let me know is the any FM which gives me the DMS data in Solix format or if any snippet available.
regards,
Prabhu

not sure if this will help or not. we do not use a function module. we go directly after the file and read it into a binary table, and it works fine:
  types: t_xline(2048) type x.
  data: data_tab  type standard table of t_xline,
        data_line type                   t_xline.
  data: alen type i.
      translate draw-dttrg to lower case.
      concatenate '/home/dms/'
                  draw-dttrg  "vault
                  draw-filep  "file name
                  into picture.
      open dataset picture for input in binary mode.
      check sy-subrc = 0.
      read dataset picture into data_line.
      while sy-subrc = 0.
        append data_line to data_tab.
        read dataset picture into data_line actual length alen.
      endwhile.
      close dataset picture.
* once we hit end of file, we need to check one last time to see if any data
* came in on the last read, because SUBRC 4 means that end of file
* was reached, but maybe data was still read in. the system stores the bytes
* read in ALEN.
      if alen <> 0.
        append data_line to data_tab.
      endif.
our dms stores all files in the /home/dms folder. we use that with the vault name and file name int he DRAW table to determine where the file is, then we read it directly into the internal table.
we use this all of the time to pull in documents from DMS. You could likely read direct into a solix table, as well.

Similar Messages

  • How to send InfoPath attachment as email attachment?

    Hi All,
    In InfoPath form, I have attached an attachment. And want to send to a person as an email attachment. How to achieve this? Thanks in advance!

    Hi Greetings.
    pls check this
    http://support.microsoft.com/kb/2517906/en-us
    http://www.bizsupportonline.net/blog/2009/06/use-custom-sharepoint-designer-action-extract-attachment-infopath-form-add-sharepoint-document-library/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Email attachment to calendar item can't be viewed in Webacc

    We have a user that is posting Calendar items for his boss. He creates the item and then drags and drops an email to attach it to the meeting item. All is well in the Groupwise Client but if the Calendar item is viewed in Web Access, you can not see the body of the item OR the email attachment.
    Anybody have any ideas how to create an item such as this and make it viewable in Web Access?
    I spoke with him about "Change to . . ." but then the email is removed from the Mailbox. They want the email to remain but the content to be attached to the Calendar item.
    Any thoughts?
    Charlie Fastner
    ~~~

    cfastner wrote:
    >
    > We have a user that is posting Calendar items for his boss. He
    > creates the item and then drags and drops an email to attach it to
    > the meeting item. All is well in the Groupwise Client but if the
    > Calendar item is viewed in Web Access, you can not see the body of
    > the item OR the email attachment.
    >
    > Anybody have any ideas how to create an item such as this and make it
    > viewable in Web Access?
    >
    > I spoke with him about "Change to . . ." but then the email is removed
    > from the Mailbox. They want the email to remain but the content to be
    > attached to the Calendar item.
    >
    > Any thoughts?
    >
    > Charlie Fastner
    > ~~~
    Which Version of GroupWise are you using? I have GW 7.0.3 Version
    9/11/2009. The attachment of an E-mail I have with a visio attachment
    works. I'm able to open the attachment from IE 8.
    Note: I posted the message as a Task by dragging it to my calendar icon
    in GW Client and selecting Task as the type.

  • Broadcasting: cell item is centered / size of email attachment

    Hi,
    Question No 1.
    I created a web template (BI 7.0) with an analysis web item. When I send the template via broadcast, all cell items are centered in the analysis item. Is it possible to rigth align all numbers in the cells?
    It is the part of the source of *.mht file send via email attachment.
    <td id="ANALYSIS_ITEM_1_interactive_467" tp="C" s="" st="" class="urSTTD urSTTDBdr urSTSStd urSTCl" style="text-align:center;vertical-align:top;"><span tabindex="0" ti="0" id="ANALYSIS_ITEM_1_interactive_466" ct="TV" s="" class="urTxtStd" style="white-space:nowrap;">564.766</span></td><td id="ANALYSIS_ITEM_1_interactive_469" tp="C" s="" st="" class="urSTTD urSTTDBdr urSTSStd urSTCl" style="text-align:center;vertical-align:top;"><span tabindex="0" ti="0" id="ANALYSIS_ITEM_1_interactive_468" ct="TV" s="" class="urTxtStd" style="white-space:nowrap;">1.915</span></td>
    I don't understand the reason of style "text-align:center" for all cell.
    Question No 2.
    In the analysis item we have 1200 row and 12 coloumn. The size of the *.mht attachment is 6MB. Is it normal? Can we reduce it?
    Thanks,
    Peter

    Hi Arun,
    Thanks for your answer.
    1.
    Yes, I use portal styles. I tried it with all styles (standard, tradeshow,..), but cells are always centered. I created a 'My Theme' and checked the themes for table elements. 'Center' attribute is not set.
         System Administration
          Portal Display
           Theme Editor
            Complex Elements / Table
            Component-Specific Styles / Tables
            Component-Specific Styles / BI Web Reports
    I suspect the 'INTERACTION_ALLOWED' attribute for web template/Analysis item. If I set it to 'Off' then cells are centered.
    I set it to ‘On’, but in case of broadcasting the ‘Off’ can be set automatically.
    2.
    As I know in case of 'HTML' format attachment must be zipped with all MIME elements. It results smaller size (for HTML and MHTML also), but I want to minimize the number of clicks.
    Peter

  • Attach to Email: Email disappears

    I am using Outlook 2010 with Acrobat 9 Pro (OS Windows 7 Pro, 64-bit). When I open a PDF file in Acrobat and use the Attach to Email feature, all seems to go well. However, the item does not trigger Outlook's Send and Receive feature, the email does not appear in my Sent Items folder, and the email is not received by recipent. My work arounds are (1) Create an email in Outlook and attach the file or (2) Right click the file name in Windows Explorer and use Send to Mail Recipent. My Acrobat version is up to date. Any suggestions?

    The first version of Acrobat to support Office 2010 (32-bit version) was version X. Then the 10.1 update introduced support for the 64-bit version so this may be why you're experiencing some issues.

  • Sending document as an email attachment

    I have just installed pages '08 and trying to find out how to send a document as an email attachment. I accustomed to using Word, which has "send as an attachment" in the File menu, which is very convenient, since it takes a couple of seconds and you don't have to save and find files to drop into the email.
    Does Pages have anything like this?

    Pages doesn't have a function like that, and in fact Pages files are a bit cumbersome to mail, since they need to be archived (compressed/"zipped") first, to ensure they get sent correctly. In other words, the process is to select the document in the Finder, in the File menu choose "Create Archive" and then attach the resulting file to the email.
    There is a trick however that will make doing this easier -- if you have a saved Pages file, you can go up to the title bar and Control-click on the icon next to the file name. This action will produce a dropdown menu that lists the path to the file. The item just below the file name is the folder that the file is in -- if you choose that item, you will see a Finder window for that folder pop up, with the file name highlighted. You can now immediately go to the Finder's File menu and choose Create Archive. This technique means you don't have to hunt around for where the file is located on your computer, and can speed things up a bit. (This Control-click on the proxy icon works in all windows in OS X, not just for Pages.)

  • Where did "Attach to email" go as a form field action in Acrobat X?

    I just upgraded to Acrobat X from 9 and love it but there seem to be a few options missing. I build and maintain forms for several different countries in my organization and need to include a button in my forms for the user to attach the form to an email. In 9 I would just go to field properties, actions, execute meni item and select attach to email. This option does not appear in 10.
    I want to keep this action instead of a true submit button because the final destination changes based on country/location of the user. How do I get the Attach to email action back?
    Kevin

    Hi there,
    Glad you found the solution; this is actually the forum for Adobe FormsCentral, a new online form-building service (http://formscentral.adobe.com), so it's not likely that we'd have been able to give you the answer ourselves! You may want to re-post this info in the Acrobat Users' forum:
    http://www.acrobatusers.com/forum
    Best of luck!
    Rebecca

  • Read PDF form from email attachment

    Hope someone is able to help on this one...
    We are using a pdf form at work to gather some feedback and the user will be submitting the form via email...
    Using outlook 2003 I had a crack at writing a vba module to read the pdf form from the email attachment to update into an excel spreadsheet
    Is it possible to read pdf forms from the email attachment with outlook vba? Or does the attachment need to be saved to a directory first?
    I have in the past done a vba module to save the pdf form attachments to a directory and then using acrobat and it's in-built form data collection tool and exported as a csv, but this feedback form will be an ongoing thing that will be updated daily - and to minimise handling would like to run the outllook macro that reads straight from the email attachment instead of doing another 3 or so steps...
    Below is the snippet I am using - it's a mashup of different code I've found on the net
    Sub Feedback()
        On Error GoTo Feedback_err
        'Dim ns As NameSpace
        Dim objNS As NameSpace
        'Dim Inbox As MAPIFolder
        Dim objFolder As Outlook.MAPIFolder
        'Dim SubFolder As MAPIFolder
        Dim objExcel
        Dim oBook
        Dim oSheet
        Dim gApp As Acrobat.CAcroApp ' In Tools > References > Checked all Acrobat Libraries in VBA > Tools > References
        Dim pdDoc As Acrobat.CAcroPDDoc
        Dim jso As Object
        Dim Item As Object
        Dim Atmt As Attachment
        Dim filename As String
        'Dim i As Integer
        Dim myOrt As String ' Added 13/1/2010
        Set objApp = CreateObject("Outlook.Application")
        Set objNS = objApp.GetNamespace("MAPI")
        Set objFolder = objNS.PickFolder
    ' Check subfolder for messages and exit of none found
        If objFolder.Items.Count = 0 Then
        'If SubFolder.Items.Count = 0 Then
            MsgBox "There is no Feedback emails in this folder.", vbInformation, _
                   "Nothing Found"
            Exit Sub
        End If
    ' Check each message for attachments
        Set objExcel = CreateObject("Excel.Application")
        Set oBook = objExcel.Workbooks.Open("G:\Path\Filename.xls")
        Set oSheet = objExcel.Worksheets(1)
        oSheet.Range("A2").Select
        Set gApp = CreateObject("AcroExch.App") ' make acrobat session
        Set pdDoc = CreateObject("AcroExch.PDDoc")
        Set jso = pdDoc.GetJSObject ' set the Javascript object via this way we can fill in the PDF document fields
        For Each Item In objFolder.Items
            For Each Atmt In Item.Attachments
                If Right(Atmt.filename, 3) = "pdf" Then
                    Do
                    If IsEmpty(objExcel.ActiveCell) = False Then
                        objExcel.ActiveCell.Offset(1, 0).Select
                    End If
                    Loop Until IsEmpty(objExcel.ActiveCell) = True
                        objExcel.ActiveCell.value = jso.getField("CurrentDocDate").value
                        objExcel.ActiveCell.Offset(0, 1).value = Item.Session.CurrentUser
                        objExcel.ActiveCell.Offset(0, 2).value = jso.getField("txtJobNo").value
                        objExcel.ActiveCell.Offset(0, 3).value = jso.getField("rbStatus").value
                        objExcel.ActiveCell.Offset(0, 4).value = jso.getField("rbFeedback").value
                        objExcel.ActiveCell.Offset(0, 5).value = jso.getField("txtComments").value
                End If
            Next Atmt
        Next Item
        oBook.Save
        objExcel.Quit
    Feedback_exit:
        Set Atmt = Nothing
        Set Item = Nothing
        Set objNS = Nothing
        Set pdDoc = Nothing
        Set objExcel = Nothing
        Set jso = Nothing
        Exit Sub
    ' Handle Errors
    Feedback_err:
        MsgBox "An unexpected error has occurred." _
            & vbCrLf & "Please note and report the following information." _
            & vbCrLf & "Macro Name: Feedback" _
            & vbCrLf & "Error Number: " & Err.Number _
            & vbCrLf & "Error Description: " & Err.Description _
            , vbCritical, "Error!"
    Resume Feedback_exit
    End Sub
    I get a vba error 91 "Object Variable or With  block variable not set"
    Cheers
    Ben

    hi Phani,
    with regard to your problem I would suggest you to please go thru this link.
    Hope this would be helpful to you.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/offline%20interactive%20pdf%20form%20using%20e-mail.pdf
    Thanks,
    kris

  • Using Maverick, error message: Adobe Reader could not open '***.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    Receiving error message using current Maverick version: "Adobe Reader could not open '***.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).".  Is fix the same as on previous OS versions?

    Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
    Step 1
    If Adobe Reader or Acrobat is installed, and the problem is just that you can't print or save PDF's displayed in Safari, you may be able to do so by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar should appear under the cursor. Click the printer or disk icon.
    Step 2
    There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
    Step 3
    If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
    Safari ▹ Preferences... ▹ Security
    and check the box marked
    Allow Plug-ins
    Then click
    Manage Website Settings...
    and make any required changes to the security settings for the Adobe PDF plugin.
    Step 4
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens by pressing command-V, then press return.
    From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
    Step 5
    The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others—I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
    Step 6
    Do as in Step 4 with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari.

  • I imported digital photos but cannot attach to email for send off

    I do not know what happened. I imported digital photos from my Olympus into Iphoto without trouble, but when I try to send as an attachment thru email, the items cannot be opened as photos . I had no trouble in the past. What happened?

    I imported digital photos from my Olympus into Iphoto without trouble, but when I try to send as an attachment thru email, the items cannot be opened as photos .
    How exactly are you trying to send them?
    Do you select the photos in iPhoto and use the "Share > Email" feature? With iPhoto or Mail as set as Mail client?
    Or do you access the iPhoto Library from Mail via the Media Browser?
    the items cannot be opened as photos
    When you try to attach them for mailing or after they have been received?
    Please explain more so we can understand your problem better. And what iPhoto version and email program are you using?
    Regards
    Léonie

  • Send file as email attachment not working

    any help would be greatly appreciated...
    When I click "send file as email attachment" it will open outlook with the PDF attached but when I click send on the email,  the email closes like it is sent but never actually gets sent (nothing in sent items and recipient never gets the email)
    Adobe Acrobat 11 Pro (Creative Cloud Suite installed)
    Outlook 2013

    Hi sandyw26405588,
    Could you please try sending PDF as email attachment via another email apart from Outlook.
    Are you able to send the file successfully?
    Also, go under 'Help> Check for Updates' and ensure if you are using the latest version of Acrobat XI i.e. 11.0.10
    Have you tried sending any other PDF via Outlook?
    Let me know.
    Regards,
    Anubha

  • I have files that have been on my computer for over a year and all of a sudden they wont open and an error message comes up saying they were improperly downloaded or came in an email attach which is not the case

    I have files that have been on my computer for over a year and I have used them several times and all of a sudden they wont open.  I received an error message saying they are improperly downloaded or came as an email attachement which is not the case.  Please advise

    They seem to be word files - they will open if I choose "open with" microsoft word, but if I double click they don't open they are appearing as PDF on my screen.  I even opened one and then tried to "save as" making sure I chose .doc and they still appear as PDF
    I just created a new document response.doc in word and when I saved to my desktop it appears as a PDF file and I absolutely did not create a PDF or save as PDF it was a simple word
    doc.
    The message says "Adobe reader could not open response.doc because it is either not a supported file type or because the file has been damaged (for example attached in an email and not properly decoded)
    The reader version is I believe the most current, I always update when prompted.  OS is Windows 8

  • Email attachment name in sender mail adapter to the receiver file adapter

    HI ,
    Ths is regarding email to file scenario. I am trying to create file (in rceiver file adapter) with the same name as the email attachment that i read from mail sender adapter. I want ro use adapter module for this. I could find from blogs that there is module - GetAttachmentName - available that i can use for this in sender mail adapter.
    Can you please let me know what whetehr i neeed to mention any module key and parameters for this.
    I assume , i need to do following steps :Please confirm.
    1. i can use this module - after payload swap module and before standard mail adapter module in sender mail adapter
    2. select ASMA option in advanced tab in sender mail adapter
    3. In receiver file adapter select ASMA option in advanced tab in sender mail adapter
    4. Also select file name option in ASMA in sender mail adapter
    Thanks,
    Vamsi

    Hi Vamsi,
    your scenario is also described here: Re: sender mail adapter - attachment name
    If you use the Module getAttachmentName, which is described here,
    http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName
    your scenario should work as you described it.
    You just need to make sure that the Attachment Name that you read in the first place, is mapped to the Filename Attribute of the
    Fileadapter (http://sap.com/xi/XI/System/File/FileName).
    regards,
    Daniel

  • Issue in attachement in email

    HI,
       Am trying to send a attachement in email.If a trying to send it as a text format am getting the o/p if i change it as XLS or CSV am not getting any attachement.Wats the reason for it and how to correct it.

    Hi Shruti,
    Which M you are using to attach and send the mail. Please provide some code.
    Regards,
    Premal

  • I bought an iphone 4 from my friend and he do not know his apple ID and we are trying to know the email attached to is apple ID so we can rest it cause he forgot them as well and the reset button in the 2 steps always says that the email is always sent !

    i bought an iphone 4 from my friend and he do not know his apple ID and we are trying to know the email attached to is apple ID so we can rest it cause he forgot them as well and the reset button in the 2 steps always says that the email is always sent ! ( even if you wrote a worng ID like ( asdasdasd ) it will say sent !! how come and now am trying to know or need a hint on that email so my freind could try to remember it !
    to those who will think that this phone is stolen , no its not and i would love to go to apple store if there is 1 in jordan so they can help us ,
    i have everything with this iphone the box the catalog its serial number , everything but the ID and the (and apple ID is everything as you know)
    so please if anyone have any suggestion to help me , and even apple it self if the can help me to get a support from them cause i tried everything to contact them by mail or any other option since as i said there is no apple store in jordan

    he knows his ID , if he did all whats in the link he can get his password back ?
    how can i make him call applecare ? is there a way to speak to them from jordan ??
    i have been trying to reach any1 in apple so they can communicate and help my friend (us) to make him remember it .
    am not asking for the password or trying to get into the phone without using it , and i can take my money back though i need to help my friend as well since now he cant use it as well.
    thanks kil

Maybe you are looking for

  • Problem with link in SWF file

    good day to you all in this great forum my name is james and i want to see if i can find help here in the forum for my problem. I'm building a site for my friend. (the site is in hebrew so sorry....) for the site building I'm using the software iweb

  • How do I stop all of the Safari spam pop-ups?

    Since I downloaded OS Yosemite, my Safari is constantly getting pop-up tabs with spam.  It is very bad and Apple was not supposed to be susceptible to such virus issues.  Someone please advise if you have the same happening and how to stop it.  Can y

  • RFC Adapter : JCO_ERROR_CONVERSION : Unparseable date

    Hi all, We are working with RFC Adapter . We are getting the following error in RWB --> Component Monitoring --> Adapter Engine --> RFC Adapter  " JCO_ERROR_CONVERSION: Date '01.12.2005' has a wrong format at field VALIDITYBEGIN: Unparseable date: "0

  • One step procedure for STO without delivery

    Hi, I need a help. I've configured the STO one step procedure (document type, supplying plant and receiving plant) but it does not working. When i use movement type 351 it does not automatically transfer the stock to the receiving plant. Could anyone

  • Unemployed idiot has a few misc web page questions.

    Please look at my web page. http://web.mac.com/chg1000 I would like to know..... -can "slideshow" button be moved?, (its kinda in the middle of everything). -can page titles be moved? -also, my last page is a different subject, can this text color be