DMS: Relocation of storage category/documents to another content server

Our DMS content server was implemented with a 3-tier environment (dev-test-production).  There are several SAP instances storing documents to a shared storage category in the global DMS server.
I found recently that one of the production instances on 4.6C was inadvertently configured to store documents on the DMS development server in this same storage category name.
I have found programs to relocate documents from one storage category to another, which could be used if I configured a new storage category pointing to the production content server.  However, for business reasons the name of the storage category should not be changed.
Note 445057 and document "Operational Guide - SAP Content Server" provide information on relocation of documents using programs RSCMSEX (export) and RSCSMIM (import).  I would like to use these reports to export the documents stored incorrectly on the development server, change the configuration of the content server to the production server address, and import the documents back into the existing storage category.
The documentation does not state whether RSCMSIM will add the imported documents to existing content or will delete all other documents.  I would like to insure that I will not lose existing documents in the production server.
I would appreciate advice or feedback from anyone familiar with these programs or relocating documents in DMS.
Thank you,
Kathie

Hi Aby,
if setting up a profile does not help, another proposal would be to use the BADI DOCUMENT_STORAGE01 with method BEFORE_LIST_STORAGECAT. Because here you will be able to influence which storage categories are displayed at "Check in to Kpro and Selecting the storage category". If only one category is handed back by the BADI method the pop-up should be avoided and the selected category should be choosen.
Maybe this could be a solution.
Best regards,
Christoph

