Skip to Content
author's profile photo Former Member
Former Member

CALL TRANSACTION - kill the open session in the report list.

Hi , need advice how can we kill or remove a session after i'm using call transaction (this transaction is calling a program )

Below is the logic of the program

1) Run a program - Generate a report list

2) In the Report List - Event click on the record will invoke CALL TRANSACTION to a program and generate a report list.

3) User will be back at original Report List with updated content.

IF the user keep updating the record on the report list, it will keep opening the program since i'm using Call Transaction.

Need an advice how can i remove or kill previous opened sessions.


Appreciate you help and advice.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 06, 2010 at 02:36 AM

    I don't fully understand what exactly you're trying to do, but here are some comments: For traditional reports you can easily see at which list output level you are by looking at [sy-lsind|]. That way you could create your own program logic based on at which list nesting level you are (e.g. disallow updating on a nested list).

    Another option could be to completely avoid creating new internal sessions (should be the correct approach if you don't need to stack the calls). The [submit|] statement without the and return addition will do that (or for that matter a [leave to transaction|] though that doesn't allow you to specify new parameters unless you use some export/import technique).

    Cheers, harald

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Sandra Rossi

      Finally my question had been answered, in order for me to pass value within report (type 1) and dialog program (type m), i need to use LEAVE TO TRANSACTION and SET and GET PARAMETER. This will not invoke maximum internal session errror.

      THanks guys for giving me insight and idea on this.