JCo method to find CCMS Text Attribute/Object Description attributes value
Is there any function available in SAP JCo / XAL ( External Interface for Alert Management ) to find the current values for CCMS Text Attribute or Object Description attributes and CCMS Heartbeat attributes from a Java Program. It seems XAL only has functions to find the current values of performance, status and log attributes.
hi arun,
refer this link
http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/content.htm
https://dsd.esco-salt.com/StartPage/documents/admin/30.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/548da290-0201-0010-0299-f037dd7eeb36
check for the api for jmomapi.jar
Alert status definitions
ther u have code and example also
bvr
Edited by: bvr on Apr 27, 2009 12:18 PM
Edited by: bvr on Apr 27, 2009 12:53 PM
Edited by: bvr on Apr 27, 2009 12:55 PM
Similar Messages
-
How to find the text id & object name to be used with read_text ?
Hi All
how to determine the text id & object name associated with PO to be used with FM read_text ?
Regards
JamanHi,
For PO there will be Header Texts and Item texts.
For header texts just Take the PO number as TDNAME.
for Item texts Conactenate the PO number and Item Number and use as TDNAME.
in ME23N Go to any text.Double click on it
It will take you to text editor.
GOTO-> header
it will display the TEXT ID,TEXTNAME,LANG and TEXT OBJECT etc
Similarly for every text you will find and use;
Regards,
Anji -
How to call a method in Viewimpl from transient attributes value
Hai,
I have a method in ViewImpl say validate().I need to call this method from an transient attributes value where value type is expression.i used adf.object.validate() but its not working.
Can any one help me
Thanks in advanceHai,
Jabr i read these in a pdf where it explains about Introduction to Groovy support in JDeveloper and Oracle ADF 11g
Referencing custom methods in the EntityImpl class
If you have defined a method in your EntityImpl class, then this can be called as part of your
expression for an attribute default:
adf.object.getDefaultSalaryForGrade()
Unlike when referencing an attribute of the entity object, which can be done by simply
referencing the attribute name, when referencing a method, you are required to prefix the
method name with adf.object.
So is there a way?
regards -
We have an SQL table which supplies authoritative HR data to FIM including the employee's manager HR id. Using the FIM and reference attributes we can stuff the manager on AD correctly.
BUT, this table is used by other systems and one column (varchar 128) is named AdManager and is supposed to hold the DN of the Manager e.g. cn=A Manager,ou=User Accounts...
The only way I can think of to get around this is to push the DN of each connected AD account into a indexed string MV attribute called adDN flowing ad attribute dn -> mv attribute adDN. This is pushed onto the Portal into attribute adDN so the
idea is that every Portal user (including managers of employees) that has an AD account has his dn stored in adDN as a STRING.
When I want the managers dn... will this work on the Outbound sync rule attribute flow definition????
source [//Target/Manager/AdDN]
target AdManager
It seems so artificial there just has to be a better way.Hello Harold,
sounds good, thats "nearly" excatly the way I would do this.
But you can not do this directly in an OSR.
You have to do this with an workflow with the function evaluator and stor that Attribute on the user every time the Manager is changed.
After that you can have simple direct flows from MV to your HR Attribute.
-Peter
Peter Stapf - ExpertCircle GmbH - My blog:
JustIDM.wordpress.com -
Finding meta-tag attribute values
we are considering using UltraSearch for our web site search and i'm trying to figure out how to implement some of our requirements.
i have created a new Attribute and mapped it to a Meta-tag keyword we have defined, but i can't figure out how to get/select the values found in the Meta-tag so i can create a pull-down list of values.
what are the tables and what is the SQL i need to get these values/words?
thanks!
cbYou may have already solved this issue but I have been trying to do the same thing and here is what I have found:
Within the ultrasearch table structure there is a table named 'dr$wk$doc_path_idx$i'. This table contains the indexed words and other values. One of the columns is named TOKEN_TYPE. From what I have seen there is a unique TOKEN_TYPE for each mapped attribute. You can then select from that table based on TOKEN_TYPE(or create a view for each attribute). For Example: I mapped an attribute called Country to a meta tag named Country. Let's say that the TOKEN_TYPE for this example is '24'. I can then query the table for all values with a TOKEN_TYPE of 24 to give me a list of countries that were found. NOTE: The results returned are single words ie: united, states, kingdom, arab, emirates - not "United States", "United Kingdom", "United Arab Emirates". If you solve how to string them together please post bag. -
Overriding the method EntityImpl.create() and setting attribute values?
Hello,
I need to set a date to '01/01/2001' if field dateto is left blank when user is inserting a new record.
How to you do that please ?The easiest way would be to set the date as default in the EO. The date then is visible when you create a new row. If the use overwrites it you get the new date, if he leafs hte date untouched you get the default date.
Timo -
URGENT! I need help on LDAP - Finding deleted users Attribute "sAMAccount"
Hi,
I am trying to get deleted users from Active Directory after a certain interval. Every time only the differences in the result will be shown. Also I need to get the value of the specific attribute called "sAMAccount" every time for each user(in the result).
I am using polling here.
*if (localCookie == null) {*
// Specify the DirSync Control
*Control[] ctls = new Control[] { new DirSyncControl() };*
ctx.setRequestControls(ctls);
*} else {*
// Specify the DirSync Control with cookie
*Control[] ctls = { new DirSyncControl(1, Integer.MAX_VALUE, localCookie, true) };*
ctx.setRequestControls(ctls);
rspCtls = ctx.getResponseControls();
*if (rspCtls != null) {*
*for (int i = 0; i < rspCtls.length; i++) {*
*if (rspCtls[i] instanceof DirSyncResponseControl) {*
*DirSyncResponseControl rspCtl = (DirSyncResponseControl) rspCtls;*
localCookie = rspCtl.getCookie();
The typical problem I am facing here is 2nd iteration onwards the result is not fetching the attribute "sAMAccount".
Please suggest the possible reason and solution.String searchBase = "DC=test,DC=com";
String searchString = "(&(objectClass=user)(|(givenName=*)(isDeleted=TRUE)))";
String url = "ldap://jbaitest.test.com:389";
String initCntxtFact = "com.sun.jndi.ldap.LdapCtxFactory";
String login= "CN=Administrator,CN=Users,DC=TEST,DC=COM";
String passwd = "welcome@1";
byte[] localCookie = AdPolling.getCookie();
try {
Hashtable<String, String> env = new Hashtable<String, String>();
env.put(Context.INITIAL_CONTEXT_FACTORY, initCntxtFact);
env.put(Context.SECURITY_AUTHENTICATION, AdConstant.SECURITY_AUTH_TYPE_SIMPLE);
env.put(Context.SECURITY_PRINCIPAL, login);
env.put(Context.SECURITY_CREDENTIALS, passwd);
env.put(Context.PROVIDER_URL, url);
LdapContext ctx = new InitialLdapContext(env, null);
SearchControls searchCtls = new SearchControls();
String returnedAtts[] = null;
searchCtls.setReturningAttributes(returnedAtts);
searchCtls.setReturningObjFlag(true);
searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
if (localCookie == null) {
Control[] ctls = new Control[] { new DirSyncControl() };
ctx.setRequestControls(ctls);
} else {
// Specify the DirSync Control with cookie
Control[] ctls = { new DirSyncControl(1, Integer.MAX_VALUE, localCookie, true) };
ctx.setRequestControls(ctls);
NamingEnumeration enumSearchResult = ctx.search(searchBase, searchString, searchCtls);
AdRestClientConnector adRestCon = populateUsers(enumSearchResult); // Method to get the different attribute values
rspCtls = ctx.getResponseControls();
if (rspCtls != null) {
for (int i = 0; i < rspCtls.length; i++) {
if (rspCtls[i] instanceof DirSyncResponseControl) {
DirSyncResponseControl rspCtl = (DirSyncResponseControl) rspCtls;
localCookie = rspCtl.getCookie();
AdPolling.setCookie(localCookie);
} catch (NamingException e) {
log.error(AdConstant.ERROR_SEARCHING_DIR_PROBLEM + e);
} catch (Exception e) {
log.error(AdConstant.ERROR_SEARCHING_DIR_PROBLEM + e); -
Using Oracle Text to find attribute values in a XML document
Can anybody help me? I created a index on a URIType column,
create index my_index on uri_tab(docurl) indextype is ctxsys.context parameters ('SECTION GROUP my_sections').
Before index creation I executed these two functions, which prepare Oracle on text search in attribute sections: ctx_ddl.create_section_group('my_sections','XML_SECTION_GROUP') and exec ctx_ddl.add_attr_section('my_sections','machinetype','MachineType@text')
After index build I looking for an attribute value.
SELECT e.docName FROM uri_tab e WHERE CONTAINS(e.docurl,'SM_52 WITHIN machinetype') > 0;An advise to read Oracle documentation is great but I have done it already and didn't find a way to check a syntax of an attribute retrived from LDAP server.
I haven't find anything new in $ORACLE_HOME/RDBMS/admin/dbmsldap.sql as well.
Let's take an example. I have taken some attribute from LDAP server by dbms_ldap.first_attribute and would like to know if the values of this attribute are strings or some binary staff.
How can I do it? -
Find text name of item text of object eban
How to find the text name of item text of object eban.
Thanks,
Sai.Hi
If you want to maintain any text in Purchasing first maintain the texts in Material Master - Purchase Order Text - Click Create / Change the Text in the Space given then
GOTO - HEADER - >
TEXT NAME
TEXT ID : BEST
TEXT OBJECT :MATERIAL
LANGUAGE : EN
Regards,
senthil. -
How to find out which object has a specific attribute value
Hi all,
which is the easiest way to check in a collection of objects which object has an attribute with a specific value?
i.e. I have n objects of classA and they all have an attribute "String value;".
How can I check which object has that attribute set to "myvalue"?
Thanks,
A.hi,
i don't know if this would be the best way to do it, but i would add all the instances of the objects to a hashtable with the key as the attribute with which you want to search them. You would then retrieve the object using the value.
Cath -
Are free-text attributes not possible? Why?
I'm pretty new to MDM, just learning really. I've done some complicated imports, in cluding hierarchies and taxonomies.
At my company we have product records that contain product specs. There are about 200 different specs that different products CAN have, but any particular product only may need about 20, depending on it's product type. A perfect situation for a taxonomy with attributes, right?
It would be, but although many specs have particular pre-defined choices (like attribute choices) , many are free-text fields where the user enters information that can't be boiled into pre-set choices.
After playing with it in MDM for a while, it becomes clear that you can't have taxonomy attributes in MDM that are free text. That seems kind of silly to me... am I missing something? Is there a way to do this? If not, why not? It seems like a useful feature. I can't be the first person to think of this.....
Any help, explanations, or ideas for alternate methods would be very greatly appreciated...
SteveYou aren't missing anything. Attributes can only be numeric (or couple numeric) or text. The text attributes are only available as lookups and cannot be set up as free-form text entries. Fields can be set up as free-form text, but have to be applied at a global level to everything.
The only reason I can think as to why it has been developed this way is because of the search capabilities built into MDM. It would probably be difficult to have the parametric searching with free-text attributes, much easier when all the data is in a lookup. Another reason is just to help maintain standards within your repository. You could enter a message with SAP to find out all the reasons why it is this way and possibly enter an enhancement request for future versions.
Basically the only way around this currently is to use the text attribute available. You could allow the users to right click on the attribute in Record Mode and select Modify to add entries to the attribute as needed.
This obviously doesn't solve your problem, but hopefully helps clear it up a bit.
Regards,
Tim -
How to merge text attribute in query designer
Hi,
please does anybody know, how to merge, let say, two text attributes of one characteristic into one long text? I know, that it is possible with method, which is finally called in the Web Application Designer. But I need to proceed this on the query level. It means, when I display result of query in query designer, I need to have two attributes merged into one long text. Is there some exit, method or something else, where can I do it?
Thank you very much
Best Regards
J.Hello,
I don't think so we have string concatenation at query level.
You have to create / use existing info object and use string functions to achieve this.
Might be you could wait for some time to get more replies.
Regards,
Venkat -
Searching for the methods applied to each type of object....
Hi everybody...
I want to find all the methods applied to each type of object in Swing/AWT java application.....
for example in a text filed , there is
jTextField1.setText('test')...
in a combo box , there is
jComboBox1.addItem("4")....
Where can I find all which can be applied...????
There is a url in on-line help
http://java.sun.com/products/jfc/tsc/articles/component_gallery/
which is invalid.....
Thanks , a lot
SimonSimon,
all properties you see in the property palette are method calls in the code. So for a quick glance this will do it. Beside of this, there are books out there - e.g. from O'Reilly - that cover all components. If this isn't enough, you can get the JavaDocs from the SUN website
Frank -
How to get attribute value from an object inside an object in Xpress
Does anyone know how to get an attribute value from an object in Xpress in a workflow? I have an object structured as follows:
<ResourceInfo accountId='mj628' tempId='3483372b787ce7dd:-5d99a0c5:130cb238483:-3600'>
<ObjectRef type='Resource' name='Google Apps'/>
</ResourceInfo>
I need if possible to get the name='Google Apps', which is inside the ObjectRef, so I guess its an attribute value of an object inside an object.If the ResourceInfo object is accessible in a variable, i.e. named "myResInfo", you just have to check the Java API and call the relevant method:
<invoke name='getResourceName'>
<ref>myResInfo</ref>
</invoke> -
How to find the text id for the text in the sales order
Hi all,
How to find the text id for the item-text in the sales order?
There are different Text available in the sales order under item like Warehouse instruction, CSR instruction...
I want to know the corresponding Text id for the text ELECTRONIC ORDER COMMENT.
Table TTXID contains the validation of the Text id.
Please help me in knowing the way to identify the text-id from the text list..
Thanks foryour help
Suresh KumarU can fetch the texts for the items using
Read_text.
Example:
g_f_tdname = xvttp-vbeln.
g_f_obj = p_obj.
g_f_langu = 'DE'.
REFRESH g_t_lines.
CLEAR g_t_lines.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = p_var
language = g_f_langu
name = g_f_tdname
object = g_f_obj
TABLES
lines = g_t_lines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The Required fields are,
Text-id ,language,name,object.
Let me know if you further require help.
Regards
Maybe you are looking for
-
my iphoto is saying it needs to update i clicked this then i t can't seem to its on an external drive which has been fine whats happening?anyone know whats happening looks like a a typical post apple update glitch to me
-
I have a TC for my backups but now I want to add an external hard drive
I have a TC for my backups but now I want to add an external hard drive to my TC and share what is on it within my own network. I can see the hard drive from airport Configurator but I cant acces it. What should i do?
-
Itunes will not open it says itunes has encountered a problem and needs to
Please someone help!!!! I have removed itunes and re downloaded it also have done same procedure with quicktime and it still comes up with the message :itunes has encountered a problem and needs to close.the error message is C:\DOCUME~1\Anthony\LOCAL
-
Could not retrieve Enterprise Global Template - Load balancer issue
Hi, We have 4 Project Server 2010 servers. The 4 web servers are load balanced by networking team with sticky session configured. When we try to connect to the Project Server using MPP 2007 SP2, it fails saying 'Could not retrieve Enterprise Global t
-
Trouble organizing pictures on my mac
Hi there, I have iPhoto and use it quite a bit however I've noticed that I seem to have duplicates all over the place now. What I mean is I upload pictures, they go directly into IPhoto...then someone sends me pictures and i save them in a folder und