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: 

Authorization on Function modules

former_member533596
Discoverer
0 Kudos

Hi.

One can assign authorization groups to executable programs, transaction codes etc., but is it possible to assign a authorization group to a single function module?

The purpose is to block some, but not all, FM's in a function group from being executed

BR

Ole Kristian

4 REPLIES 4

iftah_peretz
Active Contributor

Hey,

From the ABAP stand point I would use this as the first lines of code in the desired function.

As for the authorization group assigned to the function itself, I would post a question in the relevant form.

0 Kudos

Yes, I think I've concluded that the only way to block a FM by authorization is to program the Authorization Check within the FM itself

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Or before calling them, if feasible.

michał_badura
Participant

You could use the authorization object S_RFC, if Your function modules are remote-enabled.