Application Development and Automation 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: 
Read only

Authorization on Function modules

former_member533596
Discoverer
0 Likes
1,757

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
Read only

iftah_peretz
Active Contributor
1,495

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.

Read only

0 Likes
1,495

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

Read only

retired_member
Product and Topic Expert
Product and Topic Expert
0 Likes
1,495

Or before calling them, if feasible.

Read only

michaB_badura
Participant
1,495

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