cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi for updating the status in Draw for multiple document nos.

Former Member
0 Kudos

Hi experts,

I am using the Bapi 'cvapi_doc_change' for changing the status of documents . But this BAPI can be used for updating one document at a time. Is there any other method by which I can update multiple records in one go or based on similar document types (DOKAR) certain documents can be updated in groups rather than one at time?

Regards

Abhishek

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

A BaPI_transaction_commit will solve the problem.

Former Member
0 Kudos

Hi Abhishek

Can you just explain how you were able to set the status for multiple no. of documents?

Refards

Prasad

Former Member
0 Kudos

Hi Abhishek

Iamnt sure whether it will serve your requirement but BAPI DOCUMENT SETSTATUS also can be used for setting the status programatically.

Regards

Prasad

Former Member
0 Kudos

Hi Prasad,

The changes made here are not saved to the data base as there is a subroutine to commit the work 'init_api_control' where 'space' is being passed to prevent the commit work ........please let me know how to save the changes to the data base.

Regds

Abhishek