How to find out XPath-Errors, that are only logged on the console
Hi,
I'm using the Java-API of XMLP Standalone Version 5.6.2. If my layout contains a german umlaut, like:
<?for-each:Behälter_zeile?>
<?BEFMTB_BEZEICHNUNG?>
<?end for-each?>
I get the following output in my application console when I call RTFProcessor.process() for this layout:
[040609_111900450][][ERROR] [Line 118.183] Incorrect XPath: Behälter_zeile
There is no exception thrown and the generated document seems to be correct.
My question: How can I determine such an error in my application? I want to do at least some intelligent logging.
Mirko
Hi Thomas,
According to your description, you want to have a role-specific default member for different roles. Right?
In Analysis Services, when granting access to dimension, a connection will fail if a role restricts access to a default measure. As you mentioned, the best solution is specify a default member for each role. But for administrator role(full control),
it can't set the default member. All tabs except General and Membership are disabled. And the system can determines the default member of current user automatically. It's not supported to get the default member in MDX either.
However, SSAS has additive design for role security. So in this scenario, we just need to create another role for those members of administrator role and specify a default member for this role. SSAS will take that role-specific default member
for these users. And it will not effect the administration permission for them.
Reference:
Default members, MDX Scripts, Security, KPIs and Perspectives
The Additive Design of SSAS Role Security
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
TechNet Community Support
Similar Messages
-
How to find out Which SAP programs are affecting Which Z programs?
Do we have a program/tool that can tell us the following:
How to find out Which SAP programs are affecting Which Z programs in the entire development server?
We have a list of SAP programs and a list of custom u2018zu2019 programs, which ones impact each other? I know we have a u201Cwhere usedu201D functionality, however that is at the object by object level.
We need are looking for something a little larger u2013
thanks in advance
VishnuDo we have a program/tool that can tell us the following:
How to find out Which SAP programs are affecting Which Z programs in the entire development server?
We have a list of SAP programs and a list of custom u2018zu2019 programs, which ones impact each other? I know we have a u201Cwhere usedu201D functionality, however that is at the object by object level.
We need are looking for something a little larger u2013
thanks in advance
Vishnu -
Find out which charateristics that are in use
Hi
We use classes linked to our document types.
And the classes has a lot of characteristics.
Is there an easy way to find out which characteristics that are in use (documentens where values are given), and on how many documents they have been used on?
Best regards
Tom SagaSee if table AUSP serves your purpose.
Regards,
Pradeepkumar Haragoldavar -
Find out particular printers that are being used by background jobs.
Find out particular printers that are being used by background jobs..
Hi Gurus,
I have to remove some printers from SPAD, but before removing those printers I have to make sure that those are not being used by any background jobs. The table TBTCP can be used to identify which jobs are still using those printers, but this is a tedious process.
Any input would be highly appreciated.
Thank you
AdilHi Adil,
I'm lazy so I'd just run this SQL
select distinct(jobname), pdest from SAPSR3.TBTCP where PDEST in ('LP01', 'LOCL') ;
Just put the printers you want as shown above and just perform a little manual cross check by checking the job in SM37.
And that's it .....
Cheers,
Amerjit -
Is there a way to find out which CSS rules are being used by the different html files?
Is there a way in Dreamweaver CS3 to find out which CSS rules are being used by the different html files, sitewide?
Thanks - DaveFirefox add-on "Web Developer Toolbar" is a must have. Information > Display Div & Class details.
https://addons.mozilla.org/en-US/firefox/addon/60
Another handy Firefox Add-on to add to your tool chest is called "Dust-Me Selectors."
http://www.sitepoint.com/dustmeselectors/
"It extracts all the selectors from all the stylesheets on the page you're viewing, then analyzes that page to see which of those selectors are not used. The data is then stored so that when testing subsequent pages, selectors can be crossed off the list as they're encountered.
You can test pages individually, or spider an entire site, and you'll end up with a profile of which selectors are not used anywhere."
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
How can I purchase an album that is only available in the US and not Australia? HELP!
I wish to purchase an artist album that is only available in the US iTunes store. Is it possible to get my hands on?
Not from itunes.
You can buy it from Amazon or some other music retailer. -
How to find out if any masters are in my Library?
Hi!
I've been using Aperture for a while (most masters are on different hard drives, but maybe some are in my library by mistake when I imported them), now want to consolidate all my photo-masters on a separate "photo" hard drive and leave in my Aperture Library only the previews and the adjustments.
I have some projects in my library, and my library is 12 GB. Is there a quick way to find out if any of my masters are in the library so I can "take them out" and put them on my separate HD?
If there was a way to sort by "badge" and see the ones not referenced that would be nice.
Thanks for any help!Sorry I see I put my question in the wrong category, it should not be in "Book Printing". Sorry, I will report in the right place.
Not sure how to delete this one, though, will mark as answered if I can't find out how to delete it. -
How to find out which "purchased items" are not authorized?
I have an iPhone 5, and my son has an iPod touch that are both synced to iTunes on my MacBook Pro. Since I upgraded the MBP to Yosemite, I can no longer sync the apps on the iPod; it always responds with "The iPod could not be synced because this computer is no longer authorized for purchased items that are on this iPod".
The iPod contains apps that are purchased with my Apple ID, and apps purchased with my son's own Apple ID. I have deauthorized all computers from both accounts, and authorized iTunes again for both accounts; however, trying to sync the iPod continues to generate this error message.
Is there any way to find out out which specific app(s) are generating this conflict? If I knew which of the (more than 300 in total) apps cause this conflict, I could probably remove/reinstall/do something about them; but as it stands, the error message doesn't help me at all.I have an iPhone 5, and my son has an iPod touch that are both synced to iTunes on my MacBook Pro. Since I upgraded the MBP to Yosemite, I can no longer sync the apps on the iPod; it always responds with "The iPod could not be synced because this computer is no longer authorized for purchased items that are on this iPod".
The iPod contains apps that are purchased with my Apple ID, and apps purchased with my son's own Apple ID. I have deauthorized all computers from both accounts, and authorized iTunes again for both accounts; however, trying to sync the iPod continues to generate this error message.
Is there any way to find out out which specific app(s) are generating this conflict? If I knew which of the (more than 300 in total) apps cause this conflict, I could probably remove/reinstall/do something about them; but as it stands, the error message doesn't help me at all. -
How to find out by MDX that the current users is member of a role - Default member issue
Hi,
just imagine you have a dimension with a few members (A, B, C...). I defined a role which gives some users only rights to "B". On the other hand the default member for the dimension is set to "A". Now users part of the role get an error
that the member "A" is not found. So while
https://msdn.microsoft.com/en-us/library/ms175626.aspx says the default member setting in the role "overrides" the overall default member this is not completely true because first the general default member is selected and after that the role
specific one.
So the solution might be that I explicitly define the default member in all roles. This might be possible but there is one issue: you can't define a role specific default member for users part of the adminstrator role. So all admins don't have a default
member which is quite some restriction for some users...
So the question is how to solve that problem. An idea would be that I use some MDX to determine the default member in the dimension based on the actual user's role membership. But how to do that? Or any better idea?
Thanks,
Thomas PagelHi Thomas,
According to your description, you want to have a role-specific default member for different roles. Right?
In Analysis Services, when granting access to dimension, a connection will fail if a role restricts access to a default measure. As you mentioned, the best solution is specify a default member for each role. But for administrator role(full control),
it can't set the default member. All tabs except General and Membership are disabled. And the system can determines the default member of current user automatically. It's not supported to get the default member in MDX either.
However, SSAS has additive design for role security. So in this scenario, we just need to create another role for those members of administrator role and specify a default member for this role. SSAS will take that role-specific default member
for these users. And it will not effect the administration permission for them.
Reference:
Default members, MDX Scripts, Security, KPIs and Perspectives
The Additive Design of SSAS Role Security
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
TechNet Community Support -
How to find out whether certain items are /will be rendered?
Hi,
this is what i'm trying to do - from inside an apex session i'm trying to find out all the items that will be rendered (in the same application on a certain page)
It seemed to be easy:
for c1 in(
SELECT ITEM_NAME
FROM apex_application_page_items a
where application_id = :APP_ID
and ... --- certain other conditions
and my_function_render(condition_type, condition_expression1, condition_expression2) = 1
loop
--- if item rendered process the item
end loop;I found an (undocumented) API wwv_flow_check+ that seemed to fulfill all my dreams, but
here's what happened:
check_condition - although i converted the condition_type back to condition code with help of apex_standard_conditions, the program works only with PLSQL_EXPRESSION and EXISTS.
All other conditions in use (i tried ITEM_IS_NOT_NULL, REQUEST_NOT_EQUAL_CONDITION, ITEM_IS NULL, VAL_OF_ITEM_IN_COND_EQ_COND2, NEVER) return in an error
ORA-06503: PL/SQL: Function returned without value
Is there some trick for the check_condition function to accept all the other condition types as well or should i write those cases into my program? It seems pretty easy, but feels like reinventing the wheel...
database 10.2.0.4, apex 3.1.1
Thanks,
Andres
P.S i also tried the who other functions in the package
check_cond_plsql_expresion works fine
but check_condition_sql_expresion throws
ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML??
AndresHi,
this is what i'm trying to do - from inside an apex session i'm trying to find out all the items that will be rendered (in the same application on a certain page)
It seemed to be easy:
for c1 in(
SELECT ITEM_NAME
FROM apex_application_page_items a
where application_id = :APP_ID
and ... --- certain other conditions
and my_function_render(condition_type, condition_expression1, condition_expression2) = 1
loop
--- if item rendered process the item
end loop;I found an (undocumented) API wwv_flow_check+ that seemed to fulfill all my dreams, but
here's what happened:
check_condition - although i converted the condition_type back to condition code with help of apex_standard_conditions, the program works only with PLSQL_EXPRESSION and EXISTS.
All other conditions in use (i tried ITEM_IS_NOT_NULL, REQUEST_NOT_EQUAL_CONDITION, ITEM_IS NULL, VAL_OF_ITEM_IN_COND_EQ_COND2, NEVER) return in an error
ORA-06503: PL/SQL: Function returned without value
Is there some trick for the check_condition function to accept all the other condition types as well or should i write those cases into my program? It seems pretty easy, but feels like reinventing the wheel...
database 10.2.0.4, apex 3.1.1
Thanks,
Andres
P.S i also tried the who other functions in the package
check_cond_plsql_expresion works fine
but check_condition_sql_expresion throws
ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML??
Andres -
How to find all oaf pages that are using a table in their VOs
Hello everyone,
I need to findout all the View Objects and Entity Objects that are using a table lets say A. Is there a smart way to find out all the VOs and EO's that are using my table?
Thanks
SunnyTechnically there would be only one EO for your table (if its Oracle code). VOs contain queries and there might be many which refer the table.
One option I can think of is doing a table name search in the various (EO and VO) directories on JAVATOP. Its the XML (99% cases) that would have the queries. Rest 1% having dynamic VOs, it would be difficult to determine.
Regards -
How to find out which materialized views are running on the DB?
So I have a long list of MVs stored on the DB.
Is there a script to find out which MVs are being refreshed right now?
Help!
ThanksHi ,
You can use the following data dictionary view to get information on when Mview was last refreshed--
SQL> desc DBA_MVIEWS
Name Null? Type
OWNER NOT NULL VARCHAR2(30)
MVIEW_NAME NOT NULL VARCHAR2(30)
CONTAINER_NAME NOT NULL VARCHAR2(30)
QUERY LONG
QUERY_LEN NUMBER(38)
UPDATABLE VARCHAR2(1)
UPDATE_LOG VARCHAR2(30)
MASTER_ROLLBACK_SEG VARCHAR2(30)
MASTER_LINK VARCHAR2(128)
REWRITE_ENABLED VARCHAR2(1)
REWRITE_CAPABILITY VARCHAR2(9)
REFRESH_MODE VARCHAR2(6)
REFRESH_METHOD VARCHAR2(8)
BUILD_MODE VARCHAR2(9)
FAST_REFRESHABLE VARCHAR2(18)
LAST_REFRESH_TYPE VARCHAR2(8)
LAST_REFRESH_DATE DATE
STALENESS VARCHAR2(19)
AFTER_FAST_REFRESH VARCHAR2(19)
UNKNOWN_PREBUILT VARCHAR2(1)
UNKNOWN_PLSQL_FUNC VARCHAR2(1)
UNKNOWN_EXTERNAL_TABLE VARCHAR2(1)
UNKNOWN_CONSIDER_FRESH VARCHAR2(1)
UNKNOWN_IMPORT VARCHAR2(1)
UNKNOWN_TRUSTED_FD VARCHAR2(1)
COMPILE_STATE VARCHAR2(19)
USE_NO_INDEX VARCHAR2(1)
STALE_SINCE DATE
SQL> -
How to find out what camera files are supported in CS4
Hi guys,
I've searched support and this forum and have not been able to find an answer. We are going to be purchasing a new camera in the not too distant future and need to know if CS4 will support the one we eventually purchase or if we will have to upgrade. Is there anywhere on the Adobe site that has a list of supported files for Camera Raw in CS4?
Thanks for any help, LindaThe general answer to your question (for the benefit of future readers) is this:
1. Browse to the Photoshop and Camera Raw updates page:
Windows:
http://www.adobe.com/support/downloads/product.jsp?product=39&platform=Windows
Mac:
http://www.adobe.com/support/downloads/product.jsp?product=39&platform=Macintosh
2. Note the major heading for the version of Photoshop you have or are interested in (Version CS5, Version CS4, etc.)
3. Note what version of Camera Raw is near the top of that section (i.e., the most recent update for that version of Photoshop).
4. Follow the Camera Raw x.x Update link.
5. In the Camera Raw update page, follow the Camera Raw x.x ReadMe link.
6. Find the list of supported cameras and raw formats and see if the camera you have or are interested in is listed.
Hope this helps.
-Noel -
How to find out number of background work processe available in the system?
Hi All,
I have a FM that triggers a background job using JOB_OPEN, ABAP_SUBMIT and JOB_CLOSE. But the problem is if there are no background work processes available at that moment, it does not return error. Not sure whether the job is even scheduled!
Is there a way to find out if there are any background work processes available in the system? I know a FM SPBT_INITIALIZE which gives info about dialog work processes. Is there any other FM similar to this which gives info about background wp??
Regards,
Shaileshyour Job will remain in a queue by message handler. once workprocess is free, your job gets scheduled
by the way, you can use the functionality used in FM TH_DISPLAY_WORKPROCESS_LIST to read the workprocesses
the command which gets you the workprocess is:
CALL 'ThWpInfo' ID 'OPCODE' FIELD OPCODE_WP_LIST
ID 'TAB' FIELD LIST_STATE_WPLST-TABL
ID 'CPU' FIELD LIST_STATE_WPLST-CPU.
check how its written in include LSDEBF01, form SET_LIST_WPLST
Edited by: Soumyaprakash Mishra on Dec 12, 2011 12:17 PM -
How to find out from whcih terminal user tried logging in and failed
Hello All,
One of the user is trying to login using master userid (SAP* / DDIC).. But he is failing after three attempts resulting in locking the SAP* / DDIC user id.
We are unable to trace who is attempting this? If we know from which terminal user is trying to login we can find out the person.
Even in SM21 we are unable to see from which terminal user is trying to login..(We can see the terminal clearly in SM04). Could you please suggest us how to trace the person responsible for this issue?
Thanks,
SubbuHi,
The terminal details can be obtained through securiy audit logging.
You can enable to Security logging for the users SAP*/DDIC using the tcode SM19 and the logs can be viewed using the tcode SM20.
To to activate the security audit logging you need to set the value '1' for the parameter rsau/enable. The log file size can be set using the parameter rsau/max_diskspace/local. You can set the number of slots to be used for security auditing purpose using the profile parameter rsau/selection_slots in the default profile.
Hope this information helps.
Regards,
Varadhu
Maybe you are looking for
-
Link between invoice and order number
Hi All, can any one find like between 1.field structure HEADNO_EXT /1BEA/S_CRMB_BDH_WRK and 2. Description Field Name Structure Order No PO_NUMBER_SOLD CRMT_7010_SE
-
Download Adobe Flash Player box won't go away.
The screen pops up asking to download Adobe Flash Player even though it is already downloaded. After clicking on, do not show this screen again., don't allow, and closing the box. Moving the mouse the screen comes back, won't go away.
-
hi, i have the m/b h87i ac , but i can't figure out to work with displayport. i need to have hdmi+dp working. i have a adapter dp->hdmi , that work fine because i've tested it with another pc with amd 7850 video card and work fine. also i've tested t
-
Code eo send e-mail to multiple addresses
Hi, I need to send an e-mail to multiple addresses. Can the Function module SO_NEW_DOCUMENT_SEND_API1 be used to send email to MULTIPLE e-mail addresses ?
-
6.1.2 and still wifi signal problem
I bought iphone 5 yesterday in London.I update my iphone to 6.1.2 and i saw a problem.My wifi signal is too weak and its drops the connections few time later.I restore my phone but still same.What can i do for this problem.Is it a hardware problem ?