Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

error After SAVE method, COMMIT WORK or ROLLBACK WORK must be executed

$
0
0

Hi Experts,

 

I am doing the migration program for the service Order Create using the BAPI 'BAPI_ALM_ORDER_MAINTAIN'. After the BAPI i am calling the FM

'ALM_ME_COMMIT_OR_ROLLBACK' it will commit or Rollback bassed on the Return table what i am getting from the BAPI.

 

This was working fine. But when i run it in the Bulk order i mean 700 service order some orders i am getting success message. But few orders like 50 orders i am getting the below error message.

 

"After SAVE method, COMMIT WORK or ROLLBACK WORK must be executed".

 

when i refer the FM 'ALM_ME_COMMIT_OR_ROLLBACK' they have used bapi_transaction_commit statement and wait also.

 

But i dont know why i am getting the error message. can you please adivce

 

Thanks,

Dhina..


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>