Skip to Content
0
Jul 06, 2009 at 10:20 AM

Trap back button processing and exit transaction and re-enter program.

40 Views

Hi

I wonder if one of you guru's can help me. We seem to be getting loads of short dumps and I have been assigned the task of looking into it. Basically we have a program that the user runs (transaction FBL5N - Program is RFITEMAR).

When the user executes the program he/she will be presented with a list of customer line item display they then select the items they want to view and press the display icon that gives a more detailed view.

When they press the back button it goes back to the list and they are able to select another item and repeat the above process.

My task is to trap the back button from the deatail screen (the last screen) and after trapping the back button I need to completely exit out of the transaction and then go back in at the point that they were at prior to going into the detailed screen.

This is required as we think everytime the user displays the detail screen the system is grabbing memomry and not relinquishing it.

Many thanks in advance .

Raj

Disagramatically

=============

Currently

=======

screen 1 (selection screen) --> execute

screen 2 --> (select item & press detail icon)

screen 3 (detail info) press back

screen 2 --> (select item & press detail icon)

screen 3 (detail info) press back

screen 2 --> (select item & press detail icon)

screen 3 (detail info) press back

screen 2 --> (select item & press detail icon)

screen 3 (detail info) press back

...

What I require

============

screen 1 (selection screen) --> execute

screen 2 --> (select item & press detail icon)

screen 3 (detail info) press back

exit transaction and then go to

screen 2 --> (select item & press detail icon)

screen 3 (detail info) press back

exit transaction and then go to

screen 2 --> (select item & press detail icon)

screen 3 (detail info) press back

exit transaction and then go to

screen 2 --> (select item & press detail icon)

screen 3 (detail info) press back

...