Skip to Content
0
Former Member
May 08, 2010 at 12:50 PM

BAPI_DOCUMENT_CREATE2 Drawing version Upload (CV01n)

36 Views

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 .