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

Block programs

Former Member
0 Likes
1,337

Hi, I need to block some programs but I don't know how.

I know that I can block Transactions, but there are some programs that have no transaction and some users could execute them via SE38.

I know that no one should have acces to SE38, but they could execute the program if they have acces to SA38 anyway.

Can I block a program?

Thanks

Jose Pinedo

1 ACCEPTED SOLUTION
Read only

manohar_kappala2
Contributor
0 Likes
850

Hi Jose,

You can add the programs to a Auth group and there by restrict the access as those who have access to that auth group in S_PROGRAM will only be able to execute that program.

But if the programs u want to give access to are limited, Then I would suggest go for transaction variant where in the first screen can be skipped with predefined value taken from the variant. In this you need not even give sa38 in the S_TCODE even. The user requires only the custom tcode.

So these are the two approaches use which ever best fits ur scenario..

Regards,

Manohar

Message was edited by: Manohar Kappala

3 REPLIES 3
Read only

manohar_kappala2
Contributor
0 Likes
851

Hi Jose,

You can add the programs to a Auth group and there by restrict the access as those who have access to that auth group in S_PROGRAM will only be able to execute that program.

But if the programs u want to give access to are limited, Then I would suggest go for transaction variant where in the first screen can be skipped with predefined value taken from the variant. In this you need not even give sa38 in the S_TCODE even. The user requires only the custom tcode.

So these are the two approaches use which ever best fits ur scenario..

Regards,

Manohar

Message was edited by: Manohar Kappala

Read only

0 Likes
850

Thanks for your response.

I got clear the first proposed solution, but I didn't get the second one. How can I go with transaction variant? What custom tcode?

Could you please explain this solution to me?

Anyway, I'm trying the first approach.

Jose Pinedo

Read only

0 Likes
850

Hi Jose,

Coming to the second one what you can do is,

say the user needs to have access to four programs for that the better way is to create a Tcode with screen variants define such that the field is already defined in the variant and the screen can be avoided in the flow of screens.

Perhaps you can go to TCODE SHD0 where u can create a transaction variant. There create a transaction variant for transaction sa38 and then in se93 create tcode of type transaction with variant where u give the tcode and its corresponding variant on which ths will work.

This is how it goes

Let me know if it works