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

SAP GUI screen and sub-screen

Former Member
0 Likes
895

Hi guys,

Is it possible to set editable both for screen text field and sub-screen text filed, after some error message raised from subscreen PAI?

For example, the Program is an element in the sub-screen.

When the validation of the Program fields fail, the error message will be raised in the PAI of the sub-screen.

Then the Task combox in the main screen will be disabled.

Is it possible to allow the editable for both the Program and the Task field?

Thanks,

Miao

Hi guys,

Is it possible to set editable both for screen text field and sub-screen text filed, after some error message raised from subscreen PAI?

For example, the Program is an element in the sub-screen.

When the validation of the Program fields fail, the error message will be raised in the PAI of the sub-screen.

Then the Task combox in the main screen will be disabled.

Is it possible to allow the editable for both the Program and the Task field?

Thanks,

Miao

4 REPLIES 4
Read only

hendrik_brandes
Contributor
0 Likes
779

Hello Miao,

it depends on your context. If you are developing your own Dynpros, it is no problem, because you should call your sub-screen within the PBO/PAI process.

Just set a global variable / better use a mvc-framework / and check in the PBO-module for the editable-flag.

E.g. if a check in your subscreen failed, you should store the error in a global modell class. At PBO your model class should know which are the properties for all fields in your report - regardless dynpro or subscreen - and then you can set all the properties you like to.

Kind regards,

Hendrik

Read only

0 Likes
779

Hi Hendrik,

I am afraid that the PBO module will not be executed, before the error in subscreen is fixed.

I'd like to let the field in main screen editable, at the time the error in subscreen.

Best regards,

Miao

Read only

Former Member
0 Likes
779

Hi,

Please Use CHAIN and ENDCHAIN command to make your fields editable after Error Message.

Read only

0 Likes
779

Of course, the fields shall be in CHAIN and END-CHAIN.

The main problem here is caused by Fields in two different screens, main screen and sub-screen.