DMS document from Cache server!

We are able to retrieve DMS document(PDF) from Content server but not from Cache Server using URL generated from
CALL FUNCTION 'SCMS_URL_GENERATE'.I even tried Pushing the Doc to cache using DMS_KPRO_FILL_CACHE, Doc exists in Cache when i check operation=statGet2 but my URL does not give me the document
*-Cache server
SELECT SINGLE * INTO S_SCMSCACHE
FROM SCMSCACHE
WHERE HOST = 'TSTCS2'.
CALL FUNCTION 'SCMS_URL_GENERATE'
EXPORTING
COMMAND = 'get'
CONTREP = CREP_ID
DOCID = P_DMS_DOC2LOIO_LO_OBJID
COMPID = 'data'
ACCESSMODE = 'r'
SIGNATURE = 'X'
SECURITY = 'F'
*USE_LOCATION = 'A'
*LOCATION = 'TSTCS2'
*CACHE_TO_USE = S_SCMSCACHE
IMPORTING
ABSOLUTE_URI = URI_STRING
HTTP_URI = HTTP_URI
HTTPS_URI = HTTPS_URI
CACHE = S_SCMSCACHE_O
ENDIF.
ELSE."Content Server
CALL FUNCTION 'SCMS_URL_GENERATE'
EXPORTING
COMMAND = 'docGet'
CONTREP = CREP_ID "'Z_DLS_DOC_DU1'
DOCID = P_DMS_DOC2LOIO_LO_OBJID
ACCESSMODE = 'r'
SECURITY = 'F'
ENDIF.
Edited by: Madhu Gudur on Oct 24, 2009 3:59 AM

I'm not expert in this area, but I don't understand why you try to read directly the cache as by definition, a cache is managed by the application itself. Why don't you read the document as usually, and let the system read the cache by itself?

