Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BEx variable validation for I_STEP=3

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.

Not what you were looking for? View more on this topic or Ask a question