SAP DMS PDF

Hi friends,
I try to upload a pdf file to the DMS using BAPI_DOCUMENT_CHECKIN2 but it always gave an error " Error while checking in and storing"  ,
It is working fine the XML and XLS file.
Can anyone help me

Hi Please look above for the error mesage. I already mention it.
ls_doc_files-originaltype     = k_1.
  ls_doc_files-storagecategory  = k_z_g340.
  ls_doc_files-wsapplication    = k_pdf.
  ls_doc_files-docfile          = ps_file_table.
  ls_doc_files-language         = k_e.
  ls_doc_files-description      = text-210.
  ls_doc_files-active_version   = k_x.
  ls_doc_files-checkedin        = k_x.
  APPEND ls_doc_files TO li_doc_files.
following values i m send ing.

Similar Messages

  • Save a PDF in SAP DMS

    Hi to all,
    my scenario is: I have an adobe interactive form in a Web Dynpro view with some datas in it and I want to save it in SAP DMS (4.6c). Can I do this via RFC using DMS Bapis?
    Thank you very much,
    Antonio

    Hi Antonio,
    Yes you have to use DMS Bapi ofr this .
    First you have to retrieve value from your PDF then generate a new one with the new value and store it into a temporary directory .
    After add this document into a DIR .
    Regards

  • How to open files from the SAP DMS (DOC Mgt. System) ?

    Hello All,
            I making the Transaction CV04N in BSP.
    When I execute this CV04N I should give a DOC Nr and the list is generated for this DOC.Now in the List if I select one Record and then Press Display Icon then the content of this list is opened in a new window in it's respective format (PDF,Word,GIF,Image file  etc).These are stored in the SAP DMS.
            I want to open a file from this SAP DMS .
    This can be done in ABAP using the standard FMs. But in BSP we can't use these FMs as it will call a screen.
    The Fm which I'm using is " DOCUMENT_SHOW_DIRECT ".
    In Report prog. To this FM I'll pass the
    a, DOC Type
    b, DOC Number
    c, Document part and
    d, Document version.
    then It'll directly open a PDF file in a new window.
    But in BSP how should I acheive this as the FM calls a screen internally.
    The content of the documents are stored in the DMS. Is there any TCODE or Table to get the files from the DMS ?
    How should I proceed ? can any one help me out.....
    Regards,
    Deepu.K

    Hello All,
             I found the FM : <b>CVAPI_DOC_OPEN_CAD</b> which wil return the file path.
    But when I execute this in my BSP since the FM internally calls a screen it fails.
    But can anyone tell me the alternative for this.
    Should I create a FM omitting the GUI code ?
    I found one more thread which says that I can use classes starting with cl_gos*.
    But all the classes use a gui.
    Dowload a document from R/3 DMS to BSP page
    Am I wrong in the interpretation of the logic from the above thread ?
    Please suggest me .
    I too went thru the BSP Applications <b>CVAW_ENTIRE, CVAW_DOCUMENT_DISPLAY.</b>
    But these are used to display only the <b>thumbnails.</b>
    There is no code for displaying other formats like PDF,XLS etc.
    Please correct me if I'm wrong and let me know the correct path to solve my problem.
    Regards,
    Deepu.K

  • Upload Document in SAP DMS

    Hi SDNites,
    My requirement is to upload document in SAP DMS and this document we are receiving from an external system. Can you please let me know,
    1. Is there any way I can provide a link in ECC SAP DMS for the documents which are stored in external system (SAP CRM) .
    2. Also is there any standard FM / BAPI available which uploads a document into SAP DMS (I do not want to pick documents from a local directory).
    Regards,
    Abhi

    Hi,
    1) R U able to upload any other file type to the DIR AA00-0123 (word/ppt/pdf etc) ?
    2) Can u Create a new DIR and try uploading the same excel file? does that get created?
    once u do the above just let me know.
    Regards
    Abhishek
    Edited by: AAYNI_AK on Nov 11, 2011 11:33 AM

  • SAP DMS Features vs MS Sharepoint

    We are trying to find out the reasons why on why we should or should not use SAP DMS over MS Sharepoint
    I am completely new to SAP DMS and I would like to do a comparison based on features/ease of implementation/cost etc.
    SAP is already implemented in our company.
    Now Could somebody please list out whether the following features are ( Readily available/can be customized/Not possible)
    Co authoring (MS Sharepoint supports it)
    Indexing features Supported?(File indexing/Meta data based)
    Search functionality
    2 Stage Recycle Bin (MS Sharepoint supports it) (Basically what happens when you delete a file from SAP? Is it easily recoverable?)
    Permission configuration at folder level
    Permission configuration at file level
    Rights Permission for View, Edit, Add, Print, Download, Copy etc
    Will DMS protect docs once it leaves the SAP system – for example after downloading it as a document in a Microsoft Office format, in PDF or other formats, without further enforcement, can such documents be copied, forwarded, printed, modified?
    Can the engineering files such as .cal be opened in it?
    Ease for OCR integration(Scanned files)
    Also
    1. Please elaborate on Ease of use as far as users are concerned? How exactly is Easy DMS different from SAP DMS?
    2. Challenges involved in implementation of Easy DMS
    3. Content Server would be provided by SAP right?
    Would really appreciate if somebody can help me asap.
    Thanks in anticipation

    Also
    1. Please elaborate on Ease of use as far as users are concerned? How exactly is Easy DMS different from SAP DMS?
    Free product. A user interface which works like explorer, you can create folders and put your documents in it which creates in background a bill of document ( like BOM) which is not truely possible in ERp(possible but will be insane using it in SAP GUI).
    2. Challenges involved in implementation of Easy DMS
    Windows Vista and Windows / supprted. Not tested the other operating systems but it won't work for all operation systems and some basic bugs but setting up is very easy, download and just install it than enter the imformations like your router, İp etc which you were already entering for SAP.
    3. Content Server would be provided by SAP right?
    Yes it is also free together with MaxDB.
    ** Indexing features Supported?(File indexing/Meta data based)
    You need another server called Trex 7.1 whic is also free ..
    **Stage Recycle Bin
    When you delete a document you just put a deletion flag in Document information record, you are not really deleting the original from server. You need archiving for that with SARA and run Delete all files after arcihing means that not that easy to delete.
    Permission configuration at folder level
    Permission configuration at file level
    There is no real permission configuration for folders. It uses the same authorsation with SAP , document type based, statuı based etc.. But there is ALC authorisation if you use Easy DMS which uses Microsoft authorisation for windows but you do it for user saying the "the user" can enter "the" document.
    **Rights Permission for View, Edit, Add, Print, Download, Copy etc
    Do not hing the original and the data linked to original together. You should aware of that SAP can not manages the original itself.  It can only manage the document information record which is the data like the document number and definition but not the original. SO the copy of document always possible although you give the display authorisation for the document. because it have to be checked out localy to your own computer to be displayed and this automatically causes the document to be copied if the user wants unless you are using another tool ECL viewer(SAP's another free tool to work on CAD files like DWG,DXF and alos supprts PDF etc, it has its own restrictions..)
    And the story goes on...
    From my side DMS has only one real advantage if you are already using SAP which is "object linking". You have to make development thing for the share point to link your originals to SAP object like material, equipment, notification etc. But in SAP it is very easy, usefull , and very easy to manage for both departments at the same time... And also classification and charcteristic support also very usefull which directly creates tabs in reporting too.. The last case yo use DMS is if you are using ECM(Engineering change management than it makes reasonable to use DMS which has direct integration..
    Otherwise continue using sharepoint..
    Regards
    Ömür

  • SAP-DMS and NetWeaver Enterprise Search 7.2

    Good day Experts,
    I will be thankful to you if anyone can help me with the following query.
    In SAP-DMS, we have got a reporting transaction CV04n which has got a facility to search for 'Text Search Within Original'. There is neat procedure if one wants to configure this feature for SAP-DMS. The procedure is as under
    (Re: Document text search in cv04n with TREX)
    1) Transaction: SRMO
    Install TREX search engine, and create RFC destination to connect to
    TREX.
    2) Transaction: SKPR06
    Check the flag to Document Area "DMS" to utilize this document area for
    document search.
    3) Transaction: SE38
    Run the report program "RSTIRIDX_REINDEX" to create Index.
    Also, run the report program "RSTIRIDX" to create Index as well.
    4) SPRO IMG customizing; (Create MIME Types)
    Cross-Application Components > Document Management System > General
    Data > Settings for Storage Systems > Create MIME types for full
    text search, Enter MIME type such as "application/msword",
    "application/pdf".
    5) Then, test retrieval document search using
    Transaction: SKPR07.
    Enter Document Class "DMS_PCD1", Language "EN", Document Class "DMS",
    and try "TEST search".
    We know from Karsten's SDN post (What is really 'SAP Netweaver Enterprise Search' ) that this feature is possible with NW Enterprise Search 7.2
    u201CWith SAP NW Enterprise Search 7.2 having collected the Embedded Search indexes, the local search functionalities stay active and at the same time SAP NW Enterprise Search enables central search access to all Embedded Search systems in the landscape.u201D
    Our query is as under
    Does SAP NW Enterprise Search 7.2 ; which has got its own integrated TREX engine needs assistance from TREX engine from our landscape to make this feature work. This is important becuase then we have to have two different set ups.
    A set up for SAP NW Enterprise Search 7.2 which is a separately licensed product.
    A set up for TREX engine which is part of NetWeaver  licence.
    Regards,
    Sham Bapat

    Good day Sham!
    The answer is:
    No, you will not need the local PLM TREX anymore, as soon as you have installed SAP NWES 7.2 and pointed your PLM there instead of the local TREX.
    And, I repeat, your local search functionality inside PLM will still work anyway.
    Best, Karsten

  • Full text search in Filenet via SAP DMS

    Hello experts,
    Hopefully you can help me with the following. My customer has SAP DMS and uses FileNet (v4.0) as content repository. They use Verity as tool for full text search (SAP and non-SAP). Verity has it's own user interface / search screen. Question is if it is possible for SAP (easy)DMS users to do full text search (via CV04N or EasyDMS searchscreen) and search in the FileNet repository (directly with TREX or via Verity). The customer has the ACSAP connector up and running.
    I've implemented TREX with SAP content server and index server before, but I'm not familiar with FileNet possibilities in that area, so hopefully someone has experience with this?
    thanks in advance, Erwin

    Dear  NAG
    For text search you have activate TREX Server
    follow the steps
    Set TREX
    A:- Transaction: SRMO
    Install TREX , and create RFC destination to connect to
    TREX.
    B:- Transaction: SKPR06
    Check the flag to Document Area "DMS" to utilize this document area for
    document search.
    For Indexing
    A: Transaction: SE38
    Run the report program "RSTIRIDX_REINDEX" to create Index. 
    Also, run the report program "RSTIRIDX" to create Index.
    Set mime type for the text search
    A: SPRO --
    Cross-Application Components > Document Management System > General
    Data > Settings for Storage Systems > Create MIME types for full
    text search,
    Enter MIME type like
    "application/msword",
    "application/pdf".
    Retrive document via Test Search
    A: Then, test retrieval document search using
    Transaction: SKPR07.
    Enter Document Class "DMS_PCD1", Language "EN", Document Class "DMS",
    and try "TEST search".
    Regards
    Tushar Dave

  • Publish MSDS file on line via SAP DMS

    Dear experts,
    Is anyone have any knowledge on publishing/make available on the web MSDS files which are stored in SAP DMS?
    In case that it's not possible to have this link between internet and SAP DMS, I would like to know how can I send my document from SAP DMS to a load tool in a pdf and xml format.
    Thanks for sharing your expertise,
    Kind regards,
    Munir
    Edited by: Mounir.elidrissi on Oct 5, 2010 4:50 PM
    Edited by: Mounir.elidrissi on Oct 5, 2010 4:53 PM

    Hello Mounir
    this is the "wrong" way to do it. In DMS you have only the raw report and not the final report (in > 90% of the cases). The normal EH&S process which can be used are the following:
    a.) make an EXP_CALL using a job to create a final report (e.g. either as Word or as pdf) togetehr with "meta" data (like material number, langauage etc,.) so that you can search for the document in you Web interface (the normal approach used fequently)
    b.) in the past there has been a add on tpo EH&S which should be still available: take a look here
    http://ehsweb-interface.technidata.de/ehswww/EhsWebInterfaceRoot/Documents/EHS_Web-Interface_Flyer_D.pdf
    I have no idea if this add on is still suported or if it has been improved.
    From the "technical " point. The MSDS is handle in some EH&S tabel (ESTDH) this give a linkt to a document in DMS using the unique document number.
    Only if you have set up your report shipment in such a way that the final report is stored in DMS you are able to use that report in a Web interface. The raw report uses normaly the document type "SBR" and the final report "SBE". You need to check customizing. Normally the SBE finale report is deleted automatically somehting like  10 days after it has been used.
    With best regards
    C.B.
    PS: I assume we are talking about normal WWI report. If you have document of type "IBD" you could clearly make them available on the fly in an Web interface because no data can be added to such a document (pdf is used normally as document type/format)
    Edited by: Christoph Bergemann on Oct 6, 2010 9:11 PM

  • Reg archiving to the SAP DMS server

    Hi All
    I have a requirement, I am building an RFC for the PORTAL backend. Currently the front end is generating the PDF for the vendor master. They will be sending the PDF as an XSTRING fromate to my BACKEND RFC. Then i need to convert this XSTRING to Binary -> Binary to PDF and archive it to the SAP DMS server.
      Since i am new to this particular requirement . I need a sample code or some idea how to build the logic based on this requirement. Please suggest is there any better way to handle.
    Portal Frontend - > Xstring - > Backend RFC ( ABAP Side) - > Archive to SAP DMS server.

    Dear ,
    i am facing such type of scenerio .
    did u solve ur problem ?
    i f  so please favour me.

  • Loader preference in SAP DMS

    Hi experts,
    i would like to know
    1) What is loader preference ?
    2) How we can use it in SAP DMS?
    Thanks in advance
    Abhijit

    Hi,
    Loader preference can be used with ECL viewer to set various format for 2D documents such as drawings and layout.
    Please check the installation of ECL viewer. ECL viewer 5.1.3 and above support loader preference.
    1. Open the 2D drawing in ECL viewer
    2. Go to viewer tab. Select Loader preference.
    3. A seperate window will appear where you can give SHX and xRef path for @D drawings, set fonts which are used in drawing file, set preference etc.
    4. You can set preference for file type CGM,DWG/DXF,IGES,DGN,DFT,PDF etc.
    Please refer note no.  718418, 726667.
    Note number 726667 consist of Zip file which shows how to use loader preferences.
    Regards,
    Hemant Patil

  • .vsd application in SAP DMS

    Hi friends,
    I have .vsd application file to upload in SAP DMS. But SAP DMS does not supports this kind of application. What to do? kindly help me out.
    Regards,
    Punam

    Hi Punam
    You can define the application(.vsd) in the t.code DC30. And also the file formats it supports. After you define here you will be able to use in DMS.
    From the DMS you will be able to open the .vsd file if you have the .VSD application installed in your system.
    But you cannot view the file in ECL viewer because ECL Viewer 6 doesn't supports this format.
    ECL Viewer 6.0 Supports the file formats mentioned in note 381860 plus the following formats are also now supported.
    PDF with redlining
    AutoCAD 2007 (DWG)
    DGN
    902
    File Formats that are supported as per note 381860
    Formats of the 2D viewer:
    - 906, 907: Calcomp 906, 907 (vector)
    - bmp: MS Windows or OS/2 bitmap file (raster)
    - C4: JEDMICS C4 tiled raster format (raster)
    - CGM: Binary Computer Graphics Metafile MIL-D-28003 FormatANSI X3.122
    - DWF: Vector-based drawing format (vector)
    - DWG: AutoCAD internal drawing format (vector)
    - DXF: AutoCAD external drawing format (vector)
    - GIF: CompServe color raster format (raster)
    - HPGL: HP Graphics Language (HPGL and HPGL/2) (vector)
    - IGES: Initial Graphics Exchange Input File Specification, MIL-D-28000
    - JPEG: JPEG file (raster)
    - MDL: Model file (vector)
    - MI: HP CoCreate ME 10/ME 30 file format (not available on SGI and
    AIX)
    - MLR: MIL-R-28002 Type 1 raster
    - MPC: Multi-page CALS file
    - OVL: Markup layer
    - PCX: Windows Paintbrush image file
    - PICT: Macintosh Paint file format
    - PNG: PNG file format
    - PS: PostScript (Level 1, Level 2, EPS)
    - RAS: Bi-level Sun raster
    - RVF: Raser Viewing Format
    - TG4: CCITT Group 4 Type II tiled image format
    - TIFF: Tagged Image File Format
    - TLC: TLC file format
    - TRIFF: Monochrome, single and multi-page tiled raster file format
    - TXT: ASCII text file format
    Formats of the 3D viewer:
    - JT: Direct Model
    - STL: Stereolithography
    - VRML 1.0, for VRML 2.0
    Regards
    S.Sivakumar

  • Some questions on SAP DMS

    Hello
    some questions on SAP DMS:-
    - can versions of same document be shown graphically. ?
    - can links be created for documents. can we make sure that links are not broken when document is moved ?(links to document on 1st location shall not be broken)
    - is there a notification mechanism(user can recieve e-mail when document gets changed)
    - is there a review mechanism, before doc. is archived.(sort life cycle)
    Thanks

    Hi Shovon,
    1. can versions of same document be shown graphically?
    You can display all existing versions of a document info record by using the menu 'Extras' >> 'Versions'. Then you will see all existing document version for this specific document number. Further you will see which is the current version at the moment.
    2. can links be created for documents. can we make sure that links are not broken when document is moved ?(links to document on 1st location shall not be broken)
    I'm not quite sure what you mean by links to documents. If you mean linking document info records together, I can confirm that this works also in DMS. You can maintain the object DRAW for object links in the customizing and then you will be able to link one document info record to another. The data for all document info records is stored in table DRAW.
    If you are talking about originals which are linked to document info records, please note that if you check in an original the system creates a unique LOIO- and PHIO-ID which is stored in the Content Server and in the database tables DMS_DOC2LOIO and DMS_PHIO2FILE. But there are also different reports to migrate original data from one content Server to another (e.g. DMS_RELOCATE_CONTENT).
    3. Is there a notification mechanism(user can recieve e-mail when document gets changed)
    Yes you can activate an event type linkage for object
    DRAW     CHANGED     DOKST
    DRAW     CHANGED     DWNAM
    in transaction SWE2. Here you just have to set the flag for 'Type linkage' (linkage activated). Then everytime the document is changed a notification is sent to the entered USER of this document info records.
    4. Is there a review mechanism, before doc. is archived.(sort life cycle)
    Normally there is no special lifecycle. You can control this by maintaining a released status and if there are more versions always version with the release status is the current one. But there is no specific date when the document info record expires or something like that.
    Best regards,
    Christoph
    P.S.: Please reward points for useful information.

  • DMS Document upload: does it pass through sap DMS ?

    Dear All,
    We have a question concerning the transmission of documents from the client to DMS and the Content Server: does the document need to pass through the sap server ?
    Document upload (create document CV01N)
    Does the document go directly from the client to the Content server OR does it pass through the sap DMS before to be stored in the CS ?
    Document download (read document CV03N)
    Does the document go directly from the CS to the client OR does it pass through the sap DMS server ?
    This could be interesting to know for network performances.
    best regards,

    Hi Gurus
    is the cache server a default funtionality from the content server or any configuration is required from our part.
    is that the cache server acts as the RAM of our system?
    please explain the partitioning or biferfication of the Content server, as you told
    content server is divided into storage catagories and  this in turn in to content repositories,
    please  clarify below points,
    1)any server or PC can be made as Content server by insatalling the content server CD if iam right ?
    2) Practical and funtional benifits of partitioning content server into content repositories is it for authorization and storing data by naming convection or can it also help in copiying data from a specific content repository if needed, ( is content repositories a logical partition or practical partition like B,C,D, F drives of our PC hard disk)
    3) can /should there be multiple content server installation for a particular (production) client.
    4) Can Archiving  be done say by creating a separate content repository inside the same Content server, or is it mandatory to have a separate archiving server itself,
    please give some idea with examples
    Thanks and regards
    Kumar

  • SAP DMS - Unable to check in the document

    Hi All,
    I am using SAP ECC 6.0 and working with SAP DMS.
    When I am creating a D I R, I am not able to check in the document into content repository.
    Following error flashes as soon as I try to save the D I R :
    "Error while checking in and storing: D:\Documents and Settings\......\......"
    The error massege number is 26 253.
    I have searched for the related notes on service.sap.com. However all the related notes are relevant for the SAP 4.6 B to ECC 5.00.
    Please help me in fixing the said issue
    Edited by: Rahul Pathak on Jan 28, 2008 11:35 AM

    Hi Rahul,
    How you are trying to check-in the docuement?
    Suggestion:
    1) Which version of ACAD you are using and Which version of ACAD Integration you are using.
    If you are using ACAD integration version 4.0.0.0 then please upgrade to ACAD integration version 4.5.0.0. Whichi is available in SAP Market Place.
    2) In your configuration, are you trying to create JPG Conversion? if so then please remove the trigger CreateAutoNeutralFile from the config.
    Create a new drawing and test the check-in functionality and let me know the result.
    Regards,
    MRK
    (If the points are useful then pls reward points.)

  • SAP DMS: Read document binary data stored in a 3rd party repository

    Hi,
    I'm totally new regarding SAP DMS and I'm a bit confused about what can or can't do, so maybe the question will be quite generic and unclear.
    The scenario in my company is that we have multiple repository servers where we store our documents. When a document is created or modified in one of these repositories a new record is also created/modified in SAP DMS, but this DMS entry only contains the basic metadata information and a URL link to the document, not the content. When the user is in SAP DMS, the only way to access the document content, is via the link that will open the browser outside of SAP GUI and access the repository data using the laptop credentials.
    I would like to know if DMS provides some kind of interface to be able to access the document content from SAP. Now we only have this unidirectional interface from the repository that creates the record in DMS with the metadata but there is nothing to retrieve the content.
    Our main purpose is that we want to download all the files linked to a user (we have a logic to determine if a DMS file is linked to a user). The content of these files may be stored in different content repositories. So I would like to read the binary data in SAP from the different repositories and then be able to download it.
    Thank you in advance for your help.
    - Marçal

    Hi Sagar,
    This FM can't work since there is nothing configured in SAP to access to the file content. The DMS record only has a URL pointing to it.
    Actually what I want to know is what do I have to configure in SAP in order to be able to use a FM like the one you mentioned.

Maybe you are looking for