Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7856

change batch trough bapi in badi

$
0
0

Hi all,

i am trying to update the batch during the process order release,i want to update the batch when i press save button after release of process order in cor2.i am using badi workorder_update.

there i have methods

in_update,

before_update

at_save.

 

when i try to call bapi_batch_change in the update it is trowing dump saying that creating nested perform on commit.

than i tried to update in before_update there also same problem than i created a FM as update module and calling the bapi inside the FM there also i got the dump.

now i called my FM as update task in method at_save it is giving dump..

 

can't i call bapi or update module in update task methods or before update.

 

thanks alot.

 

babita


Viewing all articles
Browse latest Browse all 7856

Trending Articles



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