Skip to Content
0
Jan 26, 2023 at 04:09 PM

call transaction and returns to program, but no data are saved

78 Views

Hi all,

I am having one issue, when I use the call transaction and returns to program, but no data are saved. The code that I have written is as follows:

I have implemented a double click event in an ALV List, and the part where the call transaction is happening is:

SET PARAMETER ID 'MPL' FIELD lv_warpl.
          CALL TRANSACTION 'IP02'.
*         COMMIT WORK.
            LEAVE TO SCREEN '400'.

If I use the leave transaction, the data are saved, but it does not return back to my program. I also used the commit work, but the data are still not saved. Can anyone please help me with this issue?

Thanks,

R