Similar Messages

  • Retrieving documents from cache server using Bapi_Document_Checkoutviewx

    Hello,
    how can I retrieve the documents from cache server instead from content server, which are stored in SAP R/3 system.
    I use the bapi "BAPI_DOCUMENT_CHECKOUTVIEWX" in a Rfc-Client Programm to retrieve the documents. This BAPI retrieves the documents allways from content server and don't use the existent cache server.
    Thanks for any help!
    Birol

    Hi Birol,
    Can you please tell me is the content you have used in that "BAPI_DOCUMENT_CHECKOUTVIEWX programme"????
    Regards
    Harshavardhan.G

  • How to mimic Deski document from BOXI server to local machine, pass parameter, execute and save in a mutiple report format then store in a network drive.

    Post Author: usaitconsultant
    CA Forum: JAVA
    To Guru's, Would you know if there's a way to mimic Deski document from BOXI server to local machine, pass parameter, execute and save in a mutiple report format then store in a local drive or network drive? Most examples and tutorials in BO XI R2 I've seen are scheduling while drilling report is for web intelligence only.  Please let me know your ideas. I would really appreciate your help. Thanks. 

    Give Chronosync a go - have been using for over a year and it works great; if you like Syncback you'll like this app.

  • Client automatically cache the data got from cache server?

    Hi expert,
    I have 2 questions about the client local cache. Would you please help to give me some suggestion?
    1. Will client automatically locally cache the data got from cache server the first time and automatically update the data in local cache when getting the same data from cache server again? I go through the API reference but cannot find any API to query the data currently cached in the local cache.
    2. If client will automatically cache the data got from cache server. Is there any way for a client to get the data event that happens to its local cache, such as entry created in local cache, entry deleted from local cache and entry updated in local cache? In my opinion, when getting an entry from cache server the first time, the MapListener's entry create event should be triggered. When getting the same entry again, the entry update event should be triggered.
    However, I have tried a client with replicated cache, a client with partitioned cache, an extend client with remote cache and a client with local cache(front cache part of near cache), the client (the NamedCache object has been set the MapListener) cannot get any event notification after getting data from cache server. By the way, my listener is OK since when putting data the entry create event and entry update event will be triggered.
    Your suggestion is very appreciated. :)

    Hi
    If I were you I would read this http://download.oracle.com/docs/cd/E14526_01/coh.350/e14510/toc.htm
    and particularly the section about Near Caching here http://download.oracle.com/docs/cd/E14526_01/coh.350/e14510/nearcache.htm#CDEFEAJG
    which is what you are asking about in your question.
    Near Caching is how Coherence stores data in the locally - which is the answetr to your first question. How Near Caching works is explained in the documentation.
    Events, which you ask about in your second question are explained here http://download.oracle.com/docs/cd/E14526_01/coh.350/e14510/delivereventsjava.htm#CBBIIEFA
    It might be that ContinuousQueryCache is closer to what you want. This is explained here http://download.oracle.com/docs/cd/E14526_01/coh.350/e14510/queryabledatafabric.htm#sthref38 A ContinuousQueryCache is like having a sub-set of the underlying cache on the local client which you can then listen to etc...
    JK

  • Migration of SAP DMS documents from RFC Archive to SAP HTTP Content Server

    Can anyone verify the correct OSS for the migration of documents from an RFC Archive repository (non SAP) in SAP DMS to a SAP Content Server HTTP Repository. Most of the OSS notes seem to indicate HTTP to HTTP migrations or based storage category migrations.
    Which is the most suitable for this?
    Edited by: Athol Hill on Oct 30, 2009 2:35 PM

    Dear Athol,
    If you want to move the originals from an archive or vault to a Content  
    Server, please use the DMS_KPRO_CONVERT and DMS_KPRO_CONVERT2 report I   
    would kindly ask you to see teh documentation on DMS_KPRO_CONVERT report 
    in transaction SE38, which explains the whole process and gives          
    necessary information.                                                                               
    This conversion program offers two possibilites:                                                                               
    - Complete migration:                                                    
    The meta data of the document info record and the checked-in original    
    application files are migrated together. The checked-in original         
    application files are transported into the storage catgories.                                                                               
    - Step-by-step migration:                                                
    In the first step meta data is migrated. The original application files  
    remain in the old storage data. The migration of original application    
    files starts after you have processed the files with the integrated      
    viewer and checked them into a secure storage area.                                                                               
    Best regards,
    Christoph

  • Checkin PDF document from Appliction server onto DMS

    Hi All,
    We have pdf documents on a file server which we need to attach/checkin to a document info record using CV02N transaction.The file server will be mounted onto SAP's application server. i'm using the bapi BAPI_DOCUMENT_CHECKIN2 to achive this functionality programatically. I'm getting the following error when I try to pick a file from application server. 'Error while checking in and storing: /tmp/test.pdf'. However, when I pick the file from desktop(through the program itself), the document is getting successfully attached.
    I would greatly appreciate if someone could help me in correcting this issue.
    regards,
    Arun

    Hi,
    I resolved the issue my self. I included an additional parameter     PF_FTP_DEST             = 'SAPFTPA' in the function module BAPI_DOCUMENT_CHECKIN2 which seems to have resolved the issue.
    regards,
    Arun

  • 2.DMS uploading from Development server to Production server[GO LIVE]

    Hi All
    Is it all document type [dms] which r created in development server, these will transefer from development to production server by [uploading]transport request.
    Or is It needs Basiss Help.
    Rgds
    Ben.

    hi,
    I think for moving customization request to production, u dont need help of basis, if u have authorization then u can transport the request.
    Before moving first identify which are the request number u want to transport and release them using t code SE10 in development server.
    Go to production server, execute STMS t code for importing the request from devp server.
    Once ur request moved to production successfully then all customization will be available in production system except number ranges and class and characterstics.
    If ur using classification system, then create class and characterstics in production system it self.
    award points if useful
    regards
    Sham

  • Block deleting DMS Document from user that is not initiator

    Hi All
    Hello
    I Want to Block deleting DMS Document ((CV02N)
    form all users that are not the initiators of the Document or
    Bolcking for all user
    for that I created new user authrization for CV01N,CV02N
    without authorization for delete
    I created a DOC in SPS (production) No 3001591
    but I successed to delete the doc through cv02n
    in the buttom icon for delete original
    There is an option to block any user or specific form delete document ?
    If there is no option for that there is an user exit that I can used ?
    Thanks in advanse for your help

    Hello,
    it is possible to extract DMS's file to application server directory:
    FUNCTION Z_DMS_VIEW.
    ""Interfase local
    *"  IMPORTING
    *"     VALUE(DOC_NUMBER) LIKE  BAPI_DOC_DRAW2-DOCUMENTNUMBER OPTIONAL
    *"     VALUE(DOC_PART) LIKE  BAPI_DOC_DRAW2-DOCUMENTPART OPTIONAL
    *"     VALUE(DOC_TYPE) LIKE  BAPI_DOC_DRAW2-DOCUMENTTYPE OPTIONAL
    *"     VALUE(DOC_VERS) LIKE  BAPI_DOC_DRAW2-DOCUMENTVERSION OPTIONAL
    *"     VALUE(ORIGINAL_PATH) LIKE  BAPI_DOC_AUX-FILENAME OPTIONAL
    *"  EXPORTING
    *"     VALUE(P_RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    *"  TABLES
    *"      DOC_FILES STRUCTURE  BAPI_DOC_FILES2 OPTIONAL
      CLEAR:   doc_files.
      REFRESH: doc_files.
      DATA: i_doc_files like bapi_doc_files2.
    DATA: i  type i.
    i = 2.
    while i = 2.
       i = 2.
    endwhile.
      CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTVIEW2'
        EXPORTING
          DOCUMENTTYPE    = DOC_TYPE
          DOCUMENTNUMBER  = DOC_NUMBER
          DOCUMENTPART    = DOC_PART
          DOCUMENTVERSION = DOC_VERS
          DOCUMENTFILE    = i_doc_files
          GETSTRUCTURE    = '0'
          GETCOMPONENTS   = 'X'
          ORIGINALPATH    = ORIGINAL_PATH
          HOSTNAME        = ' '
          GETHEADER       = 'X'
          PF_HTTP_DEST    = 'SAPHTTPA'
          PF_FTP_DEST     = 'SAPFTPA'
        IMPORTING
          RETURN          = P_RETURN
        TABLES
          DOCUMENTFILES   = DOC_FILES.
    ENDFUNCTION.
    ORIGINAL_PATH must be a directory of application server.
    By background is not possible (I don't know how can we do that) download thsi file to PC.
    Then with the file in application server we can :
    - to map application server directory in a drive unit of Pc
    - to transfer with a ftp client from Pc
    - rfcexec
    But always the bapi can not download the file: it must be a process in Pc who transfer the file.

  • DMS uploading from Development server to Production server[GO LIVE].

    Hi, All,
    I have configured DMS at client palce. Here they don't have quality server.
    What we configured will be tested in development it self. So in the unit test there is no errors at all and
    uploaded some documents in the development also.
    So i want to know how i could tranfer request and full DMS configuration to production server[Go Live].
    1.Wheather I could need Basiss Help.
    2.What are all precautions i could take before and after 'go live'
    3.What are all requirement needs to 'go live'.
    plz give procedure i details
    Rgds
    Ben

    hi,
    there no mandatory of quality server to test , if ur confident, u can directly transport to production
    For request transporattion its better to have basis person, if u know the procedure, u can also import from production server.
    Before that release all transport request in devp server.
    After transporting to prod server check wheather all customising setting imported or not, wherever necessary u create master data in production system it self(Class and characterstics, and number ranges).
    For going live u need to create all roles and autorization and need to assign to respective user ids.
    award points if useful
    regards
    sham

  • Access DMS documents from MDM ??

    Hello folks
    We have a customer that has SAP DMS (Document Management System from SAP ERP) where the product image files are stored on a SAP Content Server.
    We are planning to implement MDM for rich product catalogue whereby end-users access MDM via Portal, but we need to access some documents on DMS too.
    I know that there is standard PLM iviews that shows DMS documents linked to a Material, can we use these iviews to modify them so that they are launched on request of user after browsing in MDM iviews (managing same material numbers) ?
    Has anyone of you made this ?
    Any hint/help on this is most welcome !
    Thanks
    /Sooriya

    Hi Sooriya,
    We can get the Product ID from MDM Standard iview through EPCF Eventing. Based on that ID, we can fetch the documents from DMS.
    I am new to DMS. Can you please share some information on fetching document links from DMS through standard or APIs?
    In my scenario, i have to fetch the documents link from DMS for all Master records and store the link in MDM. Also, when a new master s created in MDM, I have to attach/upload documents for the master record and store the document link in MDM. The actual document is present in DMS. When I send the newly created Master data to ECC, I have to link the Master data and the documents in ECC also.
    Your help is greatly appreciated!
    Thanks,
    Arun prabhu S

  • How to open word document from application server?

    hello ,
    I want to open a word document that is placed on the application server.
    the function module 'ws_execute' works fine for displaying documents placed on ur local file system. But if i want to open from application server, what needs to b done?
    i m referring to the following demo program 'SAPRDEMOOFFICEINTEGRATION'
    is this the correct reference or there is some other way to do the same?
    kindly help.
    Regards,
    Roshani

    Hi Roshani,
              The solution is like this.
    1> Execute - this is the solution to your program. The file is generated and put in the Application Server for the data to be sent by some means to the intended Place.
    2> To Display/View - This is for the person (who runs the program) to view if the output generated is correct or not.
             So to accomplish this use the same internal table for both Open Dataset and Gui download.
    Open dataset puts data onto the Application server and Gui_download puts the data onto the Desktop or Presentation server for the user to see the data thats fetched.
    So use them as directed to achieve the desired output.
    Reward Points.
    Thanks,
    Tej..

  • Display Document from BI Server in Crystal Report

    Hi all,
    I accessed BI Query from BI server in Crystal Report. We can upload any comments or documents to the query. I want to display the document and comments in Crystal Report from the BI server.
    Is it possibel? If possible how can i do this?
    Thanks & Regards,
    Hemalatha J

    As I see there was no response on these issue although it is marked as answered. I'll give a hint for the ones that might want to try this.
    One could extract the metadata and documents from the tables names to be found in the tables SDOKLOTAB and SDOKPHTAB (as an example, for InfoObject documentation we have the tables BDSLOIO8, BDSLOIOT8, BDSLOPR8, BDSPHIO8 and BDSPHF8) or one could export the metadata from the BI repository (though, this is a manual approach).
    Edited by: marius.grunca on Apr 27, 2009 5:58 PM

  • Print DMS Document from Material master

    Hello All,
    Can you advice on how to Print the DMS Document as a smartforms  from Material master ?

    Hi Arvind,
    You have mentioned two different terminologies here.
    DMS
    Material Master
    From DMS, you need to download the attachment and the same attachment can be converted using the FM CONVERT_TO_OTF then try displaying the same into your smartform.
    I'm not aware of Material Master Document attachment.
    Will reply soon with that solution also.
    Regards,
    -Wahid Hussain.

  • Create DMS document from direct object transaction instead of CV01N

    Dear Experts,
    I have raised an issue for the same thing in past and got helpful reply also. However it is not working here. I have searched enough but did not get satisfactorily answer.
    My requirement here is to create and store DMS document directly from the object attached to DMS document type instead of CV01N e.g. create PR ME51N, create project CJ20N etc.
    So far I have done the required configuration to get create option in transaction while entering DMS document number. I kept document description field as an optional for respective document type and created and assigned role in Define profile step. Number range is internal. So I think all necessary configuration in place. Now problem here is when I am clicking on create easy document icon, it ask me to select document type and file from local machine also. But nothing is happening afterwards and document is not getting created and stored. Transaction return on screen without any number and so. Please help me out. Did I miss anything?
    Looking forward for your reply. Points will be allocated for answer.
    Best Regards,
    Bhagat

    Hi Bhagat,
    Select the document type in question,navigate to "Define object links".Please verify if the following values have been maintained:
    Screen no-233
    When new version-1
    Create document-1
    Document version-1
    Additional functions-checked
    Post this,re-test the scenario and share the results.Also,do confirm if you are able to create documents of the above document type using CV01n transaction successfully.
    Regards,
    Pradeepkumar Haragoldavar

  • How to get documents from content server on web pages

    Hello,
    I want to get the documents from the ECM(UCM server) of same document type and also want their metadata fields to displayed on adf application.
    How can i fetch these documents?

    Hi,
    You mean Data transfer between two components..
    To pass the value from one component to other component, you can use used component scenario.
    For example let use assume we have two comp ..
    Comp A,
    Comp B.
    now we need to pass the value from Comp A to Comp B.
    Then declare the Comp A as used component in Comp B.
    Now then you can create a node in the comp A component controller and check the interface check box there then the
    node and the attribute will be present in the interface controller also .
    and this interface controller context you can access in the component and map it to view there and display it.
    Webdynpro Application Integration..
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebdynproApplicationsIntegration
    cheers,
    Kris.

Maybe you are looking for

  • Condition Pricing Date is Diff. from PO Creation date

    Hi, We have created a PO 1100041212 on dtd. 05.05.2011. In PO Conditions tab, i have a field in the detail view ' Condition Pricing Date'. For Condition type P001, it is not showing the PO date. (mostly cases has the same date of PO Creation date) Co

  • Modifying selection-screen

    hi friends, I am trying to modify selection-screen. I want select-option to get disabled when i check one checkbox.I am using SCREEN table for this purpose. But on selection-screen when i check checkbox select-option is not getting disabled at that t

  • How to Download a Hierarchie to a Flat File

    Hallo Experts, sorry i just have a second question. We make the solution "How to Download a Hierarchy to a flat file" Program works transport green Upload ok, but the Text Node keys are there, but not the text e.g. description text note short: 000000

  • What is an apple approved method to speed up my macbook?

    I think my bacbook is slowing down.  It's less than a year old.  What apple approved method can keep it moving quick.  I've emptied the cache.

  • Oracle ADF JSF components - do I need license

    Are Oracle ADF JSF components free? I know that Oracle contributed source to Apache. Does it mean I can use ADF or do I need to pay for it? Thanks Tomas