2023 Jan 12 8:57 PM
Hello community!
The code contained in a field exit is executed when the dynpro containing the field of field exit is loaded or when performing an action on the field of a field exit?
2023 Jan 13 6:43 AM
The question is a little surprising as it seems like an exam question (is it 1 or 2) instead of an open question.
If you're talking about the deprecated feature of Field Exits (deactivated by default for a long time, can work only under certain circumstances that you don't specify), to answer directly, it doesn't trigger
It's not triggered when the "dynpro is loaded"
It's not triggered when there's a specific action is done on the field.
It's triggered in the PAI (after input) even if there's no action on the field.
(provided that all conditions are met to have this field exit active of course)
EDIT: ABAP Keyword Documentation:
2023 Jan 12 8:57 PM
Thank you for visiting SAP Community to get answers to your questions.
As you're looking to get most out of your community membership, please consider include a profile picture to increase user engagement & additional resources to your reference that can really benefit you:
I hope you find this advice useful, and we're happy to have you as part of SAP Community!
All the best,
Alex
2023 Jan 13 6:43 AM
The question is a little surprising as it seems like an exam question (is it 1 or 2) instead of an open question.
If you're talking about the deprecated feature of Field Exits (deactivated by default for a long time, can work only under certain circumstances that you don't specify), to answer directly, it doesn't trigger
It's not triggered when the "dynpro is loaded"
It's not triggered when there's a specific action is done on the field.
It's triggered in the PAI (after input) even if there's no action on the field.
(provided that all conditions are met to have this field exit active of course)
EDIT: ABAP Keyword Documentation: