Store document into Content Server

Dear All;
l have the following requirement for Content Server;
- Generate the PR/PO form via print program.                         
-Approver's signature will be display accordingly by the approval level.               EG:  1st level approver 'A' have been approved. Signature of approver 'A' will be display on the generated PR/PO form.                                        - Convert the generated form into PDF format.                         -To attach the supporting document via Generic Object Services (GOS).               -To store the PDF form & attached documents into Archived Link content server with URL address returned.     
-An notification mail will send to respective approver based on release strategy configuration.     
Basically it is Workflow integrate with Content Server.  There are few thing for me to do here:
1. Store the PO/PR document into Content Server
2. Run the workflow and view the attachement and add new attachement to Content Server from the Workflow process.
3. Return the URL address to the user for the document that saved into Content Server
l'm trying to do the first requirement now.
The user will create the PR in tcode ME52N and PO in tcode ME22N, they can create the attachement and view the attachement, and the attachement are stored in the ECC6 database.
l have installed the Content Server 6.40 with Filesystem (not the MaxDB) cause user do not want to buy the MaxDB license.
The Content server 6.4 installation is completed, l can configure the CSDMIN in ECC6,
In OAC0, l have created the Content Repository=ZA,
Document Area = ARCHIVELINK
Storage type = 04 HTTP Content server
Version=0046
Http Server = 10.120.0.10
Port Number = 1090
HTTP Script= ContentServer/ContentServer.dll
Transfer drctry =
10.100.0.10\cm\exdir   /# \cm\exdir is a directory in Content Server. #/
the physical directory created in the Content Server as
10.120.0.10\cm\za
In OAC2, l have created a new Document type=ZCS, the document class=PDF
In OAC3, l have created the following:
Object Type= BUS2012, Document Type= ZCS, Link=X, Cont.Rep.ID=ZA, Link=TOA01, Rentention=99
Object Type= BUS2105, Document Type= ZCS, Link=X, Cont.Rep.ID=ZA, Link=TOA01, Rentention=99
(Honestly, l'm not quite sure the BUS2012 will work, it created by functional team, which l'm sure it actually represent the business object for PO and PR)
With these, l think the linkage between business object and logical archive is established, but when l saved the attachement in ME22N and ME52N, the document still save into ECC6 Database, not the Content Server, because in the /cm/za directory in the Content server still empty.
Anyone please advise any documentation/steps do store the document in Content Server from PO/PR and with returned URL to the users.
Please help..
Many thanks
Jordan

Dear all;
Thanks for the information, l manage to store document actually.
l used the OAAD to test to stored, once it is working, then l can use the option 'Store business document" ME23N and ME52N transaction code.
One question here l would like to check:
The WorkFlow team said that the Generic Object Service (GOS) - "Create Attachement" option in ME23N can actually store the document to Content Server instead of store into R3 Database.  He claimed some Basis have done it before, can anyone clarify if it is true?
In OAC0, l have ZB Content Repository, set the "Storage Type = 04 HTTP Content Server" in order to save the document to Content Server.  The Document Area=Archive Link.
With these setting l can only use the "Store Business Document" option to store the document to Content Server, not the "Create Attachement".
l try to change the Document Area with different option like DMS, BDS etc but l can't get the Content Rep ID for ZB in OAC3 to link the Object Type?
Anyone can help?
Many thanks.
Jordan Tan

