Automate

Welcome to the Automate community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Here are some useful links where you can find more information:

Product Announcements  Ideas Portal

Discussions

Members

Resources

Events

 View Only
  • 1.  Retire Assets Tcode(ABAVN) getting Error "LEAVE TO TRANSACTION" is not allowed in batch input

    Posted 12-12-2018 10:27

    Hi,
    We are trying to record and run a script a tcode (ABAVN) to retire some of the assets,we have successfully recorded the transaction,when we run that script for multiple scripts we are getting an Error ""LEAVE TO TRANSACTION" is not allowed in batch input", however the assets are getting retired but we are not getting the document number, instead we are getting the error "LEAVE TO TRANSACTION" is not allowed in batch input. FYI we have recorded in standard nobatch(withoutSAP controls) mode.

    Please suggest.

    Thank you
    Kiran Rollakanti



    ------------------------------
    Kiran Rollakanti | Senior Developer
    Kiewit Corporation | [City] | 4028845853
    ------------------------------


  • 2.  RE: Retire Assets Tcode(ABAVN) getting Error "LEAVE TO TRANSACTION" is not allowed in batch input

    Posted 12-13-2018 09:09
    Hi Kiran,

    It seems you're using version 10.x.x , in this try checking "Launch GUI" checkbox and then run.


    ------------------------------
    Kalind Sidana | Consultant
    Tapestry, Inc. | NJ] |
    ------------------------------



  • 3.  RE: Retire Assets Tcode(ABAVN) getting Error "LEAVE TO TRANSACTION" is not allowed in batch input

    Posted 12-13-2018 10:02
    Hi Kalind, No We are on 11.x.x version .No luck.

    Thank you.

    ------------------------------
    Kiran Rollakanti | Senior Developer
    Kiewit Corporation | [City] | 4028845853
    ------------------------------



  • 4.  RE: Retire Assets Tcode(ABAVN) getting Error "LEAVE TO TRANSACTION" is not allowed in batch input

    Employee
    Posted 12-14-2018 00:52
    Hi Kiran,
    Check if you are getting this error in SHDB also (which is expected).
    If that is the case then it is unlikely to work with Studio as well.
    You can use BAPI_ASSET_RETIREMENT_POST  as an alternative to achieve the same.

    Thanks,
    Rahul Gupta

    ------------------------------
    RahulGupta
    | India
    ------------------------------