Data load rule for BefImport script getting failed due to the error Code ORA-01858

Hello guys,.

I'm trying to load some data from the views created in EBS to HFM using FDMEE with the help of the BefImport Script. To do this, I wrote script below:

_________________________________________________________________________________________________________________________________________________

import java.sql SQL

import sys

batchName = "Batch_" + str (fdmContext ["LOCNAME"])

insertStmt = «»

stmtRS = «»

If (fdmContext ["LOCNAME"] is "LOC_OIA_FA_CORP1"):

"insertStmt = '"

INSERT INTO AIF_OPEN_INTERFACE)

BATCH_NAME

YEAR

PERIOD

PERIOD_NUM

CURRENCY

COL04

COL05

COL07

COL08

COL09

COL10

COL11

QUANTITY

) (VALUES

?

,?

,?

,?

,?

,?

,?

,?

,?

,?

,?

,?

,?

)

"""

sourceConn = sql. DriverManager.getConnection ("jdbc:oracle:thin:@ebsr12dbcnvgl.abc.com:1541:avc", "pppp", "nnnnn");

# Limiting the number of rows to 5 during the test runs.

selectStmt = 'SELECT TEMP_VIEW. PERIOD_YEAR, TEMP_VIEW. PERIOD_NAME, TEMP_VIEW. PERIOD_NUM, TEMP_VIEW. CURRENCY_CODE, TEMP_VIEW. SEGMENT1, TEMP_VIEW. SEGMENT2, CONCAT (TEMP_VIEW. SEGMENT3, TEMP_VIEW. "SEGMENT4) AS SEGMENTX, TEMP_VIEW.SEGMENT5, TEMP_VIEW.SEGMENT6, TEMP_VIEW.SEGMENT7, TEMP_VIEW.SEGMENT8, TEMP_VIEW.NETBAL FROM TEMP_VIEW WHERE THE QUAD IS NOT NULL.

stmt = sourceConn.prepareStatement (selectStmt)

stmtRS = stmt.executeQuery)

batchName = "Batch_" + str (fdmContext ["LOCNAME"])

While (stmtRS.Next ()):

params = [batchName, stmtRS.getString("PERIOD_YEAR"),

stmtRS.getString ("PERIOD_NAME"),

stmtRS.getString ("PERIOD_NUM"),

stmtRS.getString ("CURRENCY_CODE"),

stmtRS.getString ("SEGMENT1"),

stmtRS.getString ("SEGMENT2"),

stmtRS.getString ("SEGMENTX"),

stmtRS.getString ("SEGMENT5"),

stmtRS.getString ("SEGMENT6"),

stmtRS.getString ("SEGMENT7"),

stmtRS.getString ("SEGMENT8"),

stmtRS.getBigDecimal ("NETBAL")]

fdmAPI.executeDML (insertStmt, params, False)

fdmAPI.commitTransaction)

stmtRS.close)

stmt. Close()

sourceConn.close)

_________________________________________________________________________________________________________________________________________________

But my DLR gets failed. When I checked the ODI journal for this, I found that it is said: stmtRS = stmt.executeQuery () and display and error code problem:

java.sql.SQLDataException: java.sql.SQLDataException: ORA - 01858: a nonnumeric character where waiting a digital.

What is the problem? Kindly help.

Thank you

Concerning

Nishant

Nishant

small Question... What version you use.  the latest Patch is now universal data adapter that allows for a direct import of the tables and views without the need to use the Interface open to scene data table

If you're not on current patch.100 then you should look at the data types for the OpenInterface table... you can see the number.  I guess it's the column YEAR or PERIOD_NUM giving you seizures

If you run your code in Eclipse before you deploy I'd print our your insertStmt SQL and then try to run in SQLDeveloper.

Hope this helps

Wayne

Tags: Business Intelligence

Similar Questions

  • Update Vista Update Readiness Tool system for Windows Vista (KB947821) [September 2009] - Installation failed due to the error Code 09370001 - how can I solve this problem?

    I have the same error Code 09370001 which appears whenever my PC is trying to install the update: System Readiness Tool for Windows Vista KB947821... I have 7 failures of my PC, try to install this update.

    My system is:
    Windows Vista Premium Hm
    Intel (r) Core (TM) 2 Duo processor T7250 @ 2.00 GHz
    3.00 GB RAM
    Mobile Intel (r) 965 Express Chipset Family

    Can someone guide me how I can get this update to install?

    Thank you so much in advance.

    Free unlimited installation and compatibility support is available for Windows Vista, but only for Service Pack 2 (SP2). This support, initially planned to end on November 26, 2009, has been extended until February 26, 2010. Availability of support chat or messaging differs depending on your location. Some questions may require that more support for which he is advanced a charge.  Go to http://support.microsoft.com/oas/default.aspx?prid=13014&gprid=582034 & select appropriate category (i.e., download problem;) Installation problem; Problems after installing a service pack). ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • I keep getting failed to install with error codes 643 and 646 on my Vista, when I install updates for Windows... What should I do?

    I keep getting failed to install with error codes 643 and 646 on my Vista, when I install updates for Windows... What should I do?

    Hello

    Try this 1st to see if it helps, and it should:

    Description of the Patch registration cleanup tool
    http://support.Microsoft.com/kb/976220/

    ------------------------------------------------------

    If necessary :

    Try this - Panel - Windows Updates - on every update that will not be installed - click on the important updates
    or the update itself - double click a view more information (or click top then discovers on the right)

    Those who will take you to a page where you can download the update.

    Or go here and the KBxxxxxx number to download it.

    Download Center - mount the KBxxxxxx.

    Microsoft Download Center
    http://www.Microsoft.com/downloads/en/default.aspx

    Download - SAVE - go to where you put them - click on - RUN AS ADMIN

    Then you can right click on the update in the updates Windows and HIDE.

    If you get an error Installer install this version:

    Windows install 4.5 Redistributable
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en

    ----------------------------------------------------

    Then run this:

    How to reset the Windows Update components? -a Mr Fixit
    http://support.Microsoft.com/kb/971058

    Description of the system for Windows Vista, Windows Server 2008, update tool and
    for Windows 7
    http://support.Microsoft.com/kb/947821

    ------------------------------------------------------------
    Because these are all Office updates you might get more information if necessary in the Agency of those groups that
    may have experienced the same problem.

    Office newsgroups
    http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx

    Microsoft.public.office.misc discussions
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Office.misc&cat=en_us_01cb749f-c998-4762-8099-df71793c11c7&lang=en&CR=us

    ------------------------------------------------------------

    If necessary you can incident free get reports however the above should take care of it for you.

    Windows updates - free Incident report

    Go here and click on-> Windows Update fails while searching, downloading or installation of updates
    http://support.Microsoft.com/GP/wusupport#tab3

    The security updates, you can get free support Incident report
    http://www.Microsoft.com/protect/resources/support.aspx

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • I tried to install an update for CS6, but every time he tells me that the installation failed due to the error um44m2p7 help please!

    I tried to install an update for CS6, but every time he tells me that the installation failed due to the error um44m2p7 help please!

    Refer

    Do not install updates | Failure to update or U44M errors

  • Group Policy infrastructure failed due to the error below. The specified domain does not exist or could not be contacted.

    using several Windows 2003 domain in an attempt to push the msi using Group Policy is following on xp sp3 machine error

    Group Policy infrastructure failed due to the error below.
    The specified domain does not exist or could not be contacted.

    Note: Due to the GP Core failure, no other component processes Group Policy policy.  Consequently, status information for the other components are not available.

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Technet Windows Forums. Here is the link:
    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

  • I'm opening a Windows Live Messenger email account different everytime I try to connect I get WE cant connect to messenger due to the error Code 80048821

    How to get past error Code 80048821 for a fool to count

    I'm opening a Windows Live Messenger email account different everytime I try to connect I get WE cant connect to messenger due to the error Code 80048821. I'm a fool to computer I have not a clue as to what the words mean. Or how to follow instructions for geeks or people who understand computers. Sorry but people there are still a lot of people in the world who do not understand the computer speech. Can you help me Mx Easom

    Hello MaxEasom,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • Update for Windows XP (KB2653956) security fails to apply the error Code 0 x 80070005

    Update for Windows XP (KB2653956) security fails to apply with error Code 0x80070005. I tried unsuccessfully to automatic and manual applications. I am looking for a solution to this problem.  "Cumulative Security Update for Internet Explorer 8 for Windows XP (KB2675157)" do not either as well.

    Running Windows XP service Pack 3 completely updated except the above mentioned fixes.

    Thank you

    One of the most common causes of this error code is the Anti Virus and Anti Spyware software running on the computer.

    You can try to disable them, and then try the updates again. Keep the firewall however.

    Recommendations for computers that are running Windows Server 2003, Windows 2000, or Windows XP Antivirus
    http://support.Microsoft.com/kb/822158

    How to reset security settings to default values
    http://support.Microsoft.com/kb/313222

    Solve installation errors using the SubInACL tool to repair the file and registry permissions
    http://blogs.msdn.com/astebner/archive/2006/09/04/739820.aspx

  • Where can I get a list of the error codes for InDesign server

    I use InDesign server to the process that a lot of jobs and could not find a list of error codes generated by InDesign Server. Specifically, I'm looking for error codes generated in cases where the InDesign customer seem to have made a mistake. To give an analogy, the Apache HTTP Server generates class 4xx Code of the status each time the client seems to have erred. Is there a list of error codes similar for InDesign server.

    For example:, I wrote a work to convert .indd idml files and voluntarily gave a corrupt .indd file to convert. I got the following response code.

    Error code: 29441

    Error message: could not open the file "corrupt_file.indd". Adobe InDesign Server can not supported file format, a plug-in that supports the file format is may be missing, or the file may be open in another application.

    I couldn't find a reference to the error code 29441 in the Adobe documentation. All leads or references?

    Thank you

    Michel

    You can download here CS6 server error codes:

    Dropbox - errorcodes.htm

  • Windows update fails and receive the error code 80070652

    I'm tryin to run updates on my computer but I keep reciveing a message that says that it fails and the error code 80070652.

    You post your question in the wrong Forum.

    Windows Update Forum:

    It comes with Vista, upgrade install and activate Forum.

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly include the Error Codes, and exactly what is happening when you try to update.

    In this way, you will receive the best help.

    See you soon.

    Mick Murphy - Microsoft partner

  • I get the error Code: ORA-01008: not all variables

    Hi all

    When I try to insert data into a table through the procedure am getting following error...

    Error code: ORA-01008: not all variables.

    But if I run the same query on the outside passing the parameters it works well. When I run the Insert through the procedure statement, I don't get all the variables related error.
    I'm passing two numbers as parameters. But I don't know why I get this error.

    Could someone suggest me please.



    Thank you
    Sree

    http://lmgtfy.com/?q=ora-01008%3A+not+all+variables+bound.

    Good bye
    DPT

  • Automatic update for KB2686509 fails due to 0x8007F0F4 error code. Help!

    Automatic update has tried several times to install this update, and each time it fails.  Am running Windows XP, IE8... do I have some kind of virus that can be fixed?

    Suggest that you first spread malware as the cause of the problem by following these steps:

    I. - delete your temporary files

    Clean the system (compensation to all temp/tmp folders and included all the content offline, the tif browser, delete the cookies of compensation.)

    http://winhelp2002.MVPs.org/delcache.htm>

    Click Start > all programs > Accessories > System Tools > Disk Cleanup
    II. - have your system scanned as a result of security/antivirus installed.
    III. - run this tool from Kaspersky: how to remove malware belonging to the family of Rootkit. Win32.TDSS

    http://support.Kaspersky.com/viruses/solutions?QID=208280684>
    IV. - download, install, update and run both of these tools to a-squared free scans:

    A very good antimalware app is SUPERAntiSpyware (SAS) and MalwareBytes Anti-Malware (MBAM).

    It is recommended to use the intelligent quick scan regularly, and complete analysis on a longer frequency - weekly, monthly - or only when something is found or you have a reason to suspect

    MalwareBytes anti-malware (MBAM)

    http://www.Malwarebytes.org/products/malwarebytes_free>

    SUPERAntiSpyware (SAS)

    http://SUPERAntiSpyware.com/superantispywarefreevspro.html>

    V. - run the Windows XP and Windows Server 2003 System File Checker (Sfc.exe) tool:

    http://support.Microsoft.com/kb/310747>

    VI. - If any malware has been detectedthere is a Fixit on this page that will reset Windows components to update:
    Read the article KB971058 via Internet Explorer-(only( )
    How to reset Windows Update http://support.microsoft.com/kb/971058components >

    Suggest you download and Save it. Then, close all the open programs and web browsers.
    Run Microsoft Fixit 50202.msi and choose its default mode.
    After that he finished the race, see if the return code is displayed again when looking for updates.

    If not, then run the Fixit once more and choose his Aggressive mode.
    Restart once it is finished and see if the return code always appears when the updates.

    UTC/GMT is 14:30 on Wednesday, May 23, 2012

  • Security for Windows KB923723 update fails to install. Error code 0 x 80070003.

    I downloaded the Microsoft Fix It and he has done some repairs, but again, I'm not able to download the security update KB923723. Thank you.

    You receive an error '0 x 80070002' or '0 x 80070003' code after you download an update from Windows Update, Microsoft Update or Windows Server Update Services
    http://support.Microsoft.com/kb/910336

    When you search for available updates on the update site, you see the Error 80070002 0 x or 0 x 80070003
    http://update.Microsoft.com/windowsupdate/v6/showarticle.aspx?articleid=17&LN=EN&IsMu=false

    Error message when you try to download the updates on the Microsoft Windows Update Web site or from the Microsoft Update on a Windows XP computer's Web site: "0 x 80070003".
    http://support.Microsoft.com/kb/916248

  • Authentication failed due to the error System.

    After spending my fundamental problem with Burrito and 0.9.3 I advanced and made the PlayBook in 90-minute tutorial.

    When running in mode 'on the desktop", the app works great and works.

    When I change mode "On Device" and that the running virtual machine Simulator, then I get the following error:

    Error occurred during the launch of the application installed on the device:
    Error: Authentication failed because the system error...

    I tried to run it without the Simulator VM has started and got the error could not find the device.  I also double checked the password, even if the VM simulator gave me a few problems when I changed passwords.

    Anyone who encountered this problem?

    On a side not, the .bar file was created for the application in the bin-debug folder.

    Hey, Logan,

    sounds like your conditioner ran finding, but when it came to deploy you stumbled upon an error. the only thing that comes to mind (as you already double check passwords) is either a firewall issue, you can check by turning off your firewall temporarily, or maybe your Simulator is not up-to-date (separate in the SDK installation). The latest version is the 0.9.3. Good luck!

  • I can't backup DVD for Windows Vista operating system due to the error of 0x8007001B

    I can't finish a DVD upward on my Windows Vista operating system.  This is due to an 0x8007001B error code.  I was unable to complete the fix to services.msu

    Hi mine,

    This isn't a question of MSE - there is a problem with Vista or your computer or your software backup or your DVD player or its drivers or something else. We are not the right people to answer your question and give you the best possible options and solutions - you have to talk to the experts.

    Please repost at: http://answers.microsoft.com/en-us/windows/forum/windows_vista-system?page=1&tab=all&tm=1304884961900 where specialists who understand and focus to help with these issues will be more than happy to help you.

    Although not my area of expertise (and you're welcome to ignore it and just after to the other forum), I did do research in any case and believe that the problem involves the corruption on your hard drive (although I could certainly be wrong - it is more likely to be the case if the full error message includes "drive cannot find sector requested" but you don't get the full error message, so I don't know). To try to fix it, if that is the problem, follow these steps:

    Go to start / all programs / accessories / command prompt and right click on command prompt, and then click Run as administrator.

    While in the command prompt, type chkdsk /f /r and enter and let it run. They tried to set itself to run at the next reboot. Answer Yes and restart to run the program. It will scan and attempt to resolve any corruption or bad sectors on your hard drive and remove especially as a potential cause.

    If this does not work, test better clean your hard drive. To test your hard drive, check the manufacturer and try to diagnosis HD (http://www.carrona.org/hddiag.html) or this test: hard drive diagnostics tools and utilities (storage) - Corp of TACKtech (http://www.tacktech.com/display.cfm?ttid=287). If it passes the tests, there's probably nothing wrong with it and you must do to the other support forum. If it fails, which include in your post on the other forum and let them advise you how to proceed.

    I hope that the above solves the problem. If this isn't the case, I am confident, they can help you in the other forum, because that's what they specialize in. It would help if you posted the message Word for Word that is accurate and complete, including all codes. In addition, it would help them if you explain the difficulty you mention services involving (a link to the site where you found the solution or at least what exactly you did and what has happened or not happened when you tried). And if you've tried my suggestions above, include the results in your message (so they don't ask you to do it again and will be able to exclude).

    Good luck and best wishes!

  • Lightroom 6 loading the disk on a 64-bit windows new computer 8 and I continue get failed with just an error code 7. Advice.

    Help

    Exit code: 6, Exit Code: 7 Installation error - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html

    The problems with the Setup logs. CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for more information on how to review your Setup logs

Maybe you are looking for

  • Satellite L550 - lack drivers for Bluetooth

    Attempts without end to get my cell phone Nokia 7230 working with the Bluetooth on my Toshiba Satellite L550, but nothing happens. When I try to download the drivers, it says plug it. Also, I get this message of Nokia PC Suite. I get the message that

  • Cannot find drivers for Win 7 for Satellite A300 PSAG4A-02L00M

    I have a model A300 # PSAG4A-02L00M running windows 7) 32-bit).I need to get updates driver for it, but everywhere where I look at give me only Vista or XP drivers. Someone know where I can find the updated drivers for this?

  • Warranty and service for carbon models Thinkpad X 1 in India

    Hello I intend to buy a Thinkpad X carbon 1 with US. If something happens to any part of this model, it will be replaced/repaired in India. I sent by mail in support of lenovo to the same questions, but I have big get no response. I called the servic

  • ACS 5.1 accounting

    Hello Does anyone know how to change the retention / purge period fot that accounting records 5.1 ACS. Thank you very much Jason

  • the upgrade from VISTA to WINDOWS8 - BACKUP.1 does not WORK

    UNTIL I NEW COMPUTER RUNNING WINDOW8 I MADE A BACKUP OF THE USB STICK 32 OF MY FILES ON THE VISTA MACHINE. WHEN I TRY TO RUN PROGRAM BACKUP.1 IS BLOWS UPWARD LOOKING FOR 'MSVCP71. DLL? I LIKE THEM I'M THE ONLY ONE NO ONE IN THE WORLD, WHO ATTEMPTED T