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

regarding authorizations

Former Member
0 Likes
539

dear friends,

i got a report with the fields EMPLOYEENUMBER, PROJECTNUMBER,PROJECTROLE, ASSIGNEDBY,ASSIGNEDUNTIL my requirement is whenever a EMPLOYEE login into bw with his LOGIN CREDENTIALS he should be able to see the information related to him (he should not see the other EMPLOYEENUMBER information.

for example let us assume the report is

empnum projnum projrole assignedby assigneduntil

11111 A1 PM HARI 20.11.2006

22222 B2 PM GIRI 11.3.2007

.

.

WHENEVER AN EMPLOYEE WITH EMPLOYEENUMBER 11111 LOGIN INTO BW WITH HIS LOGIN CREDENTIALS HE SHOULD SEE THE REPORT IN THE FOLLOWING WAY

EMPNUM PROJNUM PROJROLE ASSIGNEDBY ASSIGNEDUNTIL

11111 A1 PM HARI 20.11.2006

WHAT I HAD DONE IS I CREATED A USER(SU01) AND ROLE(PFCG) FOR THE EMPLOYEE WHOSE EMPLOYEE NUMBER IS 11111. AND THEN IN THE ROLE(PFCG)->AUTHORIZATION MENU, I GIVEN THE PROJECTNUMBER A1 MANUALLY AND DONE ALL THE REMAINING STUFF. AND NOW THE EMPLOYEE WITH THE EMPLOYEENUMBER 11111 IS ABLE TO LOGIN WITH HIS CREDENTIALS AND ABLE TO SEE THE INFORMATION WHICH IS RELATED TO HIM LIKE BELOW EXAMPLE,

EMPNUM PROJNUM PROJROLE ASSIGNEDBY ASSIGNEDUNTIL

11111 A1 PM HARI 20.11.2006

IF THIS IS THE CASE I GOT 1000 USERS IN BW WHO WERE ASSIGNED TO DIFFERENT PROJECT NUMBERS THEN I SHOULD CREATE THE 1000 ROLES FOR DIFFERENT USERS.

IS THIS THE ONLY WAY TO GO OR ISTHERE ANY OTHER WAY INSTEAD OF CREATING 100 ROLES FOR DIFFERENT USERS. PLEASE LET ME KNOW.

THANKS AND REGARDS,

HARI

4 REPLIES 4
Read only

Former Member
0 Likes
511

dear i agree that this message is related to bw. btu here i am dealing with the creation of roles and users, so i need ur valuable suggestions.

thanks and regards,

hari

Read only

Former Member
0 Likes
511

If it is completely based on Perssonel no. entity,

Probably your developer should make a logical entry in the code.

which should check whether personnel number for which user is checking for, should be equal to his own personnal number.

Read only

Former Member
0 Likes
511

Hi,

maybe you should read this Thread

If this "$USER" mentioned in this Thread can be used also for other Authorization Fields, you can make your EMPLOYEENUMBER Auth. relevant, define a Role/Profil using your Field EMPNUM with $USER, assign it to your 1000 Users and use an authorization variable in our Query.

Depends on if $USER works for other Authorizations than S_RS_COMP or COMP1.

Regards

Roman

Read only

Wolfgang_Janzen
Product and Topic Expert
Product and Topic Expert
0 Likes
511

In this case, AUTHORITY-CHECK is the wrong mechanism.

A simple "IF SY-UNAME = ..." is more appropriete.

But that is something the application developer has to decide. Please submit this query in the BW section.