Application Development and Automation 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: 
Read only

selection screen

Former Member
0 Likes
565

hi all,

I HAVE A REQUIREMENT IN WHICH WHEN I AM ENTERING WRONG PLANT THE REAMINING ELEMENTS IN SELECTION SCREEN ARE GETTING DEACTIVATED.SO MY QUESTION IS HOW TO MAKE THEM ACTIVE EVEN THOUGH I ENTER A WRONG PLANT IN THE PLANT FIELD OF SELECTION SCREEN.

7 REPLIES 7
Read only

Former Member
0 Likes
538

hi

use at selection screen for a field

AT SELECTION-SCREEN ON p_carrid. 
  IF p_carrid IS INITIAL. 
    MESSAGE 'Please enter a value' TYPE 'E'. 
  ENDIF.

Regards

Sajid

Edited by: shaik sajid on Jul 9, 2009 12:57 PM

Read only

Former Member
0 Likes
538

Use Validation for all selection screen variable as SAJID has given you the example.

Regds,

Anil

Read only

Former Member
0 Likes
538

Hi,

You might be using loop at screen in at selection screen event for modifying the screen dynamically. If you do not want any modification remove that code. Just validate your plant if it is wrong.

Thanks & Regards,

Satish

Read only

Former Member
0 Likes
538

use ur plant field within

CHAIN ...... END CHAIN block on PAI

Read only

Former Member
0 Likes
538

Hi,

If the PLANT is madatory, and if you enter wrong PLANT, it will disable other fields. So in this case make that PLANT optional and try to giv ERROR message.

Regards,

Sandhya

Read only

matt
Active Contributor
0 Likes
538

>

> hi all,

>

> I HAVE A REQUIREMENT IN WHICH WHEN I AM ENTERING WRONG PLANT THE REAMINING ELEMENTS IN SELECTION SCREEN ARE GETTING DEACTIVATED.SO MY QUESTION IS HOW TO MAKE THEM ACTIVE EVEN THOUGH I ENTER A WRONG PLANT IN THE PLANT FIELD OF SELECTION SCREEN.

PLEASE DON'T POST IN ALL CAPITALS

Read only

Former Member
0 Likes
538

Hi kartikeya,

Look At this code on the given Link

https://wiki.sdn.sap.com/wiki/display/Snippets/inactiveprogramsundertheuser

Also you can refer the wiki Link below to Refer the codes You can choose for the

critical fields in the Program

https://wiki.sdn.sap.com/wiki/display/ABAP/Handlingcriticalfieldsinabapprogram.

regards

Saurabh Goel

Edited by: Saurabhgoels on Jul 9, 2009 1:21 PM