Very Urgent: Invalid number in database
We are getting an invalid number error on a date field in a Form that has run this procedure for two years. The query is something like select max(upload_date) from pfe_time_report where ssn = :block_update.ssn. We think that an invalid number has been inserted into the database but we can't find out where. Has anyone run into this situation before? This is a crucial enterprise application (3000 people won't get paid w/o it!)
Thanks.
Jeremy:
I support a payroll app for 10000, I sympathize.
I think that your bad data is in either whatever table you get :block_update.ssn from , or in pfe_time_report.ssn
The invalid number error occurs when there is an implicit or explicit conversion from a string to a number, and the string contains alpha characters.
If pfe_time_report.ssn is defined as numeric, I would look at the block_update source which may be char or varchar.
Assuming that :block_update.ssn is VARCHAR2(10), you could use something like:
SELECT ROWID,identifying_columns
FROM block_update_source
WHERE RPAD(TRANSLATE(ssn,'1234567890','$$$$$$$$$$'),10,'$') <> '$$$$$$$$$$'This will change all valid numbers in :block_update.ssn to 10 $'s. Any non-numeric characters will remain as they were.
I hope everyone gets paid. Thanks for the advice. The table is pfe_time_report. SSN is a Varchar2(10) and upload_date is a date. The :block_update is based on this table. Would it be advisable to use the query you mentioned to update the table and correct any errors in these columns? I don't want to touch the query on the form because it is a client/server app and the customers are spread out all over the state of New Mexico.
Similar Messages
-
Very Urgent: Invalid Number error
We are getting an invalid number error on a date field in a Form that has run this procedure for two years. The query is something like select max(upload_date) from pfe_time_report where ssn = :block_update.ssn. We think that an invalid number has been inserted into the database but we can't find out where. Has anyone run into this situation before? This is a crucial enterprise application (3000 people won't get paid w/o it!)
Thanks.Infact I also got this error, I solved this problem by removing NLS_DATE_FORMAT from the registry you can try out this option and see it does work.
Rahamath -
Very very urgent. population data from database into dropdownbox
Hi,
i imported a model through ejbs
this is to create new entries into database ,
and my scenerio iso now i need to populate the values that i stored into database thro EJBS in a drop down box of wd application.
plz help me through code ,i am new to java webdynpro...
neede very urgently,
Thanx .
Arjun.G
Message was edited by:
arjun swamyHi,
Have a look at these threads
Dropdown by index in table - fetching values from database
Dropdown by index
Kind Regards,
Saravanan K -
VERY URGENT: serial number entry
HI ALL,
In Table MASE - store the last serial number, which is not done by any trasaction from R/3 easy acess, now system considering this entry as a reference for all materil and give serial number.
But user have its own number range like 1300, but as in table MASE the value is stored as 11293, its taking this as a ref number and giving the next serial number like 11294, 11295 etc.
PLZ CAN YOU SUGGEST HOW TO DELETE THE VALUSE 11293 FROM TABLE MASE.
ANS will reward defntly.
Regards
SidHi
We dont have facility to assign no. ranges to Serial No. instead we give No. ranges for Equipment Categories and assign this Equipment Catgoriy to Serial No. Profile.By Assigning the Serial No. profile to a material master, the system will use the Serial Nos from No. ranges for Equipment Category.
U can check the number ranges for equipment category from TC OIEN.
Also is there any custom table for serial number format maintained..???
or any BAPI or FM used in creating customer specific Serial numbers..???
If yes please check ...
Prakash -
Its very urgent:how to insert data into database tables
Hi All,
I am very new to oaf.
I have one requirement data insert into database tables.
here createPG having data that data insert into one custom table.
but i dont know how to insert data into database tables.
i wrote the code in am,co as follows.
in am i wrote the code:
public void NewoperationManagerLogic()
ManagerCustomTableVOImpl vo1=getManagerCustomTableVO1();
OADBTransaction oadbt=getOADBTransaction();
if(!vo1.isPreparedForExecution())
vo1.executeQuery();
Row row=vo1.createRow();
vo1.insertRow(row);
in createPG processrequest co:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
am.NewoperationManagerLogic();
process form request:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
if(pageContext.getParameter("Submit")!=null)
ManagerInformationAMImpl am=(ManagerInformationAMImpl)pageContext.getApplicationModule(webBean);
am.getOADBTransaction().commit();
please help with an example(sample code).
its very urgent.
thanks in advance
Seshu
Edited by: its urgent on Dec 25, 2011 9:31 PMHi ,
1.)You must have to create a EO based on custom table and then VO based on this EO eventually to save the values in DB
2.) the row.setNewRowState(Row.STATUS_INITIALIZED); is used to set the the status of row as inialized ,this is must required.
3.) When u will create the VO based on EO the viewattributes will be created in VO which will be assigned to the fields to take care the db handling .
You must go thtough the lab excercise shipped with you Jdeveloper ,there is a example of Create Employee page ,that will solve your number of doubts.
Thanks
Pratap -
Database error text: invalid number
Hi Gurus,
I am calling a procedure proxy from ECC and it is giving me a short dump:
Error 339 has occurred while executing database procedure
""_SYS_BIC"."Krishna_Demo_Proj.Model/KC_GET_MARA"" on the
current database connection "R/3".
Database error text: invalid number: ''
Triggering statement: "dsql_open_proc"
I have created a table with only one field.
Mapped the Data types after creating the Procedure Proxy
Which data type I need to use? I tried with lots of combinations but, still the same error.
Regards,
Krishna ChauhanHi Srinu,
I have used NVARCHAR 18 and corresponding to that CHAR18 is used.
Please see the attached screen shots.
Regards,
Krishna Chauhan -
Invalid Number Error Please help Urgent
Hi,
I am trying to create a report in discoverer where in I get an invalid number error for the statement
,DECODE(final.TYP,'Sales',to_char(final.future_supplpy),'B/O','B/O') sale_type.
We have the requirement that when TYP is Sales i need to display future supply and when the TYP is B/O i need to display B/O.
The query runs perfectly fine in TOAD but in Discoverer Desktop when i run the report i get an error message
invalid number.
Please help its urgent
Thanks
AshwiniHi Ashwani
First of all, your statement appears to not be handling anything other than Sales or B/O. Is that deliberate? If not, you need a default, catch all value at the end like this:
DECODE(final.TYP,'Sales',NVL(final.future_supply,to_char(final.future_supply),'B/O','B/O', default_value) sale_type
You also might want to make sure there aren't any NULL values in future_supply or in TYP and if there are you might want to consider using an NVL for these, like this:
DECODE(final.TYP,'Sales',NVL(to_char(final.future_supply,NULL),'B/O','B/O', default_value) sale_type
Also, when using DECODE you don't always need to use TO_CHAR as the DECODE conversion to a string typically takes place automatically. CASE is different as it insists that all results are of the same data type.
Hope this helps
Best wishes
Michael -
Invalid number error (urgent)
hi..
in my stored procedure i have been used
the fallowing query
SELECT COUNT(*) INTO v_pmCount FROM (SELECT
MEM_ID,
MEM_FNAME,
MEM_LNAME,
MEM_EMAIL,
MT_DESC,
MEM_EMP,
MEM_REGDATE,
MEM_PROMO_CODE,
MEM_DEL_STATUS,
(SELECT ALBUMCOUNT FROM VIW_MEM_ALBUM_CNT WHERE MAL_MEMID=MEM_ID ) AS ALBUMCNT,
ORDERCOUNT AS ORDERCNT,
DECODE(UPL_STATUS,'','N',UPPER(UPL_STATUS)) AS UPLOADERST,
MT_ID,
TOTPV,
MEM_USAGE.MUL_AVAIL_PHOTOS,
MEM_USAGE.MUL_PHOTOS_USED,
MEM_REF_ID,
MEM_NSE_DIST_ID,
MEM_NSE_CUST_ID,
MEM_DIST_ID
FROM
MEMBER,
VIW_ORDERPV_CNT,
UPLOADSTATUS,
MEMBER_TYPE,
MEM_USAGE
WHERE
MEM_TYPE = MT_ID
AND
MEM_ID=ORD_MEMID(+)
AND
MEM_ID=UPL_MEMID(+)
AND
MEM_DEL_STATUS<>'Y'
AND
ORD_STATUS(+) IN ('S')
AND
MEM_USAGE.MUL_MEM_ID = MEMBER.MEM_ID);
|| ' ' ||v_pmFMail||v_pmFName||v_pmLName||v_pmOrderid||v_PmxIdFieldName||v_pmNseFieldName||v_pmOrderBy);
i'm given the input only for
v_pmFMail as 'AND UPPER(MEM_EMAIL) LIKE ''[email protected]%'''
it gives the error
ORA-01722: invalid number
pls give solution
Message was edited by:
user448073Perhaps if you could explain how this is related to the XML features of the database we could help. If it's not related to the XML features, and there is nothing in your post to suggest it is you would get a faster response by posting in the correct forum
General Database Discussions
or
PL/SQL
may be appropriate for non XML Issues. -
Contains invalid characters its very urgent
Hi,
I am working production system for master data full load address neumebr attributes. error is
Value 'R GARCIA LORCA, 301 LOJA 40 ' for characteristic 0STREET60 contains invalid charac RRSV 7.
Please help how to find which char has invalid char.please help its very urgent.
Thanks
SumanthI don't see any invalid char there, I don't think it is displaying all the char which was passed to the data target. There might be more, so go to the specific record in psa and see if there is any. If there is non, check your rskc setting in your system. It should be ALL CAPITAL.
Thanks
Wond -
Hi All,
I am developeing some self service application thru Oracle Application Framework(OAF). There I am fetching 5 attributes from the database and displaying those attributes in my main page Table Region. Now my requirement is i want to edit that exising values & again i want to store it in the databse while clicking the update button. so first i have created one VO for fetching the values from the database & i make one Table Region in my main page along with 5 MessageTextInput field.. & i mapped that VO's attributes to my textbox.Now i can able to fetch & display the values inside the text box while rendering the page.
But I dont know how to update the values in the database. Caz in my VO I have only select query. So anyone plz send me the code for update. And also plz let me know where to insert that code..whether (CO or AM or EO)..it is very urgent.
Thanks
sriniDavid,
Note that the default JavaBean datacontrol does not allow create/remove and transaction operations. These apis are not implemented for the JavaBean datacontrol.
You may re-initialize the rowsetiterator, by calling ((oracle.adf.model.generic.DCRowSetIteratorImpl)iteratorBinding.getRowSetIterator()).clearCurrentData().
This will force the RSI to refresh it's data via the named-accessor again. -
Hi experts,
How to copying database without Data.
Its very urgent..pls help out me......
Thanks
VijayUse Transfer database objects task or script the objects out using generate scripts wizard from SSMS and apply them in the new server
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Error message: snapshot too old: rollback segment number( very urgent)
Hi everybody,
I have a question regarding an oracle error message <b>snapshot too old: rollback segment number</b>.
I get this message when I run a SQL script in Oracle server. To be clear, I wrote the SQL script to extract the data from SAP R3 via Oracle server.
Could somebody please help me with this issue? It's very urgent.
The SQL statement which I use at this moment is:
set undo_management auto
set undo_retention
Please help me with this issue.
Thanks in advance.
Regards,
Esratit´s very uncommon to have an Oracle version higher than the client versions of the tools.
I suggest:
- Check the note mentioned now several times
- upgrade to a supported newer Oracle release
Markus -
Material Number and Serial Number are not getting filled...Very very urgent
I have my code in the badi...CRM_EQUI_LOAD...method PERFORM_LOAD.In this i try to to create a component for the ibase using the function module... CRM_ICSS_CREATE_COMPONENT...The component gets created but the material and serial number are not getting updated...It is very very urgent..please help....
I am not sure what information you are passing in given FM.
But in my case I have used FM 'CRM_CREATE_IBASE_FROM_EQUI' to create Ibase and component. It creates IBase and Component along with other details like material number and serial number.
you may refer the below code for the same >
Call the standard handling for crm equi load.
call function 'CRM_CREATE_IBASE_FROM_EQUI'
exporting
is_header = is_header
it_equi_dmbdoc = it_equi_dmbdoc
changing
et_error_segments = ct_error_segment
exceptions
technical_error = 1
others = 2.
if sy-subrc <> 0.
raise equi_load_badi_error.
endif.
Cheers,
Ashish -
Getting an error "invalid Number" while populating Xref database
Hi all,
My target table(XREF_DATA) has the following parameters and its respective datatypes:-
XREF_TABLE_NAME
XREF_COLUMN_NAME
ROW_NUMBER
VALUE
IS_DELETED
LAST_MODIFIED
LAST_ACCESSED
All are of varchar2
But when i am executing the interface and observing the results then this error crops up:-1722 : 42000 : java.sql.SQLException: ORA-01722: invalid number at the stage
Insert flow into I$ Table(I$_XREF_DATA)
I have used CKM, LKMSql to Oracle and IKM Oracle Incremental Update)
My target table has all varchar2 datatype, then why is it giving this invalid number error?
Regards,
SouravHi,
You can copy the SQL code generated by ODI ( for the step giving this error) and then try to execute it via any SQL client like toad/ sql developer etc.
This will help you to find the wrong data .
Also is LAST_MODIFIED and LAST_ACCESSED have datatype as VARCHAR2 ? From the name it seems it is ment to have DATE .
Thanks,
Sutirtha -
Invalid Number : Database Procedure Proxy
Hi Folks,
I am trying to create DB Procedure proxy in ECC with importing parameter as table(OUT). It is giving a dump says Invalid Number(SQL Error 339). It works perfectly for scalar outputs.
SreehariHi Sreehari,
Can you please share the script you used to create?
Best Regards,
Ranjit
Maybe you are looking for
-
Hello Vivek here, i was trying to download apps from itunes and i could get the error message as itunes currently not available for past 2 days, is there any problem ideally or, please leave a reply <Email Edited By Host>
-
Problem Installing Oracle 8.0.5 on Windows 2000 Server (SP2)
When i trying to install Oracle 8.0.5 on Windowns 2K Server (with SP2), after migration from NT4, the process the installation stop (CD, screen) when load DLLs Oracle, without msg error. (I Know Oracle 8.0.5 is pretty old, but...i have). I'm not sure
-
IPhone 3g on 3.1 OS wi fi
So I was on my wi fi the other day then all the sudden I did a backup of my phone and the wireless no longer worked... Does that make sense? I can't get it back for anything.
-
Good morning, We just received 3 computers of the same series new Lenovo computers. When we try to pxe them, it hits our first splash screen...flashes "preparing network connection" and then sits still...nothing. After a few minutes, it will restar
-
Master Page pertaining to one bodypage appearing in another bodypage
Hello All, I am implementing an Adobe form with the following layout. 1. First page consisting of some header information and an item table For this, I have created a master page MP1 and a new bodypage BP1, with following specifications -