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

Error while document creation using BAPI_DOCUMENT_LOAD

Former Member
0 Likes
707

I have error "Error while checking in and storing:  " while creating  new version of the document from the information like originals from the older version of the document

For example I will  get the Originals(files) details from the Old version "A" using "BAPI_DOCUMENT_GETDETAIL2" to create new version "B".only the orginals(files ) are copied from the old version.

The error arrives when the file is not available in the the path provided by the older version . if the file is available in the path , the error is not coming .

This process is similar to functionality of creating new version of   document with reference to  existing old version of  document using transaction CV01N.In the standard even the the file is not available in the specified path , new version is being created .

How to create the new version of  document from the  older  version even the file is not available in the path  by using" BAPI_DOCUMENT_LOAD" .

Regards,

Dileep Mohanraj

2 REPLIES 2
Read only

former_member188827
Active Contributor
0 Likes
524

Have you tried using BAPI_DOCUMENT_CREATE2?

Regards

Read only

0 Likes
524

My requirement is to create the document using Lsmw Business object "DRAW" and method "LOAD" .This Object triggers BAPi "BAPI_DOCUMENT_LOAD " . So only option is using the above BAPI.