Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_DOCUMENT_CREATE error

Former Member
0 Likes
1,310

Dear Experts,

When I use BAPI_DOCUMENT_CREATE to create document, I encountered error message "E26300 The Knowledge Provider is using document type DRW as a storage system", can anyone tell me how to solve this issue?

Below is the parameters that I pass in:

docdata-documenttype = 'DRW'.

docdata-documentnumber = it_struc-zmatnr+5(7).

docdata-documentversion = '00'.

docdata-documentpart = '000'.

docdata-statusextern = 'IA'.

docdata-wsapplication1 = 'TIF'.

CLEAR docfiles.

REFRESH docfiles.

docfiles-datacarrier = 'SAP-SYSTEM'.

docfiles-docfile = 'c:\TEST4.TIF'.

docfiles-wsapplication = 'TIF'.

APPEND docfiles.

CLEAR docdesc.

REFRESH docdesc.

docdesc-language = 'EN'.

docdesc-description = 'TESTING'.

APPEND docdesc.

CLEAR objectlinks.

REFRESH objectlinks.

objectlinks-objecttype = 'MARA'.

objectlinks-objectkey = it_struc-zmatnr.

CALL FUNCTION 'BAPI_DOCUMENT_CREATE'

EXPORTING

documentdata = docdata

IMPORTING

DOCTYPE = doctype

DOCNUMBER = docnumber

DOCPART = docpart

DOCVERSION = docver

RETURN = return

TABLES

DOCUMENTDESCRIPTIONS = docdesc

OBJECTLINKS = objectlinks

DOCUMENTFILES = docfiles

.

6 REPLIES 6
Read only

Former Member
0 Likes
796

Already found the solution myself.

Read only

0 Likes
796

I'have the same problem.

Please tell me the solution.

Thx in advance

Read only

0 Likes
796

Hello,

I am also facing the same problem. Did you find a solution for yours?

Thanks and regards,

Read only

Former Member
0 Likes
796

try BAPI_DOCUMENT_CREATE2 instead of BAPI_COCUMENT_CREATE

Read only

Former Member
0 Likes
796

Former Member,

Can you please tell me how to resolve this issue.

I am also facing same problem.

Regards,

Santhosh G

Read only

Former Member
0 Likes
796

This message was moderated.