Avoid transporting data through a mapping
Hello, folks. I have one view, which displays an alv table. Another view is opened when user wants to edit line of the table.
This view is modal and has two buttons: Ok and Cancel. I made a mapping between table on the first view (lead selection) and data on the second view. But I've faced a problem. When user clicks Ok, my action is triggered and I am happy But even if user clicks Cancel, data from second view is transported through the mapping. How can I avoid this issue?