2012 Feb 10 9:29 AM
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
2012 Feb 10 9:51 AM
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
2012 Feb 13 1:58 AM
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
2012 Feb 10 12:46 PM
Hi,
Please Use CHAIN and ENDCHAIN command to make your fields editable after Error Message.
2012 Feb 13 2:10 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |