Error when exp tables
I got this errors when try to export tables in enterprise manager.
Errors: ORA-39006: internal error Exception : ORA-39006: internal error ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79 ORA-06512: at "SYS.DBMS_DATAPUMP", line 2926 ORA-06512: at "SYS.DBMS_DATAPUMP", line 3162 ORA-06512: at line 2
anyone know how it happen?
Hi,
Please take a look into below link to see if it has some infrmation that can help you with your problem.
http://forums.dbasupport.com/forums/archive/index.php/t-38082.html
Best Regards,
Marcello M.
Similar Messages
-
Error when opening table container file keydb read only
Hi Guys,
We are installing solution manager 4.0 on windows/sql but we are getting following error and couldnt continue the installation
FKD-00070 Error when opening table container file C:\PROGRA1\SAPINS1\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml for writing. Possible reason: "read-only"
ERROR 2008-06-04 20:10:56.843
FKD-00049 XML - Parser error: error: no DTD specified, can't validate in line 1, 1
in file C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\MSS\CENTRAL\AS\keydb.xml.
Please help
Regards,
SantoshFurther info
keydb.xml is empty and the directory has got write access for everyone
regards
Edited by: Santosh Keerti on Jun 4, 2008 1:29 PM -
Database error when updating table ADRC
Hi,
We are on ECC 5.0 & are facing a problem whille maintaining anything relevant to table ADRC.
For eg., if we try to maintain storage location or create a vendor code (XK01), for some inputs it works ...but most times the update just terminates with a message "Database error when changing table ADRC".
Pls. help.
Thanks,
Saba.Hi
You can refer to following SAP Notes in case they help:
385440 Repairing inconsistencies in Customizing addresses
417809 Customizing objects display incorrect addresses
186910 Customers / vendors with incorrect address
Otherwise i want to know more about the error you are getting to help you in better way.
Thanks and Regards
Esha Rajpal -
EXP-00056: ORACLE error 3120 encountered
ORA-03120: two-task conversion routine: integer overflowEXP-00056: ORACLE error 3120 encountered
ORA-03120: two-task conversion routine: integer overflow Hi, I see that someone has apparently posted this question
before about encountering error when export a CLOB in a table.
I run in the exact same problem. But I have not seen
any resolution on this topic. Can anyone shed some light
on this problem? Thanks much.
I'm trying to export a table which has clobs in it.
It seems like whenever the CLOB column has some
data, the export fails, with the following errors.
I'm running the 8.1.7 exp utility on Win 2k, exporting
tables in a 8.1.7 database which has UTF8 character
set, running on solaris.
When the table's CLOB column only contain empty CLOBs,
it ran fine.
(the club2.acLic table has a CLOB column)
f:\>exp myself/myself@engdev file=f:\temp\club2.dmp tables=club2.acLic feedback=1
Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
Export done in WE8ISO8859P1 character set and UTF8 NCHAR character set
server uses UTF8 character set (possible charset conversion)
About to export specified tables via Conventional Path ...
Current user changed to CLUB2
. . exporting table ACLIC
EXP-00056: ORACLE error 3120 encountered
ORA-03120: two-task conversion routine: integer overflow
Export terminated successfully with warnings. -
Error when doing table control
I am getting the following error when I am executing the
Module Pool Program for table control creation.
"Generation error in flow logic for Generation error(s) "
Can any body help me with the reason.Hi Makarand,
This could also come if you reference an incorrect table control. Make sure that the PAI and PBO loops use the right tab control.
Example: If you have a table control declared like this:
Controls: tab_ctr500 TYPE TABLEVIEW USING SCREEN '0500'.
In PBO and PAI..check that you are using
LOOP WITH CONTROL tab_ctr500
If this resolves the problem then please award points and close the post.
Thanks,
Anand -
Error when transferring table data to a CSV format file.
Hi
I am getting an error when I am passing the parameter value for the file name from the selection screen. If i hard code the path and name it works fine. can any one help me please. here is my code:
PARAMETERS: OUTFILE LIKE dxfile-filename
DEFAULT 'C:\Apositivepay.txt',
RUNDATE LIKE PAYR-LAUFD,
Bank LIKE T012K-HBKID. "List of Possible Banks
type-pools:TRUXS.
DATA: BEGIN OF OUTPUT_REC OCCURS 0, "Output file for USBANK
ACCT(12), "bank account no
Payee2(40) type c, "payee 2
END OF OUTPUT_REC.
data: itab1 type TRUXS_T_TEXT_DATA.
CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
EXPORTING
I_FIELD_SEPERATOR = ','
TABLES
I_TAB_SAP_DATA = OUTPUT_REC
CHANGING
I_TAB_CONVERTED_DATA = itab1
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = OUTFILE "This doesn't work
filename = 'C:\Apositivepay.txt' "This works
TABLES
DATA_TAB = itab1
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TABLE_WIDTH = 4
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
OTHERS = 8.
Message was edited by: Anwarul Kabirhi,
use this code and save that file in CSV format it will work
OPEN DATASET P_IFILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC NE 0.
MESSAGE E000 WITH 'Problem in opening Application Server file'.
ELSE.
DO.
READ DATASET P_IFILE INTO IT_UPLOAD.
IF SY-SUBRC NE 0.
EXIT.
ELSE.
APPEND IT_UPLOAD.
CLEAR IT_UPLOAD.
ENDIF.
ENDDO.
CLOSE DATASET P_IFILE.
ENDIF.
IF IT_UPLOAD[] IS INITIAL.
MESSAGE E000 WITH 'NO data in the file/upload problem'.
ENDIF.
LOOP AT IT_UPLOAD.
SPLIT IT_UPLOAD AT ','
INTO
IT_FDATA-MATNR
IT_FDATA-WERKS.
IT_FDATA-SLGORT.
APPEND IT_FDATA.
CLEAR IT_FDATA.
ENDLOOP.
IT_TOTAL1[] = IT_FDATA[]. -
Error when creating table in cloudscape database
Hi, all:
I installed j2sdk1.4.0, j2sdkee1.3.1 on windows XP. I am able to start j2ee, cloudscape and deploy without error. I try to follow the J2EE tutorial to setting up the database, I go to the j2eetutorial/examples directory and type "ant create-savingsaccount-table", I got error "java.lang.NoClassDefFoundError: COM/cloudscape/tools/ij".
Following are the environment variables:
JAVA_HOME C:\j2sdk1.4.0
J2EE_HOME C:\j2sdkee1.3.1
CLASSPATH %JAVA_HOME%\lib\tools.jar;%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\jhall.jar;%J2EE_HOME%\lib\system\cloudutil.jar;%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\cloudscape\cloudclient.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar
cloudscape is from the j2ee1.3.1 bundle. does anyone know how to get around this?
please help. thanks in advance.I'm having the same problem.
I really did some searching put couldn't find a working solution :|
This worked fine at work but when I continued learing at home it didn't work anymore. I have xp at home and nt4 at work. -
Getting Error when createing Table control in Module Pool.
Hi expert ,
i am creating a module pool program . i want to crate line item value for that i have created table control on screen 200 .
but when i am activation to that giving error below mention.
The field "ZFBDCHALLAN-EBELN" is not assigned to a loop. "LOOP ...ENDLOOP" must appear in "PBO" and "PAI".
thanks
chandraIts mandatory to have loop endloop in both events
PBO and PAI
loop your internal table similarly.
Please check it should be below format
PROCESS BEFORE OUTPUT.
* Set PF Status for screen 100.
MODULE status_0200.
* This module will initialize the field
MODULE init_0100.
LOOP AT t_custmat_asg INTO w_custmat_asg
WITH CONTROL tc_1
CURSOR tc_1-current_line.
* It will count the record in internal table
MODULE set_linecount.
* Screen Modifications
MODULE status_check.
ENDLOOP.
PROCESS AFTER INPUT.
* Module AT EXIT-COMMAND
MODULE exit_0200 AT EXIT-COMMAND.
LOOP AT t_custmat_asg .
CHAIN.
FIELD :
w_custmat_asg-check,
w_custmat_asg-kunnr,
w_custmat_asg-name1,
w_custmat_asg-asgtyp,
w_custmat_asg-productcls,
w_custmat_asg-sctegry,
w_custmat_asg-ctegry,
w_custmat_asg-parent,
w_custmat_asg-frmdate,
w_custmat_asg-todate,
w_custmat_asg-frecster,
w_custmat_asg-salesrep,
w_custmat_asg-flag,
w_custmat_asg-username,
w_custmat_asg-udate.
* Validation For Forecaster.
MODULE validate_forecaster.
* Validation For Salesrep.
MODULE valiate_salesrep.
* Validation for Customer
module validate_customer.
* Validate null value
module validate_null_vals.
* Validation For Data Changed On The Screen
MODULE data_changed_0200 ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
Regards
Satish Boguda -
Hi Folks,
I m getting this problem frequently when i m using table view in reports. Im using SQl server2008 and working on BIApps.
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: 28000 code: 18456 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'DWH'.. (HY000)
SQL Issued: SELECT 0 s_0, "Financials - AP Overview"."Time"."Fiscal Quarter" s_1, "Financials - AP Overview"."Time"."Fiscal Year" s_2, "Financials - AP Overview"."Facts - AP Turnover"."Days Payables Outstanding" s_3 FROM "Financials - AP Overview" FETCH FIRST 65001 ROWS ONLY
Thanks in advance.
Raghava.Hi,
As per you query shown above, I am assuming that the query limit exceeds the maximum number of rows to show in your result. because it showing only 65001 rows fetched but your data may be more than that.
So try to extend the maximum rows for table view in instanceconfig.xml file.
Regards,
Pandian -
"cannot perform a DML operation inside a query" error when using table func
hello please help me
i created follow table function when i use it by "select * from table(customerRequest_list);"
command i receive this error "cannot perform a DML operation inside a query"
can you solve this problem?
CREATE OR REPLACE FUNCTION customerRequest_list(
p_sendingDate varchar2:=NULL,
p_requestNumber varchar2:=NULL,
p_branchCode varchar2:=NULL,
p_bankCode varchar2:=NULL,
p_numberOfchekbook varchar2:=NULL,
p_customerAccountNumber varchar2:=NULL,
p_customerName varchar2:=NULL,
p_checkbookCode varchar2:=NULL,
p_sendingBranchCode varchar2:=NULL,
p_branchRequestNumber varchar2:=NULL
RETURN customerRequest_nt
PIPELINED
IS
ob customerRequest_object:=customerRequest_object(
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
condition varchar2(2000 char):=' WHERE 1=1 ';
TYPE rectype IS RECORD(
requestNumber VARCHAR2(32 char),
branchRequestNumber VARCHAR2(32 char),
branchCode VARCHAR2(50 char),
bankCode VARCHAR2(50 char),
sendingDate VARCHAR2(32 char),
customerAccountNumber VARCHAR2(50 char),
customerName VARCHAR2(200 char),
checkbookCode VARCHAR2(50 char),
numberOfchekbook NUMBER(2),
sendingBranchCode VARCHAR2(50 char),
numberOfIssued NUMBER(2)
rec rectype;
dDate date;
sDate varchar2(25 char);
TYPE curtype IS REF CURSOR; --RETURN customerRequest%rowtype;
cur curtype;
my_branchRequestNumber VARCHAR2(32 char);
my_branchCode VARCHAR2(50 char);
my_bankCode VARCHAR2(50 char);
my_sendingDate date;
my_customerAccountNumber VARCHAR2(50 char);
my_checkbookCode VARCHAR2(50 char);
my_sendingBranchCode VARCHAR2(50 char);
BEGIN
IF NOT (regexp_like(p_sendingDate,'^[[:digit:]]{4}/[[:digit:]]{2}/[[:digit:]]{2}$')
OR regexp_like(p_sendingDate,'^[[:digit:]]{4}/[[:digit:]]{2}/[[:digit:]]{2}[[:space:]]{1}[[:digit:]]{2}:[[:digit:]]{2}:[[:digit:]]{2}$')) THEN
RAISE_APPLICATION_ERROR(-20000,cbdpkg.get_e_m(-1,5));
ELSIF (p_sendingDate IS NOT NULL) THEN
dDate:=TO_DATE(p_sendingDate,'YYYY/MM/DD hh24:mi:ss','nls_calendar=persian');
dDate:=trunc(dDate);
sDate:=TO_CHAR(dDate,'YYYY/MM/DD hh24:mi:ss');
condition:=condition|| ' AND ' || 'sendingDate='||'TO_DATE('''||sDate||''',''YYYY/MM/DD hh24:mi:ss'''||')';
END IF;
IF (p_requestNumber IS NOT NULL) AND (cbdpkg.isspace(p_requestNumber)=0) THEN
condition:=condition|| ' AND ' || ' requestNumber='||p_requestNumber;
END IF;
IF (p_bankCode IS NOT NULL) AND (cbdpkg.isspace(p_bankCode)=0) THEN
condition:=condition|| ' AND ' || ' bankCode='''||p_bankCode||'''';
END IF;
IF (p_branchCode IS NOT NULL) AND (cbdpkg.isspace(p_branchCode)=0) THEN
condition:=condition|| ' AND ' || ' branchCode='''||p_branchCode||'''';
END IF;
IF (p_numberOfchekbook IS NOT NULL) AND (cbdpkg.isspace(p_numberOfchekbook)=0) THEN
condition:=condition|| ' AND ' || ' numberOfchekbook='''||p_numberOfchekbook||'''';
END IF;
IF (p_customerAccountNumber IS NOT NULL) AND (cbdpkg.isspace(p_customerAccountNumber)=0) THEN
condition:=condition|| ' AND ' || ' customerAccountNumber='''||p_customerAccountNumber||'''';
END IF;
IF (p_customerName IS NOT NULL) AND (cbdpkg.isspace(p_customerName)=0) THEN
condition:=condition|| ' AND ' || ' customerName like '''||'%'||p_customerName||'%'||'''';
END IF;
IF (p_checkbookCode IS NOT NULL) AND (cbdpkg.isspace(p_checkbookCode)=0) THEN
condition:=condition|| ' AND ' || ' checkbookCode='''||p_checkbookCode||'''';
END IF;
IF (p_sendingBranchCode IS NOT NULL) AND (cbdpkg.isspace(p_sendingBranchCode)=0) THEN
condition:=condition|| ' AND ' || ' sendingBranchCode='''||p_sendingBranchCode||'''';
END IF;
IF (p_branchRequestNumber IS NOT NULL) AND (cbdpkg.isspace(p_branchRequestNumber)=0) THEN
condition:=condition|| ' AND ' || ' branchRequestNumber='''||p_branchRequestNumber||'''';
END IF;
dbms_output.put_line(condition);
OPEN cur FOR 'SELECT branchRequestNumber,
branchCode,
bankCode,
sendingDate,
customerAccountNumber ,
checkbookCode ,
sendingBranchCode
FROM customerRequest '|| condition ;
LOOP
FETCH cur INTO my_branchRequestNumber,
my_branchCode,
my_bankCode,
my_sendingDate,
my_customerAccountNumber ,
my_checkbookCode ,
my_sendingBranchCode;
EXIT WHEN (cur%NOTFOUND) OR (cur%NOTFOUND IS NULL);
BEGIN
SELECT requestNumber,
branchRequestNumber,
branchCode,
bankCode,
TO_CHAR(sendingDate,'yyyy/mm/dd','nls_calendar=persian'),
customerAccountNumber ,
customerName,
checkbookCode ,
numberOfchekbook ,
sendingBranchCode ,
numberOfIssued INTO rec FROM customerRequest FOR UPDATE NOWAIT;
--problem point is this
EXCEPTION
when no_data_found then
null;
END ;
ob.requestNumber:=rec.requestNumber ;
ob.branchRequestNumber:=rec.branchRequestNumber ;
ob.branchCode:=rec.branchCode ;
ob.bankCode:=rec.bankCode ;
ob.sendingDate :=rec.sendingDate;
ob.customerAccountNumber:=rec.customerAccountNumber ;
ob.customerName :=rec.customerName;
ob.checkbookCode :=rec.checkbookCode;
ob.numberOfchekbook:=rec.numberOfchekbook ;
ob.sendingBranchCode:=rec.sendingBranchCode ;
ob.numberOfIssued:=rec.numberOfIssued ;
PIPE ROW(ob);
IF (cur%ROWCOUNT>500) THEN
CLOSE cur;
RAISE_APPLICATION_ERROR(-20000,cbdpkg.get_e_m(-1,4));
EXIT;
END IF;
END LOOP;
CLOSE cur;
RETURN;
END;Now what exactly would be the point of putting a SELECT FOR UPDATE in an autonomous transaction?
I think OP should start by considering why he has a function with an undesirable side effect in the first place. -
Error when applying tables in Siebel 7.5
Hello all,
Currently I'm in my local database trying to add columns to a table. When I finish with that and attempt to apply my changes I get the following messages:
1st: UTLDbDdlDbMerge
2nd: pOperCallback UTLDbDdlOperColAdd
3rd: SQL Error Adding column ACCNT_ISSUE_ID
4th: S0001 (-110): [Siebel Database][ODBC Driver][Adaptive Server Anywhere]Table or view already exists: Item 'ACCNT_ISSUE_ID' already exists
Where ACCNT_ISSUE_ID is alphabetically the first column on the table (and out of box).
I've attempted this on other tables that I haven't worked on and got the same error except with a different column name. I've double checked the tools.cfg file and confirmed that the table owner is siebel. If anyone would have any idea on what the problem is caused by or how to fix it I would be very appreciative.
Thank you,
MarkHi Mahesh,
I believe the XML file of the dimension might have corrupted. Please download it and check whether everything is fine or not (this will act as your backup also). Then delete this file from UJFS. Try to process the dimension once again.
Alternatively, you can also try using the program UJA_REFRESH_DIM_CACHE.
Hope this helps. -
Error when creating table (Document contains no data)
Hi,
I've installed htmldb 2.0 and after playing with it for a while, everything seems to be ok, except
for table creation. No matter I use the sql command console or the object creation wizard, the
situation is the same: i can arrive until the last confirmation page, and after submitting the browser
complains about a page with no data (Document contains no data).
I can create other things, such as views, functions, sequences, even applications. Is just table the one giving problems. Can somebody tell me where are the relevant logs, in order to trace better the situation? Or, if you have any other suggestion (maybe I missed something during the installation, or things like that).
Thanks in advance.
salu2
dario estepario ...Sure, this is part of the weird thing: nothing is displayed when this error happens. However, yesterday, a friend of mine made the same test (with another browser) and I saw some messages like this ones on the error_log*:
[Tue Nov 22 15:12:01 2005] [error] [client 201.138.102.50] [ecid: 1132693921:192.168.1.1:24300:0:155,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-500 Error Reading Data from Client!!
At least, they are a http-500 errors ... while in my case, I can not receive any answer at all.
But this was yesterday, today ... every time I reproduce the situation, the error_log does not move.
Regards,
PS: Another point: I can create the table importing data. -
Javascript error when a table is placed within a table popin.
Hi experts,
I have a node 'Parent' which contains one attribute and a non singleton child node called 'Child' which contains five attributes.
I have created a Table 'OuterTable' in the view. The 'datasource' property of this table is set to the node 'Parent'. I inserted a popin in to this table and added another table 'InnerTable' as the content of this popin. InnerTable is bound to the node 'Child'.
For each parent element, there will be 'n' number of child elements. When i run the application i can see 'm' number of table popins(corresponding to 'm' number of parent elements) and inside each popin a table containing 'n' rows(corresponding to 'n' number of child nodes for each parent element).
When i try to select a row from the table in second or third popin, the browser shows a javascript error at the bottom left hand corner. Although it does not affect the application, i am curious why this is happening.
The main problem is that, we have to call this webdynpro application from a function module in R/3 which will show the application in the IE engine inside SAP GUI. In this case when we select any rows in the table, a pop up with a message 'Internet Explorer Script Error' comes and we are not able to proceed with the application.
Any help to resolve this issue will be highly appreciated and rewarded with points
Shabeer.Hi Shabeer,
Can you try this
File location
1) <Installation Drive>\usr\sap\<System Name>\
<Instance Name>\JC00\j2ee\cluster\server<Number>\
apps\sap.com\irj\servlet_jsp\irj\root\portalapps\
com.sap.portal.htmlb\jslib\jslib/sapUrMapi_ie6.js
2) j2ee_<Instance Number>\cluster\server\services\
servlet_jsp\work\jspTemp\irj\root\portalapps\
com.sap.portal.htmlb\jslib\sapUrMapi_ie6.js
and try this
Find the function "function sapUrMapi_init()"
and the line
ur_system.emptyhoverurl = ur_system.mimepath+"emptyhover.html";
Add the following if condition before this line:
if (ur_system.emptyhoverurl == null || ur_system.emptyhoverurl == "")
so that the result reads like follows:
if (ur_system.emptyhoverurl == null || ur_system.emptyhoverurl == "")
ur_system.emptyhoverurl = ur_system.mimepath+"emptyhover.html";
Take a backup . You can try this on your local system before trying on the server.
Keep in mind that the object can be cached in both the server and
browser cache.
Regards
Pankaj Prasoon -
ORA-01461 Error when mapping table with multiple varchar2(4000) fields
(Note: I think this was an earlier problem, supposed fixed in 11.0, but we are experiencing in 11.7)
If I map an Oracle 9i table with multiple varchar2(4000) columns, targeting another Oracle 9i database, I get the ORA-01461 error (Can't bind a LONG value only for insert into a LONG).
I have tried changing the target columns to varchar2(1000), as suggested as a workaround in earlier versions, all to no avail.
I can have just one varchar2(4000) map correctly and execute flawlessly - the problem occurs when I add a second one.
I have tried making the target column a LONG, but that does not solve the problem.
Then, I made the target database SQL Server, and it had no problem at all, so the issue seems to be Oracle-related.Hi Jon,
Thanks for the feedback. I'm unable to reproduce the problem you describe at the moment - if I try to migrate a TEXT(5), OMWB creates a VARCHAR(5) and the data migrates correctly!! However, I note from you description that even though the problematic source column datatype is TEXT(5), you mention that there are actually 20 lines of text in this field (and not 5 variable length characters as the definition might suggest).
Having read through some of the MySQL reference guide I note that, in certain circumstances, MySQL actually changes the column datatype specified either at table creation time or when interfacing with other databases ( ref 14.2.5.1 Silent Column Specification Changes and 12.7 Using Column Types from Other Database Engines in the MySQL reference guide). Since your TEXT(5) actually contains 20 lines of text, MySQL (database or JDBC driver .... or both) may be trying to automatically map the specified datatype of the column to a datatype more appropriate to storing 20 lines of text.... that is, to a LONG value in this case. Then, when Oracle is presented with this LONG value to store in a VARCHAR(5) field, it throws the ORA-01461 error. I need to investigate this further, but this may be the case - its the first time I've see this problem encountered.
To workaround this, you could change the datatype of the column to a LONG from within the Oracle Model before migrating. Any application code that accesses this column and expects a TEXT(5) value may need to be adjusted to cope with a LONG value. Is this a viable workaround for you?
I will investigate further and notiofy you of any details I uncover. We will need to track this issue for possible inclusion in future development plans.
I hope this helps,
Regards,
Tom. -
Form validation error when the Table is empty.
Hello Gurus,
I am getting form validation error as soon as the popup is rendered to submit new row.
I am using the this popup to add new row in the table and this is happening only when there no data in the table but it works fine when there is some data in the table.
Screen shot: [http://picpaste.com/adf_error-BAdP8Thv.JPG]
Is there any way can I defer this error till I submit the form. ( which works fine when there is some data in table )
Thanks
Abhijeethere i tested not happend for me.
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1" binding="#{backingBeanScope.backing_untitled8.d1}">
<af:form binding="#{backingBeanScope.backing_untitled8.f2}" id="f2">
<af:messages binding="#{backingBeanScope.backing_untitled8.m1}"
id="m1"/>
<af:popup binding="#{backingBeanScope.backing_untitled8.p1}" id="p1">
<af:dialog binding="#{backingBeanScope.backing_untitled8.d3}" id="d3">
<af:panelFormLayout binding="#{backingBeanScope.backing_untitled8.pfl1}"
id="pfl1">
<af:inputText value="#{bindings.AunitctrlBe.inputValue}"
label="#{bindings.AunitctrlBe.hints.label}"
required="#{bindings.AunitctrlBe.hints.mandatory}"
columns="#{bindings.AunitctrlBe.hints.displayWidth}"
maximumLength="#{bindings.AunitctrlBe.hints.precision}"
shortDesc="#{bindings.AunitctrlBe.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it10}"
id="it10">
<f:validator binding="#{bindings.AunitctrlBe.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.AunitctrlUnit.inputValue}"
label="#{bindings.AunitctrlUnit.hints.label}"
required="#{bindings.AunitctrlUnit.hints.mandatory}"
columns="#{bindings.AunitctrlUnit.hints.displayWidth}"
maximumLength="#{bindings.AunitctrlUnit.hints.precision}"
shortDesc="#{bindings.AunitctrlUnit.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it11}"
id="it11">
<f:validator binding="#{bindings.AunitctrlUnit.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.AunitctrlCostMethod.inputValue}"
label="#{bindings.AunitctrlCostMethod.hints.label}"
required="#{bindings.AunitctrlCostMethod.hints.mandatory}"
columns="#{bindings.AunitctrlCostMethod.hints.displayWidth}"
maximumLength="#{bindings.AunitctrlCostMethod.hints.precision}"
shortDesc="#{bindings.AunitctrlCostMethod.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it12}"
id="it12">
<f:validator binding="#{bindings.AunitctrlCostMethod.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.AunitctrlCostMgmtOpt.inputValue}"
label="#{bindings.AunitctrlCostMgmtOpt.hints.label}"
required="#{bindings.AunitctrlCostMgmtOpt.hints.mandatory}"
columns="#{bindings.AunitctrlCostMgmtOpt.hints.displayWidth}"
maximumLength="#{bindings.AunitctrlCostMgmtOpt.hints.precision}"
shortDesc="#{bindings.AunitctrlCostMgmtOpt.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it13}"
id="it13">
<f:validator binding="#{bindings.AunitctrlCostMgmtOpt.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.AunitctrlCostApprMtd.inputValue}"
label="#{bindings.AunitctrlCostApprMtd.hints.label}"
required="#{bindings.AunitctrlCostApprMtd.hints.mandatory}"
columns="#{bindings.AunitctrlCostApprMtd.hints.displayWidth}"
maximumLength="#{bindings.AunitctrlCostApprMtd.hints.precision}"
shortDesc="#{bindings.AunitctrlCostApprMtd.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it14}"
id="it14">
<f:validator binding="#{bindings.AunitctrlCostApprMtd.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.AunitctrlJocApprMtd.inputValue}"
label="#{bindings.AunitctrlJocApprMtd.hints.label}"
required="#{bindings.AunitctrlJocApprMtd.hints.mandatory}"
columns="#{bindings.AunitctrlJocApprMtd.hints.displayWidth}"
maximumLength="#{bindings.AunitctrlJocApprMtd.hints.precision}"
shortDesc="#{bindings.AunitctrlJocApprMtd.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it15}"
id="it15">
<f:validator binding="#{bindings.AunitctrlJocApprMtd.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.AunitctrlCreBy.inputValue}"
label="#{bindings.AunitctrlCreBy.hints.label}"
required="#{bindings.AunitctrlCreBy.hints.mandatory}"
columns="#{bindings.AunitctrlCreBy.hints.displayWidth}"
maximumLength="#{bindings.AunitctrlCreBy.hints.precision}"
shortDesc="#{bindings.AunitctrlCreBy.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it16}"
id="it16">
<f:validator binding="#{bindings.AunitctrlCreBy.validator}"/>
</af:inputText>
<af:inputDate value="#{bindings.AunitctrlCreDate.inputValue}"
label="#{bindings.AunitctrlCreDate.hints.label}"
required="#{bindings.AunitctrlCreDate.hints.mandatory}"
shortDesc="#{bindings.AunitctrlCreDate.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.id1}"
id="id1">
<f:validator binding="#{bindings.AunitctrlCreDate.validator}"/>
<af:convertDateTime pattern="#{bindings.AunitctrlCreDate.format}"/>
</af:inputDate>
<af:inputText value="#{bindings.AunitctrlUpdBy.inputValue}"
label="#{bindings.AunitctrlUpdBy.hints.label}"
required="#{bindings.AunitctrlUpdBy.hints.mandatory}"
columns="#{bindings.AunitctrlUpdBy.hints.displayWidth}"
maximumLength="#{bindings.AunitctrlUpdBy.hints.precision}"
shortDesc="#{bindings.AunitctrlUpdBy.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it17}"
id="it17">
<f:validator binding="#{bindings.AunitctrlUpdBy.validator}"/>
</af:inputText>
<af:inputDate value="#{bindings.AunitctrlUpdDate.inputValue}"
label="#{bindings.AunitctrlUpdDate.hints.label}"
required="#{bindings.AunitctrlUpdDate.hints.mandatory}"
shortDesc="#{bindings.AunitctrlUpdDate.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.id2}"
id="id2">
<f:validator binding="#{bindings.AunitctrlUpdDate.validator}"/>
<af:convertDateTime pattern="#{bindings.AunitctrlUpdDate.format}"/>
</af:inputDate>
<af:inputText value="#{bindings.RowID.inputValue}"
label="#{bindings.RowID.hints.label}"
required="#{bindings.RowID.hints.mandatory}"
columns="#{bindings.RowID.hints.displayWidth}"
maximumLength="#{bindings.RowID.hints.precision}"
shortDesc="#{bindings.RowID.hints.tooltip}"
binding="#{backingBeanScope.backing_untitled8.it18}"
id="it18">
<f:validator binding="#{bindings.RowID.validator}"/>
</af:inputText>
<f:facet name="footer">
<af:panelGroupLayout layout="vertical"
binding="#{backingBeanScope.backing_untitled8.pgl1}"
id="pgl1">
<af:panelGroupLayout layout="horizontal"
binding="#{backingBeanScope.backing_untitled8.pgl2}"
id="pgl2">
<af:commandButton actionListener="#{bindings.First1.execute}"
text="First1"
disabled="#{!bindings.First1.enabled}"
partialSubmit="true"
binding="#{backingBeanScope.backing_untitled8.cb1}"
id="cb1"/>
<af:commandButton actionListener="#{bindings.Previous1.execute}"
text="Previous1"
disabled="#{!bindings.Previous1.enabled}"
partialSubmit="true"
binding="#{backingBeanScope.backing_untitled8.cb3}"
id="cb3"/>
<af:commandButton actionListener="#{bindings.Next1.execute}"
text="Next1"
disabled="#{!bindings.Next1.enabled}"
partialSubmit="true"
binding="#{backingBeanScope.backing_untitled8.cb4}"
id="cb4"/>
<af:commandButton actionListener="#{bindings.Last1.execute}"
text="Last1"
disabled="#{!bindings.Last1.enabled}"
partialSubmit="true"
binding="#{backingBeanScope.backing_untitled8.cb5}"
id="cb5"/>
</af:panelGroupLayout>
<af:commandButton text="Submit"
binding="#{backingBeanScope.backing_untitled8.cb6}"
id="cb6"/>
</af:panelGroupLayout>
</f:facet>
</af:panelFormLayout>
</af:dialog>
</af:popup>
<af:panelCollection binding="#{backingBeanScope.backing_untitled8.pc2}"
id="pc2">
<f:facet name="menus"/>
<f:facet name="toolbar">
<af:toolbar binding="#{backingBeanScope.backing_untitled8.t3}"
id="t3">
<af:commandButton text="insert"
binding="#{backingBeanScope.backing_untitled8.cb7}"
id="cb7"
action="#{backingBeanScope.backing_untitled8.cb7_action}"
partialSubmit="true"/>
</af:toolbar>
</f:facet>
<f:facet name="statusbar"/>
<af:table value="#{bindings.ApplUnitControlView1.collectionModel}"
var="row" rows="#{bindings.ApplUnitControlView1.rangeSize}"
emptyText="#{bindings.ApplUnitControlView1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.ApplUnitControlView1.rangeSize}"
rowBandingInterval="0"
filterModel="#{bindings.ApplUnitControlView1Query.queryDescriptor}"
queryListener="#{bindings.ApplUnitControlView1Query.processQuery}"
filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.ApplUnitControlView1.collectionModel.selectedRow}"
selectionListener="#{bindings.ApplUnitControlView1.collectionModel.makeCurrent}"
rowSelection="single"
binding="#{backingBeanScope.backing_untitled8.t4}" id="t4"
partialTriggers=":::cb1 :::cb3 :::cb4 :::cb5 ::cb2">
<af:column sortProperty="AunitctrlBe" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.label}"
id="c6" width="105">
<af:inputText value="#{row.bindings.AunitctrlBe.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlBe.tooltip}"
id="it1">
<f:validator binding="#{row.bindings.AunitctrlBe.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="AunitctrlUnit" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.label}"
id="c3" width="105">
<af:inputText value="#{row.bindings.AunitctrlUnit.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlUnit.tooltip}"
id="it9">
<f:validator binding="#{row.bindings.AunitctrlUnit.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="AunitctrlCostMethod" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.label}"
id="c9" width="105">
<af:inputText value="#{row.bindings.AunitctrlCostMethod.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMethod.tooltip}"
id="it6">
<f:validator binding="#{row.bindings.AunitctrlCostMethod.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="AunitctrlCostMgmtOpt" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.label}"
id="c1" width="105">
<af:inputText value="#{row.bindings.AunitctrlCostMgmtOpt.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCostMgmtOpt.tooltip}"
id="it3">
<f:validator binding="#{row.bindings.AunitctrlCostMgmtOpt.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="AunitctrlCostApprMtd" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.label}"
id="c2" width="105">
<af:inputText value="#{row.bindings.AunitctrlCostApprMtd.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCostApprMtd.tooltip}"
id="it2">
<f:validator binding="#{row.bindings.AunitctrlCostApprMtd.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="AunitctrlJocApprMtd" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.label}"
id="c4" width="105">
<af:inputText value="#{row.bindings.AunitctrlJocApprMtd.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlJocApprMtd.tooltip}"
id="it4">
<f:validator binding="#{row.bindings.AunitctrlJocApprMtd.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="AunitctrlCreBy" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.label}"
id="c5" width="105">
<af:inputText value="#{row.bindings.AunitctrlCreBy.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCreBy.tooltip}"
id="it7">
<f:validator binding="#{row.bindings.AunitctrlCreBy.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="AunitctrlCreDate" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.label}"
id="c8" width="103">
<f:facet name="filter">
<af:inputDate value="#{vs.filterCriteria.AunitctrlCreDate}"
binding="#{backingBeanScope.backing_untitled8.id5}"
id="id5"/>
</f:facet>
<af:inputDate value="#{row.bindings.AunitctrlCreDate.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.mandatory}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.tooltip}"
id="id3">
<f:validator binding="#{row.bindings.AunitctrlCreDate.validator}"/>
<af:convertDateTime pattern="#{bindings.ApplUnitControlView1.hints.AunitctrlCreDate.format}"/>
</af:inputDate>
</af:column>
<af:column sortProperty="AunitctrlUpdBy" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.label}"
id="c7" width="107">
<af:inputText value="#{row.bindings.AunitctrlUpdBy.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdBy.tooltip}"
id="it5">
<f:validator binding="#{row.bindings.AunitctrlUpdBy.validator}"/>
</af:inputText>
</af:column>
<af:column sortProperty="AunitctrlUpdDate" filterable="true"
sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.label}"
id="c10" width="105">
<f:facet name="filter">
<af:inputDate value="#{vs.filterCriteria.AunitctrlUpdDate}"
binding="#{backingBeanScope.backing_untitled8.id6}"
id="id6"/>
</f:facet>
<af:inputDate value="#{row.bindings.AunitctrlUpdDate.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.label}"
required="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.mandatory}"
shortDesc="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.tooltip}"
id="id4">
<f:validator binding="#{row.bindings.AunitctrlUpdDate.validator}"/>
<af:convertDateTime pattern="#{bindings.ApplUnitControlView1.hints.AunitctrlUpdDate.format}"/>
</af:inputDate>
</af:column>
<af:column sortProperty="RowID" filterable="true" sortable="true"
headerText="#{bindings.ApplUnitControlView1.hints.RowID.label}"
id="c11" width="105">
<af:inputText value="#{row.bindings.RowID.inputValue}"
label="#{bindings.ApplUnitControlView1.hints.RowID.label}"
required="#{bindings.ApplUnitControlView1.hints.RowID.mandatory}"
columns="#{bindings.ApplUnitControlView1.hints.RowID.displayWidth}"
maximumLength="#{bindings.ApplUnitControlView1.hints.RowID.precision}"
shortDesc="#{bindings.ApplUnitControlView1.hints.RowID.tooltip}"
id="it8">
<f:validator binding="#{row.bindings.RowID.validator}"/>
</af:inputText>
</af:column>
</af:table>
</af:panelCollection>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_untitled8-->
</jsp:root>
public String cb7_action() {
try {
BindingContainer bindings1 = getBindings();
DCIteratorBinding dciter = (DCIteratorBinding)bindings1.get("ApplUnitControlView1Iterator");
Row oldCcurrentRow = dciter.getCurrentRow();
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
RichPopup popup = this.getP1();
RichPopup.PopupHints hints =
new RichPopup.PopupHints(); //empty hints renders dialog in center of screen
popup.show(hints);
catch (NullPointerException e)
System.out.println(" cause " + e.getCause());
System.out.println("message" + e.getLocalizedMessage());
System.out.println("stack trace" + e.getStackTrace());
return "insert";
}Edited by: ADF 7 on Feb 10, 2012 2:05 AM
Maybe you are looking for
-
We have had a production issue crop up twice now where reports begin running slowly seemingly at random. When this happens we can see from running SQL Profiler that the report queries are taking an extremely long time to execute. The same queries
-
Letters to be auto generated via Word templates
Hi Experts, We are trying to auotmate the letter generation through dynamic actions in PA30. e.g. We want to generate the appointment letter in word document after completion of the hiring action. We have customised a new infotype and the sub type un
-
WPA/WPA2 encryption for (WiFi) Ad-hoc?
Is there any Apps that can create WPA/WPA2 encryption for (WiFi) Ad-hoc connection beside default WEP? I'm aware that WEP is not as good as WPA/WPA2 encryption......... i'm using my neighbours WiFi connection for free...
-
when trying to launch iMessage upon turing my computer on, I get the message "internal error has occured, please quit iMessage and try again." What do I need to do to repair this problem? Marvin Jones
-
Hi, Im new to netui and im using a repeater which has an anchored label. The process is to hide the sub component of the div part using netui anchor tag. It seems that i cannot pass the value of the div within the my javascript to do the hiding and s