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: 

How to provide input help for a variant

Former Member
0 Kudos

Hi,

I have a parameter on the selection screen.

P_layout like disvariant-variant value check.

How do I provide input help for this parameter and also how do i check wheather the input entered is correct or not.

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can create a serch help for the field and add it in program like:

P_layout like disvariant-variant match-code object 'Searche help name'.

then if you need to do any validation u can do it at selection screen:

like:

at selection-screen for P_layout.

if..conditions..

regards,

former_member188685
Active Contributor
0 Kudos

check the Program BALVST01

for Variant F4 you need to use the function REUSE_ALV_VARIANT_F4 in the at selection-screen on value request , and For variant check use the function REUSE_ALV_VARIANT_EXISTENCE in the at selection- screen event.

0 Kudos

Hi Vijay,

Its working.

Thanks,

Sandeep.