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

message handling at selection screen

Former Member
0 Likes
742

Hi Experts,

Could any of You pls help me with a message handling at selection screen.

I have a selection screen with more than one block, and when I issue a fild content check and an error message, the fields could only be input fields with the same block as the checked field (with an error) is exist. Fields in other blocks are protected - values could not be changed - as I am using AT SELECTION-SCREEN ON block b - when I issue the checking and message handling.

How could it be coded that in case of error in the selection screen field content in all all filed could be writable never mind which block they are in?

Answers will be appreciated.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
675

Hello,

you can use AT SELECTION_SCREEN in some variations:

- AT SELECTION_SCREEN without any additions:

- in case of error you'll get all fields editable.

- AT SELECTION_SCREEN ON BLOCK <block> :

in case of error you'll get only the fields of this block editable

- AT SELECTION-SCREEN ON <Parametername or Select-option-Name>

in case of error you'll get only the specified fields editable

and some other variants...(refer to the abap-online docu)

Regards Wolfgang

Hi Experts,

Could any of You pls help me with a message handling at selection screen.

I have a selection screen with more than one block, and when I issue a fild content check and an error message, the fields could only be input fields with the same block as the checked field (with an error) is exist. Fields in other blocks are protected - values could not be changed - as I am using AT SELECTION-SCREEN ON block b - when I issue the checking and message handling.

How could it be coded that in case of error in the selection screen field content in all all filed could be writable never mind which block they are in?

Answers will be appreciated.

2 REPLIES 2
Read only

Former Member
0 Likes
676

Hello,

you can use AT SELECTION_SCREEN in some variations:

- AT SELECTION_SCREEN without any additions:

- in case of error you'll get all fields editable.

- AT SELECTION_SCREEN ON BLOCK <block> :

in case of error you'll get only the fields of this block editable

- AT SELECTION-SCREEN ON <Parametername or Select-option-Name>

in case of error you'll get only the specified fields editable

and some other variants...(refer to the abap-online docu)

Regards Wolfgang

Read only

0 Likes
675

Hi Wofgang,

it was very kind of You to answering my basic question.

Apprecate it a lot.

Br