List of Object Classes
Hello,
Does anyone know the relationship between 'Object Class' and R/3 Document Types... My question is how one determines, for example, that VERKBELEG pertains to Sales Document Changes; and LIEFERUNG is for ... and so on...? Where in R/3 (or in Help Documentation)is this defined?
This relationship is helpful in searching thru the massive table CDHDR.
The table TCDOB <b>only</b> lists all of Object Classes.
Thanks in advance.
Naved
Hello Naved,
I do not think that the Object List will be linked to a document type. At best, we can expect to find the purpose of an Object Class, as intended (not "defined") by SAP.
If you go to the table TCDOBT (text table of TCDOB), you will find the descriptions of each of the change document classes, as given by SAP. For Example,
LIEFERUNG Delivery
LIBE Change document vendor evaluation
VERKBELEG Sales document
PRCTR Profit center master record
PRODCAT Product catalog
and so on.
Also, there's a Function Module that you might find to be useful - CDNAMES_GET.
If you want to find out the Object Class for a particular scenario, the best way that I can think of is to go to the table TCDOBT and search with the help of the OBTEXT field.
Hope this information was helpful. All the best.
Regards,
Anand Mandalika.
Similar Messages
-
Directory Editor adding object classes to the Extensions Tab
I'm using Sun's Directory Editor web based product. Under the extensions tab lists the object classes you can add (obviously there are only a select few there). I would like to have shadowAccount available there. I have went through the installation and configuration guide but can't find how to do this. Just wondering if anyone knows how to add custom object classes to this tab.
I'm using Sun's Directory Editor web based product.
Under the extensions tab lists the object classes you
can add (obviously there are only a select few
there). I would like to have shadowAccount available
there. I have went through the installation and
configuration guide but can't find how to do this.
Just wondering if anyone knows how to add custom
object classes to this tab.this link has such an example:
http://blogs.sun.com/kevlar/entry/directory_editor_tips
Disclaimer: that's my feedback under the blog post. I'm trying to figure out how to use DE to maintain an extended schema that includes migrated NIS maps. The overall goal is to migrate from NIS to LDAP as a naming service AND create realistically easy method for day-to-day administration (constantly using the console is out of the question). I believe DE might provide a solution, if custom forms can be figured out. It's been very slow going.
Does anyone else have examples of modifying Directory Editor forms? Any help would be appreciated.
Thanks,
Ron -
How to extract List of Objects and Classes in BO
Hi
I need to get a list of all Classes and Objects in a universe.
Is there a way to extract this list in an excel.
I dont need the PDF file which can be saved from a universe with all the universe information.
I just need a plain excel file with the classes, objects under it, object definitions etc.
Is there a VBA code to do so?
I know there is one to extract the user info from CMS.
Please help.
Thanks in advance.Option Explicit
Dim DesignerApp As Designer.Application
Dim Univ As Designer.Universe
Dim Wksht As Excel.Worksheet
Sub GetInfo()
Set DesignerApp = New Designer.Application
DesignerApp.Visible = True
Call DesignerApp.LoginAs
Set Univ = DesignerApp.Universes.Open
'DesignerApp.Visible = False
Set Wksht = ThisWorkbook.Worksheets("Objects")
Wksht.Unprotect
Wksht.Columns().ClearContents
Wksht.Cells(1, 1) = "Class"
Wksht.Cells(1, 2) = "Objects"
Wksht.Cells(1, 3) = "Table Reference"
Wksht.Cells(1, 4) = "Object Description"
Wksht.Cells(1, 5) = "Object Type"
Wksht.Cells(1, 6) = "Qualification"
Call GetObjectInfo(Univ.Classes, 1)
Wksht.Protect
DesignerApp.Quit
Set DesignerApp = Nothing
End Sub
Private Sub GetObjectInfo(Clss, RowNum As Long)
Dim Cls As Designer.Class
Dim Obj As Designer.Object
For Each Cls In Clss
For Each Obj In Cls.Objects
RowNum = RowNum + 1
Wksht.Cells(RowNum, 1) = Cls.Name
Wksht.Cells(RowNum, 2) = Obj.Name
Wksht.Cells(RowNum, 3) = Obj.Select
Wksht.Cells(RowNum, 4) = Obj.Description
If Obj.Type = 2 Then
Wksht.Cells(RowNum, 5) = "Character"
ElseIf Obj.Type = 3 Then
Wksht.Cells(RowNum, 5) = "Date"
ElseIf Obj.Type = 1 Then
Wksht.Cells(RowNum, 5) = "Number"
Else
Wksht.Cells(RowNum, 5) = "Long Text"
End If
If Obj.Qualification = dsDimensionObject Then Wksht.Cells(RowNum, 6) = "Dimension"
If Obj.Qualification = dsDetailObject Then Wksht.Cells(RowNum, 6) = "Detail"
If Obj.Qualification = dsMeasureObject Then Wksht.Cells(RowNum, 6) = "Measure"
Next Obj
If Cls.Classes.Count > 0 Then
Call GetObjectInfo(Cls.Classes, RowNum)
End If
Next Cls
End Sub
Above is the macro to document BO universes (Classes, Objects, TableName.FieldName, Object description, Object Type and Object Qualification ).
You need to open the excel sheet->Go to TOOLS> MACRO --->VB EDITOR (Alt+F11) and paste this code in MODULE1
To run the macro, You need to press Alt+F8 key and Click RUN button. Then designer window pops out, enter user id and password and select the required universe.
Enjoy Macro -
How to create custom attributes & object classes through ldif files in OID
Hi,
I have to create 4 attributes and one object class(custom) in OID. I want to creae these attributes and object class through LDIF file.
I tried creating an attribute through this command
ldapadd -p 389 -h localhost -D cn=orcladmin -w password -f D:/newattr.ldif
this ldif file contains inf. for creating a new attributes:
dn: cn=subschemasubentry
changetype: add
add: attributetypes
attributetypes: ( 1.2.3.4.5.6.10 NAME "xsUserType_new" DESC "User Type Definition" EQUALITY caseIgnoreMatch
SYNTAX "1.3.6.1.4.1.1466.115.121.1.15" )
I am getting error: Object class violation
Failed to find add in mandatory or optional attribute list.
Please help to find where I am going wrong...
Thanks.Hi Ajay,
Thank you for the help. Now i am able to create both attributes and object classes in OID through Ldif files.
I was getting constraint violation error because (I think) I was not giving proper naming convection for attributes and object classes. For OID, there are certain Ldap naming conventions. They are as follows:
# X below is the enterprise number assigned by IANA
1.3.6.1.4.1.X.1 - assign to SNMP objects
1.3.6.1.4.1.X.2 - assign to LDAP objects
1.3.6.1.4.1.X.2.1 - assign to LDAP syntaxes
1.3.6.1.4.1.X.2.2 - assign to LDAP matchingrules
1.3.6.1.4.1.X.2.3 - assign to LDAP attributes
1.3.6.1.4.1.X.2.4 - assign to LDAP objectclasses
1.3.6.1.4.1.X.2.5 - assign to LDAP supported features
1.3.6.1.4.1.X.2.9 - assign to LDAP protocol mechanisms
1.3.6.1.4.1.X.2.10 - assign to LDAP controls
1.3.6.1.4.1.X.2.11 - assign to LDAP extended operations
By using these conventions for attributes and object class, I did got any error and they were created in OID.
Thanks a zillion.
Kalpana. -
Error: initialization error: file java\lang\Object.class not found
when the error listed my classpath's its not the same list that is in my Windows XP environment variable list?
I am on 9.0.3
I am assuming I have to set some varible to my new jdk\bin directory. I reinstalled it. I have set it to use jdk 1.4 using the ojvm tool a while back.Please help!!
I did change the jdev.conf file setting:
SetJavaHome /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
and I still get this error:
initiallization erro: file java/lang/Object.class not found in classpath
I am usgin Oracle JDeveloper 10g 10.1.2 on a Mac OS X Tiger
Could someone please help?
thanks a bunch!!! -
Best Practice for caching global list of objects
Here's my situation, (I'm guessing this is mostly a question about cache synchronization):
I have a database with several tables that contain between 10-50 rows of information. The values in these tables CAN be added/edited/deleted, but this happens VERY RARELY. I have to retrieve a list of these objects VERY FREQUENTLY (sometimes all, sometimes with a simple filter) throughout the application.
What I would like to do is to load these up at startup time and then only query the cache from then on out, managing the cache manually when necessary.
My questions are:
What's the best way to guarantee that I can load a list of objects into the cache and always have them there?
In the above scenario, would I only need to synchronize the cache on add and delete? Would edits be handled automatically?
Is it better to ditch this approach and to just cache them myself (this doesn't sound great for deploying in a cluster)?
Ideas?The cache synch feature as it exists today is kind of an "all or nothing" thing. You either synch everything in your app, or nothing in your app. There isn't really any mechanism within TopLink cache synch you can exploit for more app specific cache synch.
Keeping in mind that I haven't spent much time looking at your app and use cases, I still think that the helper class is the way to go, because it sounds like your need for refreshing is rather infrequent and very specific. I would just make use of JMS and have your app send updates.
I.e., in some node in the cluster:
Vector changed = new Vector();
UnitOfWork uow= session.acquireUnitOfWork();
MyObject mo = uow.registerObject(someObject);
// user updates mo in a GUI
changed.addElement(mo);
uow.commit();
MoHelper.broadcastChange(changed);
Then in MoHelper:
public void broadcast(Vector changed) {
Hashtable classnameAndIds = new Hashtable();
iterate over changed
if (i.getClassname() exists in classAndIDs)
classAndIds.get(i.getClassname()).add(i.getId());
else {
Vector vc = new Vector();
vc.add(i.getId())
classAndIds.add(i.getClassname(),vc);
jmsTopic.send(classAndIds);
Then in each node in the cluster you have a listener to the topic/queue:
public void processJMSMessage(Hashtable classnameAndIds) {
iterate over classAndIds
Class c = Class.forname(classname);
ReadAllQuery raq = new ReadAllQuery(c);
raq.refreshIdentityMapResult();
ExpressionBuilder b = new ExpressionBuilder();
Expression exp = b.get("id").in(idsVector);
roq.setSelectionCriteria(exp);
session.executeQuery(roq);
- Don -
Function to return a list of sub-class elements
Hi all
I'm trying to write a function using templates which takes a list and returns a sub list of a given type.something like shown below:
static <E, T> List<E> get_specific_elements(Collection<T> elements) { //assumes E extends T
List<E> specific_elements= new ArrayList<E>();
for (T element : elements)
line 4: if (element instanceof E)
specific_elements.add((E)element);
return specific_elements;
}but it gives me at line 4
Cannot perform instanceof check against type parameter E. Use instead its erasure Object
since generic type information will be erased at runtimeso is there a way to fix it or any other alternative to make it work.
thanks
Sree
Edited by: sreecs on Nov 5, 2008 10:03 PM
Edited by: sreecs on Nov 5, 2008 10:04 PMIn your code, there is no way for the runtime to know what E is. The solution is to tell it.
static <E extends T, T> List<E> get_specific_elements(Class<E> subtype, Collection<T> elements) {
List<E> specificElements= new ArrayList<E>();
for (T element : elements) {
if (subtype.isInstance(element)) {
specificElements.add(subtype.cast(element));
return specificElements;
}Bruce -
Dynamic List of Objects OracleAS Portals
<img class="emoticon" src="images/emoticons/confused.gif" border="0" alt="" />
Hello hope someone can help me
I have a <strong>List of Objects</strong>, the thing is that I want that list to give a <strong>parameter</strong>, so i can use it in a <strong>query</strong> for showing s<strong>pecific
content</strong>, from a <strong>database</strong>, depending on the <strong>selected item</strong>, but is that posible, or should I use like a combobox or what do
you recommend??
<p>
<strong>thanks in advance!! </strong><sup><strong> ^_^</strong>
</sup>
</p>
Edited by: DunkelBlume on Sep 2, 2008 11:54 AMHi,
a list used in the singleSelectOne component does not change or set the currency in the list VO (in opposite to the navigation list). So this synchronization needs to be done programmatically. Examples of dependent list of values are available here
--> example 62 http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
--> word document you can download from http://thepeninsulasedge.com/frank_nimphius/2008/05/16/blogbuster-treasures-hunt-blog-entries-from-the-lost-orablogs-blog-for-download/
Frank -
Hi All,
I have list of object. each object has some fields. ex. item, type, zone. I want to retrieve it in jsp. Now i am using
<%List itemList = (List)session.getAttribute(Constants.ITEM); %>
<% for(int i =0;i<itemList.size();i++){
NhopItemDef nhopItemDef= (NhopItemDef)itemList.get(i);
if(nhopItemDef!=null){
if(nhopItemDef.getItemType().trim().equals(Constants.BED_ZONE)){
%>
<tr >
<td class="tb_dred_left_bf" height="30">
<html:hidden property="item" value="<%=nhopItemDef.getItem()%>"/>
<%=nhopItemDef.getItem()%>
</td>
Please let me know how to implement it using logic:iterate or c:foreach. which is the best way to implement?
please provide some example codes here.
Thanks & regards
arullakshmiarullakshmi wrote:
Hi All,
I have list of object. each object has some fields. ex. item, type, zone. I want to retrieve it in jsp. Example:<c:forEach var="item" items="${itemList}">
<tr>
<td>${item.name}</td>
<td>${item.type}</td>
<td>${item.zone}</td>
</tr>
</c:forEach>For more information, check out a good [JSTL tutorial|http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSTL.html].
~ -
Best method for scrollable list of objects
I was attempting to create a list of objects in a scrollable pane with the ScrollPane object. I am having a very hard time customizing what is actually scrolling in that pane, though. By using a custom renderer class, I am able to change what it looks like and even add objects to it, but I am having trouble passing data to those objects at creation because it is loaded through the pane object itself.
What I would like to do is create an object with buttons on it (relative to that object) and be able to add multiple ones to a scrollable pane. I tried to figure out a way to be able to simply add my object as the item, but it seems to require a specific object. Is there any work around to this? What would be the best way of going about this?
Thanks for any help.Class: java.sql.DatabaseMetadata
Method: getSQLKeywords
Desc: Returns a comma-delimited list of all non-SQL92 keywords used by the database
Example (Source http://javaalmanac.com/egs/java.sql/GetSqlKeywords.html?l=rel ):
import java.sql.Connection;
import java.sql.DatabaseMetaData;
public String[] getSQLKeywords(Connection connection) {
String[] keywords = null;
try {
DatabaseMetaData dbmd = connection.getMetaData();
keywords = dbmd.getSQLKeywords().split(",\\s*");
} catch (SQLException e) {
// Handle Exception
return keywords;
SQL92 Keywords
The SQL92 specification is available for purchase. However, if you just want the full list of reserved words / keywords for a particular type of database, there is usually documentation provided by the database vendor.
Full Keyword List Oracle 8.0:
http://www-rohan.sdsu.edu/doc/oracle/server803/A54656_01/vol2_wor.htm#421705
For Other Oracle Versions:
- Visit technet.oracle.com
- Register for free
- Go to Documentation
- Look under K for Keywords in index for newer versions of Oracle
- Look under Programmer's Guide to the Oracle Call Interface for older versions of Oracle -
Accessing SPML Object class variable on SUN IDM Form or workflow
Hi All,
Can anyone suggest me how we can access the SPML variable on SUN IDM Form and workflow?
e.g
I have object class deffination in SPML configuration with schema deffination as below
<Configuration name='SPML'>
<Extension>
<Object> <Attribute name='classes'>
<List>
<Object name='person'>
<Attribute name='type' value='User'/>
<Attribute name='form' value='SPMLPerson'/>
<Attribute name='default' value='true'/>
<Attribute name='identifier' value='uid'/>
</Object>
</List>
</Attribute>
<Attribute name='schemas'>
<List>
<String>
<![CDATA[
<schema xmlns="urn:oasis:names:tc:SPML:1:0"
...SPML standard schema...
</schema>
]]>
</String>
<String>
<![CDATA[
<schema xmlns="urn:oasis:names:tc:SPML:1:0"
...Waveset custom schema...
</schema>
]]>
</String>
</List>
</Attribute>
</Object>
</Extension>
</Configuration>
Where I deffine my custom schema with all attributes that I want to view on SUN IDM custom form.
I am able to set value from ModifyRequest for the variable but not able to get it on the Form or workflow.
I did try with below expression to get the variable but no luck.
<ref>attribute_name</ref>
<ref>SPML.attribute_name</ref>
<ref>SPML.Object_name.attribute_name</ref>
Please suggest how we can access the variable?
Any information will be appricated.
Regards,
vinashHi All,
Can anyone suggest me how we can access the SPML variable on SUN IDM Form and workflow?
e.g
I have object class deffination in SPML configuration with schema deffination as below
<Configuration name='SPML'>
<Extension>
<Object> <Attribute name='classes'>
<List>
<Object name='person'>
<Attribute name='type' value='User'/>
<Attribute name='form' value='SPMLPerson'/>
<Attribute name='default' value='true'/>
<Attribute name='identifier' value='uid'/>
</Object>
</List>
</Attribute>
<Attribute name='schemas'>
<List>
<String>
<![CDATA[
<schema xmlns="urn:oasis:names:tc:SPML:1:0"
...SPML standard schema...
</schema>
]]>
</String>
<String>
<![CDATA[
<schema xmlns="urn:oasis:names:tc:SPML:1:0"
...Waveset custom schema...
</schema>
]]>
</String>
</List>
</Attribute>
</Object>
</Extension>
</Configuration>
Where I deffine my custom schema with all attributes that I want to view on SUN IDM custom form.
I am able to set value from ModifyRequest for the variable but not able to get it on the Form or workflow.
I did try with below expression to get the variable but no luck.
<ref>attribute_name</ref>
<ref>SPML.attribute_name</ref>
<ref>SPML.Object_name.attribute_name</ref>
Please suggest how we can access the variable?
Any information will be appricated.
Regards,
vinash -
ToString() of the Object class. Guide please
Hiya,
I need to ask a question please.
I havent understood the exact meaning of the toString() defined
in the Object class?
When and where do we need to override this?
How can I use this inherited method and see the output
How can I use this method,now overidden and see the output.
Can some please send in a small code...
Regds"String Representation" doesn't sound like a widget to
me... I haven't tried it, though. Can you provide some
code please, showing how I could use the mechanism you
mentioned?You know.... Widgets!import java.awt.*;
import javax.swing.*;
public class Test3 extends JFrame {
public Test3() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container content = getContentPane();
MyObject[] myData = {new MyObject("Hello",1),new MyObject("Hi",27)};
JList jl = new JList(myData);
jl.setCellRenderer(new Widget());
content.add(jl, BorderLayout.CENTER);
setSize(300, 300);
setVisible(true);
public static void main(String[] arghs) { new Test3(); }
class Widget extends DefaultListCellRenderer {
public Component getListCellRendererComponent(JList list, Object value,int index,
boolean selected,boolean focus) {
JLabel jl = (JLabel)super.getListCellRendererComponent(list,
value,index,selected,focus);
jl.setText("("+jl.getText()+")");
return jl;
class MyObject extends Object {
String name;
int num;
public MyObject(String name, int num) {
this.name=name;
this.num=num;
public String toString() { return name+"-"+num; }
} -
List of Immutable Classes?
Is there a list of the classes in the standard lib. which are immutable (or claim to be immutable, or are designed to be immutable)?
"need" is probably too strong a word.
Some reflection based code I am writing can be made more efficient if I know that a class is immutable. For my own work I have an Immutable interface (no methods) which tells me what is immutable. Otherwise I check if the object is a String or a BigInteger (both are immutable I think) otherwise I treat it as if it is not-immutable. That is probably sufficient for the type of work I do.
I was also curious to look into the source and see what techniques the gurus are using for immutable creatures. -
Handle list of list of objects in actionForm
Hi,
In my struts application, I am getting results from database, based on my search query.
In result, I am getting set of list of objects mean set contain lists and list contain objects.
I am passing these values from my action class to jsp page using one bean class.
Now I want to pass all changed value from jsp page to my next action class using actionForm.
but problem is, How can I do. because there are set of list of objects.
pls give me suggestion.<html:select property="allEntity" style="width: 200px">
<html:option value="Select an Entity" selected />
<html:optionsCollection property="entity" value"id" label="name" />
</html:select>
Action Form class:
private Collection entity;
private String allEntity;
public Collection getEntity() {
return entity;
public void setEntity(Collection entity) {
this.entity = entity;
entity holds all values, you can use it in the action class.
you can use below too:
String name[] = request.getParameterValues("name");
Message was edited by:
skp71 -
Sort list of objects and Comparator.
Hi. I have a problem with list sorting. There is a class with fields like these id (Long), number (String), operator (String), server (String) port (Integer). I have to sort list of these objects in accordance with the conditions specified by the user.
Conditions for sorting:
1. In the first account of the full compliance of the server name and port value (Object Gateway) specifed by the user.
2. When the server name is correct and the port is different from the standard, then the objects should be placed in ascending order of the port.
3. If the server name does not match the model, the order of the objects must reflect the declining value of a parameter port. If the list contains objects of the same port and different name, the order does not matter.
How should Comparator looks like?Ok, this is the solution ;]
public class GatewayComparator implements Comparator<Gateway> {
private String server;
private Integer port;
public GatewayComparator(String server, Integer port){
this.server = server;
this.port = port;
public int compare(Gateway o1, Gateway o2) {
int result = 0;
if (o1.getServer().equals(this.server)) {
result = -1;
if (o2.getServer().equals(this.server)) {
result = 1;
if (o1.getServer().equals(this.server) && o2.getServer().equals(this.server)) {
if (o1.getPort().equals(this.port)) {
result = -1;
if (o2.getPort().equals(this.port)) {
result = 1;
} else if (!o1.getPort().equals(this.port) && !o2.getPort().equals(this.port)) {
result = o1.getPort().compareTo(o2.getPort());
} else if (!o1.getServer().equals(this.server) && !o2.getServer().equals(this.server)) {
if (o1.getPort() > o2.getPort()) {
result = -1;
} else if (o1.getPort() < o2.getPort()) {
result = 1;
} else {
result = 0;
return result;
}
Maybe you are looking for
-
Is it a bug in 7.3 for afield in mapping
Hi All, my scenario is IDoc to FILE. In the target am creating header node basing upon a condition. If ACTION(IDOC field) value is TRUE then am creating HEADER for FILE. When am doing this I am getting this below error. Is it a bug or what is the sol
-
I purchased & downloaded Photoshop Elements 11. I installed it. Informed me some parts were missing, so I needed to uninstall it & reinstall it. I went to Programs & Features in Windows 7, & did just that. Then it informs me that it could not uninsta
-
Fonts (Arial, Times New Roman) are s p r e a d, or sometimes crowded, and sometimes in the same word. Smartquotes are messed up; apostrophe-s and apostrophe-t are made into some unicode-like characters, as is italicized fl. And finally, text itself h
-
Retrieve trailing subkey name where specific data value is found
If, for example I want to search root key HKLM sub key SOFTWARE... down to sub key PROFILES, for a data value of "??????????" and return the sub key (for e.g. {C26BC5F9-4508-4B44-992C-CA66EADDFC66}), which contains said data value, I can use the foll
-
Hi there, hoppefully someone knows the answer. I want to make some of my classes configurable. Doing this i want to read the settings from a XML-file. This file is in the same .JAR file as the class is. How can it get to this file? Say my package is