Application Development 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: 

Changind data through a field exit

Former Member
0 Kudos

Hi everyone.

I want to know if there is any way to know when using a field exist if the used modified the data.

Because field exits are linked to the screen so each time users go on this screen, it activates my field exit, but i need to control in they input something or not.

Thanks for your help and merry Christmas.

Helder

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Halder,

once you create a field-exit and activate it, it's activated.. it works on the data element. so, wherever the data element is used the field-exit gets triggered.

u need to write your own code in the field-exit to check validation. Such as if someone doesnot enter any value it'll give an warning message or something like that. you don't need to change anything in every program.

But one thing SAP discourages to use field-exit. Because every time the data element is over-headed by it.

Merry Christmas

Reward if useful

Regards

ANUPAM

2 REPLIES 2

former_member156446
Active Contributor
0 Kudos

why dont u put a condition in the source code of ur field exits

like if the field NE space.

code.

endif.

Former Member
0 Kudos

Hi Halder,

once you create a field-exit and activate it, it's activated.. it works on the data element. so, wherever the data element is used the field-exit gets triggered.

u need to write your own code in the field-exit to check validation. Such as if someone doesnot enter any value it'll give an warning message or something like that. you don't need to change anything in every program.

But one thing SAP discourages to use field-exit. Because every time the data element is over-headed by it.

Merry Christmas

Reward if useful

Regards

ANUPAM