Archivelink as attachment

Hi All,
          Requirement is to display the Archivelink document in a R/3 workflow using task 30100047 ( method ARCHIVELINKOBJECT-DISPLAY ) , create invoice and assign which is fine , but send a workitem to an SRM user so that he can view the Archivelink object . Can this be done ?
Radha

Hi,
You will have to use the function module 'ARCHIV_CONNECTION_INSERT' to acheive this functionality. While creating the transaction you will have to do this inorder for the attachment to be available. The following code might be of help to you:
FUNCTION ZCREATE_ATTACHMENT.
""Local interface:
*"  IMPORTING
*"     VALUE(AR_OBJECT) TYPE  TOAOM-AR_OBJECT          ZUS2000126
*"     VALUE(SAP_OBJECT) TYPE  TOAOM-SAP_OBJECT         BUS2000126
*"     VALUE(OBJECT_ID) TYPE  SAPB-SAPOBJID             GUID
*"  EXPORTING
*"     VALUE(MESSAGE) TYPE  CHAR255
*START OF ATTACHMENT
  DATA: DOC_ID TYPE TOAV0-ARC_DOC_ID.
  DATA: KEY TYPE SAPB-SAPOBJID,
        V_ORDER TYPE CRMD_ORDERADM_H.
  CALL FUNCTION 'SCMS_AO_FILE_CREATE'
    EXPORTING
      ARC_ID       = 'AL'
      FILE         = 'Call_Report.doc'
      PATH         = 'D:\usr\sap\L2Z\DVEBMGS20\work\'
      DOC_TYPE     = 'DOC'
    IMPORTING
      DOC_ID       = DOC_ID
    EXCEPTIONS
      ERROR_HTTP   = 1
      ERROR_ARCHIV = 2
      ERROR_KERNEL = 3
      ERROR_CONFIG = 4
      ERROR_FILE   = 5
      OTHERS       = 6.
  IF SY-SUBRC <> 0.
  ENDIF.
  IF SAP_OBJECT EQ 'BUS2000116'.
    SELECT SINGLE * FROM CRMD_ORDERADM_H INTO V_ORDER
                    WHERE OBJECT_ID EQ OBJECT_ID
                    AND OBJECT_TYPE EQ 'BUS2000116'
                    AND PROCESS_TYPE EQ 'ZSE1'.
    MOVE V_ORDER-GUID TO OBJECT_ID.
  ENDIF.
  CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
    EXPORTING
      ARC_DOC_ID            = DOC_ID
      AR_OBJECT             = AR_OBJECT
      MANDANT               = '800'
      OBJECT_ID             = OBJECT_ID
      SAP_OBJECT            = SAP_OBJECT
      DOC_TYPE              = 'DOC'
    EXCEPTIONS
      ERROR_CONNECTIONTABLE = 1
      OTHERS                = 2.
  IF SY-SUBRC <> 0.
  ELSE.
    MESSAGE = 'Attachment created successfully'.
  ENDIF.
*END OF ATTACHMENT
ENDFUNCTION.
Hope this helps,
Sudhi

