Skip to Content
0
Former Member
May 19, 2006 at 07:54 AM

BEx variable validation for I_STEP=3

134 Views

Hi Experts,

Created a BEx variable "ZSLEVEL" as Customer Exit. Now I want to do some validations on user inputs in selection screen.

I want to restrict user, for entering out of range value for that particular variable.

Example if Variable range is 0-100, and if the input value is less/greater. Popup message should force user to enter correct value.

I tried changing the standard function for Reporting Variables. But my control is not going to the code and nothing is happening on the screen,

Please let me know if I am missing anything

I tried following steps.

CMOD – Transaction.

FUNCTION EXIT_SAPLRRS0_001.

INCLUDE ZXRSRU01 .

CASE I_VNAM. " Variable name

when 'ZSLEVEL'.

If I_STEP = 3.

Code………

End If.

Please help in solving this.