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

DMS - Errror BAPI_DOCUMENT_LOAD and BAPI_DOCUMENT_CREATE2

Former Member
0 Likes
769

Hi Experts!

During inserting a new document with BAPI_DOCUMENT_LOAD or BAPI_DOCUMENT_CREATE2 I get always the error 'ERROR WHILE CHECKING IN AND STORING: G:\mynewdoc.txt' .

G: is my external hard disk connected to my laptop on which I am working in SAP.

mynewdoc.txt is the new text-document that I want to insert.

Does anybody knows something about this error?

Do I need a special communication between the SAP-System and a external device like my hard disc?

Thanks in advance for your support!!

Regards

Franz

4 REPLIES 4
Read only

Former Member
0 Likes
667

Hi Franz,

If you try to check-in the document using the transaction (CV01N or CV02N) does the same error occur?

Regards,

John.

Read only

0 Likes
667

Hi John,

when I use the the transaction (CV01N or CV02N) everything is ok. The error is only in my ABAP using the Functionmoduls BAPI_DOCUMENT_LOAD and BAPI_DOCUMENT_CREATE2.

Regards,

Franz

Read only

0 Likes
667

Hi Franz,

I use the same BAPI BAPI_DOCUMENT_CREATE2 for checking documents from a network drive, without any problems.

Could you post the coding for filling all the parameters of the BAPI?

Regards,

John.

Read only

0 Likes
667

Hi John,

I don't no why, but it works now.

Sorry for the inconvenience.

Regards,

Franz