Similar Messages

  • KM Repository to Store Documents on Content Server

    Dear All,
    We are running on EP 7.0 and having a content server 6.0.
    Currently our KM documents are stored on Portal Database
    I want a repository where i can get all KM Functionality and Uploaded document should be stored in external content server instead of PortalDB.
    Physical location of file should be on Content Server
    Please suggest me Process Steps
    Regards,
    Tushar Dave

    Hi Tushar,
    In KM, the repository Managers can be comfigured to connect to other external servers.Like if you have external file servers or webDAV servers, you can connect those with SAP KM and the contents of the external servers are available through the KM.
    SAP KM have some predefined repository managers for all those. If you want to refer those repository managers, then
    GOTO System Adimistration>Sys configuration>KM-->repository managers
    There you can find number of standard repository managers provided by SAP for diffrent type of external servers.
    Regards
    Manisha

  • Moving metadata into content server

    Hi Everybody,
         Does anybody have an idea on how the Metadata in KM can be moved to Content server ?
        What configuration steps to be done both from KM and Content server?
         And once metadata is moved to content server how the documents can be accessed in KM from this migrated metadata(Documents,content) In content server?
    Could somebody help on this.....
    Thanks & Regards
    Sireesha.

    Dear Vasudeva,
    Please refer to SAPNote "900571".
    There is no specific way to move metadata into content server all CM Modes DBFS, FSDB metadata is always stored into Portal DB and I don't have much Idea for DB Mode....
    If you want to store KM files into content server than its possible using DBFS & FSDB Mode but not possible to migrate metadata into content server
    Reg, Tushar Dave

  • How Portal Metadata moves into Content Server

    Hi Experts,
    Does anybody have an idea on how portal Metadata in KM can be moved to Content server ?
    What configuration steps to be done both from KM and Content server?
    And once metadata is moved to content server how the documents can be accessed in KM from this migrated metadata(Documents,content) In content server?
    Could somebody help on this.....
    Regards
    RS

    Hi, Supraja Koganti
    Can you provide me step by step procedure for transferring data into content server. Basically this scenarios which you have provided me its not gives me clear picture. So please do the needful as earliest as possible.
    Regards
    RS

  • Error checking in document to content server

    Hi,
    While storing the document to content server we are getting "Error while checking in and storing " error. We use ECC 6.0 Request any inputs where to trace this error.
    Thx.
    Anirudh,

    Hello Anirudh,
    i assume that you get this error only after you click on the save button.Before clicking on the save button i assume you had checked in the original.
    Suggest you to put start the debugger using "/h" and then click on the the Save button. Once the debugger opens, put a break point on the "Message" using the debugger. And start debugging using F8 key. When the control stops at any message statement , just have a look at the content of the internal table filled before the Message stmt. It would help you to figure out the exact cause of the error message.
    Seeing the error message , i think that in your case it might be that signature are not sent from your system to the content server.
    You can see the details about the signature associated to he content repository from the "csadmin" transaction. if you have any problem with regarding to signatures, just check if you have any active signature. I think there is not active signature, just select one signature and activate the signature.
    If the problem still exists and it maps to the content server, contact your content server admin.
    Hope this helps you out, Best of luck.
    Regards,
    Om

  • Link attached document to content server  ( CS )

    Hi,
    does any one know how to store order attachement documents into SAP Content Server?
    Thanks.

    If you want to store documents in a content server. Then ofcourse you first need to instal it.
    This is what you need to do:
    Follow this official SAP installation guide to instal your content server (if you don`t already have it.)
    You can click this link below:
    Official SAP DMS installation guide
    After this installation go to:
    CSADMIN - Here you create a content repository. Connect it to your installed content server.
    OAC0 - Here you specify the repository. It is a DMS system.
    OACT - Create a Storage Category (same settings) and connected it to your content repository.
    S_ALR_87008832 - Create a frontend system (for example PC or some random info, it doesn`t matter)
    S_ALR_87008829 - Add the applications you want to use by which extensions. Like ".doc" open with word. (Select how to open, etc. with "%AUTO%")
    S_ALR_87008971 - Now create a profile ID. You will now use your previously created frontend system, the applications you have entered, connect it to your storage category and you will give acces to a user or a group of users.
    Final step: S_ALR_87008831 Create a document type. (DIR = Document Information Record). Here you connect the document to any type of object you want. You can also connect it to an order or anything you wish..
    Good luck and enjoy,
    Best regards,
    Jan Daniël
    ps. If this doesn`t work. You might need to update your SDOKPROP table.
    You can do this manually or by the following official SAP note: sapnote_0001400866
    Edited by: J. D. Jongsma on Jul 8, 2011 3:12 PM

  • Timeout when retrieving document from Content Server

    Dear experts,
    after the migration of an R/3 Enterprise system with a file-based Content Server (CS without database) we experience significant delays when a document shall be retrieved from the Content Server and displayed.
    The repository, from which documents are retrieved, has the following properties:
    Document Area = ArchiveLink
    Storage Type = HTTP content server
    Obviously the delay is caused by time-outs when R/3 tries to access the content sever.
    The RFC trace recorded during the document retrieval contains the following entries:
    Trace file opened at 20100825 104048 CEST SAP-REL 640,0,304 RFC-VER 3
    Trace file opened at 20100825 104115 CEST SAP-REL 640,0,304 RFC-VER 3
    End of trace *****
    ======> CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
    Timeout beim Verbindungsaufbau (Partner vorhanden ?)
    ABAP Programm: SAPLSCMS_CLTFC (Transaction: )
    Called function module: RFC_PING
    User: TSI0403 (Client: 007)
    Destination: SAPCMS (handle: 4, , {4C74C1A6-BD3B-3B59-E100-00001A5F0A18})
    SERVER> RFC Server Session (handle: 1, 41571399, {4C74D031-BD2C-3B58-E100-00001A5F0A18})
    SERVER> Caller host: cimpd38_MPD_38
    SERVER> Caller transaction code: MIR4 (Caller Program: CL_GOS_TOOLBOX_VIEW===========CP)
    SERVER> Called function module: GOS_EXECUTE_SERVICE
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 3268
    CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
    Timeout beim Verbindungsaufbau (Partner vorhanden ?)
    Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1660
    ======> CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
    Timeout beim Verbindungsaufbau (Partner vorhanden ?)
    ABAP Programm: SAPLSCMS_FE_RFC (Transaction: )
    Called function module: RFC_PING
    User: TSI0403 (Client: 007)
    Destination: SAPHTTP (handle: 6, , {4C74C1B4-BD3B-3B59-E100-00001A5F0A18})
    SERVER> RFC Server Session (handle: 1, 41571399, {4C74D031-BD2C-3B58-E100-00001A5F0A18})
    SERVER> Caller host: cimpd38_MPD_38
    SERVER> Caller transaction code: MIR4 (Caller Program: CL_GOS_TOOLBOX_VIEW===========CP)
    SERVER> Called function module: GOS_EXECUTE_SERVICE
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 3268
    CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
    Timeout beim Verbindungsaufbau (Partner vorhanden ?)
    Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1660
    I wonder why R/3 first attempts to contact the Content Server via the SAPCMS RFC destination rather than using HTTP (SAPHTTP)? - The connection tests for both RFC connections are successful.
    Is there a way to instruct R/3 to go via the SAPHTTP RFC destination as the first choice and NOT via SAPCMS when documents shall be retrieved and displayed?
    Thank you,
    Rainer Walter
    Edited by: Rainer Walter on Sep 3, 2010 3:07 PM

    Hi Ravindra,
    thank you for looking into this problem. The Content Server is not based on SAP DB/MaxDB. The repositories are represented as plain directory structures in a file system.
    My issue is that R/3 is not using the SAPHTTP RFC connection as first choice although the repository is flagged as "HTTP Content Server" but uses another RFC destination instead. When this attempt is timed out, R/3 eventually picks the appropriate RFC destination. So it takes a considerable amount of time until a requested document is finally retrieved from the repository in the Content Server.
    I am confused because the system where I experience this behaviour has been built from a system copy of a production system, and the Content Server for this new system has been built from scratch. In the original production system, no timeout is found when users are retrieving documents, and obviously the original R/3 system is using SAPHTTP right away. The original production system and the new system built from a system copy are accessing different Content Servers.
    I am looking for a way to instruct the new R/3 system to immediately use the SAPHTTP connection when talking to the Content Server, and I would be grateful for a hint where I can configure this to get rid of these timeouts.
    Best regards,
    Rainer

  • Display document from Content Server

    Hello Expert,
    I need to display document in CE portal, that are stored on ECC content server.
    Does anyone know how to do this?
    Thank you in advance.
    Francois
    Edited by: François BECKER on Oct 13, 2011 9:39 AM

    Hi,
    Try using this sample code
    class lcl_handle_events definition.
      public section.
        methods:
                 on_double_click for event double_click of cl_salv_events_table
                importing row column.
    endclass.                    "lcl_handle_events DEFINITION
    class lcl_handle_events implementation.
      method on_double_click.
      if column = 'INSTID'.
        clear gv_usrnme.
    *Reading the ALV table to get the purchase order number
        read table gt_usrnme into gv_usrnme index row.
        if sy-subrc = 0.
    *Passing the value of the PO number to ME23N Transaction
        set parameter id 'BES' field gv_usrnme-instid.
    *Calling ME23N
        call transaction 'ME23N'.
        endif.
        endif.
      endmethod.
    data gv_event  type ref to lcl_handle_events.      "events object
      gv_events = gs_table->get_event( ).
      create object gv_event.
    *... §6.4 register to the event Link_CLICK
      set handler gv_event->on_double_click for gv_events.
    Hope this helps you. Here i was calling a different transaction code based on each line selection..
    Regards
    Ansari

  • Storing document on Content Server - SAP DB or Filesystem?

    Hello everybody.
    I have questions regarding the Content Server and need your expierence and recommendation. Where do you store documents on the Content Server? Are you using the standard SAP-DB, which can be installed together with the Content Server, or are you using the File-System? What are the advantages and disadvantages?
    What do I have to do to store the documents in the File System? Is there an documentation?
    Thanks and Regards.
    Tobias Karl

    Hello Tobias,
    Storage on the filesystem has the advantage to use existing clustering raiding and hierachial storeage systems for storage and you dont have to implement those features in the database. The advantage would be documents can be found indepentendlly from the ERP-Sysem.
    DB Advantages
    All data (documents, folders, and metadata) is stored in the database.
    Database is much better suited than file system to the administration of large amounts of data
    Databese is limited to size 64 TB, then additional database needs to be installed 
    If there is a large number of write requests in your CM usage scenario, set up the CM repository in database mode. Since all documents are stored in the database, this avoids unintentional external manipulation of the data.
    Another advantage of storing all data in the database is that the procedure for data backup and restore is easy since only the database needs to be backed up
    File System Advantages
    This is faster than the database option if you have large documents since there is no database data streaming. This also enables the size of the database to be controlled more easily since documents are stored in the file system.
    File systems are not transactional, so this has restrictions and affects performance. If read and write operations take place for one document in the file system at the same time, these operations have to be coordinated by the repository manager. This happens by recording both write accesses and read accesses in the database. This affects performance.
    Metadata (for example, locks or custom properties) can be lost if you edit or manipulate documents or folders directly in the file system. Only administrators should work in the file system, and they should only carry out mass operations such as copy and delete
    For a scenario with write accesses, cannot ensure consistent data backup and restore. This is because changes to the folder structure in the file system could be made in the time between the two actions. This would lead to inconsistent data following the restore process. Consistent data backup and restore can therefore be ensured only if read accesses alone are taking place
    There are CM repository managers can be set up in various modes i.e Persistence Mode to save the documents  as follows:
    1) DB Mode All data is stored in the database
    2) DBFS Mode Metadata and folders are stored in the database, but documents are stored in the file system
    3) FSDB Mode Folders and documents are stored in the file system, but metadata is stored in the database.
    If you wish to change the settings you can do it but with some restrictions which follows as:change of the persistence mode is possible only from the DB mode to the DBFS mode. Changing from DB to FSDB, from FSDB to DB/DBFS, or from DBFS to DB/FSDB is not possible.
    To change the mode if you wish with above restrictions
    1.      Make sure that enough free disk space is available to migrate the content from the database to the file system.
    2.      Change the configuration of the CM repository manager. In the Root Directory parameter, specify the path to the file system that the documents from the database are to be stored under. Change the entry in the Persistence Mode parameter from DB to DBFS.
    3.      Restart the application server.
    4.      Run the CM Store: Content Crawler report
    Please check the follwoing notes on backup and restore:
    Note 1000150 - Backup of KMC configuration
    Note  1000351 - Restore of KMC Configuration Backup Archive.
    Knowledge Management entire documentation can be found @
    http://help.sap.com/SAPHELP_NW04S/helpdata/EN/62/468698a8e611d5993600508b6b8b11/frameset.htm
    Thank you,
    Shyam

  • Archival into content server - Which is a right forum??

    All,
    We are planning to use forms output to be archived into SAP Content Server running on MaxDB. Does anybody have any experience to share or point me to the right forum
    > Can it perform well with 6-10 TB of potential data in the next 4-5 years
    > Can documents be attached to the content (archive an invoice output and then scan a document and attach to the same invoice)
    Thanks!!!
    M

    All,
    We are planning to use forms output to be archived into SAP Content Server running on MaxDB. Does anybody have any experience to share or point me to the right forum
    > Can it perform well with 6-10 TB of potential data in the next 4-5 years
    > Can documents be attached to the content (archive an invoice output and then scan a document and attach to the same invoice)
    Thanks!!!
    M

  • Reding Document from Content Server

    HI,
    Currently I am Reading Data (Binary) of a Document which is in content Server, using FM : SCMS_DOC_READ.
    But, with this FM, we can Read the data of a single document. But, I have bundle of documents to read.
    I cannot put this FM in the LOOP as Performance will be reduced.
    Can you please tell me, is there any way To Read data of All Documents at One Time.
    Thanks,
    Sandeep

    Hi Sandeep
           I also have the  requirement of Reading contents of file saved in content server ,  and i am using same function module SCMS_DOC_READ. but the problem is if file is larger the FM is not reading all the contents as the output line is of 1022 characters only.  Can you suggest any similar FM which can read large amount of data also?
    Thanks
    Neelima.

  • Find documents on Content Server

    Hello all.
    On our intranet, we have a page for searching our documents in SAP.
    To do this, I use differents BAPI (BAPI_DOCUMENT_GETDETAIL2, BAPI_DOCUMENT_GETLIST, BAPI_DOCUMENT_GETOBJECTDOCS, ...) with SAPRFC on PHP.
    The problem is with the documents stored on the Content Server. Where can I find the path of the document ? And how can I link it on a web page ??
    Thanks
    Edited by: Pil Louze on Sep 9, 2009 10:14 AM

    Hi Pil,
    you can display or download original file archived in content server with the standard bsp CVAW_VIEW_DOCFILE;
    You can find it in SE80->package->cvaw->BSP library->BSP application->CVAW_VIEW_DOCFILE.
    CVAW_VIEW_DOCFILE is part of package Webdocument, BSP application for Display and manage DMS Original Files.
    If you don't want to use BSP, yo case copy BSP ABAP code in a RFC Function Module for download file content to PHP Server.
    Best Regards,
    Chris

  • Error when viewing documents from content server

    hi all,
    I have a question.
    we have installed an SAP Content Server on Windows 2003 server, and have connected it to our SAP ECC 5.00 ERP.  The purpose is so that documents that are attached to a transaction (through Generic Objects Services - Create Attachment), get stored onto the content server rather than the SAP database.  We have done all the necessary configuration in oac0, oact, and SKPR08.  We are able to attach a document to the transaction, and it gets stored onto the content server.  Our issue is when viewing the attachment. 
    This is the error we are getting as soon as we try to view the attachment:
    "Windows cannot find c:\documents and settings\<username>\SAPWorkDir\<filename>.  Make sure you typed the name correctly, and then try again.  To search for a file, click the Start button, and then click Search."
    After pressing OK to the message, the system then gives this error:
    "File could not be exported
    Message no. SO315
    Diagnosis
    You have selected either the Export function or a PC document to be exported from the system. The file could not be exported to the
    PC. Possible reasons:
    1. The file is already open and is being used by an application.
    2. The directory to which the file is to be exported is write-protected.
    Procedure
    In the first case, close the application.
    In the second case, remove the write-protection attribute from the directory or enter another directory."
    Why is the system trying to open the file from the user's C:\ drive?
    Does anyone have a solution to this error?
    Cheers,

    Hi Aleem,
    Refer to below KB & note, this should help you.
    1849203 - Error message Database error for <GET DATA FROM KPRO> (SO013) and/or File could not be exported (SO315) when opening a document in Attachment list
    764972 - Errors when creating workflow attachment
    Regards,
    Ravi

  • Pulling Documents from Content Server

    I'm trying to write a .NET webservice that will retrieve documents from the SAP Content Server.
    I understand that I need to build a URL to the content server to retrieve each document, and that part of this URL is a security key 'secKey'.
    I've such documents as:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/9561c8f3b111d1955b0000e82deb58/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9b/e8c192eaf811d195580000e82deb58/content.htm
    And everything seems fine, except for how to create the 'secKey'. I can hash the URL parameters as required, but I don't know how to sign it - how do I obtain the sender's private key in order to do this?
    Any help with this would be greatly appreciated!

    Sorry, I realise that this is a Java forum, and I specified that I'm writing in .NET.
    The reason I'm posting here is that if I can't do it in .NET , I'm happy to use Java instead.

  • Import same documents for content server

    Good afternoon ,
    I need import same documents for the content server , I have one cd wich 400 imagens in pdf all on contrat , i want import all for the content server. how i get this ?
    att
    Angelo

    Hi
    The documentation for the batchloader and all the intricacies related to it can be found in the documentation for the components of the CS which is under /weblayout/help/documentation.
    A sample batchloader file looks as given below:
    Action = insert
    dDocName=11gAdminGuide
    dDocTitle=11gAdminGuide
    dDocAuthor=sysadmin
    dSecurityGroup=Public
    dDocAccount=New
    dDocType=ADACCT
    dInDate=6/12/08 3:45 PM
    dAnnouncement=Test1
    primaryFile=C:/Documents and Settings/srmenon/Desktop/batchtets/11gAdminGuide.pdf
    <<EOD>>
    dDocName=11gPerfTuning
    dDocTitle=11gPerfTuning
    dDocAuthor=sysadmin
    dSecurityGroup=Public
    dDocAccount=New
    dDocType=ADACCT
    dInDate=6/12/08 3:45 PM
    primaryFile=C:/Documents and Settings/srmenon/Desktop/batchtets/11gPerfTuning.pdf
    <<EOD>>
    dDocName=adminguideldap
    dDocTitle=adminguideldap
    dDocAuthor=sysadmin
    dSecurityGroup=Public
    dDocAccount=New
    dDocType=ADACCT
    dInDate=6/12/08 3:45 PM
    primaryFile=C:/Documents and Settings/srmenon/Desktop/batchtets/adminguideldap.pdf
    <<EOD>>
    This is for checkin that the file has been created and hence the insert is used in the Action variable. It could be replace,delete as per the needs.
    Thanks
    Srinath

Maybe you are looking for

  • Install adobe creative suite 5

    Hello, I have purchased the adobe creative suit 5 webb premium, but when i put the code in to install it it does not install. Can you help

  • [SOLVED] Double Icon, xfce4-power-manager - Ideas?

    Hey all, Recently I've had this little launcher-like icon beside my power manager icon in xfce4.  I can't seem to get rid of it...and when you right-click on it, it's the exact same thing as the xfce4-power-manager icon.  If I try to click the "quit"

  • How can i handle exceptions in bulck collect?

    Hi All, in case of any exception will raise i just print the emp_no prefix with sqlerrm.but i got sqlerrm only ,now the emp_no is blank.how can i print my emp_no. SET serveroutput ON; DECLARE TYPE employee_tab IS TABLE OF emp_ins%ROWTYPE INDEX BY BIN

  • 10g R2 OLEDB provider

    Hi, we have a client side application, on Windows and Oracle 10g R2. We use OLEDB templates from MFC (CDynamicParameterAccessor). There is a long query (4610 char) what provider return E_UNEXPECTED HRESULT (from execute, before the bind). No detailed

  • Oracle Portal master details default value set up.

    Hi All, Using Oracle Portal to create a master details form. I have tried to set up the details table foreign key. I used the master table primary key as a default value for the details table foreign key. Does anyone know what the correct syntax is w