cancel
Showing results for 
Search instead for 
Did you mean: 

Document doesn't upload to DMS

Former Member
0 Kudos

Dear All,

I am using the FM ' CVAPI_DOC_CREATE' to upload fils to DMS, but it not uploading the documents in DMS. The FM does generate a document number and also doesn't generate any error message, but the files are not uploaded. ANy idea how to overcome this issue?

There are the parameters i am passing to the FM. Am i missing anything.

      CALL FUNCTION 'CVAPI_DOC_CREATE'
      EXPORTING
        ps_draw                    = ls_draw
*   PF_STATUSLOG               = ' '
*   PF_REVLEVEL                =
       ps_api_control             = ls_api_ctrl
   PF_FTP_DEST                = 'SAPFTPA'
   PF_HTTP_DEST               = 'SAPHTTPA'
*   PF_HOSTNAME                = ' '
   PF_CONTENT_PROVIDE         = 'TBL'
IMPORTING
   PSX_MESSAGE                = ls_message
*   PFX_DOKAR                  =
   pfx_doknr                  = l_documentnumber
*   PFX_DOKVR                  =
*   PFX_DOKTL                  =
     TABLES
*   PT_DRAD_X                  =
*   PT_DRAT_X                  =
   pt_files_x                 = lt_files
*   PT_COMP_X                  =
       pt_content                 = lt_drao
*   DOCUMENTDESCRIPTIONS       =
              .

Regards,

Runal

Accepted Solutions (0)

Answers (2)

Answers (2)

JanarthananE
Contributor
0 Kudos

Hi Runal,

As a navith mentioned above may be solved ur problem, in addition to that, u can also refer the following link for better understanding.

http://scn.sap.com/thread/1311311

http://scn.sap.com/thread/3164690

Hope its useful to u,

Regards

Jana

Former Member
0 Kudos

Hi Runal,

    Refer the thread that i have posted below.I hope that it will be helpful for your issue.

       http://scn.sap.com/message/9886255

Regards,

Navith