Compare records in a FORM with that in an Excel file

Guys,
As part of automating a Payroll process I need to compare the records on an Oracle FORM to that in an external Excel file. There are multiple columns that need to be compared. Does anyone have a sample ATS Java script to do this that I can refer to? I am using the external file as a databank.
Thanks,
Murali.

Murali,
For each part of your Oracle Form -- set a variable, this is often done for you during record. Since you are doing text matching -- add a text matching test for each place on the form that you want to check against your excel file.
Personally, I'd save it as a csv. But I suppose it will work as an xls.
Then just name the columns of your excel sheet to be the same as the name of the variables you are looking for on the Oracle form.
You shouldn't have to do any coding to make this happen, its all built in oats functionality. You should be able to do all of this stuff from OFT or openscript.
Once you have that -- you'll need to set the test to iterate smoothly -- which means having the last step of your RUN section return you to the same page as the first step of the RUN section.
Then just set your test to iterate however many rows of the databank you want and you'll be going through and comparing each row of data to the information returned by the oracle form.
For instance --
You are looking up a customer by cust_id and you will get address (add1), name (name), phone number (phone) back and want to make sure these are all correct.
Your data bank will look like this:
cust_id, add1, name, phone
1234, 100 Main St, John Doe, 800-555-1212
5678, 200 5th Ave, Suzie Queue, 800-555-1234
Your test steps will look like this (they are not exact)
Step 1) Go to the start of the Oracle Form
Step 2) Select the Form section to enter the Cust_ID {variable to get Cust_ID from databank} Enter the 1st Cust_Id from the databank
Step 3) Get additional information for the specific Cust_ID from the Form
Step 4) Select the Address and do a text matching case {variable to get Add1 from databank}
Step 5) Select the Name and do a text matching case {variable to get Name from databank}
Step 6) Select the Phone # and do a text matching case {variable to get Phone # from databank}
Step 7) Pass test and enter message indicating that {variable to get Cust_Id from databank} is all correct
Step 8) Return to the start of the Oracle Form
I hope this is helpful.
--tiff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to pass record Group from Forms with DATA_PARAMETER to Reports Server

    How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
    We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
    How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    Thanks,
    Arif

    Hi Mandeep,
    Could you please tell me how can i pass data parameter from forms to report through run_product.

  • Is there something comparable to My Documents in Windows that will allow pdf files in Quickoffice to appear?

    I have an iPad 2. I need to send pdf files from Quickoffice to my school's copy center for duplication to distribute to my students. When I click on choose files at the SUNY's copy center, I am only able to access Camera Roll and Photo Stream. Is there something comparable to My Documents in Windows that will allow pdf files in Quickoffice to appear?

    Perhaps I am not clearly stating my problem. I always used my desktop or laptop to send files that were handouts to the copy center since I do not use a textbook for one English class. Both crashed within a two-day span so until I can get one fixed, I am hoping to use the iPad. I have all my files saved as PDF files in my email. I have added the Quickoffice app and transferred next week files from school email to Quickoffice. When I access SUNY's website to send my files to be copied and click on choose file, all that is there are photos. If there is not a central location in iOS, then how would I manually sync the files in Quickoffice to whatever is allowing the photo files to appear?

  • How to download alv grid output(with field catalog) into excel file format

    Hi all,
    How to download alv grid output(with field catalogs) into excel file format and same file has to download to application server.
    Please help.
    Regards,
    Satya.

    Hi,
    On list where alv is displayed, select export icon( green color -> ),select spread sheet.
    This will display records in Excel sheet.

  • Email with attachment as an excel file

    Hi,
    Do you have any ABAP example that can send email with attachment as an excel file? Please help, thanks!

    Hi,
    Please search in the Forum and you will get N number of threads for this.

  • Need help with PHP form with checkboxes, radio buttons and file attachment

    Hi guys,
    I'm having a nightmare with this PHP form where a user can fill it in, attach a doc/pdf and submit. After trying to sort it out with previous code I've used, I've stripped it out and think I should just start again in the hope you geniuses can help!
    Here is the HTML of contact.php:
    <form action="" method="post" name="contact" id="contact">
        <p>Job Title:*<br />
        <input name="position" type="text" /></p>
        <p>Nationality:*<br />
        <select name="nationality">
          <option value="">-- select one --</option>
          <option value="Afghan">Afghan</option>
          <option value="Albanian">Albanian</option>
          <option value="Algerian">Algerian</option>
          <option value="Zambian">Zambian</option>
          <option value="Zimbabwean">Zimbabwean</option>
        </select>
        </p>
        <p>Which country are you currently living in?*<br />
        <select name="country">
        <option value="">-- select one --</option>
        <option value="United Kingdom">United Kingdom</option>
        <option value="Afghanistan">Afghanistan</option>
        <option value="Africa">Africa</option>
        <option value="Zambia">Zambia</option>
        <option value="Zimbabwe">Zimbabwe</option>
        </select>
        </p>
        <label class="radio" for="checkRight">Yes/No question?</label><br />
        <input class="radio" type="radio" name="right" value="Yes" /> Yes
        <input class="radio" type="radio" name="right" value="No" /> No
        <input class="radio" type="radio" name="right" value="N/A" /> Not applicable
        <p>Yes/No question?<br />
        <select name="continue">
        <option value="">-- select one --</option>
        <option value="Yes">Yes</option>
        <option value="No">No</option>
        </select>
        </p>
        <p>Select your resorts:<br />
        Resort 1<input name="res1" type="checkbox" value="Resort 1" />
        Resort 2<input name="res2" type="checkbox" value="Resort 2" />
        Resort 3<input name="res3" type="checkbox" value="Resort 3" />
        Resort 4<input name="res4" type="checkbox" value="Resort 4" />
        Resort 5<input name="res5" type="checkbox" value="Resort 5" />
        Resort 6<input name="res6" type="checkbox" value="Resort 6" />   
        </p>
        <p>Don't send form unless this is checked:* <input type="checkbox" name="parttime" value="Yes" /></p>
        <p>Date of arrival: <input name="arrive" id="datepick" /><br />
        Date of departure: <input name="depart" id="datepick2" /></p>
        <script type="text/javascript" src="assets/scripts/datepickr/datepickr.js"></script>
        <link href="assets/scripts/datepickr/datepickr.css" rel="stylesheet">
        <script type="text/javascript">
        new datepickr('datepick');
        new datepickr('datepick2', {
        </script>
        <p>Name:*<br />
        <input name="name" type="text" /></p>
        <p>E-mail:*<br />
        <input name="email" type="text" /></p>
        <p>Telephone:*<br />
        <input name="telephone" type="text" class="ctextField" /></p>
        <p>Upload CV (Word of PDF formats only):<br />
        <input type="file" name="cv" class="textfield"></p>
        <p><input name="submit" value="Submit Enquiry" class="submitButton" type="submit" /><div style="visibility:hidden; width:1px; height:1px"><input name="url" type="text" size="45" id="url" /></div></p>
    </form>
    By the way, the date boxes work so excuse the Javascript in there!
    To prevent SPAM I've used a trick where there's a hidden URL field which must be left blank for the form to submit which you can see in the PHP.
    Below is where I'm at with the PHP which is placed above the header of contact.php...
    <?php
    if (array_key_exists('submit', $_POST)) {
        $position = $_POST['position'];
        $arrive = $_POST['arrive'];
        $nationality = $_POST['nationality'];
        $parttime = $_POST['parttime'];
        $depart = $_POST['depart'];
        $name = $_POST['name'];
        $email = $_POST['email'];
        $telephone = $_POST['telephone'];
    $to = "[email protected]";
    $subject = "Recruitment Application";
    $message = $headers;
    $message .= "Name: " . $_POST["name"] . "\r\n";
    $message .= "E-mail: " . $_POST["email"] . "\r\n";
    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
    $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
    $headers .= 'From: My Website <[email protected]>' . "\r\n";
    $message= "
    $url = stripslashes($_POST["url"]);
    if (!empty($url)) {
    header( 'Location: http://www.go-away-spam-robots.com' );
    exit();
    if (!isset($warning)) {
    mail($to, $subject, $message, $headers);
    header( 'Location: http://www.mywebsite.co.uk/sent.php' );
    ?>
    I would like to make pretty much all the field compulsory so if a field is left empty (other than the hidden URL field), a warning message is displayed next to that field.
    Also I would like the file upload field to attach to the email that is sent to me and have the results come through to me in a table format.
    Can anyone help me get my form working?
    Thank you and I hope to hear from you!
    SM

    Hi Nancy,
    Great stuff, thank you for the reply.
    I've managed to get the Formm@iler working and running as I need it to.
    The only thing I'm struggling with is when the user clicks submit, they are taken to a page of whatever results the form returned but it is just a white background with Times New Roman text.
    How can I have it so the user is taken to the form results in the websites' page layout?
    I tried sending them to a generic 'thank you' page by adding the following code but it just took them there whatever the results of the form so that's no good...! I have a feeling it's a bit more complicated than that...
    header( 'Location: http://www.nofussbus.co.uk/test/sent.php' );
    Thank you for your help!

  • How to Open multiple form with only one screen painter file

    Hi all ,
    I want to reopen the form without closing the active form ,i want to use same srf file ..
    I have already try it but form already exist error occur .
    pl help me , how to do it ?
    how to open multiple form with same srf file without closing active forms .
    thanks in advance,
    msw

    <?xml version="1.0" encoding="utf-16" ?>
    <Application>
      <forms>
        <action type="add">
          <form appformnumber="-1" FormType="-1" type="0" BorderStyle="0" uid="BOE" title="Bill of Entry" visible="1" default_button="1" pane="0" color="0" left="365" top="62" width="801" height="410" client_width="785" client_height="372" AutoManaged="1" SupportedModes="15" ObjectType="">
            <datasources>
              <dbdatasources>
                <action type="add">            
                </action>
              </dbdatasources>
              <userdatasources>
                <action type="add"/>
              </userdatasources>
            </datasources>
            <Menus>
              <action type="enable">
                <Menu uid="1282"/>
              </action>
              <action type="disable">
                <Menu uid="5890"/>
              </action>
            </Menus>
            <items>
            </items>
            <ChooseFromListCollection>
              <action type="add">
                <ChooseFromList UniqueID="-1" ObjectType="-1" MultiSelection="0" IsSystem="1"/>          
              </action>
            </ChooseFromListCollection>
            <DataBrowser/>
            <Settings Enabled="0" MatrixUID="" EnableRowFormat="1"/>
          </form>
          <form appformnumber="-1" FormType="-1" type="0" BorderStyle="0" uid="BOE1" title="Bill of Entry" visible="1" default_button="1" pane="0" color="0" left="365" top="62" width="801" height="410" client_width="785" client_height="372" AutoManaged="1" SupportedModes="15" ObjectType="">
            <datasources>
              <dbdatasources>
                <action type="add">
                </action>
              </dbdatasources>
              <userdatasources>
                <action type="add"/>
              </userdatasources>
            </datasources>
            <Menus>
              <action type="enable">
                <Menu uid="1282"/>
              </action>
              <action type="disable">
                <Menu uid="5890"/>
              </action>
            </Menus>
            <items>
            </items>
            <ChooseFromListCollection>
              <action type="add">
                <ChooseFromList UniqueID="-1" ObjectType="-1" MultiSelection="0" IsSystem="1"/>
              </action>
            </ChooseFromListCollection>
            <DataBrowser/>
            <Settings Enabled="0" MatrixUID="" EnableRowFormat="1"/>
          </form>
        </action>
      </forms>
    </Application>

  • Problem withDeploy a Webdynpro application with generation of an Excel file

    Considered,
    the problem that we have is the following one: we are generating a file Excel from a Webdynpro application. At the time of executing it it throws the following error to us:
    java.lang.NoSuchMethodError: java.lang.StringBuffer.append (Ljava/lang/String;)Ljava/lang/AbstractStringBuilder;
        AT com.sap.lipigas.excelexportcomp.ExcelExportComp.trimHeaderText (ExcelExportComp.java: 413)
        AT com.sap.lipigas.excelexportcomp.ExcelExportComp.trimHeaderTexts (ExcelExportComp.java: 396)
        AT com.sap.lipigas.excelexportcomp.ExcelExportComp.toExcel (ExcelExportComp.java: 257)
    In order to solve the subject we asked to him our client so that they make deploy of the application from SAP NETWEAVER STUDIO of them. When making they deploy the application works without no problem.
    We are needing some component by which we cannot make deploy of the application? which would be that component?
    Beforehand, thanks.

    I tried it like you said, but i get the error: -2147217865
    exception occured.
    [Microsoft][ODBC Excel Driver] The microsoft jet database engine could not find the object 'Sheet1'. Make sure the object exists...
    So he doesn't seem to recognize a datasheet as a table (if i may compare it like this) when i choose the microsoft Excel driver with the workbook as described in your answer.
    Any ideas?
    i putted some attachements, maybe they make it easier to understand
    Attachments:
    test_excel_query.vi ‏37 KB
    test_query_excel.xls ‏90 KB

  • Problems with Adapter module converting Excel file to XML

    Hi All,
    I have created an adapter moduel to convert the input excel file to XML and have deployed it. While testing we found that there is an extra empty record with empty elements added additionally. Can anyone help on this?
    Below is the convert function used for it.
    public byte[] convert(byte src[],String msgType,String nameSpace) throws Exception
                        String xmldata = "";
                        try
                               ByteArrayInputStream byteArr= new ByteArrayInputStream(src);
                               Workbook wb = Workbook.getWorkbook(byteArr);
                               Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"AO: Conversion Started.");
                               xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\">";
                               Cell[] cells ;
                               Cell[] cellNames ;
                               cellNames = wb.getSheet(0).getRow(4);
                               for(int j=5;j<wb.getSheet(0).getRows();j++)
                                       xmldata = xmldata+"<Record>";
                                       cells = wb.getSheet(0).getRow(j);
                                       for(int i=1;i<wb.getSheet(0).getColumns();i++)
                                            xmldata = xmldata+"<"+cellNames<i>.getContents().replaceAll(" ","")+">"+cells<i>.getContents()+"</"+cellNames<i>.getContents().replaceAll(" ","")+">";
                                       xmldata = xmldata+"</Record>";
                                xmldata = xmldata + "</ns0:"+msgType+">";     
                                                            wb.close();
                         catch (Exception e)
                             Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"AO: Exception in Convert Method.");
                         return xmldata.getBytes();
    Regards,
    Malini
    Edited by: malini balasubramaniam on Mar 5, 2010 7:28 AM

    Hi,
    xmldata = xmldata+"<Record>";
    cells = wb.getSheet(0).getRow(j);
    for(int i=1;i<wb.getSheet(0).getColumns();i++)
    xmldata = xmldata"<"cellNames<i>.getContents().replaceAll(" ","")">"cells<i>.getContents()"</" ","")">";
    xmldata = xmldata+"</Record>";
    Can u please change this part of code as
    Hi,
    cells = wb.getSheet(0).getRow(j);
    if(cells.size()>0)  
    xmldata = xmldata+"<Record>";
    for(int i=1;i<wb.getSheet(0).getColumns();i++)
    xmldata = xmldata"<"cellNames<i>.getContents().replaceAll(" ","")">"cells<i>.getContents()"</" ","")">";
    xmldata = xmldata+"</Record>";
    Check first if the row is empty...
    im nt sure it is cells.size() or cells.length.. please try both
    Thanks & Regards
    Babu

  • FDM: Issues with importing mapping using excel files

    Hi All,
    I am trying to map ICP Entries using an excel file.
    I have made 2 mapping (explicit) entries, manually and exported it in Excel and then added all the Mappings in the same file, in proper format. when I am importing, I am not getting any error but the mapping is not getting updated and the new entries are also not getting added. so Ideally no Change in the tDatamap table.
    Environment details: FDM Version 11.1.1.3 is getting used. Target App is Essbase 11.1.1.3. able to connect to Essbase, no issues with connectivity.
    Has anyone face this issue.

    The section of the admin guide I reference will tell you how to create a properly formatted excel workbook. Import XLS will work if the excel workbook is set up properly. The import XLS functionality will not change existing records, only add new ones.
    Your template requires that the first cell is the table name. The second row is the table field names and rows 3 through X are the values to be inserted into the table. The named range beginning with UPS needs to highlight all of these rows and columns.
    Quite honestly, if you take the time to review the admin guide, I'm sure you'll find the answer that you need. Please understand that, like you, most of us that post on this board are consultants. We share knowledge to help the community better utilize the product. It's frustrating to hear that none of the answers that I previously provided you were at all helpful.
    Edited by: TonyScalese on Nov 30, 2010 3:23 PM

  • Reason to set MaxErrorCount along with Propogate value for Excel Files

    Hi,
    I had an ETL earlier which processed CSV files from a folder. The requirement was to load the error files into a Rejected folder but continue to process all the files from the source Folder. This requirement was satisfied by setting the value of the
    system variable "Propogate" in EventHandler section for DataFlowTask to "false".
    MaxErrorCount value for the ForEach Loop is having its default value as "1".
    When tested, it was working perfectly fine
    Now currently there is an Excel file as source having same requirement as above. But even when then variable "Propogate" was set to "false" as above, the execution was getting stopped when an error file was found.
    Later I found the below link :
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/0065b5c2-f633-4cbf-81f9-031d1ed25555/how-to-skip-wrong-excel-files-ignore-errors-on-ssis-foreach-task
    As mentioned in the link, I have done below changes
    1)Set MaxErrorCount for ForEachLoop to 1000
    2)"Propogate" variable is set to false
    Now this is working perfectly fine.
    Can you please let me know why did the setting of "Propogate" worked for CSV but did not work for Excel. For Excel files why was an additional setting for MaxErrorCount  was required.
    It would be very much helpful if I can get a detail information on the above
    Thanks,
    Raksha
    Raksha

    Hi Raksha,
    In you SSIS package, setting the Propagate system variable to False of the Event Handler prevents the Data Flow Task (DFT) propagating its failure to its parent container. For the ValidateMetadata property of a Data Flow Task Component, it doesn’t only affect
    the DFT at design time but also at runtime. During the Validation phase, a component is supposed to check to make sure that the cached metadata in the package is still in sync with the underlying table/view/query. If there is a mismatch, the component returns
    a special status (VS_NEEDSNEWMETADATA). When this happens at design-time, SSIS triggers a metadata refresh by calling ReinitializeMetadata(). At runtime, this results in an error.
    In your scenario, by setting the ValidateMetadata property to false, the error of the DFT is avoided, hence, you don’t need to set the MaxErrorCount to a value more than 1.
    For more information about how ValidateMetadate property works, please see Matt’s answer in the following thread:
    http://stackoverflow.com/questions/3297097/validateexternalmetadata-property-what-exactly-does-this-do 
    Regards,
    Mike Yin
    TechNet Community Support

  • Reversing jack-in-the-box icons that replace old excel file icons

    Today I noticed that Excel file icons on my desktop have been replaced with a jack-in-the-box icon. It looks like this:
      This seems to happen only to Excel files last modified prior to 1993 (although I have not checked all files to determine if this is always true). In the information panel (command-I) for the file, under "open with" it shows "microsoft excel (110725)" but with a "do-not-enter" symbol superposed. On the "open with:" pull down menu (still in the information panel) it also lists "microsoft excel 14.3.4" two times, along with "print preview" as possible choices.
    If I double click on the file, it opens normally (I looked long and hard to see if this symptom resembled any viruses before doing that). But it does not change the icon back to normal unless I resave it as an xlsx document. If on the information panel, I change the "open with" choice to microsoft excel 14.3.4 and add the .xls extension to the file name (still in the info panel), the icon changes to the normal Excel icon. It does not change the icon on the desktop unless I do both. Occasionally, it will change the icon on the information panel, but not change the icon on the desktop.
    In searching through the archives I found a discussion that suggests this icon is residual from the ResEdit program. I have no idea if that is relevant to my case (in the archive, it had to do with icons for Word documents).
    I would appreciate thoughts on why this may have suddenly occurred, and if there is a way to reverse it, short of going through each of hundreds of Excel files, opening the Information panel, and manually making the change.
    I did not recently update my OS or upgrade Office. I am running OS X v. 10.8.3 on a 17 inch MacBook Pro with 2.2 GHz Intel Core i7. The Excel version is 14.3.4 (130416). I have Sophos Anti-virus software running.
    Thank you.

    I am no help other than to say it happened to me as well, not on Excel files, but on 3 folders I had with custom icons. (from a Calvin and Hobbes collection). I have not idea where they came from, and oddly when I go back in time machine to versions of the folders that are a year old they have also been replaced with this icon.
    I believe it defies explanation. But I am so glad it has happened to someone else. There is no discernable change other than the odd icon.

  • Issues with external table from excel file

    dear all,
    i have been trying to use the below statement to create an external table.this table is referencing an excel file.
    CREATE TABLE EMPFRAUD_TEST
    SERIAL_NUM VARCHAR2(10 BYTE),
    BRANCH_CODE VARCHAR2(10 BYTE),
    BUSINESS_ADD VARCHAR2(100 BYTE),
    REGIONS VARCHAR2(50 BYTE),
    TRANSACTION_DATE_TIME DATE,
    REPORT_DATE_TIME DATE,
    NO_OF_TRANS VARCHAR2(4 BYTE),
    AMOUNT NUMBER,
    FRAUD_TYPE VARCHAR2(25 BYTE),
    IMPACT_CATEGORY VARCHAR2(10 BYTE)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EXT_EMP_TEST
    ACCESS PARAMETERS
    ( records delimited by newline
    badfile 'empfraud%a.bad'
    logfile 'empfraud%a.log'
    fields terminated by ','
    optionally enclosed by '"'lrtrim
    missing field values are null
    LOCATION ('fraud.csv')
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;
    the problems is as follows
    1) when i run the query above the table will be created,
    but when i try to select from the table,an empty table will be display.
    when i checked the error log file,the following message was given.
    it was gotten from an oracle db on unix server.
    "L_NUM
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 71 rejected in file /home/oracle/ext_folder_test/fraud.csv
    KUP-04021: field formatting error for field ACCOUNT_KEY
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 79 rejected in file /home/oracle/ext_folder_test/fraud.csv
    KUP-04021: field formatting error for field SERIAL_NUM
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 80 rejected in file /home/oracle/ext_folder_test/fraud.csv
    error processing column TRANSACTION_DATE_TIME in row 1 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column TRANSACTION_DATE_TIME in row 2 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month
    error processing column TRANSACTION_DATE_TIME in row 3 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month
    error processing column TRANSACTION_DATE_TIME in row 8 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month
    error processing column TRANSACTION_DATE_TIME in row 9 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month
    error processing column TRANSACTION_DATE_TIME in row 10 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month
    error processing column TRANSACTION_DATE_TIME in row 11 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column TRANSACTION_DATE_TIME in row 12 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month
    error processing column TRANSACTION_DATE_TIME in row 13 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month
    error processing column TRANSACTION_DATE_TIME in row 14 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month
    error processing column TRANSACTION_DATE_TIME in row 15 for datafile /home/oracle/ext_folder_test/fraud.csv
    ORA-01843: not a valid month"
    pls i need help to resolve it fast
    thank
    regards
    ajani abdulrahman olayide
    NB:
    after conversion to .csv format,
    BELOW IS THE DATA I AM TRYING TO ACCESS FROM THE EXCEL FILE
    BUSINESS OFFICE,REGIONS,Transaction_Date_Time,Report_Date_Time,Account_Key (Account No),     Number_of_Transactions,Total_Amount (N)      
    1,162,9 ojo street,Lagos South,various ,17/01/10,16200388749987,1,5100000,CHEQUE
    2,0238,"10 cyril Road, Enugu",East,21/06/2006,23/12/10,020968765357 09867653920174,1,20000000
    3,0127,"261, obiageli Rd, Asaba",Mid-West,22/12/2010,23/12/10,'00160030006149,1,6000000
    4,0519,"just road, Onitsha
    ",East,12/03/2010,14/02/11,0896002416575,1,5000000
    5,0519,"just road, Onitsha
    ",East,03/12/2010,14/02/11,06437890134356,1,5000000
    6,149,olayide street,Lagos South,10/02/2010,17/02/11,NGN01492501036 ,1,6108950
    7,0066,wale,Mid - west,18/02/2011,18/02/10,'05590020002924,1,55157977.53
    8,66,john,Mid- west,11/03/2010,14/03/09,'00660680054177,1,6787500
    9,0273,waheed Biem,N/Central,Jan 09 to Dec 2010,01/04/11,Nil,1,14146040

    As others suggested, you have to do the debugging yourself, To avoid the date error you may need something like this:
    CREATE TABLE EMPFRAUD_TEST
        SERIAL_NUM   VARCHAR2(10),
        BRANCH_CODE  VARCHAR2(10),
        BUSINESS_ADD VARCHAR2(100),
        REGIONS      VARCHAR2(50),
        TRANSACTION_DATE_TIME DATE ,
        REPORT_DATE_TIME DATE ,
        NO_OF_TRANS     VARCHAR2(50),
        AMOUNT          NUMBER,
        FRAUD_TYPE      VARCHAR2(25),
        IMPACT_CATEGORY VARCHAR2(10)
      ORGANIZATION EXTERNAL
        type oracle_loader default directory saubhik
        access parameters
        ( records delimited by newline
          badfile 'empfraud%a.bad'
          logfile 'empfraud%a.log'
          skip 1
          fields terminated by ','
          optionally enclosed by '"' ltrim
          missing field values are null
           ( serial_num ,
             branch_code ,
            business_add ,
            regions ,
            transaction_date_time date "dd/mm/rrrr",
            report_date_time date "dd/mm/rr",
            no_of_trans ,
            amount ,
            FRAUD_TYPE ,
            IMPACT_CATEGORY ) ) LOCATION ('fraud.csv')
      REJECT LIMIT UNLIMITED
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How do I create a selector within Xcelsius that launches an excel file or a pdf?

    We are using Crystal Xcelsius 4.5 and would like to have a radio button on the portal that launches an excel or pdf file. How do I create that button.

    I have 2 URL Link components one for a PDF and one for a Excel Sheet. The PDF works fine when you click the button. But when I click the Excel Link button, it opens a new window and right away i get ACTION CANCELED, if i Refresh it opens, but i would like to open it on the first click.
    Anybody experienced this and was able to fix it?
    You help is appreciated.
    Thanks.

  • Automatically export data from a pdf, then automatically populate other forms with that data?

    I'm building a form which will hopefully cut down on the user being required to redundantly fill in the same information on different forms. By filling out one form, I want to be able to have the user submit that form (or more succinctly, the xml data) to a website/server where the data will be automatically parsed to all the forms under the umbrella of the main form. Then, the separate forms would be emailed back to the user.
    Any thoughts on how that works would be appreciated. Also, even a discussion of other workflows would be appreciated, as I'm not even sure my process is the easiest/best.
    Thanks,
    Graham

    This will work if all of the forms use the same schema definition. The issue is that once you import the data file you are bound to that data structure. As you have said that they are different forms then they have to follow the same schema definition.
    Another approach woudl be to get the information into the form using a Web Service call. This technique uses a different set of bindings for the web service than the data bindings so they remain unaffected. This does mean that the form must be Reader Extended using LiveCycle server to allow Reader users to make the Web Service call. Note that if they are Acrobat Pro users then this restriction does not apply.
    Make sense?
    Paul

Maybe you are looking for

  • Previewing immage in a web browser

    When I preview my immage in a web browser, the quality is not as good. How can I fix that?

  • Can't log in with powerbook aftr changing wrt54g password

    Everything was working fine until I finally got around to changing my network name and password. I have one Mac in my office, and I have an aluminum G4 powerbook using airport -- a dandy litle network. The powerbook is using airport for wireless. How

  • User exit for  tcode migo

    hi all, plz solve my problem. how to find a badi  for tcode migo  ? wher to write code? can any bodysuggest me? thanks sachhidananda

  • Find out room ID with a given document URL

    Hi, Experts, I am new to KM. I wanna create an application, which can find out the room ID after given a document URL. doc URL short ID e.g.https://abc.com/irj/go/nui/sid/d02704ea-1111-2e10-f0b3-adf62453643d room ID e.g. 70823d8e-5d0b-6f10-a222-ec780

  • Creating multiple page templates!

    I'm trying to create multiple page styles as one template to work in the same way as the Apple supplied templates. I can create all my page styles as one Pages document and save as a template but the finished template doesn't work in the same way as