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: 

Autorization object not triggering in all points

elalan
Participant
0 Kudos
198

Hi all , i need some help with a field exit , i'm using the field exit for data elment BUKRS and inside that i put a Autorization Object Z that i made that validate the bukrs field . The problem is that the field exit is not triggered in all transaction , for example is trigger in OKB9 , but in a Z report that my friend is developing doesn't  get the error message that i put to know if it pass , please help

1 ACCEPTED SOLUTION

Former Member
0 Kudos
159

You need to check if the server is enabled to execute field exit.

Go to transaction RZ11. At the parameter name enter "abap/fieldexit".

Check if the fields "Default Values", "Profile Value" and "Current Value" are type with "YES".

You will need restart the server to get the new features.

6 REPLIES 6

Former Member
0 Kudos
160

You need to check if the server is enabled to execute field exit.

Go to transaction RZ11. At the parameter name enter "abap/fieldexit".

Check if the fields "Default Values", "Profile Value" and "Current Value" are type with "YES".

You will need restart the server to get the new features.

Former Member
0 Kudos
159

Hi

The ffirst thing you need to consider is the field exit is no longer supported, anyway:

As Bruno said you need to check if all your servers are available for field exit,

but also you need to check if all transactions you need are active for your field exit (run report RSMODPRF😞

The field-exit has to be active for every dynpro where you need to trigger your control

The last thing you need to consider is the Enjoy transaction doesn't support the field exit.

Max

0 Kudos
159

The field exit are active , i already check , this "The last thing you need to consider is the Enjoy transaction doesn't support the field exit." how do i check it ?

0 Kudos
159

Hi,

Enjoy transaction mostly end with 'N' like ME21N, SE16N, etc and BDC recordings are not supported as these have complex views with grid and other OO functionality used.

Cheers,

Arindam

0 Kudos
159

Hi

Yes all transaction ending with N, but in generally all transactions having dynpro based on control framework

Max

vimalv
Active Participant
0 Kudos
159

Hello Alan,

The field exit will not trigger automatically at all screens where it is used.

You might need to configure a program/screen to trigger the exit.

Please check this documentation.

For the case you mentioned, it would be better to code in the authority check in the Z program.

For standard programs, standard auth objects would be implemented - you can check by putting a break point on statement AUTHORITY-CHECK.

In case it does not have any for BUKRS/required field, you could use implicit or explicit enhancement options to include the custom auth check.

Hope this helps.

Regards,

Vimal