How to create instance of user defined suite
I have create one user defined suite interface (ISuite) and inherite it to IsuiteASB and IsuiteCSB . The purpose of creating user defined suite is to provide hyphenation for selected text. I want to add a method which will detect whether a text has been selected by user or not , if selected then I am calling one hyphator function. I am not able to create an instance of user defined suite . I am using following syntax: <br />in UpdateActionState I am using <br /> InterfacePtr<ISuite>suite(ac->GetContextSelection(),UseDefaultIID()); <br /><br />in one user defined method I am using <br /> InterfacePtr<ISuite>suite(Utils<ISelectionUtils>()->GetActiveSelection() , UseDefaultIID()); <br /><br />Both calls unsuccessfull. <br /><br />Which Interface I should use to detect whether Text has been selected by user or ITextUtils or any other. <br />Please tell me the preoper way to create interface suite and create instance of it. <br />Thank you.
I've seen this wording before ... Wait -- you must be referring to the SDK. Better post your question in the SDK forum, we're just helpless end-users, and in this case, clueless as well.
Similar Messages
-
HOW TO CREATE A GLOBAL USER DEFINED FUNCTION
Hi Expert,
I'd like to know if there is a way to globalize a user defined function?
I'd like to reuse a user defined function (e. g. DeleteLeadingCharacter) in several scenario/SWC instead of recreated it from scratch everytime - Is it possible?
ThanksNO you cannot not reuse one UDF not even in other namespace even in the same namespace in diff Mapping programme.
UDF is liminted to GraphicalMappingProgramme that you created you cannot reuse it in other MappingProgrammes.
Like your MM =A has function <b>getMyName</b>
you can use it in MM=A but if you want to use it in MM=B then u cannot.
So its not possible in XI or PI.
But it is possible in new release PI 7.1. That says you can write UDF and can reuse in any MM programme.
Thanks
Farooq.
*Rewards Points if you find it useful* -
How to Create CFL to user defined table
Hi all,
I have a user table with four fields. How to create a CFL for these fields?
Regards,
Fabio Ferreira.this is sub fn required for registration
Here i mentioned heder level table and child table
Fields are mentioned will be displayed on CFL
If u want assign this CFL to any text field assign normal way but object id is:VEDA_PRN_WR_DOC
Public Function UDOExists(ByVal code As String) As Boolean
GC.Collect()
Dim v_UDOMD As SAPbobsCOM.UserObjectsMD
Dim v_ReturnCode As Boolean
v_UDOMD = objMain.objUtilities.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)
v_ReturnCode = v_UDOMD.GetByKey(code)
System.Runtime.InteropServices.Marshal.ReleaseComObject(v_UDOMD)
v_UDOMD = Nothing
Return v_ReturnCode
End Function
'Second fn
Function registerUDO(ByVal UDOCode As String, ByVal UDOName As String, ByVal UDOType As SAPbobsCOM.BoUDOObjType, ByVal findAliasNDescription As String(,), ByVal parentTableName As String, Optional ByVal childTable1 As String = "", Optional ByVal childTable2 As String = "", Optional ByVal childTable3 As String = "", Optional ByVal LogOption As SAPbobsCOM.BoYesNoEnum = SAPbobsCOM.BoYesNoEnum.tNO) As Boolean
Dim actionSuccess As Boolean = False
Try
registerUDO = False
Dim v_udoMD As SAPbobsCOM.UserObjectsMD
v_udoMD = objMain.objUtilities.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)
v_udoMD.CanCancel = SAPbobsCOM.BoYesNoEnum.tNO
v_udoMD.CanClose = SAPbobsCOM.BoYesNoEnum.tNO
v_udoMD.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tNO
v_udoMD.CanDelete = SAPbobsCOM.BoYesNoEnum.tYES
v_udoMD.CanFind = SAPbobsCOM.BoYesNoEnum.tYES
v_udoMD.CanLog = LogOption
v_udoMD.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tYES
v_udoMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES
v_udoMD.Code = UDOCode
v_udoMD.Name = UDOName
v_udoMD.TableName = parentTableName
If LogOption = SAPbobsCOM.BoYesNoEnum.tYES Then
v_udoMD.LogTableName = "A" & parentTableName
End If
v_udoMD.ObjectType = UDOType
For i As Int16 = 0 To findAliasNDescription.GetLength(0) - 1
If i > 0 Then v_udoMD.FindColumns.Add()
v_udoMD.FindColumns.ColumnAlias = findAliasNDescription(i, 0)
v_udoMD.FindColumns.ColumnDescription = findAliasNDescription(i, 1)
Next
If childTable1 <> "" Then
v_udoMD.ChildTables.TableName = childTable1
v_udoMD.ChildTables.Add()
End If
If childTable2 <> "" Then
v_udoMD.ChildTables.TableName = childTable2
v_udoMD.ChildTables.Add()
End If
If childTable3 <> "" Then
v_udoMD.ChildTables.TableName = childTable3
v_udoMD.ChildTables.Add()
End If
If v_udoMD.Add() = 0 Then
registerUDO = True
objMain.objApplication.StatusBar.SetText("Successfully Registered UDO >" & UDOCode & ">" & UDOName & " >" & objMain.objCompany.GetLastErrorDescription, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
Else
objMain.objApplication.StatusBar.SetText("Failed to Register UDO >" & UDOCode & ">" & UDOName & " >" & objMain.objCompany.GetLastErrorDescription, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
registerUDO = False
End If
System.Runtime.InteropServices.Marshal.ReleaseComObject(v_udoMD)
v_udoMD = Nothing
GC.Collect()
Catch ex As Exception
End Try
End Function
This is a code for registration of table that will create CFL with mentioned fields.
Hope help this
By
firos.C
Edited by: firoz101 on Aug 18, 2009 6:07 AM
Edited by: firoz101 on Aug 18, 2009 6:08 AM
Edited by: firoz101 on Aug 18, 2009 6:08 AM -
How to create custom(or) user defined component in SAPTAO
Hi,
Please provide me some document or steps on how to create custom component in sap tao.
Thanks a lot in advance.
Regards,
SudhaHi,
If you want create any custom components, you should use SAP QTP to create it.
Here are the simple steps:
i) Go to QTP -> Click on New - > Select Scripted Component - > ((Select SAP_Doc) area (i.e. whatever application area you have created for SAP TAO installation)) -> Record or Write a script based on your requirement & save
ii) Go to QC -> BPT -> open above component and insert the parameters and call these values in QTP script level (either way you can do)
iii) Create a datasheet and declare the parameters in datasheet and call this sheet whenever you have required.
Good luck.
Ram -
How to create a new user id in OID for Oracle Collab suite File System
Dear Friends,
I want to know how to create a new user id in the oracle internet directory where i can use that user for the new subscription of the oracle collabration suite file system..
Please do the needfull and thanks in advance...
With warm regards
R.PrasadHi!
The way you suggest should not be used.
A CS user will be created as a normal OID user and will receive the CS attributes in a different subtree later during the provisioning.
For creating CS users use oesuser and uniuser. Files provisioning will work in a different manner anyway.
cu
Andreas -
How to create/Map a User as Adminstrator in BPM Worklist to view all the ta
Hi all,
How to create/Map a User as Adminstrator in BPM Worklist to view all the tasks.
Version :Jdev 11.1.1.1.0
Regards
C.KarukkuvelSounds like a great question for the [url http://forums.oracle.com/forums/forum.jspa?forumID=560]BPM Suite Forum, but then again, I see you've already posted the question there ;)
Good luck,
John -
How to use negation in user defined rules?
Hi,
Can you please show me an example to use negation in user defined rule? I created a rule like below (the rule says if a patient has a fever problem and not have penicillin hypersensitivity, then recommend medication1):
INSERT INTO mdsys.semr_myMedicineRB VALUES('rule1',
'(?p rdf:type :Patient) (?p :present ?c1) (?c1 rdf:type :Fever) (?c2 rdf:type :Penicillin_Hypersensitivity)',
'(NOT_EXISTS(p :present c2))',
'(?p :recommendation :medication1)',
SEM_ALIASES(SEM_ALIAS('','http://www.example/medicine#')));
The rule successfully inserted into the rulebase. However, I cannot pass the entailment creation phase and got the errors:
ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: Missing IN or OUT parameter at index:: 1
ORA-06512: at "MDSYS.SDO_SEM_INF_INTERNAL", line 16453
ORA-06512: at "MDSYS.SDO_SEM_INFERENCE", line 302
ORA-06512: at "MDSYS.SDO_SEM_INFERENCE", line 352
ORA-06512: at "MDSYS.RDF_APIS", line 118
ORA-06512: at line 2
29532. 00000 - "Java call terminated by uncaught Java exception: %s"
*Cause: A Java exception or error was signaled and could not be
resolved by the Java code.
*Action: Modify Java code, if this behavior is not intended.
According to the post built-in primitives(noValue,remove) for user defined rules, it seems negation is not supported in user defined rules. Can you please advice how to implement negation in user defined rules? Thanks a lot in advance.
HongHi Hong,
Let's look at this similar but simplified problem:
if (?p rdf:type :Patient) and (NOT_EXISTS(?p :present :c2)) ==> (?p :recommendation :medication1)
You can use something like this in the user defined inferencing:
-- First get the numeric IDs for the relevant URIs
recomID := sdo_sem_inference.oracle_orardf_add_res('http://..../recommendation');
medID := sdo_sem_inference.oracle_orardf_add_res('http://..../medication1')
rdfTypeID := sdo_sem_inference.oracle_orardf_res2vid('... full URI for rdf:type');
patientID := ...
presentID := ...
c2ID := ...
-- Now this query will find out ?p that satisfy (?p rdf:type :Patient) but not
-- (?p :present :c2)
sqlStmt := '
select ids1.sid sub
from ' || src_tab_view || ' ids1
where ids1.pid= ' || to_char(rdfTypeID,'TM9') || '
and not exists (
select 1
from ' || src_tab_view || '
where sid = ids1.sid
and pid = ' || to_char(presentID, 'TM9') || '
and oid = '|| to_char(c2ID,'TM9') || '
insertStmt := '
insert /*+ parallel append */
into ' || output_tab || '(sid, pid, oid)
select sub, '||to_char(recomID,'TM9') || ',' || to_char(medID,'TM9') || '
from (' || sqlStmt || ')'
More details can be found in
http://docs.oracle.com/cd/E16655_01/appdev.121/e17895/inference_extension.htm#CHDDBGEC
Hope it helps,
Zhe Wu -
How to create a new user account?
Hi,
Could you point me to the document/maunal on
how to create a new user account for OS X 10.4?
I somehow couldn't find that from Apple web site.
And I found one here:
http://www.mcelhearn.com/article.php?story=2004110211244242
and followed the instruction:
# echo 'henry::512:512::0:0:Henry James:/Users/henry:/bin/bash' | sudo niload -v passwd /
but nothing happened. Either this doesn't work with
V10.4 (which I use), or I missed something.
Any pointer would be much apprecaited.
Thanks.
Macbook Pro Mac OS X (10.4)Hi Allan and Simon,
Thanks for your responses.
Sorry I didn't make my question clear. I meant:
"How to create a new user account with command line"?
The GUI (System Preference) would work. But I'd like
to how to do it from command line (just like on Unix).
Any inputs would be appreciated.
Thank you.
Macbook Pro Mac OS X (10.4)
Macbook Pro Mac OS X (10.4) -
How to create a new user over HTTPS
Hi. I have set up conf.xml and web.xml so that when the user accesses a page in the secure area of the website, then they are taken to a login page where they enter their username and password and the form calls j_security_check on the server. All this happens over SSL as the transport garauntee is CONFIDENTIAL. But how to create a new user over HTTPS? If I have a create new account pages in the secure area of the website, then the only way the user can access these pages is by logging in, but they don't have a login as yet.
An update. It looks that if the auth-constraint section (which lists the roles that can access this area) is missing, then everyone can access the region and it is over HTTPS. So far, the following seems to be working
<security-constraint>
<display-name>View My Account</display-name>
<web-resource-collection>
<web-resource-name>My Account Area</web-resource-name>
<url-pattern>/myaccount/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>myrole</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Form-Based Authentication Area</realm-name>
<form-login-config>
<form-login-page>/newaccount/login.html</form-login-page>
<form-error-page>/newaccount/loginerr.html</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>myrole</role-name>
</security-role>
<security-constraint>
<display-name>Create New Account</display-name>
<web-resource-collection>
<web-resource-name>New Account Area</web-resource-name>
<url-pattern>/newaccount/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint> -
How to create a new User / Contact using APIs
I am not able to figure out how to create a new User / Contact in WLPS using APIs
. Is there a factory class ?
Thanks,
AJHi Bala,
Try using these function modules
SUSR_BAPI_USER_CREATE
BAPI_USER_CREATE
BAPI_USER_CREATE1
BAPI_USER_INTERNET_CREATE ( This internally calls BAPI_USER_CREATE1)
Please read the FM documentation for more information. -
How to create/Map a User as Adminstrator in BPM Worklist to view all tasks
Hi all,
How to create/Map a User as Adminstrator in BPM Worklist to view all the tasks.
Version :Jdev 11.1.1.1.0
Regards
C.Karukkuvelgo to EM , right click on soa-infra -> security -> Applicaiton roles, then click on BPMWorkflowAdmin role. Add your user to this role.
This user will be able to view all tasks in Worklist. you have to click on "Administration Tasks" tab.
Thanks
--Sreeny
Edited by: sreeny on Sep 22, 2010 12:54 PM -
How to create IDOC for customer defined table
hi,
How to create IDOC for customer defined table Records and how to send this IDOC to target system.
what message type will be used and on receiving system how to post these records.
thankx.
pillac.Hi,
You need to create a custom message type and custom IDOC type for this with whatever fields you want send. You need to create segments (WE30), IDOC type (WE30), Message types (WE81) and assign the message type to the IDOC type (WE82).
You will have trigger the IDOC using a Report or something after doing the partner profile settings.
Similary in the target system also, you will have do all the settings.
Take a look the links to find out what settings needs to be done.
http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
http://www.sappro.com/downloads/OneClientDistribution.pdf
Regards,
Ravi
Note : Please mark the helpful answers and close the thread if the issue is resolved. -
How to create full new user with all privileges
how to create full new user with all privileges?
and how to delete existing users?
Thanks in advance..Common solution is probably to use sudo for privilege elevation, wiki should help
-
How to create instance in linux
Hi guys
how to create instance in linux? I know that in order to create a instance in window, we can use oradim cmd. But what about linux?user11148588 wrote:
hi
after i performed DR. DBCA does not show the recovery database. can anyone advise me what i should do in order for DBCA to display the database?DBCA gets its knowledge of existing databases from the oratab file. Did you create an entry there? Most *nix OS's will have it in the /etc directory; if I remember correctly it will be in /var/opt on Solaris. -
How can you change a user defined swatch
How can you change a user defined swatch
Double click on the swatch in the swatches palette.
In most case you can do that , unless for example you have a placed image that has that color in a spot channel.
Maybe you are looking for
-
Folks: Have a number of unanswered questions lost on this forum, and been following as many of the threads pertaining to file sharing as possible--and finally pieced some of the suggestions, mostly from BDAqua, together and got the two units to conne
-
Regarding issue sender file adapter in clustered environment(PI 7.0)
Hi Experts, we are using sender file adapter in clustered environment(there are 6 J2EE cluster nodes in XI system) for an interface.the file sender communication channel for this interface is scheduled to run twice every day. recently the
-
How to position a menu on a webpage?
Hi all, I'm a graphic designer new to web design. I'm using Dreamweaver CS5 to design a site for work. I'm using a third party D-HTML program made my So Think to create a menu. It enables me to add the menu to the webpage using Dreamweaver. (It's lik
-
Hello, I need help restoring my iPhone? can anyone help me with the Error 1015.. please.. ;-(
-
Updates: "Could not connect to the service"
Hi, Every time I click on the software update button in Ovi Suite it seems to be checking for updates, but after a while I get the message Could not connect to the service There seems to be a problem with connecting to the Nokia Ovi Suite update serv