Constant selection and authorizations
Hi,
I've made a query for displaying some selected figures for our company's health and safety managers.
The query is displayed with 0DF_FORCE in the rows as a hierachy and in addition to needing a role for displaying the query at all, the users are restricted to "their" part of the hierarchy using an exit variable with lookup in a nav-attribute to 0DF_FORCE. This all works fine, the problem is that I want to use the number of workdays in a given month for sickleave % calculations. I tried making a formula variable exit for this that will return the number of workdays in an variable intervall given at query start. This works, but I'm then not able to drill the query to spesific months, since the formula variable does not respond to calmonth.
Alternativly I tried putting the number of workdays into a DSO and linking to calmonth there. That solves the navigation, but now I have a problem with constant selection. I need the number of workdays for every force element in 0DF_FORCE. Since the DSO does not contain this characteristic, it needs constant selection '#' on 0DF_FORCE within the restricted keyfigure for workdays. And here's the catch, the intended users do not have and cannot have authorization for force element '#'.
I would appriciate any leads on developing my current logic, or a new tack for displaying number of workdays pr month without conflicting with said authorization limitations.
SAP haveth in their glory created 0numwday as an attribute to 0calmonth as of jan '08. That they haven't documented it at all, did that it took some time to discover, but that's bygones. What it means is that I can make a replacement path variable on 0calmonth instead of my keyfigure and avoid the whole issue. Hurrah!
Similar Messages
-
Constant selection and Reusability
Hi Gurus,
In BI 7.0,I am facing following problem.
1.I am using characteristic say ZSITE as constant selection and we use the data in a particular report.
In Other report we are using ZSITE and expected to see different data but we are getting constant selection data.
Is there any way that characteristics can be used differently in different reports?If so can anybody give me some idea please.Hi Nrupal
you are talking abt constant selection in transformation/UR/TR or in Bex. If it is hard coded constant in Back-end then the same value will be used in all query as it is attribute.
if you are putting constant selection in query then i guess it shouldn't be a problem because you define the constant selection in KF property locally in query designer.
Thanks
Tripple k -
Constant Selections and Exception Aggregation
Hi,
Can You please tell me
1) what is constant selections?
2) what is Exception Aggregations?
Thanks and Regards.
Naresh.Hi,
example for the use of standard aggregation and exception aggregation for a key figure is a key figure for the non-cumulative value
with non-cumulative values such as warehouse stock, you want to total up the warehouse stock for various articles and warehouses (standard aggregation), but for the month you want to determine the ending inventory (LAST aggregation) (exception aggregation in regard to the time characteristic Calendar Month)
for more info go through the below link
http://help.sap.com/saphelp_nw04/helpdata/EN/d2/e0173f5ff48443e10000000a114084/content.htm
For constant selection go through the belwo link
http://help.sap.com/saphelp_nw70/helpdata/EN/46/91f0f090ea13e8e10000000a155369/content.htm
Regards,
Marasa. -
Hi all,
I have a request to create a query on a multiprovider and show characteristics that are only in one of the 2 basic cubes as in the example:
in cube a, I have the following data:
Material Sold-to Bill_Number Qty
A1415R 100123 600019 100
in cube b, I have the following data:
Sold-to User Bill_Number Amount
100123 AK523 600019 50
I want to see characteristics from the 2 basic cubes in the query like this, using as selection criteria, the material:
Material Sold-to User Bill_Number Qty Amount
A1415R 100123 AK523 600019 100 50
I have tried with constant selection on characteristic 0INFOPROV and it works if I remove from drill down the characteristic "user", but whenever I drill down on user, the query shows all possible users in cube B:
Material Sold-to User Bill_Number Qty Amount
A1415R 100123 AK523 600019 100 50
EM258 600019 100
MP296 600019 100
LY212 600019 100
JK688 600019 100
DH693 600019 100
In the query I select Qty from cube A and characteristic 0INFOPROV as "constant selection" and also "display values not posted"
for Amount, I select characteristic 0INFOPROV as "constant selection".
Is there anyway to solve this? what am I doing wrong?
Any input will be highly appreciate it.Hi Meric,
thanks for your answer but it doesn´t work
It shows all data from cube that has no material and 2 lines from the cube with materials ( the 2 lines from the material selected in the screen).
Regards,
Elena -
No values when using key figure with constant selection?
Hi experts,
I have built a Webi on top of a universe that is sitting on top of a Bex query.
In my Bex query I have a bunch of key figures defined that are restricted on time and category.
This Webi works fine.
Then I added an additional key figure that required a constant selection on time and on category.
When I first added this to my Webi report it was fine. But once I refreshed my report showed no values.
The report still seems to know that it is meant to retrieve values because it is bringing back the correct records - just no values. (ie I am showing time in my columns and it's showing the correct periods that are meant to have data)
I refreshed a number of times and sometimes it would bring "#TOREFRESH" in some cells but once I refreshed again the cells are blank. Sometimes it would even show me a value in a couple of cells and others would show the "#TOREFRESH"
I went back to my Bex query and removed the key figure with constant selection and the report is working again?
Has anyone experienced something similar? Is there a way to make this work?
Thank you!
Sabine#TOREFRESH error message appears for smart measures (measure object with aggregation type Database Delegated) when the context for the measure is changed. Refreshing data will solve the issue. Database delegated measures are used for some non-additive aggregation which webi is not able to handle properly. If you are not using such aggregation, then tou can change the aggregation type to something other than database delegated to avoid #TOREFRESH.
-
Hi, all.
In our project we faced with problem. We have global filter on query (like Char = 1), in query we use key figure what have restriction like Char = # and we select Constant Selection option on this restriction. But when we start query in Analyzer we don't get any data. Maybe I don't good understand concept of constant selection or maybe it is any bag. Can anybody explain what I can do with this problem.
Regards, Fanil.Hi, AL.
I have BEx Query on Multiprovider. In this query I have global filters like as
INVERSION = INVERSION_I_E - Manual Input Variable(User Cannot input # value)
Also I have one Restricted Key Figures that restricte like
1st KF from Infocube 1
INVERSION = INVERSION_I_E
2nd KF from Infocube 2
INVERSION = # (Empty).
In second KF I select option "Constant Selection" and expected that they show any data, but it doesn't show anything. -
Selection screen and authorization check for plant from 2 diff tables?
Hi,
Could anyone help me out?
how to write code for this?
u2022 Fields for selection
Plant : WERKS (one selection) - check authorization access u2013 Mandatory .
Material code MATNR (one selection) - Mandatory
and while doing the authorization check how should i check it ? here iam taking the table as t001w for werks and for selection screen iam taking it from another Z table......i should take 2 different tables here.....for selection and for authorization.
my code is pasted below:
Data Declarations *
data: s_werks type t001w-werks.
Selection Screen *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
PARAMETER : p_werks like Ztable-werks OBLIGATORY,
p_matnr like mara-matnr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
Start-of-Selection *
START-OF-SELECTION.
**-Get Plants for Authorization check.
SELECT werks
FROM t001w
INTO TABLE it_werks
WHERE werks IN s_werks.
LOOP AT it_werks INTO x_werks.
v_werks = x_werks.
Regards,
ReddyPlant : WERKS (one selection)
That means only 1 plant value to be given? Then you can use PARAMETERS instead of SELECT-OPTIONS. And additionally, you'll only have to check that plant value.
Using SELECT-OPTIONS you would indeed retrieve the plants and check each individual selected plant. Your code for that is good enough to start with.
I wouldn't do the check in the START-OF-SELECTION event, but rather in the AT SELECTION_SCREEN event.
To perform an authorisation check; try the ABAP help on AUTHORITY-CHECK. And you will need to know which authorisation object you need to use.
Just noticed you're using PARAMETERS
WHERE werks IN s_werks
should be
WHERE werks eq p_werks
But actually you don't need to select T001W. Just use the value in p_werks.
Edited by: Maen Anachronos on Oct 10, 2008 7:53 PM -
Provider Speicifc Properties on MultiCube and constant Selection in Query
Hi Experts
I are using BI 7.0, just upgraded to SP24 and having an issue with a MultiPrvider. All of this worked great before the upgrade. Here are the symptoms I am experiencing. This MultiCube has 2 InfoObjects where "Provider-Specific Properties" are set with a constant value.
1) If I display data on MultiCube I can only get consistent results if I chose for "Field Selection for Output" and select All SID fields. If I don't get any results if SID fields are not selected for display.
2) Query on on MultiCube has a Res. Key Fig. using constant selection on Infoprovider plus other Infoobjects. When I execute I get a dump with errors Brain 222 ( referencing the 2 objects that are set as constant on MultiCube, as well as Brain 635 . I have researched both have not yet found anything helpful. Query does execute if I take off the constant select on Infoprovider but then don't get results I want.
I have tried to re-activate MultiCube. I got warnings on CMP error and inconsistency and messages R7I 114, R7I 127 but activation was successful.
I would be very grateful for any suggestions.
Thanks so much.Can you try log out and re-login??
As well when you display DATA, first of all
1. it ask you select necessary field before you go for FIELD OUTPUR FOR SELECTION
2. Overthere in SELECTION top menu, SELECT the second SELECTION menu, and select option "SELECT CHARACTERISTICS" which is the first one.
3. THen enter
4. now you go to the screen for FIELD OUTPUT FOR SELECTION, in that Select 4th option "SELECT ALL CHARACTERISTICS"
and then execute..
just give a try..
not sure how far it helps..
May i know the restriction which stops you running the query..?
try the constant selection on only one object and try...
Edited by: SAP BI Learner on Oct 28, 2011 5:30 AM -
Hi Team,
I need to access Java web service which is simple service and accepts and returns XML over HTTP. No credentials are needed to access the service. We need to pass following two HTTP headers (Content-Type and Authorization) along with XML request message:
<GetStatus> message is being constructed in the orchestration and URI is constant to access.
Which adapter shall I use to get the response back? I tried using WCF-WSHttp with Security Mode = Transport, and different options of client credential types but every time, error returned stating:
System.Net.WebException:
The HTTP request is unauthorized with client authentication scheme 'Basic'. The
authentication header received from the server was 'Basic realm='.
Authentication failed for principal Basic. Message payload is of type:
String
In Fiddler, request looks line following
POST <https://URL/GetServiceReopnse HTTP/1.1
Content-Type: application/xml
Authorization: Basic cmVmU3RhdHN2Y19kgeRfsdfs=
Host: <Server name>
<GetStatus XMLNS="http://server.com/.....">
<OrgId>232323</OrgId>
<HubId>3232342323</HubId>
</GetStatus>
MMK-007First, you should not use the HTTP Adapter because it's been deprecated and replaced by WCF.
Start with the WCF-Custom Adapter and select the customBinding.
You should start with the textMessageEncoder and httpTransport and go from there. -
Constant Selection in BEx Query Designer on BI7
Hi guys
According to this blog <a href="/people/prakash.darji/blog/2006/09/19/the-hidden-secret-of-constant-selection Selection</a>, we can create constant selection on both Characteristics and Key figures. I understand how to do it with restricted key figures.
Can anyone give me a step by step guide on how to create constant selection for a Characteristic in BEx Query Designer on BI7. I can't find options for 'constant selection'
Or is this the same thing when you include or exclude values?
Message was edited by:
jimi ogunThanks Krishna
I am actually using a Multiprovider for my queries but business requirements mean I need to create joins.
I am trying to avoid Infosets and I believe another way is to use the Constant Selection feature in Query Designer.
Going back to my previous posting, I know how this is done with a restricted KF but I don't know how when it comes to characteristics.
Can anyone help? -
Issue in External Table Authentication and Authorization in OBIEE11G
Hello Gurus,
Can anyone help me how to configure External Table Authentication and Authorization in OBIEE11g through weblogic server not like in 10g style(Through INIT Blocks).
I've followed the (Doc ID 1338007.1) document. But when i'm restart the Managed servers and Admin servers after configuring the SQLAuthenticator all my services are showing down.
I already raised the SR (SR 3-6286054151) on this issue. But still i didn't get any reply from them.
Can anyone help me out on this issue or can anyone me send the document for "how to configure External Table Authentication and Authorization in OBIEE11g" . It's really appreciate for your quick response.
my mail ID [email protected]
Thanks,
Syam.
Edited by: 942658 on Oct 13, 2012 10:55 AMHi John,
Thanks for your quick response.
We configured "ReadOnlySQL Provider" by following the Oracle's white paper(Doc ID 1338007.1) Please find the below steps what we configured in weblogic console.
1. Created the Data Source
2. In the data source specified the Database driver--> *Oracle's Driver Thin for service connections: Versions:9.0.1 and later.
3. Defined the connection Properties .
4. Selected targets as Admin server and bi_server.
Then Activate changes
5. Created new provider by using ReadOnlySQL Authenticator
6. In the provider specific tab we given the SQL statements and saved it.
7. Restarted the Admin and Managed servers.
After restarted the services when we open the Enterprise Manager page all the services are showed as Undefined - means red.
Apart from that we followed your suggested link http://askjohnobiee.blogspot.com/2012/09/how-to-oid-authentication-with-groups.html
For External table authentication do we need to configure BISQLAuthenticator or ReadOnlySQLAuthenticator ?
If we configure BISQLAuthenticator we just import Groups from database to Console application. Then how can it Authenticated to the User ?
Please let me know your ideas on this.
Thanks,
Syam -
Constant Selection on MultiProvider is not working properly
Hi All,
We have a MP based on 2 DSOs, say DSO1 & DSO2.
DSO1: Char 1, Char 2, Char 3 and KF1
DSO2: Char 1, Char 2, Char 4 and KF2.
Now, I am creating a query by using constant selection. I have kept all chars in Rows pane and 2 KF in Columns pane. I have restricted KF1 with char 4 and KF2 with char 3 by putting constant selection accordinlgy... However, still I am getting 2 rows of display as below...
char1 char 2 cahr 3 char 4 kf1 kf2
A B C # 10 -----
A B # D ---- 10
Could any one pls suggest how to display in single record... Your help is highly appreciable.
Best Regards
Venkat...Thank you Anshu for your suggestion.
Here, I wrongly mentioned the KF details. Both the KFs are existed in both DSO1 & DSO2. The only thing is DSO1 data is coming from ECC(R/3) and DSO2 data is coming from CRM. Now, I want to show the all chars w.r.t infoprovider wise KF vaues in a single row. Shall we achieve it by constant selection approach? Could you suggest any work around please...
Best Regards
Venkat... -
Constant selection in query designer
hi guys
please explain abut
constant selection in query designer 7.oHi,
For ex if you had designed a MP using the IC's and DSO's in which if all the fields are not in common with both the info provides used in the MP you will get the results in 2 rows and the values for the ones which are not in common will be displayed as # in the results.
This can be the case in Infosets as well.
to over come this we use "constant selection"
Check the below link which explain the constant selection with an example.
http://sapbi101.blogspot.com/2010/05/constant-selection-in-query-apples-and.html -
how can i to convert a file to .m4a format with constant bitrate and constant overall bitrate?
"Surely you have the same check boxes as me? Surely you can make the same selections, AAC Encode, Custom bit rate, 256k or 320k or whatever you want... Sample rate 44.1KHz, Auto Channels and VBR not selected?"
Yes.
" Have you tested this? "
Yes. I tested resulted files with "MediaInfo".
"If so what are the results?"
VBR. -
Constant selection in IP planning layout
Hi everyone,
I have a budget planning layout where I'd like to give the user the opportunity to display various planning versions side-by-side. I also want to include the previous year figures (pry).
Since reference data might not exist at the time of displaying the layout, I have preselected 0VERSION and set its access type to "Master data". In the colums, I have a structure for the pry and the budget values. Underneath, there is a drilldown on 0VERSION.
Since there isn't really a planning version for pry figures, I wanted to restrict the pry column to 0VERSION=# and set a constant selection. This way I was hoping to prevent the drilldown of the preselected versions for the pry column, but it's displaying everything I preselected. # is not even displayed.
Is there a way around this?
Thanks and regards,
TilmanHi Tilman Budde ,
How are you ? I'm very new to intergated Planning ,But my client is planning to implement Captial Budget Planning and STS .Could you share any online help or input . ..
Thanks & Regards,
unath
Maybe you are looking for
-
How to search for a tile in store
I need Moxilla, Safari or Google Chrome to run my software I'm using for my chiropractic office. I can't seem to find a search section in the application store to purchase this. What am I doing wrong? Chelsea Knapp
-
Ask keeps coming up as default browser even though I change to Google
My preferred search engine is Google. However it seems that Firefox likes Ask. I move Google up to the top in the "Manage Search Engines" option and remove Ask. The next time I start Firefox, and even sometimes without a restart, Ask defaults to the
-
Emailing persistent link to the current document version.
I did not find a suitable answer by searching previous posts. We are working on a document transmittal workflow. This will email to a user, links to documents stored in a SharePoint document library. A requirement is to use out of the box features. I
-
How to automatically direct mail from diff POP accts into their own folders
I use Mail to receive and send mail for 2 different POP accounts. Is it possible when checking for new mail, to have the mail for acc. 1 go into one folder or inbox and mail for acc. 2 go into another one?
-
How do I stop the auto generation of previews to imported files?
In a recent post it was suggested that I do not let Aperture automatically generate the previews to all imported files. I think that is a great idea, but how do I stop the auto generation of such files? Under Preferences/Previews I have unchecked the