Build app with ODT and Oracle UDT - Error while creating custom class
Hello CShay,
I am testing you sample code to create UDT with ASP.Net app. It is also published in Oracle magazine.
The article is also published at following link:
http://www.oracle.com/technology/oramag/oracle/08-may/o38net.html
I am able to successfully implement all the steps before "Using Custom Class Wizard". When I right click on any of the object (CUSTOMER_OBJ, PHONELIST_OBJ, and ADDRESS_OBJ) and select Generate Custom Class, I get the following error:
Oracle custom class wizard.
Class can be generated only for either C#, VB or Managed C++ projects.
Am I missing any thing?
Thanks in advance for your help.
Yes I confirm that I choose File->New Website.
I don't see the following option
File -> New Project, and then under Visual C#, select ASP.NET Web Application
I am using VS2005 Professional Edition.
The options I see under Visual C# are:
If I click on
Windows tab:
Windows Application
Windows Control Library
Console Application
Empty Project
Class Library
Web Control Library
Window Servcie
Crystal Report Application
and Search Online Templates in My Templates tab.
Couple of options for Smart Device which also doesn't include ASP.Net
then Database, Starter kits and Office tabs which also doesn't include ASP.net thing.
I don't know how did you see that option or you might be using different version of VS (Enterprise).
But right now I am stuck.
Please provide me your valuable comments.
Thanks for your help.
Similar Messages
-
Error while creating model classes, operation aborted in NWDS
Hi All,
When i select Adaptive rfc 2 model and then search for the RFC, when i select RFC and click on next i get an error while importing :
Error while creating model classes, operation aborted.
It is working fine in visual composer and i have activated function module, RFC but getting same error. It is also working in web service navigator also.
Can any one help me out??
Regards,
Pradeep kumar
Edited by: pradeep_546 on Feb 17, 2011 9:35 PM
Edited by: pradeep_546 on Feb 17, 2011 9:36 PM
Edited by: pradeep_546 on Feb 17, 2011 9:37 PMHai guys thanks for reply
Tushar,
I am using NWDS 7.2, ce7.2 server, ECC 6.0.
Amit,
I have tested the JCO destinations they are working fine and i created a new pair of JCO destinations but unable to import the Adaptive RFC2 Model gives same error but Adaptive webservices are working fine in my NWDS7.2
Deepak,
I am unable to create model in other projects also.
I have sufficient amount of memory in my drive.
I have imported the DC to other NWDS but it gives same error.
Thanks for all,
Regards,
Pradeep Kumar G
Edited by: pradeep_546 on Feb 18, 2011 3:05 PM -
Error while creating customer account sites from backend
I am creating Customer Account Sites using the TCA API from Toad.
I am getting the following error
The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
The Operating unit has been defined.
I am using the following code:
DECLARE
p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
x_return_status VARCHAR2(2000);
x_msg_count NUMBER;
x_msg_data VARCHAR2(2000);
x_cust_acct_site_id NUMBER;
BEGIN
p_cust_acct_site_rec.cust_account_id := 9462;
p_cust_acct_site_rec.party_site_id := 5473;
--p_cust_acct_site_rec.language := 'US';
p_cust_acct_site_rec.org_id := 126;
p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
hz_cust_account_site_v2pub.create_cust_acct_site(
'T',
p_cust_acct_site_rec,
x_cust_acct_site_id,
x_return_status,
x_msg_count,
x_msg_data);
dbms_output.put_line(SubStr('x_return_status =
'||x_return_status,1,255));
dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
IF x_msg_count >1 THEN
FOR I IN 1..x_msg_count
LOOP
dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
FND_API.G_FALSE ), 1, 255));
END LOOP;
END IF;
END;
Thanks and Regards,
K tannaDuplicate post.
Error while creating customer account sites
Error while creating customer account sites -
While creating customer from AR responsibility, I am getting an error while clicking "details" tab for "Ship to"
error I am getting are
1. The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
2. Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: Operating unit -1 does not exist in the target database. ORA-06512: at "APPS.APP_EXCEPTION", line 72 ORA-06512: at "APPS.GL_GLOBAL", line 65 ORA-06512: at line 1 ;
any idea why is it coming, I checked Operating unit profile option i.e MO: Op Unit and MO: Sec. , all are fine.The error is occuring because Oracle is trying to validate/set a DFF.
Check the DFF attached to the customer entity, address entity or site use entity.
Especially look at the value sets attached to the DFF.
Look at the value set definition and the default value for the field.
Hope this helps,
Sandeep Gandhi -
Error While Creating Asset Class
Hi Friends,
I am getting the following error in development client while creating the asset class AB2200.
"Screen Layout 200 was not created" but the same was created.
Please guide me how to handle this error and the reason for me getting this error message while creating asset class.
Your quick response would be highly solicited.
Thanks and Regards,
C.R.SrinathHi Srinath
There are 2 things.. Create the screen layout and Define the screen layout... (IMG> AA > Master Data> Screen Layout for asset classes)
Complete both the steps here and specify the same sccreen layout in your asset class
Regards
Ajay M -
Oracle intermedia error while creating the index
desc test
no number(2) primary key
name varchar2(20)
SQL> create index tindex on test(name) indextype is ctxsys.context;
create index tindex on test(name) indextype is ctxsys.context
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: ConText error:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extprocep_agt1: fatal: relocation error: file
/export/home/oracle8i/OraHome1/ctx/lib/libctxx8.so: symbol ociepgoe: referenced
symbol not found
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
what is the problem ??
i Add an entry in the tnsnames.ora:
extproc_connection_data =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = ipc)
(KEY = DBSID))
(CONNECT_DATA = (SID = ep_agt1)))
and
i Add the following in the listener SID_LIST:
(SID_DESC = (SID_NAME = ep_agt1)
(ORACLE_HOME = /oracle)
(ENVS = LD_LIBRARY_PATH=/oracle/ctx/lib)
(PROGRAM = extproc))
my os is sun solaris intel and oracle version is 8.1.5
nullTry the following:
1. Connect as ctxsys, and perform the following:
SQL> create or replace library dr$libx as '<ORA_HOME>/bin/oractxx8.dll';
2. Check the status of CTXSYS packages:
select object_name, status from user_objects where status like 'IN%';
OBJECT_NAME STATUS
DRIDISP INVALID
3. Re-compile any invalid packages (should be just dridisp) from the .plb file(s) in ?\ctx\admin
SQL> @<ORA_HOME>\ctx\admin\dridisp.plb
Package body created.
SQL> select object_name, status from user_objects where status like 'IN%';
no rows selected
conn test/test
SQL> create index simple_index on simple(text) indextype is ctxsys.context ;
Index created.
Notes
Note1. CONTEXT QUERIES WILL STILL NOT RUN.
SQL> insert into simple values (1, 'the cat sat on the mat') ;
1 row created.
SQL> commit;
Commit complete.
SQL> select pk from simple where contains(text, 'cat') >0 ;
select pk from simple where contains(text, 'cat') >0
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06550: line 1, column 7:
PLS-00201: identifier 'CTXSYS.DR_REWRITE' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Edit <ORA_HOME\admin\orcl\pfile\init.ora
where orcl is your database name
Remove the line "text_enable=true" and bounce the database.
SQL> select pk from simple where contains(text, 'cat') >0 ;
PK
1
Best Regards -
Error while creating customer account sites
I am creating Customer Account Sites using the TCA API from Toad.
I am getting the following error
The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
The Operating unit has been defined.
I am using the following code:
DECLARE
p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
x_return_status VARCHAR2(2000);
x_msg_count NUMBER;
x_msg_data VARCHAR2(2000);
x_cust_acct_site_id NUMBER;
BEGIN
p_cust_acct_site_rec.cust_account_id := 9462;
p_cust_acct_site_rec.party_site_id := 5473;
--p_cust_acct_site_rec.language := 'US';
p_cust_acct_site_rec.org_id := 126;
p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
hz_cust_account_site_v2pub.create_cust_acct_site(
'T',
p_cust_acct_site_rec,
x_cust_acct_site_id,
x_return_status,
x_msg_count,
x_msg_data);
dbms_output.put_line(SubStr('x_return_status =
'||x_return_status,1,255));
dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
IF x_msg_count >1 THEN
FOR I IN 1..x_msg_count
LOOP
dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
FND_API.G_FALSE ), 1, 255));
END LOOP;
END IF;
END;
Thanks and Regards,
K tannaHi,
Please mention the application release along with the database version and OS.
Please see if ('Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly [ID 732671.1]) helps.
More details about setting the application context can be found in these docs.
Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
Note: 462383.1 - SQL Queries and Multi-Org Architecture in Release 12
Note: 165042.1 - FAQ - Multiple Organizations Architechure (Multi-Org)
Thanks,
Hussein -
Error While Creating Customer Account Site.
Hi ,
I am creating a customer thru API's.
I am succesffuly creating location,party,party site,party site use,customer account.But unable to create customer account site. I am getting the below error:
Unable to process your transaction. The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
Could anyone help me to resolve out this issue.Hi,
What is the application release?
Did you set the Application/Multi-org context properly before using this API?
Note: 732671.1 - 'Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly
Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
Regards,
Hussein -
Error while creating custom catalog in ATG 10.0.3
Hi All,
I am getting the below error while adding the Catalog Folder and during adding a new Catalog.
CONTAINER:atg.repository.RepositoryException; SOURCE:java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ATG_CORE"."DCS_GEN_FOL_CAT"."ASSET_VERSION")
at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6816)
at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:1019)
at atg.ui.repository.model.RepositoryAgentImpl.addRepositoryItem(RepositoryAgentImpl.java:3087)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at atg.security.proxy.UserSessionProxy$SessionSkeletonHandler.invoke(UserSessionProxy.java:251)
at atg.rmi.context.ContextualSkeletonImpl.invoke(ContextualSkeletonImpl.java:105)
at sun.reflect.GeneratedMethodAccessor307.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("ATG_CORE"."DCS_GEN_FOL_CAT"."ASSET_VERSION")
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
at atg.service.resourcepool.MonitoredPreparedStatement.executeUpdate(MonitoredPreparedStatement.java:1080)
at atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
at atg.adapter.gsa.Table.insert(Table.java:1380)
at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6739)
... 21 more
Kindly help to resolve this issue.How are you adding the catalog? The error clearly means that the DB query is inserting null into the ASSET_VERSION column of DCS_GEN_FOL_CAT table. ASSET_VERSION column is non-null and required to maintain the repository asset versions in ATG content administration (CA).
I suspect that you probably tried to do something which resulted in inserting into CA schema's DCS_GEN_FOL_CAT table outside a CA project context. You should add the catalog folder through BCC to have a CA project context. In case you are importing the data by executing startSQLRepository on CA schema then make sure that it is imported within a project context by specifying project, user, and comment options. -
Error while creating customer master data
dear sir,
i have created customer master and maintined all level general,compnay code and sales level data.and again deleted all areas thru t-code XD06.and thru se16n i have deleted the entires in kna1 knb1 knvv table
again while creating one with same name showing error while maintaing sales level data
Check: Table KNA1 does not exist, table KNVI does
Message no. F2061
plz help how do i rectify this problem and maintain the same cutomer no (external) again.
regards,
DebeshHi,
you did the wrong thing, don't remove the entries from standard table like KNA1, KNVV etc, SAP will maintained the entries in lot of tables same time.
XD06 is used to set delete indicator, after wards you may create new customer master, if any problem for name you may change the name field as 'delete' for old customer.
Now to solve your issue, i believe you need to first save the entries with maintainace of general data (KNA1) and then use XD02 to maintain the Sales area data, pl try this way it should work.
If this way will not work, pl maintain the tax indicator in table KNVI manually to solve the issue.
regards
Vivek.
Edited by: Vievk Vardhan on Dec 7, 2009 6:41 PM -
Getting error while creating Customer Invoice Request via Web Service
Hello,
I am trying to create customer invoice request via web service.
But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
It is working fine in reference tenant. But using the same payload its giving error in another tenant.
Can you please tell me what is the root cause for this error?
I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
Thanks and Regards,
SriramHi,
Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
Regards,
Sunitha -
Error while creating customer master XD01
i have created own account group and assigned external number range when am creating customer in xd01 am getting error in partner tab the SP,SH,BP,PY the no is blank and when am trying to save its gives error document is incomplete the error Message no. F2643
Diagnosis
The account group of the current customer is not defined for the required partner usage.
where as when am assining internal number range its working fine kindly help
ThanxHi Mukesh
Please check the following again,
IMG > Logistic > SD > Basic functions > Partner determination > Customer master
Define the Partner functions. If you are defining new then specify the "PARTNER TYPE" for each Partner function.
- Define Account group. You can use existing one (0001-sod-to-party) or you can copy it or create new.
- Define your Partner determination procedure.
- Assign the required Partner functions (SP,SH,PY and BP are mandatory) to your Account group, so that they will be permitted for your Account group.
- Assign the "Partner functions" to your new "Procedure ". Here you specify which are "mandatory" and which are "not changeable".
- Assign the "Account group" to your new "Procedure".
Now, go to XD01,enter your Account group,External number,company code,Sale area and proceed.
If you are finding problem then,fill up all your data (general data, company code data), go to sales area data, fill up sales ,shipping and billing document tab and save it.
Next, go to XD02, sales area data >partner function tab, here fill up the places for respective Partner functions. -
Tables TCURM and T001K inconsistent Error While Creating Materials by BAPI
Hi I am Using the BAPI
BAPI_MATERIAL_SAVEDATA to create Material Masters I am creating all views for a Material.
When I repeatedly run the BAPI for Multiple runs to create the Materials for Multiple plants and multple sales Views
I get an Error Message when it is tryng to create accounting and costing View
The error is Tables
TCURM and T001K inconsistent; notify your systems administrator
I dont get this message if I create one Material.
I get this error message only when I repeat the loop and try to create Materials for different valvation areas..
Please some one give ur views ..
I promise All replies will be rewarded..
Thanks
MartinRob,
This is the peculiar behavious of SAP.
As i am trying to create the materials by using the BAPI with in Visual Basic.
The error can be simulated by using online data entry
i did a research on it and i found that the error can be overcome if we create the accouting view first and later oher views and this occurs if we try to create accouting views for other valuation areas are plants when we set the MRP_VIEW = "X" and ACCOUNT_VIEW = "X" and COST_VIEW = "X"
i dont know the exact reason for all this...
Thanks
Martin -
Error while creating Custom Defined Functions in Essbase
<p>Hi All,<br>I am trying to create CDF(Custom Defined Functions) in Essbase. Iwant to create a function which take list of child member andreturn the first child. For this, i have created a java file called"ChildAccess.java" which contains the following code:<br>public class ChildAccess<br>{<br>public static char GetFirstMember(char [] members)<br>{<br>return members[0];<br>}<br>}<br>I have compiled and made jar file called"ChildAccess.jar" and pasted it at"ARBORPATH/java/udf". Then i restarted the Essbase Serverand run the following MaxL command to register the function<br>create or replace function '@ChildAccess' as<br>'ChildAccess.GetFirstMember'<br>spec '@ChildAccess(memberRange)'<br>comment 'adds list of input members'.<br>Till here i am not getting any error but when i am using thisfunction in my calc script as given below<br><br>FIX(@ChildAccess(@CHILDREN("Abc")))<br><br>it gives the following error<br>"Error:1200414 Error parsing formula for [FIX STATEMENT]<br>(line 2)"argument[1] may not have size[6] in function[@CHILDREN]"<br>NOTE: The SIZE[6] is giving the no. of child in member"ABC".<br><br>Thanks in Advance<br>Arpit</p>
If you want to use the CDF in a FIX statement you need to make sure that it returns a member name rather than a number:<BR><i><BR>public class ChildAccess<BR>{<BR> public static String GetFirstMember(String[] members)<BR> {<BR> return members[0];<BR> }<BR>}<BR></i><BR>I prefer to define the function against a specific application rather than globally because you only need to restart the application in order to pick-up any modifications to the .jar file. So the MaxL function definition would be:<BR><i><BR> create or replace function appname.'@_GETFIRSTMEMBER' as<BR> 'ChildAccess.GetFirstMember(String[])';<BR></i><BR>and in the calculation script the FIX statement would become:<BR><i><BR> fix ( @member( @_GetFirstMember( @name( @children( "Abc" ) ) ) ) )<BR></i><BR>This looks a little messy so you can use a macro to simplify it:<BR><i><BR> create or replace macro appname.'@GETFIRSTMEMBER'(single) <BR> as '@member( @_GETFIRSTMEMBER( @name( @@1 ) ) )' <BR> SPEC "@GETFIRSTMEMBER(memberRange)";<BR></i><BR>and then the FIX statement could be written:<BR><i><BR> fix( @getfirstmember( @children( "PRODUCT" ) ) )<BR></i>
-
Error While Creating Custom IDOC Segment using WE31
Could anyone please help me resolve this issue.
I am getting following error when trying to create a custom IDOC segment type using WE31.
"Name range violation: Name Z1WOHDR not permitted in SAP system"
Segment type trying to create: Z1WOHDR
Regards
VenuTry changing the name , But i am not getting any such error with the name you are using.
Just Try with some onther name
Maybe you are looking for
-
SQL Query in Flex3 to Datagrid
So hey, do you guys know something about computers? lol... Ok, I'm doing some off time exploratory stuff for work. Mainly we have a business app. that is already used county wide for managing, well.. business. I'm already connected to our development
-
Java 1.4.2 SDK/Netbeans cobundler doesn't install Webstart?
According to the docs Webstart is standard for 1.4.x, but while the 1.4.2/NetBeans cobundle install creates a javaws subdirectory in j2sdk_nb, it doesn't install it - no Webstart launcher on the desktop and no auto-loading the launcher when a jnlp fi
-
UCCX Historical Reports client on my pc with two clusters 7x and 9x
I have two separate clusters, a 7x running UCCX 7x and we are building a new 9.1 cluster running UCCX 9x. Can I install the new 9x UCCX Historical Reporting Client and talk to both clusters? I don't think both old and new HRC clients can be installe
-
My son gave me his old ipod touch. Put photos on it (selected import photos in a folder) but they do not show up by name (I'd named them as in "1950-06-23-grandma" so they'd be sorted by date, not camera stamp date but my recollection and file name),
-
FCP hangs (temporarily) without using any CPU
Sometimes my FCP decides to take a coffee break or something: it just hangs, sometimes for many minutes at a time. Almost invariably it unhangs eventually if I just let it sit for long enough. Sometimes it does this while "preparing video for display