Skip to Content
0
Former Member
Jan 31, 2018 at 01:16 PM

Enter Button skips code

94 Views Last edit Jan 31, 2018 at 11:56 PM 2 rev

Hi Experts,

I have a clarification in code. In SD Module in the object "MV45AFZZ" there is some custom code to pop up a warning message if a user tries to create/modify a contract through VA41/VA42 tcodes with existing data.

This logic works when the save button is pressed.

When we press the enter button, the code is skipped and flow continues leading to saving of the data which is not the expectation.

At the point of pressing enter the SY-UCOMM value is 'SICH' and 'SY-DYNNR' value is '4001' same as for Save.

Can anyone please help.

Thanks in advance.