Reg: Multiple authorization level for HR Report
Dear Experts,
I have a customized report for the payroll area, I need to have authorization for this report.
The requirement is as below
For Ex: i have 5 payroll areas, 1000 personnel numbers, the multiple users and one customized report.
The user has access for 2 payroll areas, the user should select the personnel numbers which has access to the same payroll area.
The same user should not be authorized to access the other payroll areas and the personnel numbers.
One customized report is being executed by the mulitple users, one user will have access only for one payroll area and he needs to select the personnel area for which payroll area he has access.
Similar concepts follows for the other users.
Can anyone help me to achieve this authorization concept. It would be grateful.
Awaiting for your suggestions.
Thanks in advance.
Regards,
Abdur Rafique
hi,
You can use sy-uname. Such that if some other user enters you can pop up the message you are not authorized.
Regards,
Pawan.
Similar Messages
-
Create authorization check for a report
Hi,
I need to create an authorization check for a report. It means that I need to restrict the usage of the report to couple of users ( 'USER1' and 'USER2' ). How can I do that? I did read through a lot of threads regarding this piece got a bit confused and stuck while creating the authorization object.
Say the report name is ZHR_TIMEABC.
Can anyone explain how to create an authorization object and how are they tied to the object and call them in the abap code?
Thanks in advance,
VGHi,
Thanks. Here is my understanding, S_C_FUNCT calls a system generated function module to make an authority check. So, if different users say USER1 and USER2 have different authroization levels, defined in their user profile, just adding this piece code will take care of authroization check for the program OR do I need to take care of something else?
If so, when do we need to create the authorization objects using SU20 and assign the group and follo this process? When do we use this approach ( lot of threads on authority check have mentioned this procedure)?
Your inputs will be helpful to understand this concept.
Thanks,
VG -
Authorization Object for HR Reports
Hi All,
I have to restrict the users based on Company Code so that the users can only access the data for which they authorized from the standard HR reports.
Please suggest the authorization object.
With Regards
AkshatHi Akshat,
For HR perspective its best to use P_ORGIN Authorization Object which gives you flexibility at following level:
INFTY: Infotype Number
SUBTY: Subtype Number
AUTHC: Authorization Level
WERKS: Personnel Area
PERSG: Employee Group
PERSK: Employee Subgroup
VDSK1: Organizational Key
You can consult functional consultant for its parameters and further help.
Hope this helps.
Regards,
Naveen -
Multiple Revision Levels for a Material
Today, Tyco Electronics has many manufacturing sites located around the world. A given material may be manufactured in multiple locations. When Engineering determines that a given material must change revision level, they determine a date that this new revision level becomes effective. Unfortunately, not all manufacturing sites can be ready to manufacture to that new revision level. In fact, based on tooling, one manufacturing site may manufacture to both the old and new revision level for a period of time until all of their tools/dies have been switched over. In addition, customers may require that only the latest revision be sold to them. Does anyone else have this requirement/issue today? If so, how are you handling this within the SAP R/3 system since material revision is at a global level and there is no component revision level field on the bill of material. Requirements are to sell at a material/revision level, plan to a particular material/revision level, stock at a material/revision level. Any input you have would be greatly appreciated.
Which strategy shall I use for picking?
Can you please guide me what material master data fields are required for these strategies.
regards,
VS
Edited by: vs on Jan 12, 2008 7:01 PM -
Multiple db connections for one report
Hi all,
I am using Oracle Reports 10g R2. Could someone tell me if Oracle Reports supports multiple database connections for one rdf file, like this (using servlet)
http://your_web_server:port_num/reports/rwservlet?server=server_name&report=myreport.rdf& userid1=username/password@my_db1&userid2=username/password@my_db2 &desformat=pdf&destype=cache
I am asking this question because my report needs data from two separate Oracle databases.
Edited by: user12239004 on Apr 27, 2010 2:14 AMNo, you can only have one login.
However, this is simple to resolve by creating a database link in one database to the other database. -
Work around authorization solution for BW reporting
My issue is that we have BW Authorizations on the company code level. Now business wants that the Finland users can only see the reports related with there cost centres only and rest of the users from other countries can run the reports on country code level.
We have an InfoObject u201CCost Center Usersu201D, this infoObject have fields u201CCompnay Code, Cost Centre User, Cost Centeru201D. Please advice me a solution that we can use master data of inforobject u201CCost Center Useru201D while executing the BW reports and just filter data only for the Finland users for there cost centres only.
Please let me explain in detail how I can do it.
Please Note: - Business does not want to change the present security model.Hey Harry,
What you can do is just create customer exit variable on cost center. Then write code for user 'cost center user' such that, when the user runs the query, the customer exit var will check the user against the cost center master day and fill the paramenters like -low, -high etc.
Hope this helps. -
Authorization Issue for BI Reports
Hi All,
I am running the report with one User, and while running i am getting the error message as "NO AUTHORIZATION"
I have checked in Su53 and got some logs over there. Pls find below.
Authorization check failed
Object Class RS Business Information Warehouse
Authorization Obj. S_RS_COMP Business Explorer - Components
Authorization Field ACTVT Activity 16
Authorization Field RSINFOAREA InfoArea 0CRM_SERV_SO_QUOTE
Authorization Field RSINFOCUBE InfoCube ZLEVAL
Authorization Field RSZCOMPID Name (ID) of a reporting component ZLEVAL
Authorization Field RSZCOMPTP Type of a reporting component REP
User's Authorization Data PROGRAM
Object Class RS Business Information Warehouse
Authorization Object S_RS_COMP Business Explorer - Components
Authorizat. T-B372019300 Business Explorer - Components
Profl. T-B3720193 Profile for role Z_PROGRAM_LOGIN
Role Z_PROGRAM_LOGIN Role for Login Program
Authorization Field ACTVT Activity *
Authorization Field RSINFOAREA InfoArea *
Authorization Field RSINFOCUBE InfoCube *
Authorization Field RSZCOMPID Name (ID) of a reporting component ASPDEFECTSTOCKDESPATCH, ASP_DEFECT_STOCK_REPORT
Authorization Field RSZCOMPTP Type of a reporting component
Thanks,
Jelina.Hi jelina,
the user has only
Authorization Field ACTVT Activity 16 >> include 03, 06 also
Authorization Field RSINFOAREA InfoArea 0CRM_SERV_SO_QUOTE >> try to include the info area the report in or *( all)
Authorization Field RSINFOCUBE InfoCube ZLEVAL >> try to include the info cube the report in or * (all)
Authorization Field RSZCOMPID Name (ID) of a reporting component ZLEVAL >> the technical name of the report should include
Authorization Field RSZCOMPTP Type of a reporting component REP >> include Query View too
kris -
Change Hierarchy default level for PS Reports
Hi,
Can anyone advise how I can change the default hierarchy level when running a report painter report?
I would like the hierarchy level set to 4, so when I execute the report the display expands upto the network level.
I've tried to find settings in CJE2 and CJE5, but the herarchy maintenance was disabled.
If you could assist it would be greatly appreciated.
Thank you.The maximum level was already set to 99 for the database profile that I was using.
I have two structure reports that use the same database profile.
One expands to the 4th level, and one does not.
Is there a place in report painter or report writer to set the default hierarchy level?
Thank you. -
Multiple Physical SQL for one report
Hi,
Can someone please explain me why i am seeing multiple physical Queries generated for a single report.
Please find below the physical sql.
select sum(T314772.MONTHLY_BUDGET_AMT) as c1,
T157680.NAME as c2
from
W_PARTY_D T157680,
XXKC_CUSTSITE_SHIPTO_BUDGET_F T314772 / Fact_XXKC_CUSTSITE_SHIPTO_BUDGET_F */*
where ( T157680.ROW_WID = T314772.CUSTOMER_WID )
group by T157680.NAME
and
select sum(case when T97600.W_XACT_TYPE_CODE = 'Chargeback' then T93664.NET_AMT T93664.GLOBAL1_EXCHANGE_RATE end ) as c1,*
sum(case when T97600.W_XACT_TYPE_CODE = 'Credit Memo' then T93664.NET_AMT T93664.GLOBAL1_EXCHANGE_RATE end ) as c2,*
sum(case when T97600.W_XACT_TYPE_CODE = 'Debit Memo' then T93664.NET_AMT T93664.GLOBAL1_EXCHANGE_RATE end ) as c3,*
sum(case when T97600.W_XACT_TYPE_CODE = 'Standard Invoice' then T93664.NET_AMT T93664.GLOBAL1_EXCHANGE_RATE when T97600.W_XACT_TYPE_CODE = 'Invoice Cancellation' then T93664.NET_AMT * -1 * T93664.GLOBAL1_EXCHANGE_RATE end ) as c4,*
T157680.NAME as c5
from
W_PARTY_D T157680,
W_SALES_INVOICE_LINE_F T93664 / Fact_W_SALES_INVOICE_LINE_F */ ,*
W_XACT_TYPE_D T97600 / Dim_W_XACT_TYPE_D_Sales_Ivclns */*
where ( T93664.CUSTOMER_WID = T157680.ROW_WID and T93664.XACT_TYPE_WID = T97600.ROW_WID and T93664.DELETE_FLG = 'N' )
group by T157680.NAME
please let me know the reason and how to control this kind off behaviorCombined request is like, within a report you can create multiple requests. You can either use it in case of combining different subject area or within the same subject area and in same report when different filters apply.
For example
Fire Marine Motor
State No. Amt. No. Amt. No. Amt.
Andra Pradesh 10 |20000 11 |100000 20 |200000
TamilNadu 11 |40000 10 |120000 20 |200000
The first request is for Andra, so we will apply the filter as 'state is equal to in 'andra pradesh''. We specify filter(No using Product_code in 'Fire') in the column formula. Then there is an option as 'combine' by which u create another request and now the filter is 'state is equal to in 'Tamil Nadu''. So when you execute the report, it will generate you two different queries.
Regards,
Anitha.B -
Multiple output files for one report
I would like to dump out multiple files (PDF and delimited) from one single report refresh.
I'm using rwcli60. How do I do this ?Hi
Thanks for the information. Its nice to know.
However, if I understand it correctly, it is basically for directing the same report output to different targets.
For me, it may be the same report, but the output will be different based on some logic I have in the before report trigger. For me it is like running the report 3 times.
Example - From parameter screen - one parameter with 4 options
1. Top 10 students in IT
2. Top 10 students in Fin
3. Top 10 students in Acc
4. All
The output of these report may come from the same table. But the criteria is set in the lexical parameter in the before report trigger.
If user selects all, I want the output for the all the first 3 options. I am not worried about the output being emailed. This is equivalent to running the report 3 times for the first, second & third option respectively.
Any help helps:). -
Multiple granular levels for fact table
My fact table has to incorporate both at Transaction level and Accumulative , my basic design for Transaction level is as follows
CUSTOMER_KEY, LOAN_KEY, TIME_KEY, LOAN_AMT, TOTAL_DUE, LOAN_STATUS, TRANSACTION
9000,1000,1,200,200,Open, Advance
9000,1000,1,200,0,Close, Payment If I aggregate the values then query will take time to execute . How can I provide cumulative information from this fact table? shall i go for one more fact table for Accumulative information ?
Please suggest.
Thanks,
Hesh.Hi ,
Is it a question of OLAP cube generation using your fact table design ? If not then it is incorrect forum ..If yes , then it should be straighway ur fact and dimension design and no need of another fact table with aggregation because OLAP cube aggregate this which should ideally be tremendous fast
Thanks,
DxP -
Multiple (mail) destinations for one report using distribution list
I would like to email a report to multiple destinations using a distribution list.
Environment:
Oracle reports: 10.1.2.3
OS: Windows 7
Database:Oracle 11g(11.2.0.2)
This is the content of the distribution file:
<destinations>
<foreach>
<mail id="a1" from="[email protected]" to="&<mail_to>" subject="Invoice">
<body srcType="text" format="ascii">Invoice attached
</body>
<attach srcType="report" name="invoice.pdf" format="pdf" instance="this">
<include src="report"/>
</attach>
</mail>
<mail id="a2" from="[email protected]" to="[email protected]" subject="Invoice sent to &<mail_to> ">
<body srcType="text" format="ascii">Attached invoice was sent to the customer
</body>
<attach srcType="report" name="invoice.pdf" format="pdf" instance="this">
<include src="report"/>
</attach>
</mail>
</foreach>
</destinations>
When I run this using the following URL:
http://testserver.our_servers.local:7778/reports/rwservlet?server=rep_dev&report=VKR0030.rdf&userid=myuser/test123@ORCL&distribute=yes&destination=VKR0030.xml&onfailure=rollback&onsuccess=commit
I get the following error: REP-34304: Distribution failed to complete, please review the distribution lists
When I remove one mail element, it works fine.
One mail tag with multiple email addresses in the "to" parameter isn't possible because I have to use 2 different mail templates(subject and body differ).
According to the documentation(https://docs.oracle.com/html/B14048_02/pbr_dist.htm#i1005830), it should be possible to use multiple mail elements.
Required/Optional
Optional. You can have as many mail elements as you require.
What am I doing wrong?Found the solution.
When putting each mail element in a foreach, it works. -
Subcontracting multiple BoM levels for Project Stock
Hi,
We are an engineer / make-to-order manufacturer, so we use a lot of "individual" type materials (instead of collective). We are trying to subcontract several BoM levels of work to different vendors, and we are seeing many false requirements.
So we have something like this (this is all in project / wbs element stock):
Make hereSubcontract Requisition
Make hereRaw material
Subcontract Purchase OrderMake here
Raw material
Raw material
Make hereRaw material
The subcontracting items are driving additional false MRP requirements (planned orders and purchase requisitions) for all the raw materials under them.
I figured out how to fix the subcontract on level 3 by transferring the HALB material from project stock to unrestricted stock (411Q), then transferring it to subcontract stock (541) (Is there a better way to do this? Now I can't see my project-specific stock line for that item). But, while that purchase order is still open, there's nothing I can transfer to make the extra, false requirements disappear. Also, I am getting an MRP exception telling me to cancel the PO because it doesn't see the dependent requirement for the subcontract requisition above it.
Does this question make sense? How can we fix it? I need to get that subcontract requisition to see that its material will come from the subcontract purchase order.
Thanks!
TimothyHi All,
Any thoughts or ideas?
Thanks very much,
Timothy -
Reg. Capacity levelling for the maintenance order
Hi all,
I am using SAP R3 ECC6.0.
I have created a maintenance order with order type PM01(Internal).In this order i have assigned Work Center 1 with the Work center category as Labour.And i have assigned 2 operations for this Work center in the maintenance order with the total hours of 60 HRS. and i saved this order & made the status to release.
Then i went to Tcode CM33 and there i inputed the Work center name and executed it.It opens a Graphical View.But in that view my order no is not displayed .Previous order no. which is there already for that Work center is shown there.
What could be the Reason.
As an alternate checking i went to T code CM31 order view.There i Inputed my order no. and executed it but it throws a message
"No Capacity requirements were found in the evaluation period"
"No work centers or orders were found"
What could be the reason.
Tell me how to overcome this issue.
More over i want to make dispatch in the capacity levelling.
Thanks in advance,
M.Badrinarain.hi badri,
are you checking in the same period ? and next check ur overall profile and time profile assigned to ur overall profile .... u will find order no , operation no .... and once u dispatch operation status gets DSPT .
regards
pushpa -
Multiple rows coming for COPA report
Hi Experts,
In my COPA report multiple rows are coming like ...
COGS-Budgetted period.
0.2765- 1st row
0.2765- 2nd row.
all the records are coming like this only...I want only single row. can anybody tell me the reason and solution...
If u r help in this regards I will appreciated with points.
Thnx in advance,Have you applied characteristics restrictions to one currency type and to a single InfoProvider?
Maybe you are looking for
-
Before when I scanned a photo, it would automatically save and ask to scan another photo. Now, the photo is not saving and it doesn't ask to scan again. Help?
-
Sap wm RF id configuration.barcoding .
hi gurus, anybody explain how to configure the RF ID in the sap system by step by step. thanks inadvance,
-
Question about De-Factoring a query
Good afternoon, I have the following query that produces the results I want (it does a DENSE_RANK): with agelist as select age from student group by age select age, select count(*) from agelist x where x.age <=
-
Sap Demo environment in a box?
Hello. I'm looking for a very easy sap demo environment in a box (single server / vmware image). It's not to show a lot of sap backend related features, we only need to connect with sapgui / browser to show something. So I'm looking for a 1. ECC 5 wi
-
How is better to connect, use a class or ..
hi, i have a web application with ten classes. I hava a class DatabaseClass which provides only the connection to the database with a method call getMyConnection f.i. I thought to remove this class and put the databse conncetion String(server name,da