Table of FM to get attributes of object
Hi,
Is there ay way to get the attributes of objects like creation date, created by from a single table or FM.
By Objects, i mean all object types, Class, Tables, Programs etc.
just like TADIR, but TADIR doesnt store creation date.
Regards
Megha
Hi Eclectic,
To get all details of Author(who created) and Creation date and last changed and other details are available in TRDIR.This provides details of Only programs not for all objects as you want.
Thank you,
Prasad G.V.K
Similar Messages
-
What is the Table/View name for getting the Database Object Dependencies
I am running the Database Object Dependencies report to get the reference of Database Object and their respective Application Component.
Applications xxxx -> Application Reports -> Shared Components -> Database Object Dependencies -> Compute Dependencies
I want to develop a report for the same purpose, Just want to know what is the APEX Tables / Views they are using to run this report, so that I can use the same Tables to create my own report.
Thanks,
DeepakHi Andy,
when I am using the following query...I am not getting any result...
select name, type, owner
from all_dependencies
where referenced_owner = 'APEX_030200'
and referenced_name = 'WWV_FLOW_PATCHES'
AND OWNER= 'XXXXXXX' --- (addeed this to the where clause)
I modified the query.....I am getting the result.....
select name, type, owner
from all_dependencies
AND OWNER= 'XXXXXXX'
- But I am not getting which database object(table/view) is using which Application Page/Component like we have in Database Object Dependencies.
- Also what is this REFERENCE OWNER & REFERENCE_NAME ----
referenced_owner = 'APEX_030200'
and referenced_name = 'WWV_FLOW_PATCHES'
I am little bit confused, Can you pl expalin me in details......
Thanks,
Deepak -
Type attribute with Object type or Nested table?
I have been creating lot many threads around the same problem, however i thought i knew but realized I do not know or else do not know how to..
I have created object type with an attribute READINGVALUE NUMBER(21,6)...How can i use type attribute on this object while declaring variable.....can we use type attribute on NESTED TABLES, similar to the db tables?
example
CREATE TYPE READING AS OBJECT(READINGVALUE NUMBER(21,6));
CREATE TABLE INTERVALREADINGS OF TYPE READING;meghavee wrote:
Thanks Solomon, however this approach does not preserve precision/scale of number data type.....What you can do is create placeholder tables:
SQL> create table reading_type_placeholder of reading
2 /
Table created.
SQL> desc reading_type_placeholder
Name Null? Type
READINGVALUE NUMBER(21,6)
SQL> declare
2 v_var reading_type_placeholder.readingvalue%type;
3 begin
4 v_var := 123456789012345;
5 end;
6 /
PL/SQL procedure successfully completed.
SQL> declare
2 v_var reading_type_placeholder.readingvalue%type;
3 begin
4 v_var := 1234567890123456;
5 end;
6 /
declare
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: number precision too large
ORA-06512: at line 4
SQL>And if you modify type attribute:
SQL> alter type reading modify attribute readingvalue number(26,6) cascade;
Type altered.
SQL> desc reading_type_placeholder
Name Null? Type
READINGVALUE NUMBER(26,6)
SQL>SY. -
View of values in nested table attribute of object type
Hi,
I have:create or replace type ctx_line is object (
ctx_name varchar2(40),
ctx_value varchar2(1000)
create or replace type ctx_tab is table of ctx_line;
create type tp as object (
id number,
ctx ctx_tab
create table tt of tp nested table ctx store as ctx_nesttab;
create or replace view v as
SELECT VALUE(o).id as id
FROM tt o;Now I want to create an another view containing fields ctx_name, ctx_value and a key (maybe NESTED_TABLE_ID?) to the parent record in tt table. I must be able to join that view to each other. This is necessary because I will use that views in Forms 4.5 (which do not support nested tables).
Can someone help me, please?I'm not sure what you are looking for exactly but is it something like this?
SELECT id
, p.ctx_name
, p.ctx_value
FROM tt
, TABLE(ctx) pWith the following test data:
INSERT INTO tt VALUES(1,CTX_TAB(CTX_LINE('A','SOME VALUE1')));
INSERT INTO tt VALUES(1,CTX_TAB(CTX_LINE('B','SOME VALUE2')));
INSERT INTO tt VALUES(1,CTX_TAB(CTX_LINE('B','SOME VALUE2')));this is the result:
SQL> SELECT id
2 , p.ctx_name
3 , p.ctx_value
4 FROM tt
5 , TABLE(ctx) p
6 /
ID CTX_NAME CTX_VALUE
1 A SOME VALUE1
1 B SOME VALUE2
1 B SOME VALUE2 -
How to get the view Object in UserDefined Action
Hi All,
Any body tell me how to get the view object , like the view object avilable in the wdDoModifyView() method as parameter.
I have requirement like, i want to change the , no of rows displaying in the table should be changed at the runtime based onthe no of rows selected in the dropdown box.
The action which i created will be assigned to that dropdown box, on select of the available option, i will get the view object and change the properties of the "maxrows" of the table .
so for getting the view object in the the Action methods tell me what is the procedure for getting the current view object.Hello Vishal,
Simply create a value attribute (say rowCount) of type 'integer' and bind it to the 'visibleRowCount' property of your table. Then, in the actionHandler get the value from the UI element (in your case, I guess it is drop down) and set it to the attribute 'rowCount' like this.
wdContext.currentContextElement.setRowCount(
wdContext.current<nodeElement>.set<AttributeBound toDropDown>);
Bala -
How to get all the objects in a stack frame
Hi, what I'm trying to do is get all the objects on the top of the stack and time stamp them.
What I have is this:
static void mearthScanStack(jvmtiEnv *env, jmethodID method, jthread thread){
jobject obj;
int i;
jlong tag;
jvmtiError err;
jvmtiLocalVariableEntry *localVarTable;
jint entryCount;
err = (*env)->GetLocalVariableTable(env, method, &entryCount, &localVarTable);
if(err == JVMTI_ERROR_ABSENT_INFORMATION || err == JVMTI_ERROR_NATIVE_METHOD){
return;
check_jvmti_error(gdata->jvmti, err, "mearthScanStack: Could not get local variable table");
for(i = 0; i < entryCount; i++){
if( (localVarTable.signature)[0] == 'L'){
err = (*env)->GetLocalObject(env, thread, 0, localVarTable[i].slot, &obj);
check_jvmti_error(gdata->jvmti, err, "mearthScanStack: Could not get local object");
err = (*env)->GetTag(env, obj, &tag);
check_jvmti_error(gdata->jvmti, err, "mearthScanStack: Could not get tag for local object");
timeStampObject(env, obj);
(*env)->Deallocate(env, localVarTable);
}To walk through, first I get the local object variable table, then I loop through each entry in the table. I check each entries signature to see if it is an object (starts with "L"), and if it is, I try get its tag, and time stamp it.
This doesn't seem to work, however, because I get JVMTI_ERROR_INVALID_SLOT errors on the call to GetLocalObject. How can it be an invalid slot if I am getting the slot out of the local variable table? Am I going about this the right way
Additionally, when I get the the table, I'm ignoring the JVMTI_ERROR_ABSENT_INFORMATION error. I'm not exactly sure under what circustances this information is absent. Is there a way I could scan the stack frame even if it is not available (just probe through the slots maybe?)
Any help is greatly appreciated.I would think if you intanciate the XMLReference and use IIDXMLElement GetChildCount / GetNthChild would do what you are looking for.
Ian -
How to get the profile object in simple java class (Property accessor)
Hi All,
Please guide me how to get the profile object in simple java class (Property accessor) which is extending the RepositoryPropertyDescriptor.
I have one requirement where i need the profile object i.e i have store id which is tied to profile .so i need the profile object in the property accessor of the SKU item descriptor property, which is extending RepositoryPropertyDescriptor.
a.I dont have request object also to do request.resolvename.
b.It is not a component to create setter and getter.It is simple java class which is extending the RepositoryPropertyDescriptor.
Advance Thanks.Iam afraid you might run into synchronization issues with it. You are trying to get/set value of property of a sku repository item that is shared across various profiles.
Say one profile A called setPropertyValue("propertyName", value).Now another profile B accesses
getPropertyValue() {
super.getPropertyValue() // Chance of getting value set by Profile A.
// Perform logic
There is a chance that profile B getting the value set by Profile A and hence inconsistency.
How about doing this way??
Create PropertyDescriptor in Profile (i.e user item descriptor), pass the attribute CustomCatalogTools in userProfile.xml to that property.
<attribute name="catalogTools" value="atg.commerce.catalog.CustomCatalogTools"/>
getPropertyValue()
//You have Profile item descriptor and also storeId property value.
// Use CustomCatalogTools.findSku();
// Use storeId, profile repository item, sku repository item to perform the logic
Here user itemdescriptor getPropertyValue/setPropertyValue is always called by same profile and there is consistency.
-karthik -
How to get attribute from xml file
I managed to grab all the info from xml, except the "url" attribute in <image type="poster" url="" size="mid" .../>. Any ideas?
import java.io.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.net.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
public class XmlParser {
ArrayList<Movie> myMovies;
Document dom;
public XmlParser(){
//create a list to hold the movie objects
myMovies = new ArrayList<Movie>();
public void runExample(String adr, String tagName) {
parseXmlFile(adr);
parseDocument(tagName);
printData();
private void parseXmlFile(String adr){
//get the factory
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
try {
//Using factory get an instance of document builder
DocumentBuilder db = dbf.newDocumentBuilder();
//parse using builder to get DOM representation of the XML file
URL xmlUrl = new URL(adr);
InputStream in = xmlUrl.openStream();
dom = db.parse(in);
}catch(ParserConfigurationException pce) {
pce.printStackTrace();
}catch(SAXException se) {
se.printStackTrace();
}catch(IOException ioe) {
ioe.printStackTrace();
private void parseDocument(String tagName){
//get the root elememt
Element docEle = dom.getDocumentElement();
//get a nodelist of <movie> elements
NodeList nl = docEle.getElementsByTagName(tagName);
if(nl != null && nl.getLength() > 0) {
for(int i = 0 ; i < nl.getLength();i++) {
//get the movie element
Element el = (Element)nl.item(i);
//get the Movie object
Movie mov = getMovie(el);
//add it to list
myMovies.add(mov);
* I take an movie element and read the values in, create
* an Movie object and return it
* @param movE
* @return
private Movie getMovie(Element movE) {
String title = getTextValue(movE, "original_name");
String year = getTextValue(movE, "released");
String imdbId = getTextValue(movE, "imdb_id");
double score = getDoubleValue(movE, "score");
String overview = getTextValue(movE, "overview");
String poster = movE.getAttribute("url");
Movie mov = new Movie(title, year, imdbId, score, overview, poster);
return mov;
private String getTextValue(Element ele, String tagName) {
String textVal = null;
NodeList nl = ele.getElementsByTagName(tagName);
if(nl != null && nl.getLength() > 0) {
Element el = (Element)nl.item(0);
textVal = el.getFirstChild().getNodeValue();
return textVal;
* Calls getTextValue and returns a int value
* @param ele
* @param tagName
* @return int
private int getIntValue(Element ele, String tagName) {
//in production application you would catch the exception
return Integer.parseInt(getTextValue(ele, tagName));
* Calls getTextValue and returns a double value
* @param ele
* @param tagName
* @return double
private double getDoubleValue(Element ele, String tagName) {
return Double.parseDouble(getTextValue(ele, tagName));
* Iterate through the list and print the
* content to console
private void printData(){
System.out.println("Total Movies: " + myMovies.size());
Iterator it = myMovies.iterator();
while(it.hasNext()) {
System.out.println(it.next().toString());
public static void main(String[] args){
//create an instance
XmlParser xp = new XmlParser();
//call run example
xp.runExample("http://api.themoviedb.org/2.1/Movie.search/en/xml/apikey/Fight+Club+1999", "movie");
}Here is the example xml file I used
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
<opensearch:Query searchTerms="Fight Club 1999"/>
<opensearch:totalResults>1</opensearch:totalResults>
<movies>
<movie>
<score>8.383284</score>
<popularity>3</popularity>
<translated>true</translated>
<adult>false</adult>
<language>en</language>
<original_name>Fight Club</original_name>
<name>Fight Club</name>
<alternative_name>El Club de la Lucha</alternative_name>
<type>movie</type>
<id>550</id>
<imdb_id>tt0137523</imdb_id>
<url>http://www.themoviedb.org/movie/550</url>
<votes>62</votes>
<rating>8.4</rating>
<certification></certification>
<overview>A lonely, isolated thirty-something young professional seeks an escape from his mundane existence with the help of a devious soap salesman. They find their release from the prison of reality through underground fight clubs, where men can be what the world now denies them. Their boxing matches and harmless pranks soon lead to an out-of-control spiral towards oblivion.</overview>
<released>1999-09-16</released>
<images>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-original.jpg" size="original" width="1000" height="1500" id="4bc908ab017a3c57fe002f75"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-mid.jpg" size="mid" width="500" height="750" id="4bc908ab017a3c57fe002f75"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-cover.jpg" size="cover" width="185" height="278" id="4bc908ab017a3c57fe002f75"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-thumb.jpg" size="thumb" width="92" height="138" id="4bc908ab017a3c57fe002f75"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-original.jpg" size="original" width="1280" height="720" id="4bc908ab017a3c57fe002f71"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-poster.jpg" size="poster" width="780" height="439" id="4bc908ab017a3c57fe002f71"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-thumb.jpg" size="thumb" width="300" height="169" id="4bc908ab017a3c57fe002f71"/>
</images>
<version>73</version>
<last_modified_at>2010-09-11 14:33:06</last_modified_at>
</movie>
</movies>
</OpenSearchDescription>pvujic wrote:
Thanks, but how can I "fetch" the url from the image element?You've got to first get to the image element. But based on what you've posted though, with a little more coding, you should be able to succeed. Just give it a try! :) -
MDM Table EVENT(EPCF) to get the record ids
Hi Experts,
I have a requirement where I need to trigger an EPCF event from MDM standard result set iview and need to capture the recordids of all the record present in the table in my customised webdynpro application.I have to later read them to an excel sheet.(the code for which i already have)
I am trying table type EPCF eventing for that and later passing [Search] as parameter but i am not able to get this search object and it seems to be a futile approach.
Please anyone of you can tell me the method to retrieve all records from resultset Iview to my dynpro application.
Thanks
VinayHi Vinay,
You are correct in that you cannot pass a list of ID's from the Result Set iView. This is by design and the reasoning behind it is that there could be thousands or even hundreds of thousands of records in a Result Set, and this would make passing them in a JavaScript function or URL unrealistic.
However, since the ResultSet is always the result of a search, you can pass the "search" to your custom application and recreate the result set there. The only caveat is as follows:
Prior to MDM 5.5 SP6 P2, the iViews were based on the MDM4J API. So if your version of MDM is pre-SP6 Patch 2, you must use the function Search.setArchive() of MDM4J.
From MDM 5.5 SP6 Patch 2, the iViews are based on the MDM Java API, and so you should use the function Search.deserialize() of MDM Java API.
Regards,
Walter -
Getting Attributes from an org unit
Hi
How can I get attributes and their values given an organization unit?? ie org id?
Is there any function module or any tables which contain the required data?Plz help out.
Thanks.Hi
Thanks for the details.
Your workflow configuration is quite strange.
<u>Couple of questions to ask here :-></u>
<b>1) what's your business requirement ?
2) which SRM version are you using ?
3) which SRM scenario have you implemented ? (Classic/Extended Classic/Standalone)
4) What do yo mean by "I am thinking of creating a org structure with each row of criteria as one position say manager1, manager2 etc.". Are you talking about Workflow Configuration using PPOMA_BBP Transaction ? Are you looking for Functional aspect or you need to implement by coding (Technical Aspect) ?
5) I remember you told in your earlier reply that you are looking for Technical aspect by creating a function module inside N-Level Approver BADI (BBP_WFL_APPROV_BADI in SE18). Have you completed that part ?
6) Can you maintain a custom table (Z table) and maintain the conditions there and based on the Shopping cart
values, we can manipulate the list of approvers decided.
7) What about functional part ? Are you taking care of both Functional and technical aspects of the Workflow configuartion in this case ?</b>
Please send me the detailed information.
Hope this will help.
Regards
- Atul -
Function Module/Table to Retrieve subobjects for a main object.
Hi experts,
Is there any FM or table to find subobjects for a main object for example, in SE80 when you give an object say MP000100, it gives the list of subobjects associated with it like screens, inlcudes fields...etc, or is there any other way?
Thanks in Advance.Hi Mahesh,
Thanks for your reply. The Table which you have given me is helpful, but I need to find the subobjects of any given object. For example, for module pool mpXXXX00, i need to know all the subobjects, related to this module pool. The main object can be anything. If it is a (report, WDA program etc) I need to get the list of sub objects tied to the main object.
Hope you can understand my requirement.
Thanks and regards. -
Please Help me on get Attribute and getParameter
Dear All Developer clear my doubt on get Attribute and getParameter . and which is more better.
I will be very much graetful to all.They are two different things.
To put it in an application perspective
Parameters are like command line parameters
Attributes are like the variables in your program
Parameters are the name-value pairs that get submitted as part of a ServletRequest.
They are either part of the URL, or submitted from a form.
It is always a string.
ie myWebpage.jsp?name=evnafets&job=programmer
has the parameters
name = evnafets
job = programmer
You access it like : request.getParameter("name")
You can read parameters, you cannot modify them directly.
Attributes, are java objects
You can get and set them eg request.getAttribute("name") request.setAttribute("name", "raj");
you use session attributes to retain state across multiple requests
you use request attributes to set a variable and then forward to another page that uses that variable.
They are essentially like variables for your web application.
Hope this makes sense,
evnafets -
To get a datatable object in javascript
How do i get a datatable object in javascript?
<html:dataTable id="tabData"/>
i use document.getElementById("tabdata"); to get the data table object in javascript I get an error..
How do I do this?You have to put the complete path to the datatable.
ex:
If you have a form then the datatable:
document.getElementById('form1:dataTable'); -
Table for Business Partner Marketing Attribute
What is table for Business Partner Marketing Attributes and Attribute Set .
Anup,
Ok you have BP Guid. You goto table AUSP and enter the PARTNER_GUID = BP GUID and check contents. Here you will get all the attribute list (field ATINN) and corresponding values of attributes (field ATNAM). But here in this table u will find ATINN in form of number; using that number you can find corresponding attribute name in field ATNAM of table CABN where ATINN = ATINN u got in the AUSP for each attribute rows.
Thanks,
RR -
ADF dynamic ViewObject based on query. how to get attributes?
hi.
i have an read-only view object based on query like this:
SELECT :func(:paramm) as EMP_SAL from dual
and set :func & :paramm parameter by vo.setNamedWhereClauseParam(..) function.
but i couldn`t get EMP_SAL attribute after executeQuery command.
in another case i would set new whole Query by vo.setQuery(..) but the problem exists.
please help me. how to get attribute in such vo objects!
thanks!
Morena!thanks to Quick reply!
i seek into code and found a uninitialized Parameter in view object. error has gone after correct the problem!
and now could get the attribute value.
thanks so much!
/\/\ o r e n a!
Maybe you are looking for
-
Ipod not recognized in Windows or iTunes, downloaded updater is invalid
I had to replace my ipod click wheel hard drive but the firmware updaters from the Apple site do not work. I understand these updates are now via itunes but my ipod is obviously not recognised there as it does not contain the ipod software. PLEASE ca
-
How to use os x yosemite calculator - need decimal points
I updated to OS X Yosemite version 10.10.2 for my Mac. I cannot figure out how to use the calculator! All I want is to add dollars and cents. How do I get a decimal point? I've searched the web and don't see this addressed.
-
Unable to skip Item Availability Check form
Hi, I am trying to skip the Item Availability Check dialog (FormTypeEx = "65050") which comes up in Sales Order if an item's available quantity is less than ordered quantity. I know I won't be able to completely skip it since it's a system UI form, s
-
Hi dear i just bought my macbook white (MC240BZ/A) and i want to know if the M9320G/A MINI-DVI -> VGA adapter is compatible with my MAC, could you help-me please ? best regards hudnes
-
Toast with a Blu-ray external writer?
Hello everybody! I am very frustrated because I just got the Samsung writer for Mac and Windows...and is not compatible with Mac...so a waste of money, and now I need to buy a real Blu-ray DVD burner for Mac... I see a lot of people using Toaster...m