Numeric Error Not raise in case of editor field

I have a strange problem. I have two fields, first one is Numeric field, and second one text editor. If i enter character in numeric field and press tab or enter curssor automaticaly go to text editor field, whitout raising any error, Even i used numeric validation. Please tell me if there is any solution for blocking it.

This is totally GUI-dependent. Are you using Forms?
Tom Best

Similar Messages

  • HRMD_A IDoc in error not raising an event

    I have workflows enabled for IDocs in error.
    If an inbound order IDoc (ORDERS) arrives in status 51, it triggers a workflow.
    If an HR master data IDoc (message type HRMD_A) arrives in status 51, no workflow is triggered.
    Here is what I have checked:
    Partner profile has me as responsible agent in both cases.
    Both type linkages are active for IDOCHRMD and IDOCORDERS event InputErrorOccurred.
    Both IDocs types are posted in with the test tool and end up in status 51.
    When I investigate the event trace, I can see that an event is raised for the ORDERS IDoc but not for the HRMD_A IDoc.
    There are no errors in the type linkage status column.
    So why would it be that the event is not being raised for the HRMD_A IDoc?
    How can I find out what should be raising the event? I guess that there is a function module call to SWE_EVENT_CREATE or SAP_WAPI_CREATE_EVENT.
    Kind Regards,
    Tony.

    Hi Tony,
    I am a complete novice to workflow but I have a requirement liek yours to trigger workflow for idocs in error, so I was hoping you could point me in the direction of some documentation/steps on how to do this?

  • BPM Transformation Error not Raising Exceptions

    Hi,
    I've got a BPM receives a message, then call a transformation step and then send the message.  I've created exception branches for the transformation and send steps.  If the message mapping called in the transformation step works, the message is send, no problems.  If a message mapping exception occurs, for example a string index out of bounds, the exception branch is not executed.  Instead the BPM continues to the send step and an error occur because of the empty container element.(the container is empty because the mapping fails).  SAP Help states that an exception is "Thrown when a permanent system error occurs" in the Transformation step.  My question is what exactly is a permanent system error if normal message mapping exceptions is not a permanent system error?  And also, how do I generate a permanent system error when a message mapping exception is thrown in order for the exception branch in my BPM to execute?
    Any suggestions will be appreciated.

    I dont think there is a direct way to raise such error in mapping
    What is the sxi_cache status for ur integration process?
    Here r the steps for which permanent error is thrown
    http://help.sap.com/saphelp_nw04s/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    Regards,
    Prateek

  • Select not working with Case unless adding field to group by clause

    Hi, I have a simple query that I am trying to run.  The first version runs, but I am trying to get the second version to run, because I do not want to have to include PAYRCORD in the Group By.  Since I do not want it grouped by PAYRCORD.
    Is there a way to write the second version to work?
    ---- First Version ---
    SELECT     TOP (100) PERCENT YEAR1, EMPLOYID, PAYRCORD,
    CASE WHEN (dbo.tw80507.PAYRCORD LIKE '%OT%' AND NOT (dbo.tw80507.PAYRCORD LIKE 'OTHER'))
                          THEN SUM(DISTINCT dbo.tw80507.TwOriginalTaxableWages) ELSE NULL END AS OT,
    CASE WHEN dbo.tw80507.PAYRCORD NOT LIKE '%OT%'
                          THEN SUM(DISTINCT dbo.tw80507.TwOriginalTaxableWages) ELSE NULL END AS REG
    FROM         dbo.TW80507
    GROUP BY YEAR1, EMPLOYID, PYRLRTYP, PAYRCORD
    HAVING      (YEAR1 > 2013) AND (PYRLRTYP = 3)
    ORDER BY YEAR1
    --- Second Version ---
    SELECT     TOP (100) PERCENT YEAR1, EMPLOYID,
    CASE WHEN (dbo.tw80507.PAYRCORD LIKE '%OT%' AND NOT (dbo.tw80507.PAYRCORD LIKE 'OTHER'))
                          THEN SUM(DISTINCT dbo.tw80507.TwOriginalTaxableWages) ELSE NULL END AS OT,
    CASE WHEN dbo.tw80507.PAYRCORD NOT LIKE '%OT%'
                          THEN SUM(DISTINCT dbo.tw80507.TwOriginalTaxableWages) ELSE NULL END AS REG
    FROM         dbo.TW80507
    GROUP BY YEAR1, EMPLOYID, PYRLRTYP
    HAVING      (YEAR1 > 2013) AND (PYRLRTYP = 3)
    ORDER BY YEAR1

    Put the CASE inside the SUM.
    I also cleaned up your query by removing an excess of prefixes, making the code difficult to read, and I replaced HAVING with WHERE. (You use HAVING WHEN you need to filter on an aggregate value, for instance HAVING COUNT(*) > 2.) Finally, I removed the
    DISTINCT from the SUM, because that looked, well, funny.
    SELECT  YEAR1, EMPLOYID,
             SUM(CASE WHEN PAYRCORD LIKE '%OT%' AND NOT (PAYRCORD LIKE 'OTHER')
                      THEN TwOriginalTaxableWages)
                      ELSE 0
                 END) AS OT,
            SUM(CASE WHEN PAYRCORD NOT LIKE '%OT%'
                     THEN TwOriginalTaxableWages
                     ELSE 0
                END AS) REG
    FROM    dbo.TW80507
    WHERE   YEAR1 > 2013
       AND  PYRLRTYP = 3
    GROUP BY YEAR1, EMPLOYID
    ORDER BY YEAR1
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Should not raise no data found error

    Hi Experts,
    I am using select into statement in procedure and put some condition in select statement.
    I want if condition failed then it sould put null in to target variable . It should not raise no data found error
    e.g
    select abc into v_abc from table
    where cond1=cond;
    if this select statement no give any record it should put null into v_abc and not raise no data found error
    pls suggest something
    UG

    You could do...
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    v_abc varchar2(20);
      3  begin
      4    SELECT
      5      CASE
      6        WHEN (select COUNT(*) from emp where empno = 1234) > 0 THEN
      7          (select ename from emp where empno = 1234)
      8        ELSE
      9          null
    10      END
    11    INTO v_abc
    12    FROM dual;
    13* end;
    SQL> /
    PL/SQL procedure successfully completed.But that's no better than doing a check first as a seperate SQL in the PL/SQL.
    I would do this... (if I really didn't want the no_data_found exception)
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    v_abc varchar2(20);
      3  begin
      4    SELECT max(ename)
      5    INTO v_abc
      6    FROM
      7      (
      8      SELECT ename from emp where empno = 1234
      9      UNION
    10      SELECT null from dual
    11      );
    12    dbms_output.put_line(NVL(v_abc,'!null!'));
    13* end;
    SQL> /
    !null!
    PL/SQL procedure successfully completed.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    v_abc varchar2(20);
      3  begin
      4    SELECT max(ename)
      5    INTO v_abc
      6    FROM
      7      (
      8      SELECT ename from emp where empno = 7782
      9      UNION
    10      SELECT null from dual
    11      );
    12    dbms_output.put_line(NVL(v_abc,'{null}'));
    13* end;
    SQL> /
    CLARK
    PL/SQL procedure successfully completed.
    SQL>

  • Error in JMS Communication Channel not raising alert

    Processing Errors in JMS Communication Channel are not raising alerts.
    The settings on the communication channel retires are set at 3 and 5min interval.
    In RWB the JMS communication channel shows processing errors but an alert is not raised.
    The alert are configured in our system and we even have a catch all alert rule with * (wildcard). Errors in PI message processing are raising alerts but errors in Comm Channel are not raising alerts.
    The message in SXI_MONITOR shows as processed successfully but when we check the RWB and Comm. Channel Monitoring we see processing errors "Channel error occured; detailed error description: JMS error: Connection to the server has been terminated; Linked error: Connection reset, Error Code:null"
    Are we missing any configuration? How do we get alerts/notifications if there are errors in Comm. Channel without having to login into RWB and watch it periodically?
    Any help is greatly appreciated.
    RM

    Hi,
    What is the staus of Communication channel in RWB when it fails, RED ??if yes then it should genarate alert.
    create one more alert for specific to JMS interface and check it out.
    Regards,
    Raj

  • Exception Raised error, not sure how to fix it.

    So I bought this game, Dragon age origins, and I try to launch the application. When I do, I get this error " Exception raised,
    Unhandled page fault on read access to 0x00000038 at address 0x0088d374.
    Do you wish to debug it ?"
    It has a Yes and a No. Clicking yes has the application shut down, and No justs leaves me with a black screen.
    I was wondering if there's a general way to get rid of this error.

    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at the top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    Then...
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • CAST Not working for me - Arithmetic overflow error converting int to data type numeric - error

    GPM is DECIMAL(5,2)
    PRICE is DECIMAL(11,4)
    COST is DECIMAL(7,2)
    Trying to update the Gross Profit Margin % field and I keep getting the "Arithmetic overflow error converting int to data type numeric" error.
    UPDATE SMEMODETAIL SET SMD_GPM = (SMD_PRICE-SMD_COST) / SMD_PRICE * 100
    FROM SMEMODETAIL WHERE SMD_PRICE<>0 AND SMD_QUANTITY<>0
    Example record:
    SMD_PRICE    SMD_COST    GPM%
    1.8500            1.62                12.4324324324324300
    I added cast and I still get the error.
    How do I format to get this to work?
    Thanks!

    Hi GBerthume,
    The error is caused by some value such as 1000.01 of the expression (SMD_PRICE-SMD_COST) / SMD_PRICE * 100 exceeds the
    precision of the column(DECIMAL(5,2)). The example data doesn't cause the overflow error for the value of the expression is 12.43 which is in the scope of DECIMAL(5,2).
    USE TestDB
    CREATE TABLE SMEMODETAIL
    SMD_PRICE DECIMAL(11,4),
    SMD_COST DECIMAL(7,2),
    SMD_GPM DECIMAL(5,2)
    INSERT INTO SMEMODETAIL(SMD_PRICE,SMD_COST) SELECT 1.8500,1.62
    UPDATE SMEMODETAIL SET SMD_GPM = (SMD_PRICE-SMD_COST) / SMD_PRICE * 100
    FROM SMEMODETAIL WHERE SMD_PRICE<>0-- AND SMD_QUANTITY<>0
    SELECT * FROM SMEMODETAIL
    DROP TABLE SMEMODETAIL
    The solution of your case can be either scale the DECIMAL(5,2) or follow the suggestion in Scott_morris-ga's to check and fix your data.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Numerous "page not found" errors

    I've been using a WRT160N router for several weeks which I bought as a replacement for a failed Belkin router. Home network config is my Vista PC connected via Ethernet cable to the router and my wife's Vista PC with wireless access to the router. The router is connected to a Cox ISP Motorola SB5120 Surfboard cable modem. Both computers (wired and wireless) experience frequent "page not found" errors. In many cases, an immediate attempt to access the same page is successful.
    I'm quite sure that the network connection and the Internet connection are not being dropped. At the same time that the "page not found" errors are occurring, I am able to check my email (via Windows Mail) with no problem. Also, both computers are running Network Magic, and it is quite good at popping up messages when a connection is lost. These messages never pop up when the "page not found" errors are occurring.
    I've done a fair amount of Googling about this problem and saw some references to Domain Name System failures. Is it possible that when I'm requesting a web page, my DNS server is not returning the page's IP address? If so, is there a way to correct this problem?
    One additional piece of info that might be relevant: If my wife shuts down her computer in the evening before I shut mine down, then I immediately start getting many more "page not found" errors - sometimes on almost every attempt to access a page. I have been able to get around this problem by power cycling the router, leaving the power off for 20-30 seconds. After that, access to web pages is much better.
    The last time I checked, I had the latest firmware installed in the router. This problem never occurred with the old Belkin router for almost two years before it began failing.
    Any advice would be much appreciated. This problem is quite a nuisance.
    --Jim--

    Paul, thanks much for the link to the other thread. I just finished reading all 11 pages. Unbelievable that there hasn't been a single encouraging post by a Linksys person! I'm probably going to keep the router, since I've had it for almost a month and have discarded the box and packaging by now. Looks like I have a choice of (1) putting up with the DNS problems that are truly a nuisance, (2) downgrading to firmware version 8 if I can get it, or (3) hoping for a future firmware upgrade from Linksys that will fix the problem.
    There seem to be a couple of people on the thread who are willing to provide firmware version 8 and save me the trouble of extracting the firmware file from the tar file. They say something like, "PM me your email address and I'll send you the firmware." I'm enough of a newbie on this board and a complete newbie on the other board that I'm not sure what PM means. Do you? Are both boards sponsored by Linksys? This one is part of forums.linksys.com while the other one is part of forums.linksysbycisco.com. There's so much to learn ...

  • EDI Delivery - Not raising error for invalid ISO UOM

    Standard SAP FM IDOC_OUTPUT_DELVRY include LV56KF62 performs Unit_of_measure_sap_to_iso but does not analyze the return code and incorrectly generates an invalid IDoc. The function called, unit_of_measure_sap_to_iso raises an error internally when the iso-code is invalid but an error message is not raised.
    Is there a correction for this situation?
    Standard SAP code follows:
    ((LV56KF62)
    PERFORM UNIT_OF_MEASURE_SAP_TO_ISO USING    TAB_LIPS-VRKME
                                         CHANGING E1EDL24-VRKME.
    (UNIT_OF_MEASURE_SAP_TO_ISO)
    FORM UNIT_OF_MEASURE_SAP_TO_ISO USING VALUE(SAP_CODE) TYPE ANY
                                    CHANGING    ISO_CODE  TYPE ANY.
      DATA: H_ISO_CODE LIKE T006-ISOCODE.
      CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO'
           EXPORTING
                SAP_CODE    = SAP_CODE
           IMPORTING
                ISO_CODE    = H_ISO_CODE
           EXCEPTIONS
                NOT_FOUND   = 1
                NO_ISO_CODE = 2
                OTHERS      = 3.
      IF ( SY-SUBRC IS INITIAL ).
        ISO_CODE = H_ISO_CODE.
      ELSE.
        CLEAR ISO_CODE.
      ENDIF.
    ENDFORM.                               " UNIT_OF_MEASURE_SAP_TO_ISO
    FUNCTION UNIT_OF_MEASURE_SAP_TO_ISO.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"              SAP_CODE LIKE  T006-MSEHI
    *"       EXPORTING
    *"              ISO_CODE LIKE  T006-ISOCODE
    *"       EXCEPTIONS
    *"              NOT_FOUND
    *"              NO_ISO_CODE
    Deklarieren
      data: code(3) type c.
    Maßeinheit bestimmen
      SELECT SINGLE * FROM T006
        WHERE MSEHI = SAP_CODE.
      IF   SY-SUBRC <> 0
        OR T006-ISOCODE IS INITIAL.
        move SAP_CODE to code.
        MESSAGE E035 WITH CODE                                  "B20K071649
          RAISING NOT_FOUND.
      ENDIF.
      ISO_CODE = T006-ISOCODE.
      IF ISO_CODE IS INITIAL.
        RAISE NO_ISO_CODE.
      ENDIF.
    ENDFUNCTION.

    I am afraid not, but eventually your IDoc should fail as it blanks out the unit if it cannot be converted to ISO code.

  • Get "javascript(void)" error on numerous, but not all websites

    I'm getting a "javascript(void)" message in my status bar on numerous, but not all websites, accompanied by an inability to utilize FF on these sites; for instance, my company email. It'll log in and load the inbox, but will not open anything that has a hyperlink (read:anything off the primary top page). My only change in the past forever, has been uninstalling noscript (it was blocking EVERYTHING and I simply wasn't able to understand a lot of the functionality).
    I've checked all the blocks and settings til I'm blue in the face, but I do not see what the deal is that's causing my issue.
    == URL of affected sites ==
    http://

    Hello Robert.
    First of all, and although possibly not related to your problem, I will remind you that the version of Firefox you are using at the moment as been discontinued and is no longer supported. Furthermore, it has known bugs and security problems. I urge you to update to the latest version of Firefox, for maximum stability, performance, security and usability. You can get it for free, as always, at [http://www.getfirefox.com getfirefox.com].
    As for your issue, you may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?

  • Error in raising ESS requests for an Approver

    Hello Experts,
    We have implemented standard claims workflow WS18900023 and have implemented BADI to get next approver.
    Everything is working fine except one case when an Approver of certain claim type is raising request for himself. Then we are getting error while saving the claim: Approver can not raise claim.
    I checked the documentation of BADI and found that we should return Person No and Group or Group in case we have multiple approvers but if we return null Group or null person no and group badi will go into error.
    Can you please help me with a possible solution to this issue? How can I enable the approver to raise claim for himself??
    Best Regards,
    Deepak

    in that BADI method GET_NEXT_APPROVER.
    Make sure your passing the values for export parameters EFD_APGRP and EFD_APERN based on no.of approval levels.
    For EFD_APGRP, you can pass value 'ADMIN' as default.
    When it's final level don't pass any values to these parameters.

  • ODI behavior is not consistent in case of LKM loading.

    Hi All,
    I am facing a strange problem in ODI version 11.1.1
    Actually, we have couple of interfaces and one master package. We are generating scenario for master package. We are exporting that scenario and keep it at specific location so that our application can pick it up and can execute it.
    So the problem is something like this: If I execute scenario from ODI then it is working fine(irrespective of source and target [that may on same db (but diff schema)or different db]). But if I test this same scenario through application then it fails. So I come back to ODI and open interface, save it once again and regenerate scenario, deploy it on application. It will start working. And it may fail for other interface. I have to do same thing (opening the interface and close it after saving)once again.
    Now let me come to technical point as well as my observation.
    Actually, Loading knowledge module should get execute first. It will take data from source and load it in work tables(C$ tables). And then from work table to integration table(I$ table). But this is not happening in case of failed interface. Directly it is trying to fetch data from source and load it in I$ table. While doing this way, it was not able to access source table from target schema. So we were getting 'table or view does not exist' error.(All these, we are trying on same db but different schema). I am surprised because in this way it should get fail from first interface itself. Sometimes I also noticed that, for successfully executed interface, Load Knowledge module was loaded. Only in case of failed interface, Load knowledge module was not getting loaded. After re-saving of interface if we execute new scenario, then it starts working fine and it will behave just like any other successful executed interface.
    We are using only one LKM i.e LKM sql to sql. Also marked it as default LKM.
    I do not know why this is happening.
    Please suggest me solution for this problem.
    Thanks
    -Pallav

    Hi,
    Thanks for your answers, but it is still not what I expect
    In fact, I created a ZABAP process type and set the event to "Process ends "successfully" or "incorect"
    I used this how to guide to create the process type:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30664504-40dd-2a10-3794-db7b4190bef3
    For the Z program inside the variant I raise an error message when the condition is not verified. So I "want" the failure in some cases in the child chain and I want the next child chains to run in each case automatically in background.
    May be it is a bug, may be not...
    Thank you for your answers,
    Rgds,
    Edited by: Bruno Beckers on Dec 15, 2009 2:21 PM
    Edited by: Bruno Beckers on Dec 15, 2009 2:23 PM

  • Ignore Numeric error with EXCEPTION

    Hi,
    I've got a PROC that reads all records from one table and INSERT them in another table, quite simple. The Only thing is that I want to IGNORE Numeric errors. So, if a get an error (numeric), I want Oracle to IGNORE the error and continue in my FOR LOOP (Selecting records) and Inserting in the table. What seems to happen is that if I get a NUMERIC error, it exits out of the FOR LOOP... Here's the Code:
      PROCEDURE Insert_Current_Data(
       p_create_date                 IN         DATE,
       p_StatusId                      OUT      NUMBER
    ) IS
    e_constraint_error               EXCEPTION;
    e_numeric_error                 EXCEPTION;
       PRAGMA EXCEPTION_INIT (e_constraint_error, -2291);
       PRAGMA EXCEPTION_INIT (e_numeric_error, -1722);  
    /*   to_number(NOC_CODE) NOC_CODE,
                      to_number(ECONOMIC_REGION_CODE) ECONOMIC_REGION_CODE, */
    CURSOR ei_claimant_ext_cur
          IS
          SELECT NOC_CODE,
                      ECONOMIC_REGION_CODE,
                      CASE EI_PROV_CODE
                        WHEN '00' THEN 1
                        WHEN '01' THEN 4
                        WHEN '02' THEN 2
                        WHEN '03' THEN 3
                        WHEN '04' THEN 5
                        WHEN '05' THEN 6
                        WHEN '06' THEN 7
                        WHEN '07' THEN 8
                        WHEN '08' THEN 9
                        WHEN '09' THEN 10
                        WHEN '10' THEN 11
                        WHEN '11' THEN 12
                        ELSE 13
                      END EI_PROV_CODE,
                      POSTAL_CODE
            FROM ei_claimant_external
            WHERE ei_prov_code <> 12
            AND     economic_region_code <> 99
            AND     postal_code is NOT NULL;
    --        AND     ROWNUM < 1000;
            ei_claimant_ext_rec ei_claimant_ext_cur%ROWTYPE;
            v_create_date       VARCHAR2(20);
            v_econ_reg_prov     NUMBER;
        BEGIN
         dbms_output.put_line('Date passed: '||p_create_date); 
         dbms_output.put_line('INSERT Current Data ');
    --        p_StatusId := 0;
            FOR claimant_row IN ei_claimant_ext_cur LOOP
    /*        OPEN ei_claimant_ext_cur;
            LOOP
                FETCH ei_claimant_ext_cur
                INTO ei_claimant_ext_rec;
                -- v_staging_count := v_staging_count + 1;
                EXIT WHEN ei_claimant_ext_cur%NOTFOUND;      */
                BEGIN
                    --- Get Econ Region Province
                    SELECT PROVINCE_ID
                    INTO     v_econ_reg_prov
                    FROM    cd_econ_regions
                    WHERE  ECONOMIC_REGION_ID = ei_claimant_ext_rec.ECONOMIC_REGION_CODE;
                EXCEPTION
                    WHEN NO_DATA_FOUND THEN v_econ_reg_prov := 0;
                END;
                BEGIN
                    IF v_econ_reg_prov = ei_claimant_ext_rec.EI_PROV_CODE
                    THEN
                        INSERT INTO ei_claimant_curr_year
                        VALUES  (EI_SEQ.nextval,
                                ei_claimant_ext_rec.noc_code,
                                ei_claimant_ext_rec.EI_PROV_CODE,                           
                                ei_claimant_ext_rec.ECONOMIC_REGION_CODE,
                                p_create_date, --- CURRENT Month
                                ei_claimant_ext_rec.POSTAL_CODE
                                COMMIT;
                    END IF;                                                         
                EXCEPTION
                    WHEN e_constraint_error THEN dbms_output.put_line('CONSTRAINT Error ');
                            fwutil_pkg.logerror (SQLERRM||' '||ei_claimant_ext_rec.noc_code||' Prov Code: '||ei_claimant_ext_rec.EI_PROV_CODE||'  Econ Region: '||ei_claimant_ext_rec.ECONOMIC_REGION_CODE||
                            ' Postal Code: '||ei_claimant_ext_rec.POSTAL_CODE||' Date: '||p_create_date,
                                  SQLCODE,
                                  NULL,
                                  'Populate_EI_Claimant_Main -- Insert into EI_Claimant_curr_year '
                    WHEN e_numeric_error THEN dbms_output.put_line('NUMERIC Error On INSERT');
                            fwutil_pkg.logerror (SQLERRM||' '||ei_claimant_ext_rec.noc_code||' Prov Code: '||ei_claimant_ext_rec.EI_PROV_CODE||'  Econ Region: '||ei_claimant_ext_rec.ECONOMIC_REGION_CODE||
                            ' Postal Code: '||ei_claimant_ext_rec.POSTAL_CODE||' Date: '||p_create_date,
                                  SQLCODE,
                                  NULL,
                                  'Populate_EI_Claimant_Main -- Insert into EI_Claimant_curr_year '
                    WHEN OTHERS
                        THEN
                            fwutil_pkg.logerror (SQLERRM||' '||ei_claimant_ext_rec.noc_code||' Prov Code: '||ei_claimant_ext_rec.EI_PROV_CODE||'  Econ Region: '||ei_claimant_ext_rec.ECONOMIC_REGION_CODE||
                            ' Postal Code: '||ei_claimant_ext_rec.POSTAL_CODE||' Date: '||p_create_date,
                                  SQLCODE,
                                  NULL,
                                  'Populate_EI_Claimant_Main -- Insert into EI_Claimant_curr_year '
                END;
            END LOOP;
    --        CLOSE ei_claimant_ext_cur;       
        EXCEPTION
                        WHEN e_constraint_error THEN dbms_output.put_line('CONSTRAINT Error ');
                            fwutil_pkg.logerror (SQLERRM||' '||ei_claimant_ext_rec.noc_code||' Prov Code: '||ei_claimant_ext_rec.EI_PROV_CODE||'  Econ Region: '||ei_claimant_ext_rec.ECONOMIC_REGION_CODE||
                            ' Postal Code: '||ei_claimant_ext_rec.POSTAL_CODE||' Date: '||p_create_date,
                                  SQLCODE,
                                  NULL,
                                  'Populate_EI_Claimant_Main -- Insert into EI_Claimant_curr_year '
                        WHEN e_numeric_error THEN dbms_output.put_line('NUMERIC Error ON Cursor');
                            fwutil_pkg.logerror (SQLERRM||' '||ei_claimant_ext_rec.noc_code||' Prov Code: '||ei_claimant_ext_rec.EI_PROV_CODE||'  Econ Region: '||ei_claimant_ext_rec.ECONOMIC_REGION_CODE||
                            ' Postal Code: '||ei_claimant_ext_rec.POSTAL_CODE||' Date: '||p_create_date,
                                  SQLCODE,
                                  NULL,
                                  'Populate_EI_Claimant_Main -- Insert into EI_Claimant_curr_year '
        END Insert_Current_Data;Here's the records that it is reading:
    00094440903E4P1T5
    00000000000000000
    00066230703E1E1G4
    AAAAAAAAAAAAAAAAA
    00012210903E4K2K8
    00082620803E5V1L3
    99999999999999999
    00084410803E5G2J3
    00074120903E4N2E3
    00094630903E4N1B7
    00082620903E4N2J6
    00082620903E4M2C4It is inserting the first 2 records, ignoring the record with '0' (which is good). Then it exits the FOR LOOP when it gets to the record with a bunch of 'A'.
    Please Help !
    Thanks in advance.

    First of all correct your code..FOR LOOP has not been implemented correctly.. I think first u tried with OPEN CURSOR..LOOP..FETCH..EXIT WHEN..END LOOP..CLOSE CURSOR..then converted the same to FOR LOOP..END LOOP and forgot to change the code like
    -- WHERE ECONOMIC_REGION_ID = ei_claimant_ext_rec.ECONOMIC_REGION_CODE;
    try this type of code...
    DECLARE
         TYPE mixed_typ IS TABLE OF VARCHAR2 (1)
                                  INDEX BY PLS_INTEGER;
         mixed_ty          mixed_typ;
         e_numeric_error EXCEPTION;
         PRAGMA EXCEPTION_INIT (e_numeric_error, -6502);
         v_num               NUMBER;
    BEGIN
         mixed_ty (1) := '1';
         mixed_ty (2) := 'A';
         mixed_ty (3) := '2';
         mixed_ty (4) := '3';
         FOR i IN 1 .. mixed_ty.COUNT LOOP
              BEGIN
                   v_num     := TO_NUMBER ('11' || mixed_ty (i));
                   DBMS_OUTPUT.PUT_LINE (v_num);
              EXCEPTION
                   WHEN e_numeric_error THEN
                        DBMS_OUTPUT.PUT_LINE ('Ignore '||SQLERRM);
              END;
         END LOOP;
    EXCEPTION
         WHEN OTHERS THEN
              DBMS_OUTPUT.PUT_LINE (SQLERRM);
    END;

  • Substitution variable is not visible at Data Prep editor-creating rule file

    Hi,
    We are working on Essbase 9.3.1, Oracle as a database source for loading the data into Essbase.
    We have create a substitution variable at "server level" to use it in rule file as a DSN for data source. But this substitution variable is not visible in the drop down of substitution variable in 'Data prep editor' while creating the rule file.
    We restarted the Essbase server also but still it is not visible in 'data prep editor'.
    Any help will appreciated on this issue.
    Thanks & Regards,
    Mohit Jain

    Cameron-
    1) yes I've tried it on 2 different clients
    2) yes I've tried it on the server
    3) I haven't tried that, but don't normally use MaxL for anything
    4) I took a 'broken' rule, saved it locally, closed and reopened and it still didn't work
    5) I normally do files on the server, but I can't even get to that point because when I get the 'Open Data File' nothing happens, no dialog box pops up, so I don't get the chance to select the location
    6) This is a production server and EAS is running as a service, so I'd have to test this one afterhours.
    Because it happens on 3 separate PC's I'd eliminate bad EAS, since only some rules do it and others don't I'd think it could be corrupt rules, but it'll happen to new rules just as fast, and they still work just fine, so if that's the case I need to figure out what is corrupting them...
    Network issues wouldn't surprise me, I get TCP/IP errors regularly saying I have to increase my net retry count, but I've tweaked with those settings tons... looks like those are really the database server is running out of memory even though I have 4GB physical 16MB Virtual memory (32 bit environment though... I do have the /3GB switch turned on)... I've had to scale my caches way back to allow certain databases to even function.
    Thanks for your help.
    Edited by: Norton5150 on May 28, 2009 2:12 PM

Maybe you are looking for

  • Timeline and External Video issues

    Have an issue with output. My external video is not showing up to play from the timeline. I am getting neither audio or video. Have checked all firewire ports, used 2 different monitors, 2 different decks, 2 different firewire cable and even tried it

  • IPhone 4 and Hotmail Help!

    I get my hotmail emails on my phone (software iOS 5.1) and I used to be able to have all emails in my Inbox.  I just had the following folders: Inbox Drafts Sent Trash For some reason I can now see every single folder that I have on my hotmail accoun

  • Broken null check

    I am new to Java I have a doubt in coding standards String strObj= swingobject.getText(); case 1 if(strObj==null && strObj.equals(""){ some exception is thrown} case 2 if(strObj !=null && !strOb.equals(""){ some code is written} though the code works

  • Adding movies to Indesign automated page-curl swf export

    I know there have been several discussions on this, but I thought I would ask the question anyway. I have a magazine created in InDesign, I can add hyperlinks to pages and websites and export it as a nice swf file with a page curl transition. The pro

  • Help with N97 please?

    Hey guys im thinking about getting a sim free N97 but the problem i am facing is that im still in use of my iphone 3g contract and i have a long time left! So im planning on putting my iphone 3g contract sim in the N97 i wa sjust wondering if this wi