Similar Messages

  • How PLM Document save on content server

    Hi All,
    Please tell me the concept about given below scenario:
    Normally PLM documents are either saved in the Content Server or in the database.
    What if we have neither configured a database nor a content server. Where are they being stored then.
    what exactly Document serever , how the PLM document save on Content Server or in data base server.
    Thanks
    Narendra Vikram Vishwakarma

    Hi Vishwa,
             It depends on the storage area that you have maintained in the sap system for the documents. The customisation in the sap system is visible at IMG-->Cross Application Components -->Document Management --> General Data --> Settings for storage system. The storage area that you configure here will be linked to the DIR creation process.
    The SAP DMS is a file directory in the SAP server and a content server is a seperate Sap certified server usually maintained for handling files. However these topics are much more broader and you can have an overview by checking the following link www.verbellacmg.com/ulm211_v2.ppt
    Sojan

  • Error on update of document stored in content server

    Error on update of document stored in content server
    On a regular basis (but not reproducible) we find that after updating a document, it is deleted from content server (or at least it cannot be retrieved).  These problems have only been experienced since we switched to using content server as our storage repository, as opposed to R/3.
    We create and maintain documents through a bespoke transaction, which calls standard SAP functions BDS_BUSINESSDOCUMENT_CREA_TAB and cl_bds_document_set=>update_with_table.
    Whilst the errored documents are listed in the BDS via transaction OAOR (business document navigator), an error is received when you try to display it (in our case an MS-Word error indicating file/pathname invalid). 
    We are satisfied that file/pathname are valid and find that this occurs occasionally when a document has been updated.  It appears that the document has been deleted. 
    This bespoke transaction has been running successfully for almost two years, and these problems have only been experienced after switching to content server as a storage repository (as opposed to R3 previously).  Has anyone else experienced these problems? 
    We are running :
    R/3 Enterprise 620,
    SAP HTTP Content Server Version 6.30 Patch 13
    SAPDB version 7.3.0.54

    Hi Sonny,
    To check the connectivity between your content server and Workstation and SAP Server.
    Pls goto the command prompt of your workstation
    give the command like this example.
    C:\>Ping 117.123.45.201
    you will get the reply from the server. here 117.123.45.201 is your content server IP.
    If you are getting the reply then it means that your contentserver and workstation are connected propely.
    Like that pls check the connectivity between your systems.
    Pls check the hosts file of your systems also.
    If the hosts file entry is not maintained, you can check-out file from content server but you cannot check-in the original.
    Pls let me know what kind of error Message you are getting?
    From where you are trying to check-in the Original? From the DIR screen or from CAD Desktop screen?
    Regards,
    MRK
    (reward points if useful)

  • Redirecting documents to seperate Content Server

    Hi all,
    We have set up a seperate content server to store attachments to business activity documents. Currently our systen is set up to save the documents to the content server in the CRM box's web AS. How can I redirect the documents to the new server. How can I verify the documents are being saved to it. I have completed all the installation steps in the "Content Server for Win 6.30 Installation guide". I am using CRM 3.0

    Hello,
    Table SOFFCONT1 attachments are stored that are recorded in the database logic of sap. That is if the id of the document not find it in this table means that you are storing away in a content server.
    I've gotten crm attachments the content stored on a server.
    The first thing I have done is create a content server-class CRM. OAC0 in, then I created the category AOCT taking the content. CSADMIN and I found that the content is running.
    In transaction SKPR08 BDS_POC1 class I have assigned to the Z-server content that I created. and in all kinds of CRM type I have assigned the new Z category I created.
    After the transaction SBDSV2 I created a new record with BUS1006 in this case because it was a contact in CRM and I have given the document class Z BDS_ATTACH the category of content.
    The object (BUS) is obtained by a trace of the transaction and SWELS - SWEL (with some modification from the transaction in which I attach the document).
    In SBDSV1 I've got to bus1006 BDS_LOC1 class.
    And with that I have solved the problem.
    Edited by: chuso100 on Apr 28, 2010 1:28 PM
    Edited by: chuso100 on Apr 28, 2010 1:29 PM

  • Recover deleted document from Oracle content server

    Hi All,
    I've deleted some of documents from oracle content server mistakenly. I am using oracle ucm11g.
    I found that we have a feature called "Trash bin". Trash-bin used for recover the deleted document/folder but unluckily settings for "Trash Bin" is disabled in my UCM folder configuration.
    Is there any other way to recover?
    Please kindly help me on this. It's an urgent production issue, please.
    Thanks for your great support in advance.

    Is there any other way to recover?
    Try to take a look at Repository Manager admin application: http://docs.oracle.com/cd/E21764_01/doc.1111/e10978/c03_repository.htm#DAFCGDIE
    If you still can see your items there, you could recover the status.
    If not, I'm afraid your documents are gone from UCM. In that case, you might recover them from a back-up. There is also a chance that documents are still present in the Vault directory, so rather than 'recover', you might 're-submit' them.

  • DMS- Profile - Assigning Storage Category to Users

    Hi All
    I want the storage categories of the Content Servers to be mapped to User Profiles, so that while checking in the step "Check in to Kpro and Selecting the storage category" can be avoided.
    I tried with the "Define Profile" node in spro, in that we have to select each Work station application and map the storage category. I read in one thread that using * in place of work station application selects all, but it isnt wrking..
    Has anyone tried any method for this??.. I want all workstaion applications to be mapped to one storage category for a user - in a single step, not by adding all workstation applications....
    Regards
    Aby

    Hi Aby,
    if setting up a profile does not help, another proposal would be to use the BADI DOCUMENT_STORAGE01 with method BEFORE_LIST_STORAGECAT. Because here you will be able to influence which storage categories are displayed at "Check in to Kpro and Selecting the storage category". If only one category is handed back by the BADI method the pop-up should be avoided and the selected category should be choosen.
    Maybe this could be a solution.
    Best regards,
    Christoph

  • Open/edit documents on SAP Content Server from BW?

    Hi guys
    I have been asked to investigate whether this scenario is possible.
    Today we have a SAP Content Server where we save attachments to different kinds of objects. An example could be that we open appropriation request 'S-00123' from IMA11 and attach two different MS Word documents.
    In BW I have created several reports that contain these appropriation requests and we would like to be able to attach/edit the files on the content server from the BW report.
    Is this somehow possible using RRI or some other functionality?
    Might it even be possible by using GoTo --> Documents with the appropriate setup?
    BR
    Stefan

    Hello Friends,
    Any luck??
    Thank you,
    Nikee

  • How to restrict read access to certain document in stellent content server

    Hi,
    We are using stellent content server to store project documents. We would like to restrict access to certain confidential documents.
    Users with Read / Write permission should not be able to access but admins with RWDA permission should be able to access these confidential documents.
    Appreciate your inputs on this.
    Thanks,
    Nayana

    Without seeing your setup and environment its a bit hard..
    But...
    Make sure that user has read only access to public security group.
    You could setup an addition role with readOnly access and apply it those users.
    Or restrict there account to have Read only access.
    Remember if the user has Admin access on the Account but only readonly access on the security group then they will only have read only access on the files and visa versa.. :)
    J.
    Message was edited by:
    JRS

  • 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

  • Upload / Download document to KM Content Server from WebDynpro Application

    I have a requirement where I need to upload / download document into / from KM Content Server from my WebDynpro Application.
    Is it technically possible and if Yes, can I get any Sample code for this.

    Hi Tahzeeb,
    first of all i would point you to the JavaDocs for KMC API.
    https://media.sdn.sap.com/javadocs/NW04/SPS15/km/index.html
    And here is a small example of reading and storing KM resources.
    For reading:
         * Returns a resource as an InputStream from the KM repository
         * at the given path. The IUser is needed for authorization.
         * @param user      IUser for checking authorisation.
         * @param resPath   Path to the KM resource.
         * @return          Requested resource as a stream.
        private InputStream getKmResource(final IUser user, final String resPath)
            throws ResourceAccessException {
            try {
                final IResourceFactory factory = ResourceFactory.getInstance();
                final RID rid = RID.getRID(resPath);
                final IResource kmResource =
                    factory.getResource(
                        rid,
                        new ResourceContext(getDeprecatedIUser(user)));
                if (kmResource == null) {
                    throw new ResourceNotFoundException(
                        "KM resource not found: " + resPath,
                        resPath);
                return kmResource.getContent().getInputStream();
            catch (WcmException e) {
                throw new ResourceAccessException("Error accessing KM resource: " + resPath, e, resPath);
    And for writing:
         * Stores a resource in the KM repository at the given path with the given name and mimetype.
         * Content is taken from the given inputstream.
         * @param user          IUser for checking authorisation.
         * @param resName   Name of the resource
         * @param resPath     Path to the resource
         * @param mimeType MimeType of the resource
         * @param inputStream  Resource content
         * @throws ResourceAccessException
        private void putKmResource(
            final IUser user,
            final String resName,
            final String resPath,
            final String mimeType,
            final InputStream inputStream)
            throws ResourceAccessException {
            try {
                final ResourceContext rContext = new ResourceContext(getDeprecatedIUser(user));
                final RID rid = RID.getRID(resPath);
                final ICollection kmCollection =
                    (ICollection) ResourceFactory.getInstance().getResource(rid, rContext);
                if (kmCollection == null) {
                    throw new ResourceNotFoundException(
                        "KM resource not found: " + resPath,
                        resPath);
                else {
                    IContent kmContent = new Content(inputStream, mimeType, -1);
                    IResource kmResource = kmCollection.createResource(resName, null, kmContent);
            catch (ResourceException e) {
                throw new ResourceAccessException("Error accessing KM resource: " + resPath, e, resPath);
            finally {
                try {
                    inputStream.close();
                catch (IOException e1) {
                    throw new ResourceAccessException("Error closing InputStream when accessing " + resPath, e1, resPath);
    Hope that helps for a start.
    Best regards,
      ok

  • Wrong document URL for content server

    Hi,
    In my code I'm getting the url of an image by using the function:
    CALL FUNCTION 'CVAPI_DOC_VIEW'
       EXPORTING
         PF_DOKAR               = it_objectlinks-documenttype
         PF_DOKNR               = it_objectlinks-documentnumber
         PF_DOKVR               = it_objectlinks-documentversion
         PF_DOKTL               = it_objectlinks-documentpart
        PF_HOSTNAME            = 'DEFAULT'
        PF_APPL_START          = ' '
        PF_GET_URL             = 'X'
    IMPORTING
        PFX_URL                = lv_url
    EXCEPTIONS
        ERROR                  = 1
        NOT_FOUND              = 2
        NO_AUTH                = 3
        NO_ORIGINAL            = 4
        OTHERS                 = 5.
    On Development side I'm getting the correct url.
    http://sapdcs.brussel.be.x.com:1090/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=ZD&docId=53655548314D14C0E10080000A0A0748&compId=productx.jpg
    On Quality side I'm getting the wrong url.
    http://sapdcs.brussel.be.x.com:1090/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=ZQ&docId=4F7F37E4333C02F2E10080000A0A07D6&compId=productx.jpg
    The contRep and compId are correct. I'm not able to check the docId.
    Is this a possible problem or do I call the wrong content server or is this server wrong configured, no idea!
    Any help?
    Regards

    DEVELOPMENT (WORKING)
    QUALITY (NOT WORKING)

  • Storing Documents on SAP Content Server

    Dear Support,
    We are configured the ERP 2005 server to store the attachments onto the SAP Content Server.
    Unfortunately,the attachments are not storing on the content server . don't know where they were storing.
    We have configure the system using the OAC0 and OAC2, and OAC3 to use the "S1"  repository. The repository conected to the SAP Content Server over HTTP connection and the connection test is successful.
    We have also, configured and exchanged the tickets with SAP Content server and the SAP ERP 2005 system.
    Kindly let us know the issue...
    Thank you,
    Nikee

    Hello Friends,
    Any luck??
    Thank you,
    Nikee

  • Linking Custom Storage Category to STandard Document Types

    We have created Custom Storage Category ZSRM pointing to Content server.
    We would like to link it with SRM document type defined in ECC in DMS.
    Really appreciate if you can direct us where we can link the above two.
    Additionally would be great to know , why for SRM DMS we have to set it up in ECC and why it is not available in SRM server.
    Thanks In Advance.

    Hi Sotage Catogories are defined and maintained in t-code OAC0 and OACT. Here you need to define certain parameter like area as document management then only these repositories are getting assigned to DMS.
    Understood , so dms is having it's own classification (017) area without which we can not store dms document into any other servers or repositories. If you want to store in other module repositories, then you need to define this repository first in DMS.
    I hope this will resolve the query.
    Regards,
    Ravindra

  • Moving documents stored in NW04 internal DMS to external content server ...

    Hi all !
    is it possible to move documents, stored in NW04s databse (DMS) to an external content server;
    we want to swap all documents to an content server;
    thanks
    oliver

    Hi,
    We have to do the following post install activities to connect to Content server from DMS.
    On SAP Systems (ECC) using CSADMIN t-code we have done the following post installation steps to check whether  Content Server is reachable from SAP system.
    When use hit CSADMIN option on the screen
    Here we need to uncheck the Check Signature check box as we are not using certificates.
    Here we need to give HTTP server (Content Server ) info like host name and the port number service is(1090) running.
    2.  Using OAC0 t-code create Repository on SAP system (ECC)
    Then from here Hit  CS ADMIN to create rep on Content Server.
    Thnaks,
    Tanuj

  • Netwearver WAS version 640 of the content server for PLM DMS

    Hi,
    We have SAP R/3 4.7 version & have implemented PLM-DMS with content server on WAS620.We are contemplating to use distributed content server for our requirement. Has anyone used multiple content servers? if so, could you please share your experiences.
    Also, if anyone has anyone upgraded the content server to version 640, i would like you to share your experiences with me.
    Thanks,
    Viji
    [email protected]

    Sap R/3 4.6C - CS630 (patch-lvl15)
    We do not use SapDB or MaxDB to store the document on the content server, we store the documents directly in the file system.
    Our Content servers run on win2003 servers.
    In my company we've currently got 15 different content servers in 10 countries.
    We've got one content server and one cache server at each location for one SAP system. One physical server has 2 content servers and 1 cache server. One for our SAP production system and one for our SAP Quality test system. They use the same cache server (first we created 2 cache servers, but it was not possible for SAP to destuingish between the two, so both cache servers got used by both SAP systems)
    We have also implemented a couple of add-ons:
    1. Conversion and viewserver (by Seal AG). conversion server converts office documents to pdf when documents are released. Currently use only 2 conversion servers, planning to increase when the volume gets larger.
    Viewserver adds stamps on pdf-files when you view or print a document.
    2. Document Distribution Manager (by CENIT AG). Makes it easy to schedule prefill of cache. Also possible to move documents from one storage category to another. And Rules for transfering documents from one site to another can be made (Ex. "not allowed to move files larger than 20 MB between <certain> sites")
    Perhaps I could be of assistance?
    BUT, anyway, the reason I post this is because I have problems upgrading my CS630 (lvl15) to CS640 (lvl6).
    Asked SAP via an OSS, and they said it was like a regular patching (stop webservice, copy *.dll files, and restart webservice). But when I try this, I can't get contact with the content server via CSADMIN in SAP. I get "HTTP error: 500 Internal Server Error"

Maybe you are looking for