Find used objects
Hi ,
I want a sql query which gives me list of objects where a specific table is used.
Ex. - I want sql query to return all oracle objects where table 'test1' is used.
Please help.
Thanks
I compare this situation to myne, like we had situation where we want to drop an used column or alter the column to different data type..
The first question is where all it is refered and out of references what all needs a change.
Leaving application side, DB side we do following
1.look for static bind gives 80% of results
2. look for dynamic binds with source available in objects, ie column name mentioned as string in source code of object.
meets 5%
3.by naming standards of db , if a table is holding any scripts or table names 5%
4. now we are left with very little risk of unknown area.
do changes with column go for testing , will report any left outs..5%
5. rest 5% we can get in post production bugs..
But my point here is that you can easly use development tools along with text search features of your os or text utilities to achive the same results than writing pl/sql program and parsing and maintaining and debugging this script you wrote.
Thanks,
Phani
Similar Messages
-
Finding Used Objects by applications in Schema of Database
I want to list all the tables and indexes that are hitted by the front application (Using SELECT option only for now).
Is it possible to find name of such tables and indexes in the schema which are hitted while using warehouse queries, where number of tables and indexes are in thousands, using Oracle Internal Dictionaries?
Thanks
ArbindArbind wrote:
It becomes costly to implement tracing or auditing in warehouse. So my question is:
Is it possible to find such hits using Oracle Internal Dictionaries? yes
Is it updated somewhere in database?yes, but only after enabling AUDIT
It is not enabled by default because it is costly to accumulate this level of details.
There Ain't No Such Ting As A Free Lunch! -
How to find BW object (Charecteristic) is used in which queries.
Hi Gurus,
I need to look one BW Object(Charecteristic) is used in which queries?
I tried with where used list for that object , but iam getting only object used in which Info Cubes,InfoSources, Transfer rules , update rules etc..
Can you help me out to find that object used in which queries , orther than going each query and look inside that.
Thanks in AdvanceHi lakshmi,
Use the metadata repository availbel in RSA1 ..there find ur infobject in the infoobject list and u will find out what queries use that infoobject.
Arun -
Dear Sirs, I try to import budget header and budget line by using DTW, however error message found, "Cannot find this object in B1 application defined, object defined error 65171. Regards, Saw Hua
Hi Javier,
Please check below links.
DTW Error 65171
DTW error 65171
DTW, Unkonwn error 1005!65171
DTW error 65171 - Cannot find this object
DTW error65171
SAP B1 Data Transfer WorkBench : Data too large... | SCN
Hope this help
Regards::::
Atul Chakraborty -
Keeps finding a "Object" not the real type.. I am really lost.. :D
The calls to other objects work fine, I have testing all of them.. but! when I compile I get a error about finding a "object" type and not a String type at
for(String blackStone : blackUnits.keySet())
if( getSetLib(blackStone) == 0 ) { removeSet.add(blackStone); }
} this is the whole class
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
public class Stat
private Token[][] board;
private int bSize;
private HashMap<String, HashSet> unitsWhite;
private HashMap<String, HashSet> unitsBlack;
double last;
public Stat(Token[][] goBoard, int size)
board = goBoard;
bSize = size;
unitsWhite = new HashMap< String , HashSet>();
unitsBlack = new HashMap< String , HashSet>();
last = bSize -1;
* Delimiter is /
public HashSet getLib(int x , int y)
HashSet liberties = new HashSet<String>();
//error catch
if(board[x][y] == null){return liberties;}
int tempX = x;
int tempY = y;
//error catch for out of rage if size ect..
for(int i = 0 , liby = y ,libx = x ; i <= 3; i++)
if(i == 0){libx = -1; liby = 0;}
if(i == 1){libx = 0; liby = -1;}
if(i == 2){libx = 1; liby = 0;}
if(i == 3){libx = 0; liby = 1;}
tempX = x+libx;
tempY = y+liby;
if(tempX >= 0 || tempY >= 0)
if( tempX <= last || tempY <= last )
if( (tempX < 0 || tempY < 0) || ( tempX >= last || tempY >= last ) )
tempX = 0;
tempY = 0;
else
if( board[tempX][tempY] == null) { liberties.add(tempX+"/"+tempY); }
return liberties;
public void getTer()
public void checkForCaptured()
Token black = null;
Token white = null;
HashMap blackUnits;
HashMap whiteUnits;
HashSet removeSet ;
removeSet = new HashSet<String>();
//look for a Token on the board and if you find one look for any dead Tokens
//looks for a Token
for(int x=0; x < bSize;x++)
{ for(int y=0 ; y < bSize ;y++)
{ if(board[x][y] != null)
if (black == null)if( board[x][y].getColor().equals("black") ) black = board[y][x];
if (white == null)if( board[x][y].getColor().equals("white") ) white = board[y][x];
System.out.println("this is black tokens color" +black.getColor());
//looks for a dead unit
if(black != null)
{ blackUnits = black.getUnits();
System.out.println("black :" +blackUnits.keySet().size() ) ;
for(String blackStone : blackUnits.keySet())
if( getSetLib(blackStone) == 0 ) { removeSet.add(blackStone); }
if(white != null)
{ whiteUnits = white.getUnits();
System.out.println(" white: "+whiteUnits.keySet().size() );
for( String whiteStone : whiteUnits.keySet() )
{ if( getSetLib(whiteStone) == 0 ) { removeSet.add(whiteStone); } }
board.removeUnitsSet(removeSet);
public int getSetLib(HashSet Units)
return 0;
}someone point me in the correct direction PLZ! I don't mind RTFM if you give me a FM and page/line to look at.
THANKS!
Message was edited by:
monji112000The compiler doesn't know that you're only putting Strings in as keys. HashMap takes references to Object as keys and hence returns references to Object in keySet(). Note, however, that the object itself is still what you put in there. But the compiler only has the declared return type of the method to look at.
// pre 1.5
for (Iterator iter = set.iterator(); iter.hasNext();) {
String key = (String)iter.next(); // cast Object to String. Only works if you actually put a String in
// do stuff with key
// 1.5, if you don't use generics
for (Object obj : set) {
String key = (String)obj;
// do stuff with key
// 1.5, with generics
Set<String> set = ...;
for (String key : set) {
// do stuff with key
}Since you have a Map, you'll have Map<String, SomeValueType>.
http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html
http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf -
Sum in ALV grid display using objects
Hi Experts,
I have created a Report with ALV using objects and also am able to get SUM for some fields using do_sum = 'X'.
My problem is i want to do some calculation using the total amount which i have got, how can i do that (or can it be done??).
Thanks in Advance...
SantoshHi this may be of some help.
ABAP List Viewer
The common features of report are column alignment, sorting, filtering, subtotals, totals etc. To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).
This helps us to implement all the features mentioned very effectively.
Using ALV, We can have three types of reports:
1. Simple Report
2. Block Report
3. Hierarchical Sequential Report
There are some function modules which will enable to produce the above reports without much effort.
All the definitions of internal tables, structures and constants are declared in a type-pool called SLIS.
1. SIMPLE REPORT.
The important function modules are
a. Reuse_alv_list_display
b. Reuse_alv_fieldcatalog_merge
c. Reuse_alv_events_get
d. Reuse_alv_commentary_write
e. Reuse_alv_grid_display
A. REUSE_ALV_LIST_DISPLAY : This is the function module which prints the data.
The important parameters are :
I. Export :
i. I_callback_program : report id
ii. I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status
iii. I_callback_user_command : routine where the function codes are handled
iv. I_structure name : name of the dictionary table
v. Is_layout : structure to set the layout of the report
vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE
vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.
II. Tables :
i. t_outtab : internal table with the data to be output
B. REUSE_ALV_FIELDCATALOG_MERGE : This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.
The Important Parameters are :
I. Export :
i. I_program_name : report id
ii. I_internal_tabname : the internal output table
iii. I_inclname : include or the report name where all the dynamic forms are handled.
II Changing
ct_fieldcat : an internal table with the type SLIS_T_FIELDCAT_ALV which is
declared in the type pool SLIS.
C. REUSE_ALV_EVENTS_GET : Returns table of possible events for a list type
Parameters :
I. Import :
Et_Events : The event table is returned with all possible CALLBACK events
for the specified list type (column 'NAME'). For events to be processed by Callback, their 'FORM' field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field 'FORM' filled and the entry modified using constants from the type pool SALV.
II. Export :
I_List_type :
0 = simple list REUSE_ALV_LIST_DISPLAY
1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY
2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND
3 = hierarchical-sequential block list
REUSE_ALV_BLOCK_LIST_HS_APPEND
D. REUSE_ALV_COMMENTARY_WRITE : This is used in the Top-of-page event to print the headings and other comments for the list.
Parameters :
I. it_list_commentary : internal table with the headings of the type slis_t_listheader.
This internal table has three fields :
Typ : H header, S selection , A - action
Key : only when typ is S.
Info : the text to be printed
E. REUSE_ALV_GRID_DISPLAY : A new function in 4.6 version, to display the results in grid rather than as a preview.
Parameters : same as reuse_alv_list_display
This is an example for simple list.
2. BLOCK REPORT
This is used to have multiple lists continuously.
The important functions used in this report are:
A. REUSE_ALV_BLOCK_LIST_INIT
B. REUSE_ALV_BLOCK_LIST_APPEND
C. REUSE_ALV_BLOCK_LIST_HS_APPEND
D. REUSE_ALV_BLOCK_LIST_DISPLAY
A. REUSE_ALV_BLOCK_LIST_INIT
Parameters:
I. I_CALLBACK_PROGRAM
II. I_CALLBACK_PF_STATUS_SET
III. I_CALLBACK_USER_COMMAND
This function module is used to set the default gui status etc.
B. REUSE_ALV_BLOCK_LIST_APPEND
Parameters :
Export :
I. is_layout : layout settings for block
II. it_fieldcat : field catalog
III. i_tabname : internal table name with output data
IV. it_events : internal table with all possible events
Tables :
i. t_outtab : internal table with output data.
This function module adds the data to the block.
Repeat this function for all the different blocks to be displayed one after the other.
C. REUSE_ALV_BLOCK_LIST_HS_APPEND
This function module is used for hierarchical sequential blocks.
D. REUSE_ALV_BLOCK_LIST_DISPLAY
Parameters : All the parameters are optional.
This function module display the list with data appended by the above function.
Here the functions REUSE_ALV_FIELDCATALOG_MERGE, REUSE_ALV_EVENTS_GET, REUSE_ALV_COMMENTARY_WRITE can be used.
3. Hierarchical reports :
Hierarchical sequential list output.
The function module is
A. REUSE_ALV_HIERSEQ_LIST_DISPLAY
Parameters:
I. Export:
i. I_CALLBACK_PROGRAM
ii. I_CALLBACK_PF_STATUS_SET
iii. I_CALLBACK_USER_COMMAND
iv. IS_LAYOUT
v. IT_FIELDCAT
vi. IT_EVENTS
vii. i_tabname_header : Name of the internal table in the program containing the
output data of the highest hierarchy level.
viii. i_tabname_item : Name of the internal table in the program containing the
output data of the lowest hierarchy level.
ix. is_keyinfo : This structure contains the header and item table field
names which link the two tables (shared key).
II. Tables
i. t_outtab_header : Header table with data to be output
ii. t_outtab_item : Name of the internal table in the program containing the
output data of the lowest hierarchy level.
slis_t_fieldcat_alv : This internal table contains the field attributes. This internal table can be populated automatically by using REUSE_ALV_FIELDCATALOG_MERGE.
Important Attributes :
A. col_pos : position of the column
B. fieldname : internal fieldname
C. tabname : internal table name
D. ref_fieldname : fieldname (dictionary)
E. ref_tabname : table (dictionary)
F. key(1) : column with key-color
G. icon(1) : icon
H. symbol(1) : symbol
I. checkbox(1) : checkbox
J. just(1) : (R)ight (L)eft (C)ent.
K. do_sum(1) : sum up
L. no_out(1) : (O)blig.(X)no out
M. outputlen : output length
N. seltext_l : long key word
O. seltext_m : middle key word
P. seltext_s : short key word
Q. reptext_ddic : heading (ddic)
R. ddictxt(1) : (S)hort (M)iddle (L)ong
S. datatype : datatype
T. hotspot(1) : hotspot
with regards,
Hema Sundara.
pls reward if u find it helpful. -
Sap Script - Where to find "bipmap" objects.
Hi All,
In a window of the Sap Script I find this code:
BITMAP EC_LG_0020 OBJECT GRAPHICS ID BMAP TYPE BMON
INCLUDE EC_ST1_0020 OBJECT TEXT ID ST LANGUAGE IT PARAGRAPH H1
My question: where can I find the objects saved on the Sap System, like EC_LG_0020?
If I launch the tcode SO10 I can find only the object EC_ST1_0020.
Any help will be well appreciated.
Thanks in advance.
Regards,
GiovanniHi
All Images in SAP can be Found using SE78 Tcode , based on the whether it is Color or Blackn white image u can search in this Tcode.
And all Standard texts can be found using SO10 tcode..
for further information chk this link
https://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript
surya -
Hi,
***Problem
I encounter a problem with FIM (version 4.1.3441.0 and 4.1.3496.0) when I try to delete a User object (and only a User object) whatever if it is
manually/Expiration Workflow/Powershell.
Deleting a User object used to be perfectly functional and, without any product version modification, stopped working. I haven't neither deleted/modified or add a
"Grant" MPR or any of the corresponding Sets since last time I saw it working.
Displayed error is "Request could not be dispatched" in FIM Portal and is referencing a stored procedure in Event Viewer.
***Error details
When I try to delete a User object, here is the output :
Portal
"Processing error" on submit
with the following details
Request status is stuck at "Validating" until next restart of FIM Service (after what it becomes “Canceled”)
Request’s “Applied Policy” tab does not contain any MPR where, at least, a “Grant” MPR is expected
As SQL Timeout is relatively high and error happens quickly, I don’t think there is a Timeout problem under that.
Logs
« Application »
The Portal cannot connect to the middle tier using the web service interface. This failure prevents all portal scenarios from functioning correctly.
The cause may be due to a missing or invalid server url, a downed server, or an invalid server firewall configuration.
Ensure the portal configuration is present and points to the resource management service.
« Forefront Identity Manager »
Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements,
Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition" because it does not exist or you do not have permissions.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State
1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements, Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"
because it does not exist or you do not have permissions.
Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ResourceManagement.Data.DataAccess.UpdateRequest(RequestType request, IEnumerable`1 updates)
--- End of inner exception stack trace ---
Requestor: urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4
Correlation Identifier: e7209633-46d0-4f4b-a59e-807649ef71ea
Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.InvalidCastException: Specified cast is not valid.
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier,
Boolean maintenanceMode)
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier)
at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)
--- End of inner exception stack trace ---
For information, a maintenance plan rebuild/reorganize indexes daily and this problem has occurred on servers with different performances.
Is any of you has already encounter this problem ?
Any help would be greatly appreciated,
Thanks in advance for your help,
MatthewWhile there are several SQL Agent jobs (FIM Temporal Events, Maintain Sets, and Maintain Groups among others)created by the FIM install only one of those is enabled and scheduled and it calls all of the same stored procedures that the other
jobs do. Step 2 is Maintain sets and Step 3 is maintain groups. So the Maintain sets and groups jobs never need to get enabled and scheduled, but if you want them to be maintained more frequently then you can.
David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html -
[CS3 JS] Find/Change Object Problem
app.changeObjectPreferences = NothingEnum.nothing does not seem to clear the change object preferences for me.
app.findObjectPreferences = NothingEnum.nothing works as expected, as do both app.findTextPreferences = NothingEnum.nothing and app.changeTextPreferences = NothingEnum.nothing.
Does anyone else use the new Find/Change Object?Hello. I'm new here but it seems to be the only place where I can post this question to.
I'm working in a C# application that uses InDesign CS3 scripting. I'm trying to create an index automatically from a tabbed list of words in a text file.
As C# is a strongly typed language, I have to cast all objects to the right type. I'm having problems when I try to add the page numbers to the created index entries using the following code (I've used the CreateIndexEntry.jsx scrip as a starting point).
//Find all occurrences of the word or set of words (the topic name)
((InDesign.FindTextPreference) app.FindTextPreferences).FindWhat = topic.Name;
InDesign.Objects foundTexts = doc.FindText(System.Reflection.Missing.Value);
It's supposed to be an Array of Text objects (InDesign.Text) but when I try to cast each object using this
//Code is forced because I've tried everything here
//Loop through each finding and add page numbers to topic
IEnumerator textEnum = foundTexts.GetEnumerator();
while (textEnum.MoveNext())
object text = textEnum.Current;
topic.PageReferences.Add((InDesign.Text)text, InDesign.idPageReferenceType.idCurrentPage, System.Reflection.Missing.Value, System.Reflection.Missing.Value);
I got the following exception (translated).
text is not an InDesign.Text object (Interfaces doesn't match)
So the question is what object type should I use to cast each object resulting by calling the Document's FindText method.
Every suggestion will ve very welcome.
Thank You very much. -
How to find an object from its ID in Integration Repository
When trying to import a package, I get an error
"Internal error when importing object 553afdf1-c83d-11d9-871d-0007e9102256....
I have tried to find the object using the Object->Find... menu item, but selecting Object ID in the attributes field and entering this string does not return any hits.
Am I doing this right, or is there another way to find the object?
Kind Regards,
Tony.I am using PI7.0, If i get your question very well: I think there is no option to get an object with Id, all options are:
Name,Changed on, Changed by,... etc.
Pls check again.
BR,
Alok -
Approval Status using Object ID
Hi Experts,
I am creating a Backend Report which gives the SC Status. I have Shopping Cart number, Based on the SC# how can I find the status like who approved or with whom the SC is waiting for approval. I dont have Work Item ID here.
Pls let me know which table / FM I can use to get the above status using Object ID( SC# ).
Thanks in Advance.
Rupachandran GHi,
Please refer the link..
How to Get WorkItem ID
Saravanan -
Finding transport - object association
Hi!
I'm usually using SE10 to find which object (program, table, function module, etc...), in which transport requests was modified.
In some systems, due to the really high number of transports, it could take a lot of time.
I would like to know, is there a way to find an object, which transport is associated with.
Tables, transactions, everything is welcome.
Thank you
TamáSure,
On the object you have, you can look for the transport orders checking the versions control, for example on the data dictionary (SE11) go to utilities -> Versions->Version Management.
Bye
Gabriel -
PTSpy - trying to find an object in the Portal
Hello,
PTSpy is throwing this error:
-2147024891 - Current User does not have sufficient permission to object with id = 202
(full error at the end)
I looked above to the sql and ran the query - of course nothing is found:
Create query: '/* QUERY_USER_ACCESS:ANSI */ SELECT DISTINCT(b.ACCESSLEVEL) FROM PTOBJECTSECURITY b, PTVGroupMembership gm WHERE b.groupid = gm.groupid AND gm.userid=? AND b.classid=? AND b.objectid=? ORDER BY b.ACCESSLEVEL DESC'
setInt, index: 0, value: 4762.
setInt, index: 1, value: 47.
setInt, index: 2, value: 202.
How do I find the object that does not have permission it is looking for - in the Portal?
Thanks,
V
Display: The following error occured when trying to display the HTML:
com.plumtree.server.marshalers.PTException: -2147024891 - Error in function PTBaseObjectManager.Open (nObjectID == 202, bLockInitially == false): -2147024891 - Current User does not have sufficient permission to object with id = 202
com.plumtree.server.marshalers.PTException: -2147024891 - Error in function PTBaseObjectManager.Open (nObjectID == 202, bLockInitially == false): -2147024891 - Current User does not have sufficient permission to object with id = 202
at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e)
at com.plumtree.server.impl.core.PTBaseObjectManager.Open(Int32 nObjectID, Boolean bLockInitially)
at com.plumtree.portalpages.browsing.directory.DirModel.GetWebService(Int32 _nDataSourceID)
at com.plumtree.portalpages.browsing.directory.DirModel.SupportsUpload(Int32 _nDataSourceID)
at com.plumtree.portalpages.browsing.directory.documentsubmitsimple.DirCardSubmitSimpleView.DisplayJavascript()
at com.plumtree.portalpages.browsing.directory.documentsubmitsimple.DirCardSubmitSimpleDP.DisplayJavaScriptFromChild()
at com.plumtree.uiinfrastructure.form.AFormDP.Display(IWebData pageData)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Redirect myRedirect, RequestData tempData)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)
at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)
at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) in e:\buildroot\Release\httpmemorymanagement\6.1.x\dotNET\src\com\plumtree\uiinfrastructure\web\XPPage.cs:line 82
at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) in e:\buildroot\Release\portalui\6.1.x\ptwebui\portal\dotnet\prod\src\web\PlumHandler.cs:line 37
at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.ResumeSteps(Exception error)
at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
Caused by: com.plumtree.server.marshalers.PTException: -2147024891 - Current User does not have sufficient permission to object with id = 202
at com.plumtree.server.impl.core.PTBase.ThrowException(String message, Int32 errorCode)
at com.plumtree.server.impl.core.PTBaseObjectManager.VerifyObjectAccess(Int32 minAccessLevel, Int32 lObjectID)
... 18 moreHey Vivek, I couldn't agree with you more. It is definitely a hassle to try to find the broken object in statements like "Current User does not have sufficient permission to object with id = 202"
I created a ticket with Plumtree about this 2 years ago and they informed me that because object IDs are not unique and have to be used in conjunction with a class ID that they can't perform a reliable search.
Instead you must test each class ID and match it against the object ID to find your problem.
Its a bit labor intense but there are only about 15 different class ID's to run through.
I posted a list of our ID's in our portal team collab project and each time this situation comes up we just scan through the list using a URL -
How do i find an object by its name or id on the IE window?
Hi,
we are using OpenScript 12.2 for function testing.
How can i find the object "InsertRandomTextboxNameOrID" on the web page (IE)?Hi,
Record your scenario using OpenScript. In the script(in tree view) you can find waitforpage(). Select it and see Detail View. Inspect the object you want and you can see all properties of your object.
Otherwise if you know any property of that object then use getAttribute() for getting any property. Example for TextBox with a property index=1 as follows:
String nameOfTextbox = web.textBox("/web:window[@index='0']/web:document[@index='0']/web:input_text[@index='1']").getAttribute("name");
info(nameOfTextbox );
Regards,
Deepu M -
Add-ADGroupMember : Cannot find an object with identity
Season Greetings.
I have this piece of code that does little else than add a userproxyfull
user to a group in ADLDS.
Get-ADGroup -server b-004:389 -searchbase $partition -credential $myCred -filter {distinguishedName -eq $groupdn} | Add-ADGroupMember -members $userDN
$userDN equates to a valid DN e.g CN=user one,OU=myOrg,DC=D1,DC=MS,DC=MyCo,DC=COM
$partition = "DC=D1,DC=MS,DC=MyCo,DC=COM"
$groupDN = is a valid distinguished name of the group in AD LDS
Unfortunately I get the error
Add-ADGroupMember : Cannot find an object with identity: the valid dn under:
searchbase
Many thanks for any helpThanks for taking interest jrv. Let me explain further. I have two objects that are in the same OU. One Trevor George is a user object and the other Norbert Sillo is a userproxyfull object.
I run the following command successfully on Trevor George
get-adGroup -server b-004:389 -searchbase "DC=d1,
dc=ms,DC=Glowworm,DC=COM" -filter {distinguishedName -eq "CN=EU-AccountsLeads-GR
P,OU=AccountsDeptOU,DC=D1,DC=MS,DC=Glowworm,DC=COM" } |Add-ADGroupMember -Member
s "CN=Trevor George,OU=Paradise,DC=D1,DC=MS,DC=Glowworm,DC=COM" -passthru
DistinguishedName : CN=EU-AccountsLeads-GRP,OU=AccountsDeptOU,DC=D1,DC=MS,DC=Glowworm,DC=COM
GroupCategory : Security
GroupScope : Global
Name : EU-AccountsLeads-GRP
ObjectClass : group
ObjectGUID : e69fd4b3-1f6e-41c1-b679-25a6858b290f
SID : S-1-445474926-831883002-345832690-1227415955-1684694678-413
9367165
However running the same command for Norbert Sillo
get-adGroup -server b-004:389 -searchbase "DC=d1,
dc=ms,DC=Glowworm,DC=COM" -filter {distinguishedName -eq "CN=EU-AccountsLeads-GR
P,OU=AccountsDeptOU,DC=D1,DC=MS,DC=Glowworm,DC=COM" } |Add-ADGroupMember -Member
s "CN=Norbert Sillo,OU=Paradise,DC=D1,DC=MS,DC=Glowworm,DC=COM" -passthru
produces the following error
Add-ADGroupMember : Cannot find an object with identity: 'CN=Norbert Sillo,OU=P
aradise,DC=D1,DC=MS,DC=Glowworm,DC=COM' under: 'DC=D1,DC=MS,DC=Glowworm,DC=COM'
At line:1 char:202
+ get-adGroup -server b-004:389 -searchbase "DC=d1,dc=ms,DC=Glowworm,DC=COM" -f
ilter {distinguishedName -eq "CN=EU-AccountsLeads-GRP,OU=AccountsDeptOU,DC=D1,D
C=MS,DC=Glowworm,DC=COM" } |Add-ADGroupMember <<<< -Members "CN=Norbert Sillo,
OU=Paradise,DC=D1,DC=MS,DC=Glowworm,DC=COM" -passthru
+ CategoryInfo : ObjectNotFound: (CN=Norbert Sill...Glowworm,DC=C
OM:ADPrincipal) [Add-ADGroupMember], ADIdentityNotFoundException
+ FullyQualifiedErrorId : SetADGroupMember.ValidateMembersParameter,Micros
oft.ActiveDirectory.Management.Commands.AddADGroupMember
At the moment it appears to fail on any userproxyfull object. I have had a similar issue with Get-ADUser with user proxy objects but was able to get round it by using Get-ADObject instead
Maybe you are looking for
-
IBooks Author and Keynote Interactives
I have many keynote interactives but when I preview my book on the IPad most if not all of the keynote interactives have been duplicated accross several figures. For example I have Figure 5.1, 5.2 and 5.3. I have associated(both drag and drop and the
-
HT5132 Aperture mobileme migrating message problem
I keep getting this message every time I open Aperture. How can I get it to stop?
-
Learning xi at home -- hardware, software, miniSAP?
I am an SAP newbie, working on XI Technology certification, (recently completed BIT400). I do not have access to an SAP system,and am looking for a way to do some sort of home setup that will at least be enough to look at the various xi screens. Here
-
IPad II freezing in iTunes - NOT during synch
I'm on an iPad 2 running IOS 5.0.1, the most current, update and iTunes is completely frozen on a single screen. It's just a regular screen in iTunes. I am not in the middle of a synch. No amount of restarting or closing out of other applications is
-
System set to origianl setting-virus Now I can't retrieve pix
My computer had a virus, so I reset to original factory system settings. The Adope Photoshop Starter Edition stayed on the main icon. When I try to go into the Adobe Photoshop Starter edition now it just goes away. I registered again and received a n