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: 

Authorisation on reports

Former Member
0 Kudos

Hi All,

Could any one give me a suggestion on the following issue,

i have a requirement that i want to provide user autorisation on every single report,

That means a report can be viewed by an Authorised person in production system but at Presentation server all the available reports are made visible.

Thanks and Regards,

Azee.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

in actvt maintain new field value.

create your own auth object under new auth class.

then in each report

just do AUTHORITY-CHECK for this object and field.

tcode a SU20, SU21 are used for this purpose.

for complete detail serach forum.

and for you requirement that you want it to be visible at presetation server, add one more if condition , to check which system it is. if prod , then do auth-check else .....

regards

surpreet

10 REPLIES 10

rainer_hbenthal
Active Contributor
0 Kudos

search the help function for keyword CHECK AUTHORITY ir use logical databases, the latter is taking authorisations automatically in effect.

Former Member
0 Kudos

Hi,

If you want users to be authorized to execute reports with SA38, than you should use authorization object <b>S_PROGRAM</b>. You can limit authorizations for certain report groups. The Report group is a field from the program attributes. If it is not maintained, you can do it for customer reports.

If you want users to be authorized for certain transactions, then you can use the authorization object <b>S_TCODE</b>.

Svetlin

P.S. If you find an answer useful, please assign reward point.

Vinod_Chandran
Active Contributor
0 Kudos

Hi Azee,

You can use the command AUTHORITY-CHECK OBJECT in all the program where you want control. Please check the documentation of this.

Cheers

Vinod

Former Member
0 Kudos

Hi,

in actvt maintain new field value.

create your own auth object under new auth class.

then in each report

just do AUTHORITY-CHECK for this object and field.

tcode a SU20, SU21 are used for this purpose.

for complete detail serach forum.

and for you requirement that you want it to be visible at presetation server, add one more if condition , to check which system it is. if prod , then do auth-check else .....

regards

surpreet

Former Member
0 Kudos

Hi azee,

you can use authority-check.

click below link it may help you.

http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dbaccb35c111d1829f0000e829fbfe/frameset.htm

http://help.sap.com/saphelp_erp2004/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm

reward points for helpfull answer and close the thread if your question is solved.

regards,

venu.

Former Member
0 Kudos

Hi

You can use authority check for a particular Sales Organization, distribution channel, Division as below,

AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'

ID 'VKORG' FIELD '__________'

ID 'VTWEG' FIELD '__________'

ID 'SPART' FIELD '__________'

ID 'ACTVT' FIELD '__________'.

Regards,

Baburaj

Former Member
0 Kudos

Hello azee azeeash,

so you think no one's ans here was helpful to you?

is it like that?

0 Kudos

Hi All,

I thank all for giving me suggestions,

well, I got my problem solved with Authorisation-checks.

Regards,

Azee

0 Kudos

Hi azee,

no need of saying thanks.

reward points for helpfull answers and close the thread since your problem is solved.

you can reward points for helpfull answer by clicking the raido button on the left side.

regards,

venu.

Former Member
0 Kudos

In production reports will be run using transactions right. For a transaction code you can assign an Authorisation Object.So a user having this authorisation object will only be able to run this transaction and hence view the report.

Cheers

Binoo

Award points if it helped.