At Selection screen validation
I am putting validation on selection screen.
My Selection screen has following fields
s_Bukrs = t001-bukrs
s_GJAHR = bsak-gajhr
s_budat = bsak-budat
s_lifnr = lfa1-lifnr.
I am applying validation as below
at selection-screen on s_bukrs.
if s_bukrs ne t001-bukrs.
message-id e001. 'Invalid INput
when i put any company code which exist i am getting the same message 'Invalid Input'.
At the same time when i remove this check and run the report it takes lots of time to execute except for the company code DP01.