‎2007 Aug 23 7:48 AM
Hi.
I am using fm 'bapi_document_create2' for creating douments of dms.
it throws me an error 'version assigned automatically internally for document type'
error no: e006(26)
i have populated all tables properly and passing to the bapi.
part of code***
loop at it_docdata.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
DOCUMENTDATA = it_docdata
HOSTNAME =
DOCBOMCHANGENUMBER =
DOCBOMVALIDFROM =
DOCBOMREVISIONLEVEL =
CAD_MODE = ' '
PF_FTP_DEST = ' '
PF_HTTP_DEST = ' '
IMPORTING
DOCUMENTTYPE = documenttype
DOCUMENTNUMBER = documentnumber
DOCUMENTPART = documentpart
DOCUMENTVERSION = documentver
RETURN = ireturn
TABLES
CHARACTERISTICVALUES = it_doccharval
CLASSALLOCATIONS = it_docclassalloc
DOCUMENTDESCRIPTIONS = it_docdescp
OBJECTLINKS = it_objectlinks
DOCUMENTSTRUCTURE = it_docstructure
DOCUMENTFILES = it_docfiles
LONGTEXTS = it_doclongtext
COMPONENTS =
.
endloop.
*******************************************************************
what could the problem?????
please treat it on priority.
Thanks and regards
Siddhesh
‎2011 Sep 13 2:19 AM
Hi,
I know the original post is from several years back, but could you please explain what he solution was?
I am experiencing the same issue.
regrads
Julian