DMS BAPI SEARCH

We are planning to have a .Net system connect through PI, into ECC and search for a document based off of the classificaitons of a document, then access that document from our DMS repository.
For example we would have a Purchase Order sent in and we we store the PDF and a classification would be DEALERPO -> Value = PO12345
I don't see anything in the standard BAPI's for Cross-Applicaiton Components -> DMS nor Cross-Applicaiton Components -> Classification.
I was expecting to see something under Cross-Applicaiton Components -> Classification -> ObjectClassification -> GetKeyOfObject based on classifications....am I missing something??
I would expect that we would have to provide that this is a DMS class type and the value of the description of the classificaiton along with the value we are searching for.

We had to create a customization to make this happen.

Similar Messages

  • DMS BAPI RFC Open DMS document from external application

    Hello,
    I want open a document stored in DMS through RFC BAPI, from an external application (for example .NET)
    EasyDNS run OK: I have included the bapi Z_EASYDMS_ECL_OPEN_DOCUMENT (code from a SAP note)  in the system and I can open ECL/EAI & local documents (pdf, word, ...)
    If I run Z_EASYDMS_ECL_OPEN_DOCUMENT from SE37 run OK: I can see every document, document is downloaded to local system and then open.
    But when I call bapi Z_EASYDMS_ECL_OPEN_DOCUMENT from my external application through RFC I don't receive any result: document is not download to local system.
    I have debugged the bapi (with SM50) and I have see that the calling entry in bapi, run and then ... crash.
    I have detected the fail in OLE_FLUSH_CALL: system has a dump.
    Summary:
    - EasyDMS run Ok
    - SE37 Z_EASYDMS_ECL_OPEN_DOCUMENT run ok
    - Z_EASYDMS_ECL_OPEN_DOCUMENT dump at OLE_FLUSH_CALL
    Any idea?
    thanks in advance,

    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.

  • CA-DMS BAPI Problems

    I am trying to understand the preferred method of creating and editing Document data, when the provided Business Object methods do not contain access to all of the draw fields.  We have also created append structures, and I am finding that none of the methods (BAPIs) extend to provide access to the appended fields.
    Does anyone know the preferred way to access those fields?

    The table for DMS is DRAW. I suggest you enlist the services of an ABAP programmer. Modifying table data is not something to tread lightly on and you may be stuck with some limitations on the data based on whether the data is locked for change or not.
    Edited by: Athol Hill on Jul 24, 2010 11:31 PM

  • DMS-TREX Search Type

    Under DMS Search option CV04n, SAP has provided TEXT Search with TREX search where-in we get different search type with AND & OR options
    Can some expert explain me what is exactly meaning of each search type...?
    If you any document kindly forward that to
    [email protected]
    thanks in advance
    rgds
    Kamal

    hi,
    the AND and OR means that if you pass more than 1 word
    as the search text and AND or OR operation on that will be done
    based on what is passed.
    i have mailed you the document
    for details refer to the thread....
    /message/4559961#4559961 [original link is broken]
    thanks
    Aravinda
    reward points in helpful

  • BAPI Search error

    Hi,
    Once after connecting to the portal and connecting to the mapped r3 system,i'm trying to search for BAPIs it was throwing the error
    Search returned an error.
    Fatal Error:
    com.sap.engine.lib.xml.parser.ParserException:
    XMLParser: Bad attribute list. Expected White Space,/ or >:(:main:, row:1,col:37)
    Whatz this error about..

    Hi friends,
    Think nobody faced such type of problem earlier... on go thru the several logs i got the below lines from the Visual Composer output console ... please somebody throw some light on my problem ....
    <b>0001> Portal Connector: try to connect to portal
    0002> Portal Connector: connect to portal
    0003> Portal Connector: before fire onConnectionStateChanged with value: connect
    0004> Portal Connector: invoke command name: discovery
         params:
         data: <Request type="getAllSystems"></Request>
    0005> Portal Connector: fetch command url: http://eztest/vcserver/bin/gm1669030.asp?d=Tue Dec 26 10:21:18 UTC+0530 2006
    0006> Portal Connector: fetch requestData: GUIMACHINE_COMMAND=%3Ccommand%20name%3D%22discovery%22%3E%3Cparameters%2F%3E%3Cdata%3E%26lt%3BRequest%20type%3D%26quot%3BgetAllSystems%26quot%3B%26gt%3B%26lt%3B%2FRequest%26gt%3B%3C%2Fdata%3E%3C%2Fcommand%3E
    0007> Portal Connector: result from fetch operation:
    <result><data>&lt;Response type='getAllSystems'&gt;&lt;Systems&gt;&lt;System alias='Exchange' system_type='null'/&gt;&lt;System alias='EzComSystem' system_type='null'/&gt;&lt;System alias='EzCommerce' system_type='null'/&gt;&lt;System alias='EzcExchangeApplication' system_type='null'/&gt;&lt;System alias='EzcLTSystem' system_type='null'/&gt;&lt;System alias='EzcPortalApplication' system_type='null'/&gt;&lt;System alias='EzcSalesPortal' system_type='null'/&gt;&lt;System alias='EzcWebAppSystem' system_type='null'/&gt;&lt;System alias='EzcWebAppTemplet' system_type='null'/&gt;&lt;System alias='KMWebDav_Outlook' system_type='null'/&gt;&lt;System alias='MySysAlias' system_type='null'/&gt;&lt;System alias='MySystem' system_type='SAPFactory'/&gt;&lt;System alias='MyYahooSys' system_type='null'/&gt;&lt;System alias='SAPQRY' system_type='SAP_BI_SAPQ'/&gt;&lt;System alias='SAP_BW' system_type='SAP_BW'/&gt;&lt;System alias='VTestSysAlias' system_type='null'/&gt;&lt;System alias='VWebAppAlias' system_type='null'/&gt;&lt;System alias='WebEx' system_type='null'/&gt;&lt;System alias='YahooMail' system_type='null'/&gt;&lt;System alias='ezIts' system_type='SAPFactory'/&gt;&lt;System alias='ezcidz' system_type='SAPFactory'/&gt;&lt;System alias='ezcsuitesys0' system_type='null'/&gt;&lt;System alias='ezmeddevices' system_type='SAPFactory'/&gt;&lt;System alias='iez' system_type='SAPFactory'/&gt;&lt;System alias='outllook' system_type='null'/&gt;&lt;/Systems&gt;&lt;/Response&gt;</data></result>
    0008> Portal Connector: after fire onConnectionStateChanged with value: connect
    0009> Portal Connector: connected to portal
    0010> Portal Connector: invoke command name: discovery
         params:
         data: <Request type="getFilteredFunctions" system="ezcidz" function="BAPISALE" group="*" start="" count=""></Request>
    0011> Portal Connector: fetch command url: http://eztest/vcserver/bin/gm1669030.asp?d=Tue Dec 26 10:21:30 UTC+0530 2006
    0012> Portal Connector: fetch requestData: GUIMACHINE_COMMAND=%3Ccommand%20name%3D%22discovery%22%3E%3Cparameters%2F%3E%3Cdata%3E%26lt%3BRequest%20type%3D%26quot%3BgetFilteredFunctions%26quot%3B%20system%3D%26quot%3Bezcidz%26quot%3B%20function%3D%26quot%3BBAPISALE%26quot%3B%20group%3D%26quot%3B*%26quot%3B%20start%3D%26quot%3B%26quot%3B%20count%3D%26quot%3B%26quot%3B%26gt%3B%26lt%3B%2FRequest%26gt%3B%3C%2Fdata%3E%3C%2Fcommand%3E
    0013> Portal Connector: result from fetch operation:
    <result><exception source="command-handler"><message>Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or &gt;:(:main:, row:1, col:37)</message><severity value="NORMAL"/></exception></result>
    0014> Portal Connector: invoke command name: discovery
         params:
         data: <Request type="getFilteredFunctions" system="ezcidz" function="BAPISALE" group="*" start="" count=""></Request>
    0015> Portal Connector: fetch command url: http://eztest/vcserver/bin/gm1669030.asp?d=Tue Dec 26 10:39:42 UTC+0530 2006
    0016> Portal Connector: fetch requestData: GUIMACHINE_COMMAND=%3Ccommand%20name%3D%22discovery%22%3E%3Cparameters%2F%3E%3Cdata%3E%26lt%3BRequest%20type%3D%26quot%3BgetFilteredFunctions%26quot%3B%20system%3D%26quot%3Bezcidz%26quot%3B%20function%3D%26quot%3BBAPISALE%26quot%3B%20group%3D%26quot%3B*%26quot%3B%20start%3D%26quot%3B%26quot%3B%20count%3D%26quot%3B%26quot%3B%26gt%3B%26lt%3B%2FRequest%26gt%3B%3C%2Fdata%3E%3C%2Fcommand%3E
    0017> Portal Connector: result from fetch operation:
    <result><exception source="command-handler"><message>Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or &gt;:(:main:, row:1, col:37)</message><severity value="NORMAL"/></exception></result></b>
    when i tried to access the asp file dirwctly from browser its throwing the error that there is some problem with the page ... is there anythinr to do with this ....

  • Bapi-- search help

    hoe i can make s.help with bapi in program

    This is how u can create "Search Help" for the fields of the ztables that u have created.
    SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
    Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
    SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
    Click on the "Search Help tab" just above the "Data Type " column.
    Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
    U can repeat the process for whatever fields u want to assign a Search Help.
    se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
    Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
    Ok....>Save.........> Activate
    http://fuller.mit.edu/tech/search_helps.ppt#260,5,Simple
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
    Regards.

  • DMS document search

    Hello Guru,
    Can you help me to find any transaction code or tables for SAP DMS, that can suite the following parameters for my selection?
    1. Document Status
    2. Approver
    3. Reviewer.
    Thank you.

    Dear Friend,
    Can you help me to find any transaction code or tables for SAP DMS, that can suite the following parameters for my selection?
    1. Document Status
    2. Approver
    3. Reviewer.
    Everything is available in CV04N.
    With Regards
    Mangesh Pande

  • DMS - BAPI - BAPI_DOCUMENT_CHECKIN2 - No upload to server

    Hi,
    I am having a problem with BAPI_DOCUMENT_CHECKIN2. I use it to checkin a document into an existing Document info record.
    Example of how I am using the BAPI:
    REPORT ztestdms .
    DATA: it_files  LIKE TABLE OF bapi_doc_files2 WITH HEADER LINE.
    DATA: ln_return LIKE bapiret2.
    it_files-docfile       = 'C:tempDMS_Test.txt'.
    it_files-wsapplication = 'TXT'.
    APPEND it_files.
    CALL FUNCTION 'BAPI_DOCUMENT_SETCOMMITMODE'
         EXPORTING
              auto_commit = 'X'.
    CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
      EXPORTING
        documenttype            = 'TEK'
        documentnumber          = '0000000000000010000000046'
        documentpart            = '000'
        documentversion         = '00'
    *   HOSTNAME                = ' '
    *   STATUSINTERN            = ' '
    *   STATUSEXTERN            = ' '
        statuslog               = 'test mb'
    *   REVLEVEL                = ' '
    *   AENNR                   = ' '
    *   PF_FTP_DEST             = ' '
    *   PF_HTTP_DEST            = ' '
      IMPORTING
        return                  = ln_return
      TABLES
        documentfiles           = it_files
    *   COMPONENTS              =
    *   DOCUMENTSTRUCTURE       =
    WRITE ln_return.
    The BAPI links the file to the DIR but does not upload it, the lock symbol in transaction CV02N is still open and the file is still available at the client. A manual checkin completes the process but this is not wanted.
    What I would like to happen is the file to be uploaded (actually checked in) and removed from the client.
    Any help is welcome and thanks in advance.

    Sunil,
    I am having the same problem and have already created an OSS note for SAP in which they reply:
    <i>However, as you use Visual Basic, your query represents
    a consulting issue rather than a problem based on a
    software error in R/3 (as you said, the BAPI works in TA
    se37). Therefore, I would ask you to contact our Remote
    Consulting and to open a new call under component XX-RC.
    Our consultants will assist you.
    Nevertheless, you could also try to use CVAPI_DOC_CHECKIN
    instead of BAPI_DOCUMENT_CHECKIN2, API-s are much more
    flexible than BAPI-s.
    Thank you for your understanding.!
    </i>
    I have just finished testing this other function but it has the same result. Below you will find an example program with this other function.
    Function SAPCheckinExample()
    Dim R3 As Object
    Dim conn As Connection
    Dim rfcFunc As SAPFunctionsOCX.Function
    Dim PF_DOKAR As Object, PF_DOKNR As Object, PF_DOKTL As Object
    Dim PF_DOKVR As Object, PSX_MESSAGE As Object, PT_FILES_X As Object
    Dim PS_DOC_STATUS As Object
    Dim blnResult As Boolean
    Dim strMsg As String, strTtl As String, intStl As Integer, strTyp As String
    '**** Change these constants as desired *************************************
    Const strApplicationServer = "ur_server"
    Const strSystemNumber = "XX"
    Const strClient = "XXX"
    Const strLanguage = "EN"
    Const strDocTyp As String = "TEK"
    Const strDocNum As String = "0000000000000010000000045"
    Const strDocPrt As String = "000"
    Const strDocVer As String = "06"
    Const strFile As String = "C:CADDEV_RFC.TXT"
    Const strApplication As String = "TXT"
    Const strStorage As String = "DMS_C1_ST"
    '**** Program extract *******************************************************
    ' Create a new connection object
    Set R3 = CreateObject("SAP.Functions")
    Set conn = R3.Connection
    ' Set the logon parameters
    'R3.LogFileName = "C:WINDOWSDESKTOPSAPLOG.TXT"
      conn.ApplicationServer = strApplicationServer
      conn.SystemNumber = strSystemNumber
      conn.Client = strClient
      conn.Language = strLanguage
      conn.AutoLogon = True
      ' Logon
      If conn.Logon(0, False) <> True Then
          strMsg = "Logon failure!"
          strTtl = "Logon"
          intStl = vbOKOnly & vbExclamation
          MsgBox strMsg, intStl, strTtl
          Exit Function
      End If
      ' Create the checkin rfc in the connection object
      Set rfcFunc = R3.Add("CVAPI_DOC_CHECKIN")
      ' Link the parameters from the rfc to the objects called in this function
      With rfcFunc
          Set PF_DOKAR = .Exports("PF_DOKAR")
          Set PF_DOKNR = .Exports("PF_DOKNR")
          Set PF_DOKTL = .Exports("PF_DOKTL")
          Set PF_DOKVR = .Exports("PF_DOKVR")
          Set PS_DOC_STATUS = .Exports("PS_DOC_STATUS")
          Set PSX_MESSAGE = .Imports("PSX_MESSAGE")
          Set PT_FILES_X = .Tables("PT_FILES_X")
      End With
      ' Set the parameters for the rfc
      PF_DOKAR.Value = strDocTyp     ' Document Type
      PF_DOKNR.Value = strDocNum     ' Document number
      PF_DOKTL.Value = strDocPrt     ' Document Part
      PF_DOKVR.Value = strDocVer     ' Document Version
      With PT_FILES_X
        .Rows.Add
        .Value(1, "PATHNAME") = strFile
        .Value(1, "DAPPL") = strApplication
        .Value(1, "STORAGE_CAT") = strStorage
      End With
      ' Call the rfc
      blnResult = rfcFunc.Call
      Debug.Print blnResult ' True if the function is called succesfully
      'Check if the rfc is executed correctly
      Set PSX_MESSAGE = rfcFunc.Imports("PSX_MESSAGE")
      Debug.Print PSX_MESSAGE("MSG_TYPE"); PSX_MESSAGE("MSG_ID"); PSX_MESSAGE("MSG_NO"); PSX_MESSAGE("MSG_TXT")
      strTyp = PSX_MESSAGE("MSG_TYPE")
      strMsg = PSX_MESSAGE("MSG_TXT")
      Select Case strTyp
        Case "S"
          intStl = vbOKOnly + vbInformation
          strTtl = "Info"
        Case "I"
          intStl = vbOKOnly + vbInformation
          strTtl = "Info"
        Case "E"
          intStl = vbOKOnly + vbExclamation
          strTtl = "Error!"
        Case "W"
          intStl = vbOKOnly + vbExclamation
          strTtl = "Error!"
        Case "A"
          intStl = vbOKOnly + vbCritical
          strTtl = "Critical error!"
      End Select
      conn.Logoff
      If strMsg = "" Then
        strMsg = "File checked in!"
        strTtl = "Info"
        intStl = vbOKOnly + vbInformation
        MsgBox strMsg, intStl, strTtl
      Else
        MsgBox strMsg, intStl, strTtl
      End If
    End Function
    Message was edited by: Maurice Brouwers

  • BAPI for purchase order enhancement in DMS

    hi, guru,
    one of the client requirement is,
    Is there any BAPI s for enhance ment of DMS and Purchase order FUnctionalities?
    points!!!!!!!!!!1

    Hi,
    regarding the DMS BAPIs please see the transaction BAPI in your system or the SAP note 766277 which contains a complete documentation on all DMS BAPIs.
    Best regards,
    Christoph

  • BAPI calls for DMS in CRM system

    Hi,
    What BAPI calls are available on CRM system to support DMS? Where can I find more info on this?
    Regards,
    Naveen

    Interesting question.
    A survey of transaction bapi reveals no DMS bapi's in CRM2007. However, In SPRO there are controls for DMS and transaction CSADMIN can also be found in the system.

  • Reg..View a document in DMS

    Hi friends
    Pl guide me
    I created a document in cv01n and user can access the documents via cv03n.if we use cv03n its download the document.but i want user cant download the document they can only view the documents.how can i achieve this in DMS.i searched lot of forms but i cant get the answer pl guide me
    Thanks
    selva

    Hi Selva,
    Refer blog: http://wiki.sdn.sap.com/wiki/display/PLM/2.Customizing(CA-DMS-EAI)
    Section : Define Workstation application in Network
    For column: Application (path and program)
    Maintain the value %SAP-OFFICE-INTEGRATION.INPLACE%
    Above configuration will open the Micrsoft Office application within the window for processing the document info record.
    Hence user will not be able to download the attachment.
    And with option of Authorization controls you can disable "SAVE" and "PRINT" options from the menu screen.
    Hence user will not be able to save or print the attachment.
    Regards,
    Deepak Kori

  • TREX/Content Server: Full text searches not working

    I've setup TREX and Content Server in a sandbox environment and have been trying to get my head around DMS.  I've completed what I've believed are the required steps (outlined below) and I have submitted 12 documents of various types into the respository.  I'm able to perform meta data searches but not full text searched.  Any ideas what I might have missed?
    Much thanks!!!!
    /Greg
    0. Defined connection to TREX Server: TREX_42 (SM59); Using TREXADMIN all services are green.
    1. "Define Document Area" - DMS is present; assumed I would use this one.
    2. "Defined Indexing Readiness" - selected "Index Release" & "Classify" for DMS; set "Search Srv" to DMS_TEST
    3. "Define Content Respository" - Created Z_CR_001 and maintained it as follows:
      - Documentation Area: Document Management System
      - Storage Type: HTTP content server
      - HTTP Server:  srv-sptxd2-dal.intervoice.int  (content server)
      - Port: 1090
      - HTTP Script: ContentServer/ContentServer.dll
      - Physical Path: /usr/sap/IRD/SYS/global/
    4. "Define Content Categories" - Created ZCSSTRUCT; maintained as follows:
      - Document Area: DMS
      - Content Rep: Z_CR_001
    5. Checked CSADMIN for Z_CR_001 - All Green
    6. Went into SKPR07 (monitoring tab); entered DMS_PCD1 and "Indexing possible", "Auto indexing" and "DocArea activated" is all green.
    7. Went into SMRO
      - created SSR: "Search Server ID" = DMS_TEST, "Search engine" = DRFUZZY
      - Verified "RFC Destinations"; passed tests; all green.
    8. Went into SKPR07; using DMS_PCD1 as document class. 
      - executed "Clean up table entries"
      - deselected "Limited to selected language"
      - executed reindex. "Copied successfully from search engine"
      - Selected the created index category
      - Set the "Document area" indicator
      - execute "Trigger process"; 12 documents referenced
    9.  Going into TREXADMIN I can see the created index; however the document count = 0.  Also there is no queue created -- should there be?
    Edited by: Greg Preston on Aug 5, 2009 9:11 PM

    Dear
    this link will help you,
    TREX Architecture
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/71/b26b2bfdc4eb47ab5432e8444290ce/content.htm
    File Formats Supported by TREX
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/55/cb634114b78047e10000000a1550b0/content.htm
    Detail about TREX Configuration  (Basic to advance)
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/46/bab1d48b0a1514e10000000a114a6b/content.htm
    Regards
    Tushar Dave
    Edited by: Tushar Dave on Aug 6, 2009 9:59 AM

  • 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

  • BAPI bapi_doc_draw2

    Hi Gurus,
    I am using bapi "bapi_doc_draw2" to pass data for a new document. and using bapi "BAPI_DOCUMENT_CREATE2" to create a new document.
    But i am getting an error - "Class type T01 : class T_CLASS_MAINT_WI not found"
    Please help me with this error
    Thanks,
    Aditya

    Hi Shruti,
    please note that DMS BAPIs require always a SAPGUI channel or open RFC    
    connection to start the SAPHTTP/SAPFTP program that is used to up- or     
    download files to the client. If the BAPI ist executed in background      
    mode, the system doesn't know from where to get the original file.                                                                               
    Please do not use BAPIs in background mode, use APIs instead. They are    
    more flexible regarding RFC calls (background processing). I hope the
    SAP note 504692, which contains sample programs for special          
    checkin/checkout cases could be useful for you. Please read this note and use the sample          
    programs as a basis for your own coding. Further please see also note     
    796709 which also might contain useful information for such cases.        
    Best regards,
    Christoph

  • DMS support on CRM?

    Hi,
    Does CRM support DMS(Document Management System)?
    Regards,
    Naveen

    Interesting question.
    A survey of transaction bapi reveals no DMS bapi's in CRM2007. However, In SPRO there are controls for DMS and transaction CSADMIN can also be found in the system.

Maybe you are looking for