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

Similar Messages

  • How to save the output of sap script to pdf document in sap

    hi abapers
    how to save the output of sap script in sap so that can retrieve the saved document later.
    i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
    how to use dms

    Hi deepika,
    This thread will solve ur problem OTF  -> PDF
    Regards,
    Pravin

  • How to save the pdf file or word doc into sap table

    Hi Expertu2019s
       I have a pfd file in my presentation server .Now I want to save the pdf file into sap table using module pool program. Whenever i need, I want to open that file from the table and show it in the Screen. Please any one tell me how I can save the file. What is the table name, guide me.
    Regards,
    S.Nehru.

    Hi,
    Try the following code
    FORM gui_upload.
      DATA: lv_filetype(10) TYPE c,
            lv_gui_sep TYPE c,
            lv_file_name TYPE string.
      lv_filetype = 'PDF'.
      lv_file_name = <name of ur file>.
    DATA: tb_file_data TYPE TABLE OF text4096.
    * FM call to upload file
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = lv_file_name
          filetype                = lv_filetype
          has_field_separator     = lv_gui_sep
        TABLES
          data_tab                = tb_file_data
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "gui_upload
    I dont think you can save the data into sap tables in PDF format.
    With the above code you can save data into an internal table.
    Regards,
    Manish

  • How to save the output of sap script in sap so that can be retrieved later

    hi abapers
    how to save the output of sap script in sap so that can retrieve the saved document later.
    i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
    how to use dms
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Dec 26, 2008 11:01 AM

    Hi Deepika,
    Look into this link https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401cca81-b861-2910-ada2-f416dfb3b3fe
    Regards,
    Pravin

  • 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

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

  • 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

  • When I click SAVE PDF i need to get default dynamic name to save the PDF document.

    Hi All,
    When I click SAVE PDF option I need to get default dynamic name. In my case lets say Sales Order Number.pdf.
    Thanks,
    SP.

    Hi,
    I have created SAP Abobe Form for Patient Order.
    So when we execute we will see output as a PDF. If I want to save the PDF From, and click on the SAVE button, by default it comes up with my SAP FORM name, which I don’t want.
    What I want is when I click SAVE button by default it should come up with the Patient Number on the PDF Form, so that i can directely save without changing the name.
    For Example if I view the 101010 Patient Number then i should save the pdf from by 101010.pdf, same way if i view 202020 Patient number then i should save the pdf form by 202020.pdf.
    Please let us know is this possible.
    Thanks,
    SP

  • 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

  • SAP-DMS

    Can somebody send information on SAP-DMS.  Please asap.

    Dear Venkatesh,
    SAP DMS are for storing documents such as CAD drawings, Materials pictures etc.
    With the document management system, users will be able to view the documents with ease within their SAP systems.
    Installing the SAP DMS requires a little bit of planning on how you want to do it.
    You have to give a little thoughts to stuff such as :-
    1.  The total numbers of documents that will be store monthly.
    2.  The average file size of each documents.
    3.  The capacity of your present R/3 system.
    4.  Your present network bandwidth.
    5.   Document Archiving Strategy.
    6.   Backup and Recovery Plan.
    Additional purchasing of hardware are required, especially if you have large amount of documents to stored.
    With this in mind, you can then decide on how you want to do it.
    You can do this in a few ways :-
    1.  Import the documents into the R/3 system.
    2.  Use an external document server.
    3.  Have a dedicated PCs where all the documents are stored.
    Most companies that intend to used DMS will opt for Option 2 as they does not want to overstretch the R/3 database.
    Options 1 requires you to setup the conversion interface. 
    The conversion interface allows R/3 to automatically covert your files and import it into the R/3 database.
    Here is a simple example of storing documents into your PCs, just to have a feel how the SAP DMS works:-
    For those using Citrix, you have to set this at the Citrix Server where the SAPGUI is located.
    Configure SM30 - V_TDWE_C1
    Put this command in your autoexec.bat
    SET HOSTNAME=PC1234
    Restart your pc.
    You can create/manage your documents in transaction code CV01N / CV02N
    Assigning Documents to a Material Master Record
    Access a material master record in Create or Change mode, and select Basic Data. 
    To create links to documents, choose Additional data -> Document data.
    The Link to Documents dialog box appears.
    Assign one or more documents to the material. 
    If you do not know what the document number is, you can search for it using the search help or by choosing Find document.
    When assigning a document to a material, you have the following options:
    1. Viewing the document by choosing it in the Link to Documents dialog box.
    2. Viewing any originals of the document by positioning the cursor on the document and 
       choosing Display originals in the Link to Documents dialog box.
    To return to the Basic Data screen, choose Continue.
    Save your data. 
    Hope this helps you.
    Do award points if you found them useful.
    Regards,
    Rakesh

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

  • Documentation on SAP DMS

    Hello,
    Can anybody help me finding SAP or other documentation related with DMS (Document Management System)?
    Thanks,
    Regards,
    Ana

    Dear Kishore,
    SAP DMS - Document Management System
    SAP DMS are for storing documents such as CAD drawings, Materials pictures etc.
    With the document management system, users will be able to view the documents with ease within their SAP systems.
    Installing the SAP DMS requires a little bit of planning on how you want to do it.
    You have to give a little thoughts to stuff such as :-
    1.  The total numbers of documents that will be store monthly.
    2.  The average file size of each documents.
    3.  The capacity of your present R/3 system.
    4.  Your present network bandwidth.
    5.   Document Archiving Strategy.
    6.   Backup and Recovery Plan.
    Additional purchasing of hardware are required, especially if you have large amount of documents to stored.
    With this in mind, you can then decide on how you want to do it.
    You can do this in a few ways :-
    1.  Import the documents into the R/3 system.
    2.  Use an external document server.
    3.  Have a dedicated PCs where all the documents are stored.
    Most companies that intend to used DMS will opt for Option 2 as they does not want to overstretch the R/3 database.
    Options 1 requires you to setup the conversion interface. 
    The conversion interface allows R/3 to automatically covert your files and import it into the R/3 database.
    Here is a simple example of storing documents into your PCs, just to have a feel how the SAP DMS works:-
    For those using Citrix, you have to set this at the Citrix Server where the SAPGUI is located.
    Configure SM30 - V_TDWE_C1
    Put this command in your autoexec.bat
    SET HOSTNAME=PC1234
    Restart your pc.
    You can create/manage your documents in transaction code CV01N / CV02N
    Assigning Documents to a Material Master Record
    Access a material master record in Create or Change mode, and select Basic Data. 
    To create links to documents, choose Additional data -> Document data.
    The Link to Documents dialog box appears.
    Assign one or more documents to the material. 
    If you do not know what the document number is, you can search for it using the search help or by choosing Find document.
    When assigning a document to a material, you have the following options:
    1. Viewing the document by choosing it in the Link to Documents dialog box.
    2. Viewing any originals of the document by positioning the cursor on the document and 
       choosing Display originals in the Link to Documents dialog box.
    To return to the Basic Data screen, choose Continue.
    Save your data. 
    Do award points if you found them useful.
    Regards,
    Rakesh

Maybe you are looking for

  • Get Blackberry to unleash the full power of the Q10 Keyboard.

    About me: * A  am a heavy Blackberry user and developer since the 7200. * I Love BB Keyboard because it's a workhorse, it just gets thinks done faster. My Feedback: * Q10 is still missing lots of the keyboard Magic of the 9900  How Can this be done..

  • Console Window keeps popping up for one second then vanishes before I can read it

    a console window (with white letters on a black background) keeps popping up for 1 second and then vanishes before i have time to read it - How can i stop that, or how can i capture what is written on the console before it disappears (so that I can t

  • How to prepare test 1Z0-512.

    I am wondering whether any of you have past this exam. I am thinking to take this test, but I need more info desparately. Anyone could give a suggestion how to prepare this test of "Developing database applications with Java"? Thx.

  • Excise invoice problem(J1IG)?

    Hi all user is giving wrong description in MIGO (Excise inv tab). which i have to cancel first material doc or excise invoice?

  • The back case of the ipod

    ok so i was given a used ipod nano and i was cleeaning it off and it looks liike the back cover is semi coming off. Is there a way to take it off and re put it on??? If so please let me kno