Business document attachment in AS02

Hi All,
We have a requirement from our customer to store business documents with the asset master data.
In AS02 Tcode, we have an option to store the business document. We have enabled this option to store the documents individually via Tcode AS02.
We used Tcodes OAC2 and OAC3 to enable the option.
We have mass asset change program created in our system,  we have to incorporate this
functionality in that program.
We used standard BAPI in the mass change program. We could modify the existing screen fields, however we want to know how we can attach the business/support document with each asset using mass upload program.
Appreciate your suggesstions.
Thanks,
Jayasudha

Hi,
please see if the following link is useful:
Attaching document in the Asset master data
regards Bernhard

Similar Messages

  • IW52 + Get link data  when stored via 'Store the business document'

    Hi,
    For  Notification change - IW52:
    FM BDS_GOS_CONNECTIONS_GET is used to get the information when attachment are stored via 'Create attachment' .
    CALL FUNCTION 'BDS_GOS_CONNECTIONS_GET'
        EXPORTING
          classname             =  'BUS2080'
          objkey                   =  The notification number
        TABLES
          gos_connections          = w_connections
    EXCEPTIONS
       NO_OBJECTS_FOUND         = 1
       INTERNAL_ERROR           = 2
       INTERNAL_GOS_ERROR       = 3
      OTHERS                   = 4.
    Can any one please let me know FM or Method that should be used to retrieve the link data when attachment are stored via 'Store the business document'.?
    Regards,
    Himanshu

    Hi,
    Try with FM ARCHIVOBJECT_GET_URI or ARCHIV_GET_CONNECTIONS. With this FM you get the business documents attached to an object. You have to fill the object type and the object id.
    Regards,
    Edited by: Jose Vaquero Polonio on Jan 5, 2011 10:42 AM

  • Business Object Services- Attachment vs store business document

    Hi,
    There are two ways to add attachments to a Purchase requisition.
    1. as a generic attachment- (System --> services for object --> create attachment )
    2. as a business document ( System --> services for object -->store business doucment)
    Looks like in both the options, attachments could be stored on HTTP Content server.
    What are pros and cons of storing an attachment as a business doc?
    What are additional functions possible with option 2?
    Thanks ,
    Vinay

    Hi,
    Attachments are stored in binary format.
    Advantage of  storing in SAP is speedy access, than compared to content server.
    Disadvantage some of the table space grows exponently.
    Some of the tables attachments get stored are SO*
    To get the link for the folder and attachments stored in SRGBTBREL
    Various type of attachments are ATTA NOTE URL MSG etc.
    For custom attachment options can be enabled using class CL_GOS_MANAGER
    aRs
    If useful pl. assign points
    Message was edited by:
            a®

  • IMP. ME21N Store Business Document maximum attachment size.

    Hi,
    Could you please let us know, while attaching documents in PO thorough the functionality ' Store Business Documents' what is the maximum permisible size of the file that can be attached.
    Also, is there any limit to the number of files that can be attached in a single PO.
    Early response would be appriciated.
    Regards,
    Sandipan

    hi
    this depends upon the file size specified in your Document management System (DMS) customization  setting.

  • Business Document Navigator...attaching a URL

    hi all....
      We have requirement wherein we have to attach a URL to an object through OAOR (Business Document Navigator).
      As per SAP documentation on link below
    http://help.sap.com/saphelp_nw04s/helpdata/en/cb/a48d384ba2a767e10000009b38f8cf/frameset.htm
      it says this is possible using document type WWW address. We didn't find any such document type in the list of standard document types and not in the configuration settings for document types through SPRO.
    Can any one elaborate on this, how can be add a URL to an object through BDN. On clicking on the URL the internet address should open in a browser.
    As of today we can attach word documents, powerpoint presentation, web page(html), but we are unable to attach a URL.
    Thanks & Regards,
    Abhishek Pradhan

    hi all....
      We have requirement wherein we have to attach a URL to an object through OAOR (Business Document Navigator).
      As per SAP documentation on link below
    http://help.sap.com/saphelp_nw04s/helpdata/en/cb/a48d384ba2a767e10000009b38f8cf/frameset.htm
      it says this is possible using document type WWW address. We didn't find any such document type in the list of standard document types and not in the configuration settings for document types through SPRO.
    Can any one elaborate on this, how can be add a URL to an object through BDN. On clicking on the URL the internet address should open in a browser.
    As of today we can attach word documents, powerpoint presentation, web page(html), but we are unable to attach a URL.
    Thanks & Regards,
    Abhishek Pradhan

  • Store Business Documents

    Does anyone have any experience with storing business documents in SAP while using a Mac?
    We have several users that are on Macs.  They are unable to attach files/documents to their SAP documents.  The screens they see are not the same as I would expect from the PC world.
    Sorry to be so vague.  But, I really don't know where to begin on this one.
    A user received the following error message:  Store business document Access via 'NULL' object reference not possible.
    Monique Stephens

    Hi,
    Absolutely it is not possible.
    The services for object is only visible, once the original object is created.
    Even if you check for normal F-02 entry also, it wont be visible during entry, but will be visible after posting if we go thru FB02 or FB03.
    Any attachment can be assigned through the services for object, is possible only after creation of the dependent / original data.
    So for AS02 and AS03, the dependent data has to be there in the DB, which has been created with AS01.
    Thanks,
    Srinu

  • How to find document attached to user and Company code?

    Hi all,
    Requirement: Select a list of Business documents ( Sales order/PO....) created or changed by <b>specific users</b> which belong to a <b>Specific Company code</b>.
    ie,To develop a report which lists the Documents created/updated/changed based on specified date and users.
    I think we can find from CDHDR & CDPOS  tables.  But i need to filter these documents or pick documents based on a Specific Company code.
    ie.,from the list of records obtained from CDHDR table....how to filter these documents based on Company code......
    valuable inputs needed.
    Thanks,
    Subba

    Hi
    Most of the application document Heade tables(VBAK,EKKO etc ) will have the field CRETAED by  like ERNAM. and all these tables will have BUKRS field also in them
    So compnay code wise User created documents list you will get.
    Only problem is the Changed/Modified list by user with related Company code.
    Anyhow you will get the User who changed the documents from CDPOS table.
    But for linkthem to Company code I feel You need the
    help of HR related Tables .
    with the UNAME which you get from CDPOS table go to PA0105 infotype and get the PERNR linked with that user.
    And get the attached BUKRS Company code from PA0001 infotype.
    Hope this will solve your problem.
    reward points if useful
    regards
    Anji

  • How can I get INSTID_B for the documents which are stored using Store Business Document functionality

    Dear experts,
    I had activated the functionality of Store Business document and successfully stored documents in external server.
    My client have a custom function module which is used to send emails.In that FM they used SO_DOCUMENT_READ_API1, SO_DOCUMENT_SEND_API1 function modules.They passed Instance Ident(SRGBTBREL->INSTID_B)(eg: FOL33000000000004EXT39000000000026) as export parameter to the FM 'SO_DOCUMENT_READ_API1' and get the attachment details and content.
    Here my problem is I do not have entries in the table SRGBTBREL for the documents which are stored using the Store Business Document functionality and without INSTID_B I am unable to use the FM 'SO_DOCUMENT_READ_API1' to get the document details and content. Please help me to find INSTID_B for documents which are stored using Store Business Document functionality or please let me know if there is any other way to use FM 'SO_DOCUMENT_READ_API1' for documents which are stored using Store Business Document.
    Thanks in advance.
    Regards,
    Kiran

    Hi Kiran,
    You can use the following method to get the information. For example if you want to get BO documents for a customer
    CALL METHOD cl_binary_relation=>read_links
       EXPORTING
         is_object           = ls_lpor
         it_relation_options = lt_relat
       IMPORTING
         et_links            = lt_links.
    then fill  ls_por-instid with a customer number (KUNNR), ls_por-typeid = 'KNA1' and ls_por-catid = 'BO'.
    Table  lt_relat should contain a line option  for each document type (for example 'I' 'EQ' 'NOTE', 'I' EQ 'ATTA', 'I' EQ 'URL', ...
    In table lt_links you will get your information.
    Maybe some other methods of class CL_BINARY_RELATION may also solve your issue.
    Regards,
    Klaus

  • DMS document attachment to Service Entry sheet

    Hi All,
    One requirement, need to attach DMS document with Service entry sheet (t-code ML81N), any possibilites with object linking as in standard there is no object linking (ESSR object) available.
    Thank You,
    Manoj

    hi,
    1. I think u could use services for objects is the best way to fulfil requirement.
    note: a. If u want to use ESSR as business document. u need to go for Archive linking and store document as business
                  document in Services for objects.
    2. If u going to use standard object linking from DMS for 'ESSR' object so for not exist.
        Note:reason is not required any DMS object linking here as i guess. Coz u will be creating Entry sheet agianst Purchase
                orders and vendors too.
                 IN PLM, u can maintain DIR in purchase order or u can maintain in vendor masters. any how u r filling WBS nor also in
                 basic data sheeet of ML81N.
                 So datacan be easily tracable due to all are interconnected each other.
    3. If u want to use ESSR as object link from DMS u need go for development. but this is not required as i guess.
    Benakaraj
    ??P

  • Services for Object - Store Business Documents (issue with XLSX files)

    Hi,
    We are using the Services for Object > Store Business Document to be able to drag and drop files into (for example) Sales Inquiry, Sales Order, Sales Quotations etc.
    Within OAC2 we have set up the global document types and these have been linked to the relevant Object Types and Content Repositories in OAC3.  We have also set up the Content Repository as Document Area 'ARCHLINK'.
    The ArhciveLink Basic Settings in OAG1 have the 'Always Copy Document Class from Document Type' set under Storage Settings.
    The issue we are having is with XLSX document types.  When we drag and drop the XLSX documen type using the Store Business Document the file is stored against the Sales Order but when you come to view the attachments MS Excel opens but an error message appears saying 'Excel cannot open the file '******' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'?
    We have reviewed SAP notes 1925897, 1739026 and 1145885 however non appear to give me a clear answer as to why this is happening?
    I have found that if we unselect the option 'Always Copy Document Class from Document Type' in OAG1 then we can open the XLSX files.
    As we have a significant amount of documents attached to various objects, what would be the implications of making this change agianst existing records and new records?
    Any advice on this issue would be greatly appreciated.
    Gary B

    Hi David,
    No joy I'm afraid!!
    I added entry 'xlslx' with the relevant MIME Type, Application and Description into table TOADD for the ArchiveLink settings and also this entry was already in tables SDOKMIME and SDOKFEXT for KPro.
    I then following the process via the Services for Object within VA12 (Change Inquiry) to then Create > Store Business document > Select the relevant Document Type > Drag and Drop the XLSX file into the empty box.
    I then saved the record and tried to view the attachement but I am still getting the same message  'Excel cannot open the file '******' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file'?
    Our client is on componet SAP_BASIS release 701 Support Level 0014 and Support Package SAPKB70114 and I can see that note 1237688 is for SAPKB70112?
    Regards
    Gary

  • New DMS document attachment to order header - can it also be done to a task list?

    With business function LOG_EAM_CI_6, you can now attach DMS documents to the order header or operation level in the 'Additional Data' tab.
    Since a lot of clients use documents to list complex preventive maintenance instructions, is it also possible to attach a DMS document to a task list header (or operation) and have it show up in the new 'Additional Data' screen area of the resulting order (using a maintenance item/plan to generate the order)?  Or do we still have to use the task list operation PRT functionality and have it show up in the order's operation PRT?

    Hi Arthur,
    I have configured Task list as per the SAP note 1821916  & activated DOC_TL_GUI. This allowed me to attach documents to the Operation &/or Header of the Task Lists. The problem I am facing is when I assign the task list to the work order the documents are not transferred . You have stated that they have transferred to the work order so I am wondering if there is something I missed.
    Arthur Balajthy wrote:
    And I checked that by adding documents to a task list header or operation, the work order generated from a maintenance plan/item referencing that task list does have those documents attached also.
    I haven't tried from a Plan but will do that now.
    I assumed if they were attached to the Task List Operation they would transfer to the Work Order like everything else on the Task List
    Thanks in advance

  • RFC/FM to store Business document in Purchase Order from external system

    Hi All,
    I have been going through various threads for suitable solution, but could not find one which can meet our requirements. Appreciate, if you could share your expertise for the following requirement.
    Requirement: One of our external system is going to create/change Purchase Orders in SAP using  standard BAPI's (BAPI_PO_CREATE1,BAPI_PO_CHANGE etc.,). During this process, they would like to attach supporting documents (.pdf, .jpeg, .xls etc) as 'store business document' for the same PO. As per our current configuration, we can attach the documents as dialog user from ME22N/ME23N transaction and attached documents are stored in our IXOS/ Archive server.
    Is there any standard BAPI/FM (RFC) available to achieve above requirement?. And what are the parameters we need to pass in the FM to attach or delete documents.
    System Details: SAP ERP ECC6 & Netweaver 7.0
    Kind Regards
    Kumar
    Edited by: Kumar Guntha on Sep 4, 2009 7:15 AM
    Edited by: Kumar Guntha on Sep 4, 2009 7:17 AM

    Hi Friends
    Any sugestions?
    Regards
    Kumar

  • Using GOS to store business document on the content server

    Hello All,
    BACKGROUND
    We use content server to store business documents via ArchiveLink.  The process to store a business document is via Generic Object Services menu path "Create -> Store business document". 
    ISSUE
    When document is stored in such a way, the actual name of the document is not displayed in the "Attachment list" of the GOS menu nor is it stored on the content server.  What we see instead in the "Attachment list" is a description of the Archive object (TOASP-objecttext) for all documents that we store. 
    NEED HELP
    We need to have a document's name (i.e. name of the uploaded file) displayed in the "Attachment list" of GOS.  We also need to be able to retrieve this file name programmatically via a function call or a class method. 
    Any help is greatly appreciated.
    Gene.

    1. In GOS attachment list i can able to see the attachment name (without extension) may be you need to check your layout using change layout (its may hidden)
    2. For getting attachment name programatically try this way
      i_object-typeid = 'BUS2012'.
      i_object-catid  = 'BO'.               
      i_object-instid = yatthdr-docno.       " Document Number
      refresh : i_brel, i_link.
    * Get Attachment List
      append 'ATTA' to i_brel.
      if not i_brel is initial.
        select *
          from srgbtbrel
          appending corresponding fields of table i_link
          for all entries in i_brel
          where
            instid_a eq i_object-instid and
            typeid_a eq i_object-typeid and
            catid_a  eq i_object-catid and
            reltype  eq i_brel-reltype.
      endif.
      wa_filter-send_info = ' '.
      wa_filter-no_content = 'X'.
      loop at i_link into ls_link.
        clear : wa_doc_data.
        wa_fol_cont-doc_id = ls_link-instid_b.
        call function 'SO_DOCUMENT_READ_API1'
          exporting
            document_id                = wa_fol_cont-doc_id
            filter                     = wa_filter
          importing
            object_header              = wa_obj_hdr    
            document_data              = wa_doc_data
          exceptions
            document_id_not_exist      = 1
            operation_no_authorization = 2
            others                     = 3.
    You can find the File Name in the WA_OBJ_HDR

  • DMS Document Attachment for Z Transactions

    Dear All,
    I have a Z transaction ( Module Pool ) , its getting used for some customer business process which is not mapped in sap. now my user requirement is that he wants to attach some documents ( diff types ) to that ztransaction like DMS functionality for normal business transactions.
    Please help me to achieve this..
    Regards
    Gee

    What do you mean by DMS type document attachment to the t-code powered by a Z-program? Can you elaborate on the requirement?
    What type of module pool is this? Are you trying to build a report using it?

  • GOS - Store business document - creator name

    Hi All,
    I am attaching archive documents to BUS2081 - Invoice.
    I am doing it thru FBD3 transaction.
    I am using Generic Object services toolbar to attch the document.
    When I attach thru Attachment button and display by clicking on the attachments list, it is showing Creator name as my ID.
    But If I attach thru Store Business document and display it thru  attachment list, Creator name is blank. But client want to see the creator name also in the display.
    Any one has idea about this? I am not able to understand whether it is capturing my ID or not when I attach thru Store business document.
    Your help is much appreciated.
    Thanks,
    Bhavani

    Hi Seema,
    I had a look at this weblog. This is if I have to implement the functionality from Background.
    But I am attaching a document by using Storebusiness document link in the GOS toobar via frontend.
    This is late archiving.
    At this point of time if I display the attachments, it is not showing the creator name for the documents attached via the link "Store Business document" . But if I attach through "create attachment" it is displaying the creator name.
    I am wondering why it is not taking creator name, did I miss any configuration part?

Maybe you are looking for

  • Tips on avoiding hard coded paths and make a java app platform independent

    HI all, I would like to gather some tips on how to avoid hard coded file paths, which are plenty in the application I work on and which I inherited from previous programmers. Also, when deploying to the production server, my app goes from a Windows p

  • Music server

    Hi friends, I have two Mac - an Imac in one room, and a Mac Mini in another. My question is now, what should I do in order to consolidate the I- tunes library of both computers in one central location, e.g. a seperate harddrive ..I would like to be a

  • Color is cropping the image

    I'm grading a short now, and I've stumbled across a problem I've never seen before. Some of the footage is 720p while most of it is 1080p. No problem, I've done that before. In one particular clip, I can see the whole image in the Geometry room, but

  • Oracle Transparent Gaeway Query

    Hello Experts, I am looking for a help here for the Oracle Transparent Gateway : My objective is : I have an EBPP application running on Jboss with SQL Server 2005. Here are the details: JDK 1.4 JBoss 3.2.5 SQL Server 2005 I would like to migrate it

  • HT1414 My new ipad mini does not allow me to switch between modes in the built-camera app. It is stuck on video mode. Can anyone advise?

    My new ipad mini will not let me switch between modes when using the built in camera app. It is stuck on Video mode. I am unable to take photos, although I could when I first used it. Could this be a fault with the pad or with the new 7.0.4 update? C