Store GP Attachments in KM

Hello,
We have a GP Application where in a user submits a request along with a attachment which goes for approval to the appropriate user....now we want to store this attachment in KM on Portal...so that if the initiator wants to remove or add new attachments later on ...we need a way to store and retrieve attachments ....how can we implement the same in Guided Procedures ?...we are on Portal 7.01 (EHP1)....
Any help would be highly appreciated...
Regards,
Shikhil

Hello Rajesh,
Thanks for the reply....yes i am using Webdynpro for Java using GP API Callable Object ...it would be great if you can send me the code to store the Attachments....
Regards,
Shikhil

Similar Messages

  • How to store Multiple Attachments in Workflow.

    Hello All,
    I am doing an scenario, in that i need to store multiple attachments in the workflow container.
    Kindly help me, how to store and also, how to retrieve those attachments form worklfow.
    I am using custom workflow.
    Thanks in advance......
    Best Regards,
    Chandran S

    Hi Jubish/Venkat
    1. I iterated this fucntion moudule to store the multiple attachments to the workflow
       SAP_WAPI_ATTACHMENT_ADD
    2. Call this FM to get the attachemnts form the workflow (pass workitem Item id which is used for storing the attchments).  SAP_WAPI_GET_ATTACHMENTS
    from above you will get objkey for each attachment as output in table.
    3. Pass the  objkey to this FM to get the contents
    SO_DOCUMENT_READ_API1'. this will retrun the content of the attachment either in object_content,   contents_hex.
    4. Pass the Obtained content to SCMS_BINARY_TO_XSTRING to get the disired format.
    Best Regards,
    Chandran S

  • Where to store the attachments before sending a mail

    can any one help me
    when user clicks on attachfiles where to store the attachments before sending an email
    thanks in advance

    pengyou wrote:
    jschell wrote:
    pengyou wrote:
    However, if I just want store the html file in a file system for quich test purpose, how can I store the url and keep a link to the related file.Instead of storing the content in the database you instead store a file system location (either a path or a file url.)
    That file system location is where you store the content.Indeed, the file system location is where I store the content which I crawled from Internet. However, it is not the initial url from which I crawled this content. I would like to store the initial url of this content too. This is still a problem.No it isn't.
    You have two pieces of data: Url and content.
    If you want to store the content on the file system then your database table would have two columns: url and file_location.
    You then do the following
    1. Save the content to the file system. Derive a file path from that process.
    2. Write a record to the database consisting two data items : url and that file path.

  • Using button to store all attachments gives problems

    In Thunderbird you can store multiple attachments at the same time. At the below right corner you can click 'save all'. I like to use that functionality, and it works for all the folders I choose, but not for the desktop. I would like to know why and how I can solve that problem.

    Hi
    Yes, you can do this but it will require the sitepoint server privileges to be set for the user, they will at least require file - move/create/delete/update/upload privileges. For better advice I would recommend contacting your server administrator regarding privileges and setting of such as these would at least require a password authentication and 'batch' use.
    PZ

  • Where does iCloud app store downloaded attachments on iOS device?

    I am wondering where iCloud app store downloaded attachments? I downloaded a rather large PDF for viewing and would like to get rid of it. Thank you.

    Dahveed
    Got it. So the Lion installer will be in my apps folder? the reason I'm asking is because I want to be able to create a bootable DVD so I can do a clean install. I have the instructs per OSX Daily. The instructs were from Apple devs on how to make a bootable DVD as they were doing with the pre-GM's. Thanks!

  • Store workflow attachments in a content server

    Hello Everyone,
    I am newbie to ABAP and This Forum.
    I have a requirement in which I have to store all workflow attachment in a content server.
    I think by changing storage type in oac0 and calling transaction oaor in workflow, I can do this.
    But I am not confident that whether this is right way to do this, or not?????
    So, Please guide me, and if any other alternative is there, then suggest me.
    Thanks in advance...

    very tough job for a newbie! Hereafter is a link which I think is not the answer you are expecting (because this link is talking about documents in the SBWP, not attachments to workitems, but it may help you to start searching : [sap library - content management server - Content Server for Business Workplace Documents|http://help.sap.com/saphelp_nw70/helpdata/en/4e/c95c195e8e9c4da3f6447ae0a7493f/frameset.htm]

  • How to store / retrieve attachments?

    Hi Experts,
    I am sending message attachments to XI using ABAP Proxy program. The message itself has a number which identifies the attachment.
    My requirement is to store the attachment in some format in ABAP table. The is required because there is a webapplication which will send a SOAP request to XI to fetch the attachemnt. The request will have the attachment identification number and the response should have the attachment itself in SOAP body.
    Could you please tell me how to store the attachment in XI and how to retrieve the same using a webservice call?
    Thanks,
    Shobhit

    Hi,
    Refer these articles
    http://help.sap.com/saphelp_nw04/helpdata/en/a7/3b2a2d45a34a23b75e3b18745c63bc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/705c3c3806af06e10000000a11402f/content.htm
    Refer these blogs
    ABAP POP3 Email Client Using an RFC enabled PHP client proxy
    XI: Reliable Messaging – EOIO in ABAP Proxies
    BSP a Developer's Journal Part XIV - Consuming WebServices with ABAP
    Regards,
    Suryanarayana

  • Can Apple Mail store all attachments in one folder

    I have been trying Apple Mail out, and one behavior that I find horribly inefficient is Mail's storing attachments with messages.  In the past I have used applications such as Eudora that had an attachments folder where all attachments were placed.  As long as you left them there or moved them somewhere on the same hard drive, you could click on the attachment in a message and open it.  However, the way I store files is that I usually file the attachments in other folders with other related files.  That way all of my files about a project or topic are all together.  Mail's way would have some files in project folders and other files in Mail's storage folder. So is there a way to have Mail put all of the attachments that come in into a single attachement folder (or even an attachment folder per email account)?  Thanks.

    bruce,thanks for your help. I don't have an advanced button under the storage tab. the message storage is below the advanced button, and when I click the advanced button, it doesn't give me any options for message storage. do you think I am missing an ad on that I should have ? thanks and happy thansgiving

  • How to store attachments in CAF?

    Hi, all.
      I implemented a wd app to let user upload some attachments and I wanted to store the attachments   with CAF. In my wd app, I declared a wdresource to ctach the uploaded attachment. What type should I use for my BO`s attribute to store the attachment?
    Thx a lot.

    Hello!
    The BASE64BINARY is the perfect to do it, but please note we have the BO type Document and we don´t need to transport full archive all time we use these objects, that´s because when i use a BASE64BINARY i am carry full archive on hard code, the type Document we´ll reference a local where stay the file and some properties about him.
    Off course for the use of any one depends what do you´ll do with they.
    I hope i helped you.
    Best regards,
    Ronaldo Rampelotti

  • Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).

    Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).
    Problem - SFDC does not create cases from emails that have more than 10 MB of attachments. Our clients will not go-live if their clients cannot send in emails with attachments over 10 MBs
    Potential resolution - Configure MS exchange to strip off the attachments(if over 10 MB) and store it in a public folder, forward the email to Salesforce (so the case gets created or the email
    is associated to an existing case), the client should have some way to know if the attachments were stripped off and should be able to dlownload the attachments and continue with case resolution.
    Any help is appreicated!
    Thanks

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Save Attachments of Activity also on the Customer?

    Hello Friends,
    Is it possible to store the Attachments of an Activity (created in WebUi) also to the Customer (for whom we create the Activity?)
    Thanks for helping...
    PS: I know the function for "helpful answers" here in SDN... (if you create a helpful answer)

    Chris,
    The problem is that there aren't many exits in the document management framework.  Now that being said, you could look at the UI component that attaches the document and see if you could manipulate it so that as you submit the attachment to the transaction it will submit the attachment to the partner.  The problem is that the attachments are "committed" outside of the LUW for the business transaction(reason why you don't have to hit the save button to save an attachment once attached).
    So your other option was my first choice, which will be a close approximation, is that whenver the transaction is saved, you can transfer the attachments over.  This of course means a user could attach something and not "save" the transaction and you would not get the synch.  That would be the problem, so the more difficult and correct approach is hacking the attachment UI component to accomplish this.  I would give it a 75% chance of feasibility, and something that would take me personally a week to get working at least.
    So if you do figure this out, or get stuck along the way as you go into the details, please post back here or open a new thread either way.  I can take a look provided you give a specific area that you want to look.  The only thing I ask is we post the final solution in the CRM wiki once solved.
    So your first tasks is to anlalyze the component view GS_CM/AddDoc to find the insert point and where the BO reference is set for the document being attached.
    Take care,
    Stephen

  • Display attachments in SAP work list (at user decision) from portal.

    Hi Experts,
    How can we get the uploaded attachment form portal to SAP UWl .
    We have requirement like user wants to upload the travel expenses related documents (.PDF,.Txt or .doc files) in portal that attachments needs to available in approver inbox as link at user decision level.
    We have done the binding part and we are getting the attachment from first level to next level but unable to get the attachments uploaded in portal.
    I found one link but itu2019s not working.
    How to store Multiple Attachments in Workflow.
    SAP_WAPI_GET_ATTACHMENTS by using this function module I am getting only OBJECT_ID                                SOFM
    DESCRIPT                       Office Document
    SHORTTEXT                      Office Document
    Please help....good Rewards for useful answers ....
    Edited by: RameshG on Jan 12, 2011 7:04 PM

    Dear Ramesh,
    Need your help!
    While creating travel expense request from Enterprise Portal, travelers create few attachments [pdf/doc/xms/txt] and then save the travel expense reports.
    A workflow then gets triggered and this travel expense report reached the SAP Inboxes of the checkers [in the finance department].
    The issue here is that these checkers do not have access to enterprise portal and they expect to see the attachments [that the traveler has created via the portal] via corresponding work items in their SAP Inboxes u2013 which currently is not happening!
    I checked the trip transaction that got created [in the backend / in SAP] and found the u2018attachment listu2019 menu option in GOS being disabled [may be because there is not even one attachment that has come to the backend!]
    What needs to be done so that the attachments can even be viewed from the backend / from SAP Inbox?  Does this involve coding?
    Please suggest!
    Br,
    Hari

  • Email Receiver: how to get the names of stored attachments?

    Hi,
    I hate to spam this forum. But I'm in desperate need of the names of attachments, the email receiver QPAC receives.
    If I select a list variable for the email receiver to store all attachments received into, all filenames appear to be lost. Also the MIME-types appear to be lost. Which is not big a problem, since I may use javax.activation in order to identify the MIME-type of any fileinputstream. But sometimes, I am unable to correctly identify the MIME-type. Then I need to fall back on the file's original name.
    So the simple question is: how do I get the 'filename' attribute of org.idp.Document objects instantiated by email receiver QPAC?
    Did anyone ever do that?
    Regards,
    Steve

    Hi Diana,
    1) I used the XPath expression indicated in the screenshot below. It resulted in the process variable
    filename being
    NULL.
    2) I using the following Java-Code in a scripting QPAC:
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.Set;
    ArrayList list = patExecContext.getProcessDataListValue("/process_data/attachments");
    System.out.println("[TEST] num attachments: "+ list.size());
    for (Iterator it = list.iterator(); it.hasNext(); ){
    com.adobe.idp.Document doc = (com.adobe.idp.Document)it.next();
    System.out.println("[TEST] attachment #1, filename: '"+ doc.getFile().getName() +"'");
           System.out.println("[TEST] attachment #1, filename-attribute: '"+ doc.getAttribute("wsfilename") +"'");
            System.out.println("[TEST] attachment #1, file size: '"+ doc.length() +"'");
           System.out.println("[TEST] attachment #1, content-type: "+ doc.getContentType());
      Set attributeList = doc.listAttributes();
    System.out.println("[TEST] num attributes: "+ attributeList.size());
      for (Iterator attributeIter = attributeList.iterator(); attributeIter.hasNext();){
      String attribute = (String)attributeIter.next();
      System.out.println("[TEST] attribute found: "+ attribute);
    Its output in the logfile was the following:
    [STDOUT] [TEST] num attachments: 1
    [STDOUT] [TEST] attachment #1, filename: '646834941068179579'
    [STDOUT] [TEST] attachment #1, filename-attribute: 'null'
    [STDOUT] [TEST] attachment #1, file size: '14624'
    [STDOUT] [TEST] attachment #1, content-type: null
    [STDOUT] [TEST] num attributes: 0
    Is there something I did wrong?
    Or is it even possible that the Email Receiver does not care about attributes of attachments?
    Regards,
    Steve

  • File Upload in BSP Applications and store in Application server

    Hi we have requirement to store the attachments from BSP application into the external/internal storage space connected to application server.
    I search for weblogs and all talking about <a href="http://help.sap.com/saphelp_me21sp2/helpdata/en/eb/8c683c8de8a969e10000000a114084/content.htm">File Upload in BSP Applications and store in MIME Repository</a>.
    But our requirement is upload and store(no need to read the file content) attachments from BSP page into file server, and then make a link back in BSP page to open.
    I know we can handle documnets in R/3 using DMS, but our system is SRM.
    Please give a suggestion and solution.
    Thanks,
    Giri

    Hi,
    I faced a similar problem some time ago (uploading a file via BSP, storing it to the application server and then linking the archived document to a business object.
    Here is the coding I used:
    when 'SubmitUploadFile'. "OnInputProcessing
        DATA: data_fileupload TYPE REF TO CL_HTMLB_FILEUPLOAD,
              l_filename type string,
              l_archiv_doc_id type SAPB-SAPADOKID,
              l_content type string,
              l_file_ixos(100) type c value '/transfer/PV2/aus/IXOS/',
              l_file(200) type c,
              tbl_bin TYPE STANDARD TABLE OF tbl1024,
              wa_bin type TBL1024,
              l_xstring type xstring,
              l_arc_doc_id type SAPB-SAPADOKID,
              l_doctype type TOADD-DOC_TYPE,
              l_filename_e type DRAW-FILEP.
    upload the file from the BSP web interface (e.g. file C:TempSUTestPDF_SU.pdf)
        data_fileupload ?= CL_HTMLB_MANAGER=>GET_DATA(
                                           request = runtime->server->request 
                                           name    = 'fileUpload'
                                           id      = ‘InputFieldFileUpload’
        IF NOT data_fileupload IS INITIAL.
          l_filename         = data_fileupload->file_name.
          l_content      = data_fileupload->file_content.
          l_content_type = data_fileupload->file_content_type.
        ENDIF.
    The uploaded file is returned as XSTRING, so we have to convert it to BINARY
    (or STRING alternatively)!
        l_xstring = l_content.
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            BUFFER          = l_xstring
            APPEND_TO_TABLE = 'X'
          TABLES
            BINARY_TAB      = tbl_bin.
    split path for storing the file to the application server
        l_filename_c = l_filename.
        CALL FUNCTION 'CV120_SPLIT_PATH'
          EXPORTING
            PF_PATH  = l_filename_c
          IMPORTING
            PFX_FILE = l_filename_e.
    write the uploaded file to the application server
        l_filename = l_filename_e.
        concatenate l_file_ixos l_filename into l_file.
        open dataset l_file for output IN LEGACY BINARY MODE.
        loop at tbl_bin into wa_bin.
          transfer wa_bin-line to l_file.
        endloop.
        close dataset l_file.
    store the uploaded file on the IXOS-archive
        l_doctype = l_content_type.
        CALL FUNCTION 'ARCHIVOBJECT_CREATE_FILE'
          EXPORTING
            ARCHIV_ID                = '2T'
            DOCUMENT_TYPE            = l_doctype
            PATH                     = l_file_arc
          IMPORTING
            ARCHIV_DOC_ID            = l_arc_doc_id
          EXCEPTIONS
            ERROR_ARCHIV             = 1
            ERROR_COMMUNICATIONTABLE = 2
            ERROR_UPLOAD             = 3
            ERROR_KERNEL             = 4
            OTHERS                   = 5.
    link the archived document to the business object ‘DRAW’
        CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
          EXPORTING
            ARCHIV_ID                   = '2T'
            ARC_DOC_ID                  = l_arc_doc_id
            AR_OBJECT                   = 'DRW'
            OBJECT_ID                   = g_object_id_arc
            SAP_OBJECT                  = 'DRAW'
           DOC_TYPE                    = l_extend
         EXCEPTIONS
           ERROR_CONNECTIONTABLE       = 1
           OTHERS                      = 2.
    Remark: It´s vital to convert the uploaded file from XSTRING to BINARY. Otherwise the file cannot be stored/archived properly.
    The archived document can then be displayed by inserting the (IXOS-web client-)link to the BSP page (e.g. http://193.228.208.78:4060/archive.dll/get?arc=2T&doc=44439F1B4F701E65E1000000C1E4D00A).
    Hope this helps!
    Regards,
    Ulli

  • Claim advance request ESS - Attachments

    Hello experts
    Actually we are uploding documents/attachments from portal while raising claims in HR ..now the issue is that the documents are stored in SAP ECC database and client want to divert to Content server ...we are unable to know where the documents being stored in sap database any help
    Pls help me.
    We are using the Advanced Claim Std ESS functionality/iView
    also i spoke with our DMS guy he is saying he checked the DMS tables but the documents are not storing in those tables
    Regards
    Vijay

    Hi deepak,
    Thanks for your response, i have already gone through this BADI, but i want to store the attachments into Open text server. But this badi is used to store in DMS, can u pls provide the sample code for storing into third party server like Open text. I have gone through the sap note but didnt found the sample code.
    Regards,
    Tony.

Maybe you are looking for