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

Former Member
0 Likes
516

How do we maintain Authorization for 1. Reports 2. Scripts 3.Smartforms

Thanks in Advance

Krish...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
490

For a report, you can not directly have a auth object. But you can create a TC and assign an authorization object ot it.

Goto se93. create a TC for your program.

you will see a field called Authorization Object. Link your auth object here.

the auth check will be done automatically.

Pls reward points if you find this useful.

4 REPLIES 4
Read only

Former Member
0 Likes
490

u can set

using authorization groups as well as authorization objects

Message was edited by:

Naresh Reddy

Read only

Former Member
0 Likes
490

Hi

Check the following link

http://www.sap-img.com/bc042.htm

Regards,

Ram

Pls reward points if helpful

Read only

Former Member
0 Likes
491

For a report, you can not directly have a auth object. But you can create a TC and assign an authorization object ot it.

Goto se93. create a TC for your program.

you will see a field called Authorization Object. Link your auth object here.

the auth check will be done automatically.

Pls reward points if you find this useful.

Read only

Former Member
0 Likes
490

Hi,

This the way how, we will create an authorization in our program, It might be REPORT, Script or Smart form.

First ask the Functional guy, For Authorization object or Ask, on which ( Means, like company code, plant) you want to put the authorization.

If it is not there, Quality people will reject it.

form auth_check.

authority-check object 'S_TCODE'

id 'TCD'

field c_tcode.

if sy-subrc ne 0.

message e000 with text-078 c_tcode.

  • message shown as 'You are not authorised to use

  • transaction Z_BILLING_TRANSMIT

endif.

endform. " auth_check

Thanks

Manju.

Helpful, Reward points,