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

Similar Messages

  • Services for Object/store Business documents in AS01

    HI
    We have a requirement to enable the services for object to attach documents to Asset master. We have made configuration in Trx OAC2,OAC3 for object type BUS1022. The ICON is appearing for AS02 & AS03 but not for AS01. We are 6.0 version
    How can I aactivate that for AS01. Is it SAP standard or can we activate?
    Please provide me the solution.
    Thanks
    Sailaja Ala

    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

  • 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®

  • Services for Object - Create external document (url) 132 characters limit

    Hello,
    I have this requirement:
    Maintenance people would like to relate a document on our portal on a work order to be able to print it with the work order.
    My suggestion was to use Services for Object in the Order -> Create external document (url).
    But the adress field cannot contain more than 132 characters.
    I have URL longer than 132 chars:
    eg: http://server.domain:port/irj/go/km/docs/documents/AAI/Gestion%20documentaire/Public/Entretien/Instructions%20de%20travail/EU-IT-01-02.pdf
    What do you suggest me?
    Thanks,
    François

    Thank you Pete but we are release 700 and this note applies to release 620 and older. I will try to find another note or another way.
    In the meantime we use the short-ID of SAP Portal Documents which are long to retrieve but always under 132 char.
    François

  • Generic Object services : Store business Document in VA03

    Hello Everybody,
    I  want to store business document in VA03, using SAP archive link.
    To get service object toolbox I had been added SD_SWU_ACTIVE = X for my user.
    Now the Toolbox appears, but the Store Business Document function is not activated.
    Could you explain to me, how to activate this functionnality for this document type (BUS2032) ?
    Regards.

    Hi Kenneth,
    For the Store Business Document option appear at GOS buttom:
    1) Check that in the OAC3 entry with Bussines Object are 'X' at field 'S' (Status)
    2) The Bussines Object are generates on SWO1 transaction.
    Can you upload any document to the repository to slant OAAD transaction??
    Best Regards

  • Content server for Document attachment through "services for object" Icon.

    Guys,
    I have typical problem in installation of Content server for storing external documents.
    We all know that we can attach the document in SAP using the icon “SERVICES FOR OBJECT”. By this we can attach the document to the specific object we want.
    -Since my client wants only document attachment method not to completely implement SAP DMS, I proposed this method of attaching documents through services for object method.
    -If documents are stored though services for object ,The attached document will directly get stored in sap database(correct me if I am wrong) while  in  DMS it ask you to select the storage location while u check in for any document
    -By storing the doc thru "services for object " For long run when we store the documents in sap database our system will drastically get slow down.
    -In this regard I have a plan to incorporate external storage server.
    -Now I should know that how I should customize content server configuration so that the attachment through services for object will store into this content server I need to know how to define Client, Content Category, Content Repository, Document Area, Physical Machine, IP Address, Port. (OACT & OAC0)
    I appreciate for immediate solution and <u><b>Points will be rewarded for sure.</b></u>
    Regards,
    Murali.S

    Hi Murali,
    Don't Worry, its possible,
    All attachments can be stored in SAP Content Server also, but through archiving process.
    Set up a database storage system.
    Preparation
    Make sure that the HTTP plugin is active.
    Transaction <b>SMICM,</b> "Display Services" function key (shift F1)). The list of services must contain a port other than 0 for HTTP.If not, you must adjust the relevant profile parameter.
    <u>Typical entry:</u>
    icm/server_port_0         PROT=HTTP, PORT=1080, TIMEOUT=900
    <b>Make sure that the /sap/bc/contentserver service is active.</b>
    If no user is defined, then use transaction SU01 to create a new user. Use the "System" user type.Assign
    the SAP_ALL and SAP_NEW profiles to the user. (Eg: HRUSER/PLMUSER/PPUSER etc)
    Transaction <b>SICF,</b> select: default_host - sap - bc -contentserver. Select the function to display/change the service. Make sure that a user is defined.
    Using the relevant data from the newly created user, maintain the anonymous logon data for the
    /default_host/sap/bc/ service and save & activate the changes in transaction <b>SICF</b>.  Double click on content server and give the user name which has been created (HRUSER/PLMUSER/PPUSER/MMUSER etc)
    Check the system PSE.
    Start transaction <b>STRUST</b>. Expand the system PSE. The system PSE must be "green" for each application
    server.
    Determine a suitable exchange directory.
    The exchange directory must be accessible from each application server. If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application server (for example,
    server\share) is sufficient. You can generally use the global directory
    (profile parameter DIR_GLOBAL).You can use the RSPARAM report to determine the profile parameters.
    Setting up the storage
    Create a table for storing the data. Using transaction <b>SE11</b>, create a copy of the SDOKCONT1
    table. If you want to create the repository database, you can name the table ZCONT_DB, for example. Save the
    table as a local object. Activate the table.
    Create a repository.
    Use transaction <b>OAC0</b> to create a new repository.
    Use the following parameters:
    Repository Max. two characters, for example,” Z1”
    DocArea: ARCHLINK
    Storage type: R/3 database
    Storage subtype: normal
    Version no. : 0046 
    Contents table <table name> for example: ZCONT_DB
    Exchange directory <directory name> for example:
    server\share\
    Make sure that the exchange list ends with a \ (or /on Unix).If you are using a variety of platforms, you must use transaction FILE to define a suitable logical file name and use this name. Save the settings.
    1. Maintain view table <b>TOAAR_C</b>, via SM31
       Cross client table displayed as information, forget it
    2. In field 'StSytm' you must entered 'Z1' as your system need, or anything that you need but you must configure HR Archive link too.
    3. In field 'Arch.path' (direct above Spoolpath), entered path in your system, this real path in your operating system. May be you should confirm to your Basis consultant where exactly you could store picture files. So if you enter '/', your file exists at root directory at your UNIX system.
    4. Choose 'File store' radio button
    5. Save.
    First
    <b>1. You have to create a number range for SAP ArchiveLink.
        IMG: Basis Components-> Basis Services -> SAP ArchiveLink -> Basic Settings-> Maintain number ranges   
        (Trxn <b>OANR).</b> Create number range 01 from 0000000001 to 9999999999 without the external number flag. 
    2. Document type <b>HRICOLFOTO</b> must exist with document class JPG.
        IMG: Basis Components->Basis Services->SAP ArchiveLink->System Settings->Maintain document types
        (Table<b> TOAVE, Trxn OAC2).</b>
    3. Document type <b>HRICOLFOTO</b> must be linked to object type PREL and Infotype PA0002.
        IMG: Personnel Management->Personnel Administration->Tools->Optical archiving->Set up Optical Archiving
        in HR.  (View V_T585O, no Trxn). In the first two columns there are minuses, the third (Date) has
       a plus - don't put a flag in the check box.
    4. Check which content repository (Archive) is linked to document type HRICOLFOTO and object type  
        PREL. IMG: <b>Basis Components->Basis Services->SAP ArchiveLink->Basic Settings->Maintain Links (Table 
       TOAOM_C, Trxn).</b></b>
    Test
    • Test the repository.
    Use transaction SE38 to start the RSCMSTH0 report. Specify your repository (i.e. Z1) and start the test.
    The report must run without errors. If no problems occurred, you can use the new repository with Archive Link after you carry out the Archive Link Customizing. If problems do occur, check whether one of the related
    notes helps.
    For More Details :
    http://service.sap.com/archivelink.
    <u><b>
    NOTE:- Screen Shots are missing, i was not able to paste here, One more thing is we did this for uploading a PHOTOS into Content Server, Similarly you have to create a REPOSITORY and Z-TABLE to bring all the Attachments from all the selected Objects and then route them to the CONTENT REPOSITORY.</b></u>
    Your Senior ABAP guy would help you in this, if not i may try to help you more by monday.
    Regards
    Rehman
    <b>Reward Your Points if Satisfied.</b>

  • Store Business Document via SAP GUI for HTML

    We are trying to use SAP GUI for HTML via UWL in Portal to deliver Workflow. When we try to attach files for the "Store Business Document" step, it gives an informational message "Store business document Access via 'NULL' object reference not possible"  but the documents themselves never get attached. We are on ECC 6.0 and Portal 7.0. Any help is greatly appreciated.
    Thanks!
    - Rao

    I've found a working solution a minute ago: See SAP Note: 510007
    Best regards
    Danny

  • Need to create a Store Business document type for material master and store a sharepoint link

    Hello,
    I need to create a Store business document type for material master and store a URL link . How do I do that?( or is there any functionality to upload a document for a  store business document that it will automatically saves to sharepoint?)
    Thanks,
    Ran.

    >
    dhayes12 wrote:
    > A)  When I do the (Material Backflush) MFBF for the 04 type, the Inspection Lot gets created OK.  I then can go into QA32 and assign the correct Inspection Plat by clicking the Inspection Lot button.
    >
    > B)  When I do the MIGO via the Purchase Order (type Z01), it will not create the Lot if I have the Multiple Specs selected in the QM Material Master MM02.  If, I turn off the Multiple Specs in the QM Material Master and create a new PO and MIGO, it will create the Lot, however, it automatically assigns the lot to the wrong Inspection Plan (2nd Plan see above)  I need to be able to select the plan like I can with the 04 type.
    >
    > Is their some setting that can be changed in Config or somewhere that acts the same way as example A above?
    For case A, create insp plan with usage "1- production" If you have one IP with this usage for given material then system will assign Plan to lot automatically. In your case for second plan update usage as 1.
    For case B, system should assign 1st plan make sure for both plan udage is correct. for 1st plan usage should be 5 while 2nd plan usage should be 1. Now if your 1st have status 4 and key date before lot date then system will assign plan auto.
    Thanks!!!

  • ME51N services for object- How to collective list attachment by Requisition

    Hello!!
    When create ME51N or Change ME52N a puechase requisition, the users use the Service for Object to attach some word, excel, pictures files as attachements.
    There is away to see in a table or in a report what documents have an attachemnt and what not have it?

    Hi
    There is no standard report for attachment list. But for a particular document you can view attachment by selecting services for object and view attachement lists.
    Regards
    M P D Kamath

  • Services for Objects question

    How do I remove one WF type from displaying in the Services for Objects?
    Business need:
    For t-code FK03, I have several WFs based on LFA1.
    One WF has so many instances that the session hour glasses waiting to open.
    I need to filter out this one WF from displaying in S4O display. Thought I would ask before digging into all the code. Some config somewhere?
    Thanks
    Rick

    See if the following helps you...
    GOS - Start Workflow only if not already started
    The following is written in the above note..
    - GOS services can be customised in SGOSCUST, but this does not help in your case at all.
    - From how it works seems to me that the only way would be the modification of SAP standard (debug CL_GOS_MENU=>CREATE_MENU).
    - See the SGOSATTR table. WF_START is linked to CL_WF_SRV_START_WORKFLOW_EASY (=>EXECUTE). Doesn't seem to be difficult to put some checks there.
    There must be couple of BADI's related to GOS..
    Search for GOSselect and GOSpublish*..
    Regards,
    PR.

  • How can I find services for object for PM Notification

    Hi all
    How can I find services for object(attached files ) for PM Notification  ?
    I can see then,for examle ,using transaction Iw22 :System---->Services for object
      My requirement are : 1. open attached file of selected notification for display ( if exists one)
                                     2. If user wants to attach file as service of object
                                           what function exists for it ?
    Please your help

    Hi SD,
    I have checked in SUIM and SU24 also. But I didn't find.  Could you please tell me any other way to finding out the authorization objects.
    Thanks,
    bsv.

  • Iw32 service order - store business document disabled

    Hello,
       in transacion IW32 I select the object service toolbar - create. I would to select store business document but it is not enable. How can I enable it? Which is the right ObjectType to set?
    Thanks.

    Hello Frighetto Antonio,
    very pleased to have a reply from you. but i was looking for any standard SAP Object link to attach documents from DMS for IW31 OR IW32 Transaction ie.. create service order.
    i could not find any unfortunately, what is the alternative that you followed to do this,
    did you attached documents from the left hand icon   Service for Objects Tab, from where also we can attach documents for any transactions.
    Can you please tell me if any document is attached with the help of this Tab, is there any search option to find the files attached,
    is there a link between this attachments and the SAP DMS or archive link.
    thanks and regards
    Priya s

  • 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

  • Performance issue in Store Business Document functionality in ME52N

    Hi Guys,
    I have a problem in the Services for object in the transaction ME52N.
    In Services for object
    Create->Store Business document functionality when i try to drag&drop the PDF type file it is taking longer time.
    Please provide some input to improve the performance.
    Regards,
    Ramesh

    Hi Ramesh,
    Could you explain the architecture of your DMS and ERP landscape.
    How these servers are placed ?
    Regards,
    Deepak Kori

  • Retrieval of attachments with services for object in ME22n or ME23n

    Hello experts,
    I have a MM requirement where the user attaches some document in ME22n or ME23n via services for object functionality to a particular PO. Here the user wants to attach this document during sending of mail with ME9F to the vendor. First of all is it possible with the standard functionality of ME9F? or Requires some Zdevelopment. Anyone can guide me how to extract the attachment and send it with mail, does it require some configuration from functional side? I searched the forums but did not find the ways to extract.
    Thanks in advance
    Regards
    Raj (SAP ABAP)

    Hi Raj,
    Did you find a way to extract the attachment?

