Today, as a first entry in Beginners part I'd like you to show how to build parameters on selection screen. All this information you can find under F1 help but here you've got visualization of what's written there. Hope it will help to understand this statement. As embed video is my first one then please accept my apologies in case of errors and wrong pronunciations as English is not my native language.

You can look on the example bellow or importi it to your SAP system from .nugg file.

endloop.**"events at user-commandat selection-screen."if the listobox has changedif sy-ucomm eq 'LBCHANGE'."check if fields are sameif p_name5 = p_name4."if yes then throw put a cursor on P_NAME5 and show messageset cursor field 'P_NAME4'.message w001(00) with 'P_NAME5 should be different than P_NAME4'.endif.

Latest Comments

ABAP code and articles provided on http://abapblog.com, if it is not statet otherwise, were created by Łukasz Pęgiel. You can use the code in your SAP instance for commercial and non-commercial use without any warranty from side of the author. You cannot sell the code as a full program or a part of it.
Replicating of the articles and code is prohibited unless the agreement of the author is given to you.