Similar Messages

  • Archive link : user defined document name in attachment list

    Hi
    I have created a content repository (OAC0), document type and had linked the doc n content rep with an SAP business object.
    I am able to attach documents to business object using archive link feature.
    If I attach more than one documents to an SAP business object, for same document type, all the documents are displayed with same name in the attachment list.
    Is there any way by which I can show the original document name as selected by user?
    Thanks in advance.
    Regards
    Ruhi Hira

    hi i have this problem myself all I know is that the original names are used for the following document types
    HRIBENEFIT PREL FAX 0053 -
    HRIBESCHKI PREL FAX 0021 2
    HRICERTIFI PREL FAX 0024 -
    HRICOLFOTO PREL FAX 0002 -
    HRICONTRAC PREL FAX 0016 -
    HRICONTRAD PREL FAX 0016 -
    HRIDATASEC PREL FAX 0002 -
    HRIDATES PREL FAX 0019 10
    HRIDIPLOMA PREL FAX 0022 +
    HRIEMPFOTO PREL FAX 0002 -
    HRIEVALUAT PREL FAX 0025 -
    HRIHEALTHI PREL FAX 0013 -
    HRIMASTERD PREL FAX 0002 -
    HRIPERAPPR PREL FAX 0019 10
    HRIREFEREN PREL FAX 0023 -
    HRIRESUME PREL FAX * -
    HRISOCIALS PREL FAX 0013 -
    HRISTUDID PREL FAX 0013 -
    HRITAXCARD PREL FAX 0012 -
    HRIVL PREL FAX 0010 +
    HRIWORKPER PREL FAX 0016 -
    read this thread:
    Link:[A couple of things regarding GOS and ArchiveLink for attaching Business Doc;
    i hope this wiil help you a least a little bit

  • MIGO- DISPLAY GR - ATTACH PDF DOCUMENTS USING DMS.

    Dear SAP Experts,
    We have requirement of attaching the PDF document to material document using DMS. So that in future if we see the GR in MIGO, we can view that PDF. Also we don't want deletion of this PDF once attached to material document.
    We found that in DMS attachement facility to material document is not available. In Purchase order screen ME22N we can see the DMS document button, but in MIGO this DMS attchment Icon is not there. Service for object facility is available but we don't want this facility.
    Please suggest how to achieve this.

    Hi,
    Use archivelink for attaching documents to MIGO . The documents attached to MIGO can be displayed by opening the respective Material documents.
    As far as deletion is concerned you can make use of the authorization objects in Archivelink to achieve this.
    Regards
    Abhishek

  • Archivelink Toolbox

    Dear All,
    We are in ECC 6.
    We have implemented SAP content Server and Archivelink to attach some documents to BUS2012.
    All work properly but I would like to change the display of the attachment list : from ME23N transaction, click on attachment button and choose attachment list. The list of documents stored in SAP content server are displayed.
    In the title, SAP put the description of the document type in OAC2 transaction.
    and no creator name.
    But I would like to change the title with the source file name,  to display the creator name and eventually other informations.
    Do you know how to customize this attachement list (via BADI or BOR) ??
    Thanks for your help.
    Véronique

    Philos,
    I had this issue myself a couple of months ago. 
    I wrote up a KB article on this - kudos to streufert for his expertise!
    Please try the steps in that article and confirm whether it resolves your troubles!
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Attachment functionality to custom transaction

    Hi All,
    I need a help in providing attachment functionality to a custom transaction.
    I have build a custom transaction for GL master, the requirement is that i need to provide a attachment functionality to attach a
    documents like in standard trasactions(attaching a documents in Va02). How can i achieve this functionality?
    Is there any class/FM to call?
    Thanks in advance.
    Venu.

    Hi,
    I think you have to use GOS service. Search for GOS. check the below thread or debug the standard transaction, you can find FMs
    A couple of things regarding GOS and ArchiveLink for attaching Business Doc
    Hope this helps u.,
    Thanks & Regards,
    Kiran.

  • Archive link toolbox

    Dear All,
    We are in ECC 6.
    We have implemented SAP content Server and Archivelink to attach some documents to BUS2012.
    All work properly but I would like to change the display of the attachment list : from ME23N transaction, click on attachment button and choose attachment list. The list of documents stored in SAP content server are displayed.
    In the title, SAP put the description of the document type in OAC2 transaction.
    and no creator name.
    But I would like to change the title with the source file name, to display the creator name and eventually other informations.
    Do you know how to customize this attachement list (via BADI or BOR) ??
    Thanks for your help.
    Véronique

    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVOBS/BCSRVOBS.pdf
    You can take care of this Link very useful
    http://help.sap.com/saphelp_nw04/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
    I made use of the table entries SGOSATTR after coding with the class.
    I hope this documentation should be kept by Wflow experts in their kitty:))).
    <b>This will be of some help to you</b>
    Thanks
    Arghadip

  • No archive information found for object type  and document type

    Hi All,
    When i try to view the print preview for a perticular doc type, system is giving the error as "No archive information found for object type  and document type"
    Diagnosis
        No information was found about optical archiving. This may be due to
        either of the following reasons:
        1.  No valid archiving parameters were passed
        2.  Your system is not configured for optical archiving
    System Response
        Processing is cancelled.
    Procedure
        Specify valid archiving parameters or check whether your system is configured for optical archiving
    Regds,
    CB

    Hello,
    You are trying to Print & also archive by selecting the option Print & Archive.
    You have to do archivelink configurations and then create document type and assign to the object type with content repository with archivelink table.
    If you want to archive the spool or output then you have to use object type as DRAW. If you are archiving invoice document or letters or so on then you have to know the object type/Business object of the transaction.
    Please note that for archivelink configuration, attachment will be either stored in archive server or in SAP database table based on business requirement.
    Hope this will give you some understanding on archiving area.
    -Thanks,
    Ajay

  • Filename is not attached with archivelink process

    Hello Experts,
    I installed a SAP Content Server with Max DB and I did the different customizing :
    - creation of  repository
    - creation of documents type
    - link of objects etc..
    Today I can attach documents (CRM opportunities) without problem BUT I have two problems :
    1) IN UI : When I want to attach document, I have to choose in "advance tab" an archivelink repository. By default if I do not this step the attached document will be store in database! Is it possible to do customizing to avoid this manual step (for storing in sap content server)?
    2) As I said, we can attach documents without problem in sap content server and I can read it BUT the name of the document is the extension! So if I attach 3 documents, I will find 3 documents with WORD name! Could you please help me to find a solution to resolve this big issue?
    Thanks a lot for your help
    Regards
    Hocine NAÏ

    For your first query
    1) IN UI : When I want to attach document, I have to choose in "advance tab" an archivelink repository. By default if I do not this step the attached document will be store in database! Is it possible to do customizing to avoid this manual step (for storing in sap content server)?
    You may default the storage category via either of the following approaches:
    - Implement SAP Note 664102 or
    - Via customizing. Go to SPRO > Cross-Application Components > DMS > General Data > Define Profile. Create a profile and based on your scenario,assign it either to a user or to a role. Under Determine definitions for applications you can define a storage-category to a particular workstation application.
    Regards,
    Pradeepkumar Haragoldavar

  • ArchiveLink attach note to document.

    Hello Experts-
    I am trying to attach a component of the type 'note' to an ArchiveLink document. I have an image of the document class 'TIF' stored on a repository configured with HTTP CS 4.5 protocol. I need to be be to insert a new note to this ArchiveLink document from within my ABAP program. I need to be able to do this without using the 'HTTP POST' FM.
    I found two FMs 'ARCHIVOBJECT_CREATE_TABLE' and 'ARCHIVOBJECT_APPEND'. Are these the correct FMs for this purpose? Do you have a code snippet that shows what parameters do these FMs require?
    Thank you,
    - Vik.

    In SharePoint Document Library, first the document will be uploaded and then the metadata will be updated. So, in your workflow settings, select start workflow when item is changed instead of item is created and then try. 

  • Early Archivelink for vendor invoices

    Dear All,
    I want to use Early Archivelink for vendor invoices scenario.
    I am attaching the scanned document through OAWD by Storing by subsequent entry and i am able to see the work flow item in my in box but i am not able to execute the transaction from here(MIR7).I am using business object BUS2081,method create and task TS30001128.
    Please advice how to execute the work flow item from my in box and create the invoice document.
    Regards,
    Muzamil

    Hi,
    After maintaining the TS 30001128 as a general task i am able to execute the transaction from my inbox.
    Regards,
    Muzamil

  • Attachment not shown in Work Order

    Hi, Using Oracle Document ID ID 882952.1, we have configured oracle Functionality to attach Manual / documents in EAM Work Order, but followed all steps as mentioned Oracle Document but attachments are not showing in Work Order when we try view that specific attachment from Maintenance Super User.
    Regards
    Umair

    Thanks for answering.
    Well, we have same archivelink customizing in another systemo for MIRO transaction and it works fine.
    There's a development, of course. There's a job that executes a program and attaches the pdf from a server, etc.
    So we can attach pdf files when entering an invoice. Guess there's a missing step, but don't know exactly which.
    Maybe basis people blocked something, but we don't have a clue.
    Regards,
    J

  • Dispute Case attachments: CMS, DMS, RMS, ArchiveLink... Confused!

    Hi,
    We're starting to implement SAP Collections & Dispute Mgmt. One of the things that excited our business users on the SAP solution was the ability to attach unlimited (word, pdf, jpg, email, etc) files directly to the Dispute case. However, we have a large volume of disputes and estimate to wish to attach an annual total of ~500,000 files, ~200Gb directly to Dispute cases.
    But I'm confused as to the options we have in doing this and the potential pros/cons related to those options. From the documentation I have found, I see references to SAP DMS (Document Management System), SAP CMS (Content Management System), SAP RMS (Records Management System), SAP ArchiveLink, and also SAP integration "3rd party DMS solutions" (whatever those are...)
    Is SAP CMS & SAP RMS the same thing?
    Has anyone implemented a 3rd party DMS solution? If so, what were the benefits of this over the SAP solutions?
    Has anyone else implemented Disputes with a large volume of attachements?
    Many thanks in advance for those of you with knowledge & experience in this area,
    JJ
    Edited by: James Parkes on Oct 18, 2011 4:13 AM

    Hi,
    DisP.Mgt uses RMS as base so when you link objects in UDM_DISPUTE then you already using RMS. Archivelink & CMS are connected to RMS so if you create an archivelink document in UDM_DISPUTE, you would be creating an archivelink document in ARL already.CMS is in the base for managing content. This is done for all RMS objects & would already be set up. What is means is that if you store say a archivelink documetn then meta data is stored in sap DB but content sits in content server. This content server can be SAP own or 3rd-party. Same goes for RMS objects like cases, records, editable documents.
    Best Regards,
    Pragya

  • Attachment List in Generic Object Services disabled

    I want to attach documents to a work centre (transaction CR02, business object BUS0011). This has been configured so that the document will reside in the content management server and will be accessed using Archivelink. I can successfully store the doc using trasnaction OAWD, and can then retrieve the doc using transaction OAOR. The links are correctly created in table TOA03.
    However, when I try and view the docs from the Generic object services button for transaction CR02 the "Attachment List" link is greyed out.
    I've just set this up for invoices (object BKPF) so can't understand why this hasn't worked for work centres. 
    I've implemented the interface IFARCH21 for BUS0011, and this hasn't resolved the issue.
    Any ideas?
    Thanks
    Richard

    Richard,
    Your using the wrong object, I don't have access to an SAP system right now, so I can't tell you what the correct object is, but when it's configured correctly in OAC3 it will not be grey out.  Best thing to do it see what the object the program is publishing.  This is what GOS is looking for.  IFARCH21 is not the answer, unless your using workflow

  • Services for Objects Attachement List Display Note not Viewable

    Hi Experts!
    Good day! I'm trying to display a note in FK03 (related to Services for Objects - Attachment List) and I only see white screen pop up window. No message and text information. When I tried to use another PC I can successfully view it.
    Is there's a plugin that I may need to install?
    Your help will be greatly appreciated.

    Hi Marty
    It is my understanding that the IXOS licensing is based on users retrieving of documents not necessarily the viewer so the licensing implications of having non-IXOS viewers accessing documents using the generic archivelink viewer is still likely to result in licensing implications if an audit is conducted at any stage.
    The transaction for specifying the viewer is the OAA3 and OAG4.
    Regards,
    Athol

  • Content Server - Print Attached PDF

    Dear experts,
    we have the following requirement -
    print (preferrably in batch mode) the attached PDF documents from DMS.
    The documents are located at the content server.
    To reduce the network load
    the documents should be accessed directly from the content server,
    because the Content Server is located in the same building,
    and the SAP system is located at the remote location.
    Could you please provide some hints how to fulfill this requirement?
    Is it possible to print PDF document directly from Content Server?
    Is it possible to do it in the batch mode?
    Thanks a lot for your responses,
    Andrey.

    hi,
    method-1, configuring Archivelink for printing doc from CS directly,
    see url
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/5e/566039b85f9443e10000000a114084/content.htm
    custamizing print lists,
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/5e/566039b85f9443e10000000a114084/frameset.htm,
    There are two methods for storing print lists.
    a.storage request is issued before the report program is executed.
    This storage variant enables you to integrate index information and hyperlinks into the print list.
    1.In the menu bar, choose System ->Services-> Reporting.
    2.Enter the name of the report program and choose .
    3. The selection screen for the report is displayed.
    In the menu bar, choose
    Program ->Execute and Print
    A dialog box is displayed.
    4.Enter the required data, then choose Attributes.
    A dialog box is displayed.
    5.Choose the Overview tab page, expand the Spool Control node, and double-click Storage Mode.
    A new window appears.
    if you set the flag Display this Field on Initial Screen, the window is displayed on the initial screen when you next call the function. This will avoid having to carry out step 5 in the future.
    6.Use the input help to choose Store Only or Print and Store.
    This opens an input template.
    7.Enter the ArchiveLink parameters and choose .
    A dialog box is displayed.
    Choose .
    The screen output of the report is displayed.
    The spool creates a main file and a description file, and sends the storage request to ArchiveLink.
    b) The storage request is issued after the report program is executed.
    This storage variant does not allow you to integrate hyperlinks and index information into the print list.
    1.In the menu bar, choose System ->Services-> Reporting.
    2.Enter the name of the report program and choose .
    The selection screen for the report is displayed.
    3.Choose .
    The screen output of the report is displayed.
    4.In the menu bar, choose System-> List ->Print.
    A dialog box is displayed.
    5.Continue as in variant a) from step four.
    benakaraja ES

Maybe you are looking for

  • How to open a zip file of photos on Mac Book Pro when it cannot find or fix alias

    I do a home photo editing business.  One of a my clients sent me a disc that she zipped to compress because there were a lot of pictures on it.  When I try to open it on my Mac Book Pro I keep getting an error message that it cannot find alias and wh

  • Table type with include structure

    Hi All, How to declare a table type with include structure i am declaraing it in the following way its giving epc check of obselete statement, could any one tell me how to declare a table type and internal table for the following code. DATA:BEGIN OF

  • Converting wmp to play on i devices\

    Several years ago when digital copies first became available with DVD 's I transferred them to my Windows PC, not thinking I would ever use iTunes.  Now that I have several Apple devices I want to use them on my iPad and iPhone.  I have read several

  • I keep getting Error 3252 while trying to download tv shows on my laptop. How can i fix this issue

    like the title says I keep getting Error 3252 while trying to download tv shows on my laptop from itunes what can i do to fix the issue seeing as i can download music with no issue just tv shows are having issue with error 3252

  • Replacing a image in progressbar.....

    Hi all, Is there any way by which i can have a image moving in a Progressbar(instead of rectangle moving) in case of indeterminate progress bar??? please help... -Soni