How to delimitate the authorization on BI based on HR auth. object P_ORGIN
Hi all,
I need to insert in my BI role one authorization object to delimitate the view of data in the report (data are extracted from and SAP HR system) based on Personnel Area. On the HR system I have the authorization Object P_ORGIN that can be filled inside the roles for what concerns the value of Personnel Area.
How can I apply the same limitation inside the BI role?
Many Thanks,
Valentina
Hi,
R u using any other roles . If yes then open that roles and add object p_origin .It should work.
Regards
Nilesh
Similar Messages
-
How to get the most current file based on date and time stamp using SSIS?
Hello,
Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
Thanks
thx regards dinesh vvhi simon
i excuted this script it is giving error..
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
[System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
The execution engine calls this method when the task executes.
To access the object model, use the Dts property. Connections, variables, events,
and logging features are available as members of the Dts property as shown in the following examples.
To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
To post a log entry, call Dts.Log("This is my log text", 999, null);
To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
To use the connections collection use something like the following:
ConnectionManager cm = Dts.Connections.Add("OLEDB");
cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
To open Help, press F1.
public void Main()
string file = Dts.Variables["User::FolderName"].Value.ToString();
string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
System.IO.FileInfo finf;
DateTime currentDate = new DateTime();
string lastFile = string.Empty;
foreach (string f in files)
finf = new System.IO.FileInfo(f);
if (finf.CreationTime >= currentDate)
currentDate = finf.CreationTime;
lastFile = f;
Dts.Variables["User::LastFile"].Value = lastFile;
Dts.TaskResult = (int)ScriptResults.Success;
thx regards dinesh vv -
HT1918 How long will the authorization hold be kept on my credit card?
How long will the authorization hold be kept on my credit card?
http://support.apple.com/kb/HT3702
-
How to find the number of references created for a given object ??
How to find the number of references created for a given object in a big application environment.
That means, if i give any object name (of my application) as input, then how can i find the[b] number of references created for that particular object ??Please do not post the same question multiple times.
As for your original question, there is no direct way to do it.
Especially not the way you phrased it,
since objects don't have "names".
Applications also don't have "names".
They have classes and instances.
Also, there are 2 related issues, and I'm not sure which one is the one you asked.
#1. Finding the number of references to the same object.
Eg.
Map<String,String> a = new HashMap<String,String>();
Map<String,String> b = new HashMap<String,String>();
Map<String,String> c = a;In this case, there are only 2 objects.
The first object has (at least) 2 references pointing to it.
The second object has (at least) 1 reference pointing to it.
(There may be more, if the HashMap library keeps
references to these things, or if the HashMap object has
some internal cyclic references...)
If you're asking this, then it can't be done.
It's an active research topic in universities
and software research labs, called "alias analysis".
Type it in google, and you'll see people are working hard
and having little success so far.
#2. Finding the number of instances created from a class.
In this case, what you have to do is to add a counter to
the constructor of the class. Every time an object is constructed,
you increment the counter. Like this:
class MyClass
public static int counter = 0;
public MyClass( ) { counter++; }
// Then later in your program, you can do this:
MyClass a = new MyClass();
MyClass b = new MyClass();
System.out.println(MyClass.counter); // It should show 2Note: you won't be able to do this to every class in the system.
For every class you care about, you have to modify its constructor.
Also: when an object is deleted, you won't always know it
(and thus you won't always be able to decrement the counter).
Finalizers cannot always work (read Joshua Bloch's
"Effective Java" book if you don't believe me), but basically
(1) finalizers will not always be called, and
(2) finalizers can sometimes cause objects to not be deleted,
and thus the JVM will run out of memory and crash -
How to save the instance in standard lead from custom business object
Hi Experts,
I am unable to save the instance(Record) in standard Lead business object from custom business object.
Steps:
created one custom business object with mandatory fields for creating instance in standard lead.
in quick create screen i bind data elements to standard lead business object elements.
issue:
when i click on preview i am getting exception as Arguments not found
can you please tell me that How to save the instance in standard lead from custom business object with step by step .Hi Vijay,
Please refer this link under that mentioned that how to create lead using ABSL code
Web 2 Lead in SAP Cloud for Customer, step by step - Part 1 - myCloudDoor myCloudDoor
Under the "Action-CreateLead.absl" mentioned how to create lead
the above link for convert web 2 lead functionality and under they create lead using web data from ABSL code.
Regards,
Mithun -
Error "Inconsistancy in the auth object P_ORGIN"
Hello Gurus,
I have to add a tcode which involves auth object P_ORGIN. When I add the tcode and go to authorization tab then it gives the error as "Inconsistancy in the auth object P_Orgin"
Please let me know how should I add the tcode now. Thank you !
Regards,
MAPLease provide tcode
The reason why the profile generator cannot correctly insert the
default values of these transactions is due to a data inconsistency in
table USOBT_C (default values for customers). The table does not
contain an entry for field BTRTL of authorization object P_Orgin.
You can immediately correct the incomplete data in your customer table
USOBT_C using the following steps:
Step 1 Execute transaction SU24
Step 2 Enter the transaction affected by this error ie XXXX
Step 3 "Change check indicator" (F6) in the application toolbar.
Step 4 With "Display field values" (F7) you check the default values of
P_Orgin. Please document the values.
Step 5 Go back to the previous screen and set the check indicator from
"Check/maintain" to "Check" for P_Orgin.
Step 6 Set the indicator for P_Orgin back to "Check/maintain".
Step 7 Choose the function "Change field values" (F6) and insert the
formerly documented values for AUTHC in object P_Orgin.
Now you see also the field BTRTL being presented.
Save the changes.
Repeat steps 3-7 for each of the transactions affected.
Hope you are clear with the steps.
Thanks,
Prasant
Edited by: Prasant K Paichha on Mar 3, 2010 3:01 PM -
How to check the authorization based on webdynpro application
Hi Experts,
I was asked to develop a webdynpro component with two webdynpro applications, one each for internal party and external party to be used.
So how to restrict or check the authorization based on webdynpro application used?
Do we have any authorization object like S_TCODE for webdynpro application in roles and authorizations?
Please enlighten me.
Regards,
Ajay MatamYou can assign an authorization object to the Web Dynpro Application within SICF -
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/61/d93822a88e15489a9391f309767366/frameset.htm
Of course you could also programatically check which web dynpro application is being used from within the component and then call a custom auth-check. However maintain at the SICF is probably better for visibilty and long term maintenance costs. -
How to build the members in essbase based on levels using EAL
Hi All,
How to restrict the members to build the in essbase based on levels using EAL.
I've requirement, in one dimension, needs to build the one level1 member as level0 in essbase.
please let me know the procedure, if any one implemented or face similar.
Thanks in advance,
Kiranthere's no such functionality in EAL to create Essbase outlines based on levels. the only workaround to this is to use Mapping tables:
1- create the dimension in essbase with the desired HFM level 1 members as level 0.
2- set this specific dimension to mapping in your design grid within your EAL Bridge
3- create the SQL Mapping table and start mapping those members from HFM to Essbase.
Tanios -
How to filter the Rest Api data based on Taxanomy columns
Hi Everyone,
We are using SharePoint2010 Standard Edition.
I wanted get the library details through REST Api. I am using as below:
https://SiteUrl/_vti_bin/listdata.svc/Documents?$filter=Title eq 'SharePointDoc'
Here I am able to get the info regarding "SharePointDoc". But when I am trying to get the details from Taxonomy filter, it didn't.
Can anyone please tell me how can we filter based on Taxanomy fields.
Thanks in Advance
KrishnasandeepHi,
I understand that you wanted to filter the Rest Api data based on Taxanomy columns.
Per my knowledge, in SharePoint 2010 , not all types of column are available via REST, most annoyingly managed metadata columns are amongst this group of unsupported column types.
However, in SharePoint 2013, we can filter list items based on taxonomy (managed metadata) columns.
Taxonomy fields can be now called via REST API using CAML query in REST calls.
Here is a great blog for your reference:
http://www.cleverworkarounds.com/2013/09/23/how-to-filter-on-a-managed-metadata-column-via-rest-in-sharepoint-2013/comment-page-1/
You’d better to change the REST calls and the CAML query to check whether it works in SharePoint 2010.
More information:
http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to findout the clearning document number based on the reference
Hi all
we need to findout the clearning document number based on the reference number in financial transaction code.
basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
we want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
Please confirm.
Thanks
K.Gunasekaryou can get it from BSAD too. but again its not a primary key
-
How to restrict the authorization to change backgroud configuration
hello , I copy some users from my admin user which contain the sap_all profile. so these uses can change background configuration. now, I want to restrict the authorization that they can only view the background configuration but can not change it . how can I set this authorization? Can I change the sap_all profile? how to set it?
thanks.Hi,
You can copy the SAP_ALL profile to a new name say Z_SAP_ALL and provide display access to all the authorization object and make sure you remove all the critical tcodes in the Z_SAP_ALL profile.
Once you are done with testing the role assign it to the user.
Also search the threads in the forum...
Rakesh -
How to set the file path dynamically based on sytem, username, and date
Hi All,
My requirement is upload the data into one structure like xyz that is related to t.code MCSZ.
file will be in UNIx SERVER .
PATH IS: /sapif
file name is xy789 load .txt
I have to write code in one user-exit
how can i set the file path for this.
shall i put hard code file path?
because i have to writecode in user-exit.
plz tell me how to set the file path based ons syetem, username, date
Thanks in advance
Ram.AConcatenate the field SY-SYSID, SY-UNAME and SY-DATUM for the file path
-
How to find the latitude and longitude based on the Customer's address
Hi All,
I have a requirement where in I need to maintain the latitude and longitude for a Customer in the database table. I need these details for calculating the distance between the Customer and the nearest plant for the organisation to deliver from the nearest plant.
Can someone help me as to how to go about this.
Thanks and Regards,
DeepikaHi Zhenglin,
You meen to say we have to create two custom fields, one each for the latitude and longituude. Once created, how do we upload the latitude and longitude based on address could you please expalin by giving some sample code.
Thanks in advance.
Thanks and regards,
Deepika C -
How to cancel the authorization on a computer which already dead
I installed digital edition 2 on my dell few days ago but that one past just after the installation and authorization. since the mobo of it gone hell i wont to save it by bill. the problem is i need to cancel the authorization i given to it. how can i do? thanks anyway.
I don't think you can.
When you reach your 6 device limit, then ...
Adobe Live Chat: http://www.adobe.com/support/chat/ivrchat.html
They can reset your authorizations, and then you must reauthorize any devices you still need.
(Unfortunately, Adobe haven’t got round to an admin website for viewing and editing authorizations.)
Some of the representatives haven't been properly trained and don't know what to do (and claim there is nothing they can do);
in that case the only way seems to be to give up that chat and try another session hoping for a properly trained representative.
If your problem is with another device using Overdrive, Bluefire, Aldiko or similar third party app, it is recommended not to mention that app when on the chat, just mention that you have run out of authorizations (E_ACT_TOO_MANY_ACTIVATIONS) . Thanks to AJP_Bear for that tip. -
How to control the authorization of IM05 through authorization object
Now we want to control the authorization of IM05 through authorization object C_PRPS_USR, but C_PRPS_USR is not assigned to tcode im05.How can we assign authorization object C_PRPS_USR to tcode im05? OR do we have any other method to obtain the same result?
write a factory method that controls the number of instances for you:
import java.util.List;
import java.util.Arrays;
public class Bar
private static final int MAX_BARS = 5;
private static int numBars = 0;
private int id;
public static void main(String [] args)
try
int numBars = ((args.length > 0) ? Integer.parseInt(args[0]) : MAX_BARS+1);
Bar [] bars = new Bar[numBars];
for (int i = 0; i < bars.length; ++i)
bars[i] = Bar.create();
System.out.println(Arrays.asList(bars));
catch (Exception e)
e.printStackTrace();
private Bar() { this.id = numBars++; }
public String toString() { return "I am bar number " + this.id; }
public static Bar create()
Bar nextBar = null;
if (numBars < MAX_BARS)
nextBar = new Bar();
return nextBar;
}%
Maybe you are looking for
-
How do multiple users with multiple devices share one computer with iTunes software to back up multiple devices and individual iTune libraries?
-
Sender File Adapter - Not Running
Hi, I have developed a very simple scenario which uses the File adapter within the sender communication channel. I have done this sort of thing before and it always worked as expected. All that should happen is the file is picked up via FTP and turne
-
Email links will not open in Safari
So, I really have no clue what is going on. I downloaded Safari and having been using with no problems for several weeks now. Yesterday I started noticing that when viewing my emails ( use Incredimail) and when I try to click on a link in an email, t
-
MOS Scrollable Frame "pushing" background graphic
Following on from my animated magazine cover, I am trying to overly a scrollable text frame which a user can pull the contents on the cover page, however it is pushing the background video as I scroll as if it is grouped with the background image. Th
-
Why my sending mail goes to outbox?
I have tried so many ways to send email from my ipad but I am not able , all the mail goes automatically to outbox and stay there . I turn on/off the ipad and also delete all the app in the back ground but still problem resist. Could any body help?