Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Force user to enter value in ALV Grid cell in a specific pattern

pkb
Participant
0 Kudos

Hello,

I have created one editable ALV grid to capture user input. But I want to restrict user to enter value in a cell in a particular pattern. For example in a cell I wamt to restrict user to enter value as '215.6'  or '0541.7'  . It means user has to enter 3 digit before decical and one digit after decimal. In other programming language such as Visual Basic it is possible by setting mask as '###.#' in input . But I do not know whether same is possible in ALV or not.   Please help.

-pk

1 REPLY 1

Former Member
0 Kudos

Hi PK,

I guess this might not be possible in the exact way you want ie the user the can enter only ###.#

but u can always put validations with appropriate messages and allow the user to proceed only if the value entered is in desired format.

Thanks

Vivek