Maybe you are looking for

  • Basic feather does not carry to PDF in CS4

    Using InDesign CS4 6.0.5 on Mac OS X 10.4.11 A client supplied a file that has a single piece of art going across a 2-page spread. The art frame has "basic feather" applied to soften the edges. When we create a PDF of this spread, the feather shows u

  • File adapter "tunneling"

    Hi All, I am trying to use XI to receive a file via a sender file adapter and pass it on to another file system using a receiver file adapter. I do not want to do any mapping or transformations, just receive it and send it on. Is this possible ? Than

  • Infoobject level security in BI

    I need to restrict all BI developers and BI support folks on 0gl_account infoobject in BI, Is there a way to do this using S_RS_IOBJ? This is the only info object we need to apply restricitions. Please share your thoughts! Thanks, KK

  • OLAP vs OBIEE Cubes vs Data Warehouse Cubes

    Good afternoon, Could someone please tell me the difference between the cubes created using Oracle's Analytic Workspace Manager, the cubes created in OBIEE, and the ones created in Oracle Warehouse Builder? Do these all use Oracle's OLAP functionalit

  • Array elements keep returning to their initial value after being replaced

    Hello, This is my first post here, but this looks like a great place to discuss labview. I have a strange problem that probably has a simple answer. Basically, I have initialized an array outside of a "for loop" that contains a "flat sequence structu