Attaching file to a solution

while creating a solution using BAPI_SOLUTION_CREATE , how to attach a file to the solution being created and file is coming from the application server.
its vet urgent
full points 'll be awarded
thanks
dheeraj

Oracle Knowledge management provides the functionality of Token rules, which can be used to point to other solutions.
Please see the implementation Guide for Oracle Knowledge Management for this functionality.

Similar Messages

  • How can user attach file to interactive form, and be read by abap program?

    Hello,
    I created an abap interactive form, sent to the user, then user fills out the form fields, then it is uploaded back to sap, then my program reads this data and process it.
    It works.
    Now I want users to be able to attach any file they want, and the abap program to extract this file out of the PDF, to put it into SAP (or anywhere).
    I succeeded in attaching a file, I can "see" it via function module get_annotations, but I get the file in compressed form by Adobe (filter="FlateDecode").
    Do you know how to unzip the file, or is there another way to attach files in adobe reader/extract them via abap?
    I use acrobat reader 8.1.2
    Thx a lot!
    sandra
    Below is the xml obtained by GET_ANNOTATIONS. We see that there are other text annotations, and that the attached file has {length="98005"}, though real file (before "attach file" to the PDF, and also after "detach file") has length 111 995 bytes. It's why I deduced that there is a compression (I also tried to extract it as-is and open it with adobe but it doesn't work.
    <?xml version="1.0" encoding="UTF-8"?>
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
      <annots>
        <highlight rect="212.347,624.257996,252.979004,636.539978" creationdate="D:20080604100938+02'00'"
    name="2114308b-275d-4eca-8bfc-c8288ef4a77c" color="#FFFF00" flags="print"
    date="D:20080604100938+02'00'" title="mtresori" subject="Texte surligne "
    coords="215.432999,636.179016,249.893005,636.179016,215.432999,624.619019,249.893005,624.619019"
    page="0">
          <popup rect="595.276001,516.179016,775.276001,636.179016" flags="print,nozoom,norotate"
    open="no" page="0"/>
        </highlight>
        <fileattachment rect="15.345001,802.841003,29.345001,822.841003"
    creationdate="D:20080604101011+02'00'" name="f6e12648-c9b0-4cd1-b08b-82876c8300d7"
    color="#4055FF" flags="print,nozoom,norotate" date="D:20080604101019+02'00'" title="mtresori"
    subject="Piece jointe" file="SAP_WIDGETS2.pdf" mimetype="application/pdf"
    creation="D:20080603112937+02'00'" modification="D:20080603112937+02'00'" size="111995"
    checksum="9F846412B510089F7C6DBCC6527C6339" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>SAP_WIDGETS2.pdf</p>
            </body>
          </contents-richtext>
          <data MODE="raw" encoding="hex" length="98005" filter="FlateDecode">
    4889CC570B5414D719F651A38EC468D5C6A2980104E528BBF3B8F3B2626405242920020A0AA4AEBB
    C3B2BAECEAEEA2A018030A628C8FFA4A0F568F58426A1EF5118FB5266A8D9AA2B16A55044541C5
    A62656EBA315935AE8BDB3BBEC2C0BD9D5B39EB3671966FEFBFCE6BF
    ETC. (all hexa code is the attached file, but with compression by adobe)
          </data>
        </fileattachment>
        <text rect="96.187408,680.099976,116.186996,698.099976" creationdate="D:20080613144537+02'00'"
    name="73360fcf-f5e5-4d5b-9315-fe4c42924300" color="#FFFF00" flags="print,nozoom,norotate"
    date="D:20080613144617+02'00'" icon="Comment" title="srossi" subject="Note" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p dir="ltr">
                <span dir="ltr" style="font-size:10.0pt;text-align:left;color:#000000;
    font-weight:normal;font-style:normal">
    ffffffffffffffffffffff
                </span>
              </p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,578.099976,775.276001,698.099976" flags="print,nozoom,norotate"
    open="yes" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144627+02'00'" state="Marked"
    name="d524b7d5-1a85-4b62-80b3-5875dd152c51"
    color="#FFFF00" flags="hidden,print,nozoom,norotate" date="D:20080613144627+02'00'"
    icon="Comment" title="srossi" subject="Note"
    inreplyto="73360fcf-f5e5-4d5b-9315-fe4c42924300" statemodel="Marked" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Marked definie par srossi</p>
            </body>
          </contents-richtext>
          <popuprect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144633+02'00'" state="Accepted"
    name="88af2cb6-7516-4f21-81e6-97edc7a85184"
    color="#FFFF00" flags="hidden,print,nozoom,norotate" date="D:20080613144633+02'00'" icon="Comment"
    title="srossi" subject="Note" inreplyto="d524b7d5-1a85-4b62-80b3-5875dd152c51" statemodel="Review"
    page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144642+02'00'" state="Marked"
    name="a8c6b485-c3f9-44e2-ad53-c61b2766d9d5" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144642+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="f6e12648-c9b0-4cd1-b08b-82876c8300d7" statemodel="Marked" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Marked definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144647+02'00'" state="Accepted"
    name="0136b689-575c-46b8-a21a-86e3c8d73904" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144647+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="a8c6b485-c3f9-44e2-ad53-c61b2766d9d5" statemodel="Review" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
        <text rect="100,82,120,100" creationdate="D:20080613144657+02'00'" state="Accepted"
    name="a21fc3c5-cf6a-4c6f-bc1f-328a91050b4e" color="#FFFF00" flags="hidden,print,nozoom,norotate"
    date="D:20080613144657+02'00'" icon="Comment" title="srossi" subject="Note"
    inreplyto="2114308b-275d-4eca-8bfc-c8288ef4a77c" statemodel="Review" page="0">
          <contents-richtext>
            <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
    xfa:APIVersion="Acrobat:8.0.0" xfa:spec="2.0.2">
              <p>Accepted definie par srossi</p>
            </body>
          </contents-richtext>
          <popup rect="595.276001,-20,775.276001,100" flags="print,nozoom,norotate" open="no" page="0"/>
        </text>
      </annots>
      <f href="acTempF-00000028453-00000000089"/>
      <ids original="03473EFED11DB2110A00000000000000" modified="959796E85292D54DB7FA558CAAD4A346"/>
    </xfdf>

    Hello everybody,
    I am sure you have an answer to my question above. It was :
    how is it possible for a user to ATTACH files to a PDF interactive form, and then be able to READ them via a program ? (I guess the solution to read them via ABAP or JAVA is quite the same?)
    Thx a lot !
    sandra

  • My Safari quits unexpectedly while trying to open attached files or download?

    I had that problems once. My friend reinstalled My IMac for me. It worked. But now it is happening again. Safari quits unexpectedly while I am trying to open attached files or download anything. I hate that. I want that to never happen again. And I don't actually know how to reinstall the system. I am afraid of doing smthing wrong. So I have to call apple or my friend. What  is the easiest way and solution for that? What is the reason for this problem?
    Thank you.

    Try the following:
    1. Shutdown the computer and then start it up again, see if Safari repeats the problem.
    2. Consider the source file, if it is just one or the same ones all the time but other open, the files are the problem and not Safari.
    3. Run a permissions repair on the mac. Do this via Applications > Utilities > Disk Utility and select the hard drive (Second Icon with the Hard Drive Name, not the one showing the drive size above it) in the left pane and in the bottom middle click on permissions repair, don'yt worry you won't break the computer.

  • I can no longer attach files to my outgoing Hotmail emails.  I only receive a message that an  error has occurred. Help appreciated.

    I can no longer attach files to my outgoing Hotmail emails.  I only receive a message where I would expect the Upload to appear that an  error has occurred.
    I am using a MacBook Pro with Retina, 2 Ghz Intel Core i7, OS X 10.9.4
    I have no difficulty attaching files to the outgoing Hotmails on the same account using my iPhone.
    Help appreciated.

    Thanks for this - not an immediate solution I fear but will keep unplugging stuff and restarting stuff.
    To try and be clearer about the problem - I have in the last managed to send attachments successfully.  Now  I can send and receive plain email messages but get the error message when I try to attach an existing file to an email - not just a particular file but it would appear all files are being treated in the same way. 
    An experiment to send a mail to which an attachment has failed to upload got the following message alongside the SEND button
    Files with errors will be removed from the email and not sent.
    - but the mail alone was sent and received successfully.  Thanks for any pointers you can give me. 

  • HP Officejet Pro 8600 Plus will not print the attached file in the e-mail

    Dear support team,
    I have installed the software and setup HP eprint according the manual respectively the advices in HP-Connected however if I send an e-mail to [edited by Moderator] the printer 8600 PRO PLUS will not print the attached file in this case a PDF. But the text inside the e-mail will printed.
    Any recommends?
    Thank you in Advance.
    Best regards
    Conny

    Hi Conny,
    Welcome to the HP Support forums.  I understand that the attachment to an email sent to your Officejet Pro 8600 Plus printer’s ePrint email address did not print.
    After the PDF didn’t print, did you log into your HP Connected account?  I’m curious as to what HP Connected indicated about the print job. I have included the ePrint Job Did Not Print document.  It has several causes and solutions as to why the PDF didn’t print. 
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • How to attach files in the new BT Yahoo system

    Can anyone tell me how to attach files to an email in the new system, please? I have a particular reason which is too complicated to go into here why occasionally I want to send files using web-mail rather than an email client (yes, I do know that's the best way). When I click the "attach" tab, I get an (apparently) helpful page which enables me to add several files at once. But there's no "continue" or "do it" button to get me back to the email I've started, and since ther's no tabs in the new system, I'm stumped.
    Solved!
    Go to Solution.

    Have you seen this thread? Not an elegant solution, but it appears to work for some bizarre reason.
    https://community.bt.com/t5/Email/Email-won-t-accept-attachments-error-18-temporary-It-isn-t/td-p/14...

  • Viasualize attached files withou saving in the computer

    I would like to be able to open my attached files without saving in my computer

    That is not really something that will happen, the computer will actually save the file at least temporarily on your computer if you open the attachment.
    What I expect you to be trying to do is
    * open the file and view the content in Firefox
    * or open the file directly with some other application
    What sort of files are you asking about e.g. pictures, Word Documents, or pdf s .
    I am not yet entirely certain what you re trying to do but you may be interested in the solutions in one or more of these articles.
    * [[View PDF files in Firefox without downloading them]]
    *[[Use the Adobe Reader plugin to view or download PDF files]]
    *[[Set how Firefox handles different types of files]]
    *[[Change what Firefox does when you click on or download a file]]

  • How to attach files in the SMTP mail?

    Hi All
    Anyone know how to how to attach files into the mail configured
    with SMTP while changing the workstatus. The SMTP mail is working
    fine, but my requirement is to attach a file which is having static information
    like instructions for users or something like that.
    Please help me on this..
    My Version of BPC is MS 7.X
    Regards,
    Baijuchandran.B

    Have you seen this thread? Not an elegant solution, but it appears to work for some bizarre reason.
    https://community.bt.com/t5/Email/Email-won-t-accept-attachments-error-18-temporary-It-isn-t/td-p/14...

  • Mail adapter- Attachment file name of scheme ddmm

    Hi ,
    I am working on File to Mail scenario.
    I checked on SDN, but I could not find exact solution.
    My requirement is :
    I need to mail HTML report file as attachment.
    To generate attachment file, I have done XSL mapping.
    Attachment file name should be : yyyymmdd.htm
    Mail text should be: This is autogenerated mail, please do not reply.
    Mail subject: SAP XI report ddmmyyy
    Please provide your inputs.
    Best Regards,
    Divyesh

    Hi Henrique,
    Thanks a lot for your response.
    Your answer is very helpful.
    I tried your code.
    I am getting error in RWB:  here I am including audit Log:
    2009-04-02 17:39:41 Success MP: Entering module processor
    2009-04-02 17:39:41 Success MP: Processing local module localejbs/CreateAttachment
    2009-04-02 17:39:41 Success MP: Processing local module localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    2009-04-02 17:39:41 Success Mail: message entering the adapter
    2009-04-02 17:39:41 Success Mail: Receiver adapter entered with qos ExactlyOnceInOrder
    2009-04-02 17:39:41 Success Mail: calling the adpter for processing
    2009-04-02 17:39:42 Error Mail: call failed; java.io.IOException: Missing mandatory element <sap:Manifest><sap:Payload><sap:Name>
    2009-04-02 17:39:42 Success Mail: sending a delivery error ack ...
    2009-04-02 17:39:42 Success Mail: sent a delivery error ack
    2009-04-02 17:39:42 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: Missing mandatory element <sap:Manifest><sap:Payload><sap:Name>
    2009-04-02 17:39:42 Error Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: Missing mandatory element <sap:Manifest><sap:Payload><sap:Name>
    2009-04-02 17:39:42 Error Exception caught by adapter framework: java.io.IOException: Missing mandatory element <sap:Manifest><sap:Payload><sap:Name>
    2009-04-02 17:39:42 Error Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: Missing mandatory element <sap:Manifest><sap:Payload><sap:Name>.
    2009-04-02 17:39:42 Success The message status set to WAIT.
    Can you please provide me help on this?
    Best Regards,
    Divyesh

  • Mail Adapter - attachment file?

    Hi,
    I use the Mail Adapter (XIPAYLOAD) in order to send an email from XI to a Mail Server (Lotus Notes); but content of my email is inside an attachment file.
    If I choose "keep attachement", then I have an attachement file with "xxxx<b>.xml</b>".
    e.g: [email protected]
    If I don't choose "keep attachment", then I have an attachement file with "xxxx<b>.dat</b>".
    e.g: att4a5o8.dat
    Is there a solution to have the content directly in the email and not inside an attachement?
    And is it possible to change the file name?
    Regards
    Mickael.

    Use the Option 'Use Mail Package'. In this case the message will be sent out inside the mail.
    The mail package is a special message type you have to provide to the mail adapter. You have to do a mapping from your message to the mail package message type.
    Here is a sample XSLT for creating a mail package out of any XML Message:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output method="xml" indent="yes" />
      <xsl:template match="*">
        <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
          <Subject>Hallo</Subject>
          <From>[email protected]</From>
          <To>[email protected]</To>
          <Content><xsl:copy-of select="/"/></Content>
        </ns:Mail>
      </xsl:template>
    </xsl:stylesheet>
    Regards
    Stefan

  • Post Migration from SP2010 -Attach File Button not working in any list new/edit forms

    Hi,
    We have migrated the SharePoint 2010 farm to Sharepoint 2013 on last saturday and we are noticing an interesting issue after the migration .
    On any custom list on any web application ,When we create a new item,if we click on attach file button in the ribbon,nothing shows up on the screen.
    In the browser Dev Tools its showing an error message as "Cannot read Property style of null".
    This is happening on a javascript (form.debug.js) on line No : 5276
    (document.getElementById("partAttachment")).style.display = "block";
    There is no element rendered in html with id "partAttachment",which is causing this error to happen.
    Solutions tried are
    1) Modified the List Advanced Settings to disable and enable the attachments ,which did not work
    2) Ran the Sharepoint Configuration wizard which did not fix 
    3)Tried reset the site definition for all pages in the site from site settings
    4) Deactivated and activated all the activated features in the site collection
    Its an OOB List New Form,no customizations has been done.
    Similar error occurring with List Edit form as well
     when you click on the List Item in the List default view when you navigate to the list and when you click on attach file,a popup dialog to upload attachments appearing,However its not working when you
    navigate into the list item and tried to upload attachment.
    Please help if any Solutions / thoughts 

    Hi Christopher,
    Thanks for your reply,
    Farm Information
    OS: Windows Server 2008 R2 SP1 Enterprise
    SQL: SQL 2008 R2 SP2 
    SP -SharePoint 2013 with no CU applied
    Method,we used is restored the content DB from SP2010 and attaching to SP2013 SQL Server
    Site Collection is in 15 mode
    It happens on new site collection even though its not migrated site.
    Server is 16GB RAM 8Core Processor
    If we create a new form from designer,attach file link is working
    OOB New form.aspx is having List Form webpart
    Custom New Form.aspx creaed with designer has data form webpart
    if we create a new sharpoint site collection in 2010 mode,its working fine without any issues
    Interestingly,all the javascript files loading were debug.js,Not sure how its loading all debug.js files

  • Attach files to a Shopping Cart in SRM portal using a ABAP program.

    Hello.
    We need to attach files to a Shopping Cart using a ABAP program and see them in SRM portal.
    Currently we know how to attach files in the backend using the function Xxxxxxxxxx but with this function we can not see the attachment in the SRM portal.
    Do you know someway to attach files direclty in the front-end using a program?
    Maybe i have to attach first in the back-end and after that transfer to front-end?
    I have seen some thread but the solution provided is in the other way arround (transfer from front-end to backend) and then is not useful for my proble.
    Thanks in advance.
    Kr,
    Angel.

    Hello Angel,
    You can attach a file to SC ,and it is a standard functionality provided in SRM.
    While creating a Shopping cart,under Documents and attachements tab,there is an option to select a local file and attach it to a SC
    If you are looking at attaching the document in SRM and sending it to BE system.(R/3 system), then have a look at SAP note Note 1057932 - FAQ: Atachment transfer to backend, Required Configurations.
    The Following BADI’s will have to be implemented to allow the above functionality
    For transfer of attachments in PO , activate the BADI BBP_CREATE_PO_BACK. Set the values of the following parameters in the
    method BBP_CREATE_PO_BACK~Fill_PO_INTERFACE
    CV_ATTACH_TRANSFER_ACTIVE = 'X'
    CV_ATTACH_BE_STORAGE_CAT = 'DMS_C1_ST'
    CV_ATTACH_BE_DOC_TYPE = 'SRM'.
    For transfer of attachments in PR, activate the BADI
    BBP_CREATE_REQ_BACK. Set the values of the following parameters in the method BBP_CREATE_REQ_BACK~FILL_REQ_INTERFACE
    CV_ATTACH_TRANSFER_ACTIVE = 'X'
    CV_ATTACH_BE_STORAGE_CAT = 'DMS_C1_ST'
    CV_ATTACH_BE_DOC_TYPE = 'SRM'.
    Award points if useful.
    Thanks
    Arshad

  • DMS server not dispalying attached file

    Hello gurus
    I have AIX and DB2 platform of Prod server
    and
    we had cerate A DMS on Solman and platform is DB2 with Windows 2003 64 Bit
    when user was to see attach file from DMS it give error your are not authorizer
    and other scenario
    if i access in that ( which i had created in DMS user directory structure )specific user and password of DMS  It Displayed that file
    tell me the best solution to how to DMS will through
    plz
    Points in advance
    Jack

    Hi Jayesh
    This looks a clear issue of authorizations
    when the user gets this error just type /nsu53 transaction code and you will get what authorization is missing to him,just add that and it will be fine
    Also refer to
    http://www.sap-press.de/download/dateien/1681/sappress_effective_document_management_with_sap_dms.pdf
    This contains in detail what are the authorization required for DMS and also contains the full configuration of DMS
    Rohit

  • How to attach files from "Office" to E Mail

    Hi,
    I am using a Nokia Lumia 720. and I have an outlook account, which I use with regularity.
    I have faced a problem which is still not resolved - how to attach files in the mail.
    1. You open Outlook Mail or any mailbox that you are using and then you click on the "attach file" icon and you are taken directly to Albums. But the word, excel files which you want to use are stored in "Office". There is no way you can attach a file from "Office"  after you have typed your mail.
    2. So I used to go to "Office" first, select the file, share it in Outlook or any mail I am using, and then type out my mail. But in this way I could send only one attachment.
    I believe that there is a way to address this issue and I would like to know how?
    Shall be obliged for your suggestion/solutions.
    Regards
    Biplab Paul

    hi mate, in the upcoming Lumia Black update, the Microsoft part of the update (GDR3) has enhanced support for attaching Office format files. the Lumia black update is expected to start rolling out in early 2014.

  • How to print the Form and all its attached files

    Hello,
    I have a form created with Designer 7.0.7. I have extended the form to allow the data to be saved with the form, allow attachments, and allow printing of the form. What would like to do is to add a button to print the from and all of its attached files. If anyone has any samples I would greatly appreciate them.
    What I really needed to do was to insert/append a PDF file but this is not supported by the designer.
    Thanks,
    -Yolanda

    Hi Yolanda,
    I need to do the same in my form. Would you mind let me know if you found any solution. Appreciate if you can share some code.
    Thanks in advance,
    SekharN

Maybe you are looking for