Content Server - get content of document being checked in

Hi,
Is is possible to get the content of the document being checked-in via Java? Assuming I want to have a component which performs some action on the document being checked in, before this document is checked in. Is there some way to read the content of the document?

Hi Jiri,
Thanks again for pointing me in the right direction. From what I understand I just need to get the path to the document and then open it via Java. I believe sth like this does the trick:
String docPath = binder.get("primaryFile:path");
From my understanding there is this "vault" folder which holds the content server's files, revisions, temp files etc... Using the above code should work ok, but I understood that the CS can be told to save its files into some data base instead of the "vault" folder, in which case the above code won't be useful...
I assume in this case reading the document is done in some other way...
So, should I conclude that there is no general/abstract way of reading the document being checked-in which doesn't take into consideration the underlying structure which keeps the CS's files(vault or DB)?
Thanks,
V

Similar Messages

  • Setting content server for storing PPM documents

    Hi Folks,
    We have followed the steps outlined the PPM config doc for setting up the content server (pages 117). Summary of the steps are shown below. (We are on PPM5.0)
    Creating a Content Server Entry
    1. In Customizing for SAP NetWeaver under Application Server Basis Services
    Knowledge Provider Content Management Service Define Content
    Repositories , choose Content Repository Display/Change .
    2. Choose Content Repository Create .
    3. Enter a name and a description for the content server.
    4. Enter CFF in the Document Area field and HTTP in the Storage Type field.
    Creating a Storage Category for a Repository
    1. In Customizing for SAP NetWeaver under Application Server Basis Services
    Knowledge Provider Content Management Service Define Content Categories
    , choose New entries.
    2. Enter a name and description, and then enter CFF in the Document Area field.
    3. Enter the name of the newly-created content repository in the Content Repository
    field.
    Setting the new Content Server as the Default Storage Category
    1. Choose transaction DMWB.
    2. Choose model area CFF in the tree.
    3. Navigate to PHIO-classes, node CFF_VERSION_V.
    4. Change the standard attribute STORAGE_CATEGORY from CFFCONTENT to the
    category you have defined above.
    5. Repeat this for node CFF_ADD_FILES_V and for CFF_VERS in node
    CFF_VERSION_V.
    After doing the above steps I did the following tests.
    1. Tried to access documents stored at the portfolio item level before doing the above content server config. I was able to access the documents which leads me to believe that files are still getting stored in the DB.
    2. Checked the table CFF_CONT before and after storing a 1kb file and the number of entries increased by 2, which again leads me to believe the file is not stored in the content server.
    Appreciate any input on whether we have followed the correct steps and if there is a better way check if files are actually being stored in the content server.
    Thanks,
    Lashan
    Edited by: Lashan Wanigatunga on Apr 28, 2011 7:08 AM

    Hi Lashan,
    I didn't same steps as you explain in your first post but it isn't working.
    Why didn't it work for you when you posted your 1st post, and now is is working? Is there some installation or Add-on that we need you have? Is there any Basis system parameters that we need to put?
    thanks in advance,
    aupalaura

  • Checkin Document to Content Server through Content Repository

    Dear All,
    When I try to check in Document from ECC 5.0 to the content Server through repository(http storage) throwing error can't checkin.
    when I try to serch SMP notes most of the notes saying thats the progam error and for 6.40 we need to edit function madule.
    Please let me know if any one has got same error and let me know if any one has implemented this and how
    FYI: we are done with all rfc related issues like saphttp,saphttpa,sapftp and sapftpa etc..
    please advice me
    thanks
    Subrahmanyeswara

    Hi
    I have done all those
    FYI: with out repository & catageroy its not posible please read my post clearly
    When i try to add doc to the repository which is created for content server (catagery) then i am getting check in doc error

  • Using DMS Content server for Archiving HR documents

    Hi SAP Gurus,
    with the details gathered from the forum we could suggest the client to go for Archiving there Documents for storing there HR related Documents, like Resumes, salary hike litters, leaves etc....
    but as we do have DMS here and intending to get a Content server for DMS, can we use the same content server for archiving the HR documents also,
    or the other way round if we go a Big archiving server, can we store DMS documents there using it as Content Server,
    Thanks and Regards,
    Priya S

    Yes, you can use the content server. Just create an ArchiveLink Repository on the server and you can use it for HR.

  • Content Server 6.1: How to disable check-in/out opertation?

    Hello,
    We have developed a custom application that would process the content items through a workflow. Our business users are frustrated with the content items being accidentally locked out. They would edit a content item and would approve it to the next stage without checking in the content item. As such the items remains locked by them and the portal administrator has to manually unlock the item through content server explorer.
    Is there a way to disable the entire check-in/out operation? Or as alternative is there a way to automatically check-in the content item when the user approves the content item?
    Thanks
    Jignesh

    Hi Jignesh, I apologize, I thought I was on 6.1 but in fact I'm on 6.2:(
    I assume they are fairly similar though.
    The solution I was talking about is to go into your publisher explorer and set the folder security in such a way that the checkin/checkout buttons don't appear.
    I dont know which setting that is off the tob of my head but I believe its Submitter. They will only see one button called "Submit for Approval". So that could be for your workflow initiator. Then the remainder of your workflow people can have the same security option, except the final publisher who will need Editor permission to see the Publish button, which will also allow them to checkin.
    Let me know if that helps!

  • Save attachment on content server and create a document link

    Hi All
    I have the following requirement:
    1. We have an attachment
    2. We are creating a parked document number.
    3. We need to place the attachment on the Content Server
    4. We need to create a link b/w the parked document number and the attachment which is available on the CS.
    Could anybody please let me know how to place the attachment on the Content Server & how to establish the link b/w the parked document number and the attachment which is available on the CS?
    Your help is most appreciated.
    Thank you
    Sen

    We're changing the logic.
    Thank you.

  • When Importing XML table using "merge content" I get content but none of the formatting

    I'm just wondering, is this by design?
    I generated this by exporting a table.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Root>
    <Story>
    <Table tblName="tsBasicTable" xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/" aid5:tablestyle="tsBasicBody" aid:table="table" aid:trows="7" aid:tcols="9">
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="24.0"/>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="2">Alcohol</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="2">Tobacco</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="2">Marijuana</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="2">Prescription drugs</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="24.0">Grade</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">Town 2013</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">State 2013</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">Town 2013</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">State 2013</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">Town 2013</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">State 2013</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">Town 2013</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">State 2013</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="24.0">6</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">9.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">10.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">4.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">2.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">9.6</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">7.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">8.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">11.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="24.0">8</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">12.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">15.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">15.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">12.8</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">13.6</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">15.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">4.8</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">10.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="24.0">10</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">9.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">17.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">46.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">44.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">5.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">2.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">38.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">50.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="24.0">12</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">12.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">19.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">14.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">14.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">16.8</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">32.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">19.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">22.8</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="24.0">All</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">10.5</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">15.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">20.0</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">18.4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">11.3</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">14.2</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">17.6</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="64.0">23.7</Cell>
    </Table>
    </Story>
    </Root>
    Say I take that XML, change all instances of aid:ccolwidth="24.0" to aid:ccolwidth="26.0" and replace
    <Cell aid:table="cell" aid:crows="1" aid:ccols="2">Alcohol</Cell>
    with
    <Cell aid:table="cell" aid:crows="1" aid:ccols="2">Alcoholism</Cell>
    'I save that XML.
    In ID: Import XML... selecting "Merge Content", "only import elements that match existing structure" & "import text elements into tables if tags match"
    The cell with "Alcohol" updates, but the column widths don't change.
    Is this by design?
    When I select "Append Content" I get a (new) table with the formatting (column widths) as specified in the updated aid:ccolwidth and of course, the updated content. When merging content are you giving up all rights to updating formatting at the same time?
    Thanks in advance for any insights.

    Hello,
    The existence check on the Salutation descriptor is likely check cache, as it is the default. Because of this, when you merge the Salutation with id=2, it will check the cache and not find it and so register it as a new object instead. You have 2 options, the first is to read it instead of creating it new. The second is to change your existence checking option so that it will either go tothe database or assume existence so that it is more appropriate for how you intend to use these types of objects in your mappings. For instance, if you never plan to create new ones, assume existence might be more appropriate.
    I suspect though that for most applications, reading the object first is the best option performance wise.
    Best Regards,
    Chris

  • Difference Between "Content Server" and "Content Services"

    Can someone tell me the difference between "Oracle Content Server" and "Oracle Content Services"? From my research, I get the sense that
    these are different products (and Oracle Content Services seems like it's an obsolete one), but I would like some confirmation.
    My apologies for the uber-newbie question :)

    Content Services is what you had with Content DB, Oracles old product.
    Content Server is the core engine of the UCM product, formerly Stellent Content Server.

  • Content Versions getting Created Automatically/Unable to Check-in Originals

    Hello Guru's,
    Everytime when I try to check-in an original and save the DIR, two content versions of the originals is getting created.This is happening only when I do through the PLM Web UI. Hence I am not able to check-in documents through PLM Web UI. I checked all my configuration and I have not enabled the content version neither in DIR status nor in the application type.
    I dont have any issues checking through the CV01N/CV02N. The whitelist set up has been completed as well.
    I have a similar post Unable to checkin  Original in PLM Web UI
    Kindly advise as to what configuration I should check.
    Thanks & Regards
    Jo

    HI Jo,
    based on your description I think that maybe the following SAP notes could be useful for you:
    2064338
    2064099
    2061382
    1269940
    Best regards,
    Christoph

  • Displaying img from content server thr' content presenter display templates

    Hi,
    I have created a static list element definition which contains three elements i.e. plaintext, image and WYSIWYG.
    I have accessed the plaintext and WYSIWYG elements on Content presenter template using
    <af:iterator var="items" value="#{node.propertyMap['ARTICLE_RGD:chapters'].nestedProperties}">
    <af:outputText id="ot1" value='#{items[0].value}'/>
    <af:outputText id="ot3" value="#{items[2].value}"/>
    </af:iterator>
    But may i know how to access the image element on the static list. I tried this with <af:image> tag
    <af:image styleClass="test" source="#{items[1].url}" shortDesc="Test" id="idtest" inlineStyle="float:left;"/>
    As the source tag of af:image tag requires an uri, and as we are passing the url, the image is not getting rendered.
    As there is no uri property on the node attribute, Kindly help to fetch the image element from CS.
    Not only in static list, may i know how to render the image element in adf from CS
    Thanks
    S. Muthukumaran

    Hi,
    I have created a static list element definition which contains three elements i.e. plaintext, image and WYSIWYG.
    I have accessed the plaintext and WYSIWYG elements on Content presenter template using
    <af:iterator var="items" value="#{node.propertyMap['ARTICLE_RGD:chapters'].nestedProperties}">
    <af:outputText id="ot1" value='#{items[0].value}'/>
    <af:outputText id="ot3" value="#{items[2].value}"/>
    </af:iterator>
    But may i know how to access the image element on the static list. I tried this with <af:image> tag
    <af:image styleClass="test" source="#{items[1].url}" shortDesc="Test" id="idtest" inlineStyle="float:left;"/>
    As the source tag of af:image tag requires an uri, and as we are passing the url, the image is not getting rendered.
    As there is no uri property on the node attribute, Kindly help to fetch the image element from CS.
    Not only in static list, may i know how to render the image element in adf from CS
    Thanks
    S. Muthukumaran

  • How to check file is exists  in specified path in content server or not

    i m using JDevloper 11.1.1.6.0
    I want to upload file using RIDC functions,but before uploading it i have to check wheather it is already present on specified path in content server or not.
    How i check it.

    I tried to write a (simpler) version of my own code:
        public static Results CheckInToFolder(File f) {
            // create the binder
            DataBinder checkinDoc = idcClient.createBinder();
            // populate the binder with the parameters
            checkinDoc.putLocal("IdcService", "CHECKIN_UNIVERSAL");
            checkinDoc.putLocal("dDocTitle",
                                "Document checked in through RIDC at " +
                                new Date());
            checkinDoc.putLocal("dDocType", "Document");
            checkinDoc.putLocal("dDocAccount", "");
            checkinDoc.putLocal("dSecurityGroup", "Public");
            checkinDoc.putLocal("dCollectionID", "909964822906001607");
            // add a file
            // execute the request
            try {
                checkinDoc.addFile("primaryFile", f);
            } catch (IOException e) {
                myExecutable.logEvent("File" + f.getName() + " not found.");
                return null;
            ServiceResponse checkinResponse;
            try {
                checkinResponse = idcClient.sendRequest(userContext, checkinDoc);
                myExecutable.logEvent("Check-in successful. Size:" + f.length() + " bytes");
            catch (oracle.stellent.ridc.protocol.ServiceException e) {
                            myExecutable.logEvent("ServiceException");
                            e.printStackTrace();
                            return null;   
            catch (IdcClientException e) {
                myExecutable.logEvent("Check-in failed.");
                e.printStackTrace();
                return null;
            DataBinder checkinData;
            try {
                checkinData = checkinResponse.getResponseAsBinder();
                Results res =
                    new Results(checkinData.getLocal("dID"), checkinData.getLocal("dDocName"));
                myExecutable.logEvent("Successfully got response - dID is " +
                                      res.getDID() + ", dDocName is " +
                                      res.getDDocName());
                return res;
            catch (oracle.stellent.ridc.protocol.ServiceException e) {
                            myExecutable.logEvent("ServiceException2");
                            //e.printStackTrace();
                            return null;   
            catch (IdcClientException e) {
                myExecutable.logEvent("Unable to get response.");
                e.printStackTrace();
            return null;
        }What I'm getting is this:
    Mon Aug 13 14:51:29 CEST 2012 0ms: Started
    Mon Aug 13 14:51:29 CEST 2012 57ms: Connection to idc://192.168.44.129:4444 successfully established.
    Mon Aug 13 14:51:29 CEST 2012 102ms: Check-in successful. Size:702 bytes
    Mon Aug 13 14:51:29 CEST 2012 5ms: ServiceException2
    Mon Aug 13 14:51:29 CEST 2012 0ms: Finished
    This means:
    a) it does, indeed, return the exception (oracle.stellent.ridc.protocol.ServiceException)
    b) you could use this mechanism for your code
    c) it is, indeed, primaryFile.name what's being checked
    I will also take a look at the other service to perform the check prior to check-in service call.

  • 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

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

  • 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

  • Getting error in JDeveloper 11.1.1.6 after Connecting to Content server

    Hi,
    We are getting below error in JDeveloper 11.1.1.6 after getting "success" to connect content server. We are able to connect to content server but repository is not being loaded into JDeveloper and it gives below error.
    Please guide.
    Performing action Properties...[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
    oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic getItem
    WARNING: An error occurred while accessing the content repository.
    javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
    ALL: An error occurred while accessing the content repository.
    [Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
         at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
         at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
         at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
         at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
         at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
         at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
         at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
         at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
         at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
         at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
         at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
         ... 9 more
    oracle.webcenter.content.internal.model.rc.ContentResource:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.ContentResource getContentID
    WARNING: An error occurred while accessing the content repository.
    javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
    ALL: An error occurred while accessing the content repository.
    [Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
         at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
         at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
         at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
         at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
         at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
         at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
         at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
         at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
         at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
         at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
         at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
         ... 9 more
    oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic listFolder
    WARNING: An error occurred while accessing the content repository.
    javax.naming.NamingException: May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
    ALL: An error occurred while accessing the content repository.
    [Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
         at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:249)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
         at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
         at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.jcr.RepositoryException: Error communicating with Content Server.
         at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
         at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
         at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
         at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
         at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:227)
         ... 6 more
    Performing action Refresh[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
    May 10, 2012 7:12:30 PM oracle.stellent.jcr.IdcPersistenceManager listFolder
    SEVERE: Could not list contents of folder with ID = dCollectionID:-1
    oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
         at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
         at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
         at oracle.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
         at oracle.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
         at oracle.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
         at oracle.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
         at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
         at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
         at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
         at java.lang.Thread.run(Thread.java:662)
    oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
    o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
    o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
    o.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
    o.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
    o.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
    o.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
    o.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
    o.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
    o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
    o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
    o.j.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
    o.j.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
    j.lang.Thread.run(Thread.java:662)
    Regards,
    Bhavesh

    Thanks Srinath.
    We have resolved the issue but we had to follow below steps as we were not able to see Folder_g in componet list.
    1. After login to content server, navigated to Admin Server.
    2. In Advanced component manager, we have updated component configuration with selecting Folder_g and press Update
    3. After that we followed the steps 2 and 3 as you mentioned.
    Regards,
    Bhavesh

Maybe you are looking for