Hi All,
While running the BAPI_DOCUMENT_CREATE2 the Documents are not attaching from Presentation Server but Drawing Version is creating . This is my code
lt_files-storagecategory = 'SAP-SYSTEM'.
lt_files-docfile = 'C:\testfile.doc'.
lt_files-wsapplication = 'DOC'.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING: documentdata = ls_doc
*pf_ftp_dest = 'SAPFTPA'
IMPORTING: documenttype = lf_doctype
documentnumber = lf_docnumber
documentpart = lf_docpart
documentversion = lf_docversion
return = ls_return
TABLES: documentdescriptions = lt_drat
objectlinks = lt_drad
documentfiles = lt_files.
Drawing Version is Creating but the file is not creating ..
Plz share ur ideas on this .