Problem with call procedure

HI,
i've a procedure which calls another procedure.
This is the call:
Export_inspection_Schema(portion);
And the other procedure begins with
CREATE OR REPLACE PROCEDURE Export_inspection_Schema (p_portion IN VARCHAR2)
IS...
But it doesn't work i always get this error messages:
ORA-06502: PL/SQL: numeric or value error
ORA-01722: Invalid Number
What is wrong?
Thanks for help.
With best regards
Nicole

Somewhere you have got a string to number conversion on a variable that doesn't hold a valid number. If you're lucky it's an explicit call of TO_NUMBER() which is at least easy to search for. Otherwise you'll need to track down all the assignments where datatype conversion may occur (this includes DECODE, NVL, etc).
If the error stack gave you a line number then that's where to start.
Cheers, APC

Similar Messages

  • Problem with calling on some numbers

    Hi my mum has problem with calling on my number. She is in the USA and has a lof of money on her Skype account. When she was in Poland (country when I am now) she could without any troubles calling on my number. What is wird now in the USA she can call on some other polish numbers (I think that Skype doesn't support connection with my mobile operator).
    I fell deceived because I created Skype account and transfered some money on it for my mum to give her possibility to call to me. Is possible to fix it? Is somewhere table with can help me check which one numbers (mobile operators) Skype supports in the USA?
    My mom used Skype from Android smartphone.

    Hi my mum has problem with calling on my number. She is in the USA and has a lof of money on her Skype account. When she was in Poland (country when I am now) she could without any troubles calling on my number. What is wird now in the USA she can call on some other polish numbers (I think that Skype doesn't support connection with my mobile operator).
    I fell deceived because I created Skype account and transfered some money on it for my mum to give her possibility to call to me. Is possible to fix it? Is somewhere table with can help me check which one numbers (mobile operators) Skype supports in the USA?
    My mom used Skype from Android smartphone.

  • Problem with call forwarding. Calls can not be forwarded for incoming external calls

    Hi Everybody, how are you?
    I have a problem with call forwarding. Everything was fine but now is not working.
    In the reception of an office, the receptionist activate the call forward option to an internal extension. If somebody, internal in the office, call to the reception, the call is forwarding to the extension configured. But if I call from the outside (in example, from my cellphone) the call is not forwarded to the extension configured and continue ringing in the reception phone. Why this behavior? Any idea?
    If you know something please tell me.
    Thanks. Best regards.
    Andres Collazos.

    I encounter a similar problem with 9.1.1.
    My problem is link to this bug ID : CSCtq10477.
    Mathieu

  • Problem with Call Transaction opt-RACOMMIT = 'X'.

    Hello Experts
    I am having a problem with call transction. I am calling a Z transaction in function module. Within the Z transaction I am furhter calling some function modules and doing commit work and then some more processing  after the comit work inside  So to make sure the code after comit work is fired I am using opt-RACOMMIT = 'X' in call transaction. Whenever I set this parameter opt-RACOMMIT = 'X' call transaction fails and gives error saying No batch Input data for screen XXXX. However the Z tcode processed succesfully.
    By changing the Mode to E i found that it remians at the last screen of call transction after executing the Z transaction and never comes back 
    But if I donot use RACOMMIT = 'X'  everything is fine. Please let me know if anyone came across such problem. Any help will be apreciated.
    Thanks,
    kamal

    Hello,
    as you said, if there is more than commit statement in your ztransaction, then you should put RACOMMIT to 'X'.
    I think the problem is in your bdcdata: change it to be sure to get back to the 1st screen of your ztransaction. Then, at this point (1st screen) hit "back" button.
    Cordialement,
    Chaouki

  • Problems with a Procedure

    People,
    I'm having a problem with a procedure in the moment I'm trying to execute it, could someone help.
    CREATE OR REPLACE PROCEDURE CARREGA IS
    begin
         declare
              strSQL VARCHAR2(250);
              NCham     number(9);
              cursor n_chamados is
              SELECT NumeroChamado, Planta, Instalacao, Defeito,
              DescricaoDefeito, Servico, DataChamado,Horas, Minutos
              FROM DEFEITOS_AUX;
    begin
         For reg_chamado in n_chamados
         Loop
              begin
                   NCham := reg_chamado.numerochamado;
                   strSQL := 'SELECT numerochamado FROM Defeitos';
                   strSQL := strSQL || ' WHERE numerochamado =';
                   strSQL := strSQL || NCham || ' GROUP BY numerochamado';
                   EXECUTE IMMEDIATE strSQL;
              exception
                   when no_data_found then
                   strSQL := 'INSERT INTO Defeitos (';
                   strSQL := strSQL || 'NumeroChamado, ';
    strSQL := strSQL || 'Planta, ';
                   strSQL := strSQL || 'Instalacao, ';
                   strSQL := strSQL || 'Defeito, ';
                   strSQL := strSQL || 'DescricaoDefeito, ';
                   strSQL := strSQL || 'Servico, ';
                   strSQL := strSQL || 'DataChamado, ';
                   strSQL := strSQL || 'Horas, ';
                   strSQL := strSQL || 'Minutos) ';
              strSQL := strSQL || 'VALUES ( ';
              strSQL := strSQL || reg_chamado.NumeroChamado || ', ';
              strSQL := strSQL || reg_chamado.Planta || ', ';
              strSQL := strSQL || reg_chamado.Instalacao || ', ';
              strSQL := strSQL || reg_chamado.Defeito || ', ';
              strSQL := strSQL || reg_chamado.DescricaoDefeito || ', ';
              strSQL := strSQL || reg_chamado.Servico || ', ';
              strSQL := strSQL || reg_chamado.DataChamado || ', ';
              strSQL := strSQL || reg_chamado.Horas || ', ';
              strSQL := strSQL || reg_chamado.Minutos || ')';
                   EXECUTE Immediate strSQL;
              end;
              strSQL := 'UPDATE Defeitos SET ';
              strSQL := strSQL || 'Planta = ' || reg_chamado.Planta;
              strSQL := strSQL || ', Instalacao = ' || reg_chamado.Instalacao;
              strSQL := strSQL || ', Defeito = ' || reg_chamado.Defeito;
              strSQL := strSQL || ', DescricaoDefeito = ' || reg_chamado.DescricaoDefeito;
              strSQL := strSQL || ', Servico = ' || reg_chamado.Servico;
              strSQL := strSQL || ', DataChamado = ' || reg_chamado.DataChamado;
              strSQL := strSQL || ', Horas = ' || reg_chamado.Horas;
              strSQL := strSQL || ', Minutos = ' || reg_chamado.Minutos;
              strSQL := strSQL || ' WHERE NumeroChamado = ' || NCham;
              EXECUTE Immediate strSQL;
         end loop;
    end;
    end;

    Hi Erika,
    there is no need for dynamic SQL.
    I suppose the NumeroChamado is your primary key and has an unique index on it.
    Just insert the rows and if there is already an existing row, catch the exception and update the row.
    CREATE OR REPLACE PROCEDURE CARREGA IS
      CURSOR n_chamados IS
        SELECT NumeroChamado,
               Planta,
               Instalacao,
               Defeito,
               DescricaoDefeito,
               Servico,
               DataChamado,
               Horas,
               Minutos
        FROM   DEFEITOS_AUX;
    BEGIN
      FOR reg_chamado IN n_chamados LOOP
      BEGIN
        INSERT INTO Defeitos (;
          NumeroChamado, ';
          Planta,
          Instalacao,
          Defeito,
          DescricaoDefeito,
          Servico,
          DataChamado,
          Horas,
          Minutos
        ) VALUES (
          reg_chamado.NumeroChamado,
          reg_chamado.Planta,
          reg_chamado.Instalacao,
          reg_chamado.Defeito,
          reg_chamado.DescricaoDefeito, 
          reg_chamado.Servico,
          reg_chamado.DataChamado,
          reg_chamado.Horas,
          reg_chamado.Minutos
      EXCEPTIONS
      WHEN DUP_VAL_ON_INDEX THEN
        UPDATE Defeitos SET
          Planta = reg_chamado.Planta,
          Instalacao = reg_chamado.Instalacao,
          Defeito = reg_chamado.Defeito,
          DescricaoDefeito = reg_chamado.DescricaoDefeito,
          Servico = reg_chamado.Servico,
          DataChamado = reg_chamado.DataChamado,
          Horas = reg_chamado.Horas,
          Minutos = reg_chamado.Minutos
        WHERE NumeroChamado = reg_chamado.NumeroChamado;
      END;
      END LOOP;
    END;

  • Problem with calling onApplicationStart() method

    Hi all,
         I have a problem with calling application.cfc's methods from coldfusion template. The problem is like when i am calling "onapplicationstart" method inside a cfml template i getting the error shown below
    The onApplicationStart method was not found.
    Either there are no methods with the specified method name and argument types or the onApplicationStart method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity.
    My code is like below.
    Application.cfc
    <cfcomponent hint="control application" output="false">
    <cfscript>
    this.name="startest";
    this.applicationtimeout = createtimespan(0,2,0,0);
    this.sessionmanagement = True;
    this.sessionTimeout = createtimespan(0,0,5,0);
    </cfscript>
    <cffunction name="onApplicationStart" returnType="boolean">
        <cfset application.myvar = "saurav">
    <cfset application.newvar ="saurav2">
        <cfreturn true>
    </cffunction>
    </cfcomponent>
    testpage.cfm
    <cfset variables.onApplicationStart()>
    I have tried to call the above method in different way also like
    1--- <cfset onApplicationStart()>
    i got error like this
    Variable ONAPPLICATIONSTART is undefined.
    2---<cfset Application.onApplicationStart()>
    The onApplicationStart method was not found.
    Either there are no methods with the specified method name and argument types or the onApplicationStart method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity
    Please help me out.
    Thanks
    Saurav

    You can't just call methods in a CFC without a reference to that CFC. This includes methods in Application.cfc.
    What are you trying to do, exactly, anyway? You'd probably be better served by placing a call to onApplicationStart within onRequestStart in Application.cfc, if your goal is to refresh the application based on some condition:
    <cffunction name="onRequestStart">
         <cfif someCondition>
              <cfset onApplicationStart()>
         </cfif>
    </cffunction>
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • My sister had a problem with call volume being too low on the iPhone 5S.  Is the iPhone 6 louder?  Is anyone else feeling that call volume on iPhone 5S isn't loud enough?

    My sister had a problem with call volume being too low on the iPhone 5S.  Is the iPhone 6 louder?  Is anyone else feeling that call volume on iPhone 5S isn't loud enough?

    I personally haven't experienced much of the "reverberation/feedback" when using a headset on the i4S...
    Yes, I have near-perfect hearing too (for scope, squeaky brakes hurt my ears) I come from many conversations on many phones and types and first off, CDMA technology is great for coverage, terrible for voice quality. HD Voice in Europe made for some of the best phone conversations I've ever had.
    Back on track, feedback is most noticable (similar to the landline phone) when using the iPhone without a headset, but for me it's not an absolute criticality mainly because I use VoIP apps alot, so maybe it has desensitized me some over the past year.
    But whenever I'm on a call, and the other person has me on speakerphone, I have alot of trouble talking because of the feedback loop caused. So the less of my voice I hear the better I can talk.
    Have you tried a bluetooth headset yet?

  • Lync 2013 I have a strange problem concerning group call pickup in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having about 5-7 second Anybody out there having similar problems with call pickup Groups?

    HI
    I have a strange problem concerning  group call pickup  in lync 2013.the pickup calls on snom 710 having only a second delay, but in lync client it having  about 5-7 second
    Anybody out there having similar problems with call pickup Groups?

    Hi,
    Did you meet any other call delay when you using Lync?
    As the issue happen for Lync desktop client, it can be performance issue. Please check if there is any error message from FE Server when the issue happen.
    Also please check if you have updated Lync Server to the latest version, if not, update it and then test again.
    Best Regards,
    Eason Huang  
    Eason Huang
    TechNet Community Support

  • I am getting weary of my iPhone 4s. the battery life is non-existent, second, i had problems with calls, the caller couldn't hear me and now it cannot detect internet networks. Be they wi-fi or cellular. what could be the problem.

    I am getting weary of my iPhone 4s. The battery life is non-existent, secondly, I had problems with calls, the caller couldn't hear me and now it cannot detect internet networks. Be they Wi-Fi or cellular. what could be the problem?

    Mullaly75 wrote:
    I assume u guys don't understand what open source software is
    Yes, I think most of us do understand what open source software is. It sounds as if you don't. Here's some information:
    Open-source software (OSS) is computer software that is available in source code form: the source code and certain other rights normally reserved forcopyright holders are provided under an open-source license that permits users to study, change, improve and at times also to distribute the software.
    Open source software is very often developed in a public, collaborative manner. Open-source software is the most prominent example of open-sourcedevelopment and often compared to (technically defined) user-generated content or (legally defined) open content movements.
    from http://en.wikipedia.org/wiki/Open_source_software
    Yes, Tom Wu of Stanford wrote a paper on something called Secure Remote Access Protocol. It's a form of Asymetric Key Exchange and has nothing to do with hacking anything. It's actually intended to protect data.

  • Problems with calls and Answering Machine

    I have a problem with calls on my Z3 dual and the Answering Machine after the update to L.I don't have Smart Answer enabled -gesture to answer calls- but when I answer a call too close to the time set to the Answering Machine to kick in, when the call reaches this time (say 25 seconds) the call will be interrupted for about 2 to 5  seconds where I can't hear the other party and they can't hear me, and then the call will resume.If I disasble the answering machine, this bug is gone.I have cleared data of the phone app but still this issue persists.

    I suggest that you try to repair the phone software using PC Companion..
    Before repairing your device you may want to backup your information first. Check out this topic for more information on how to.
    How to backup?
    Let us know if the problem persist after you've repaired the software.

  • New 4s connects with bluetooth in my Lexus, but I have intermittent problems with calls.  I can hear them, but they can't hear me.  Never did this with 3gs.  Anyone else have this problem?

    New 4s connected to my Lexus bluetooth.  Having intermittent problem with calls.  I can hear them, but they can't hear me.  Never a problem with 3gs phone.  Anyone else having this problem? 

    I ended up getting a new phone, straight through Apple.  I called their technical support and went through all he basics again and they decided to replace it.  Was a pretty quick process - after defaulting and resetting the whole phone (about 2 hours),  I called them back to inform that there was no change, so they set up the order.
    I had to give my CC# so they could hold a charge on it (in case I didn't send my old phone bach, which they sent me a pre-posted package to send it in anyway).  Had a brand new iPhone 4S in my hands in 4 days, which was pretty decent.  I had uploaded everything previously to iCloud, so setting up the new phone was a snap.
    Only thing I really didn't like was they charged me almost 30 bucks for shipping or processing, or something.  Not so sure that should have been my responsibility after spending so much on a brand new product, only to have to have it warrantied after, like, a month.

  • TS3367 FaceTime has a problem with calling (audio, video) between two devices when they are in the different networks.

    Hi,
    I have a problem with calling by FaceTime when me and my friend are in the different networks.
    When i call to another device I see this call on that device and tap to the answer button after that i see a message "connecting" but the first device is trying to call in during about 1 minute and finish the call.
    But if both of the devices have connected to the one network (wifi) it works correct.

    Actually, it started working fine when I told it to capture
    sound at 11kHz.. I should have tried that first, before making a
    fuss here, sorry. Looks like some weird glitch, a driver problem
    maybe, but anyway, switching to 11kHz seems to have solved
    it.

  • Problem with Oracle procedure

    Hi,
    We have a problem with a Oracle procedure call using the Sql Execute
    Procedure statement.
    The call gives us this error :
    SYSTEM ERROR: (This error was converted)
    (This error was converted)
    OpenCursor failed for SQL statement in project LFB010, class
    ClsDemarreLFB010,
    method Demarre, methodId 4, line 32, error from database is:
    ORA-01036: illegal variable name/num
    Class: qqdb_ResourceException
    Distributed method called: qqdb_SessionProxy.OpenCursor!22 (object
    name
    instance/d4745a10-c8e4-11d1-97fd-90cad1e7aa77:0x196:0x4/lfb010_cl0/lfb010_cl
    0-fonctiondbservice0x196:0x2)
    from partition "LFB010_CL0_Client", (partitionId =
    D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196:0x4, taskId =
    [D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196.3]) in application
    "FTLaunch_cl0", pid 4290975297 on node LAXOU146 in environment
    CentralEnv
    Oracle error: 1036, Server: sipre_tcp, UserName: forte
    Database Statement: begin
    :qqReturnValue := AID_CUMUL_ELTVAL;
    end;
    Class: qqdb_ResourceException ..........
    And this is the TOOL code :
    BEGIN TRANSACTION
    TmpEtat : IntegerData = new;
    TmpEtat.SetValue (( SQL EXECUTE PROCEDURE AID_CUMUL_ELTVAL ON SESSION
    FonctionDBService ));
    Etat = TmpEtat.Value;
    END TRANSACTION;
    Our procedure has no parameter and when we put a dummy parameter to the
    procedure and pass it in the TOOL SQL statement, it works fine althoug the
    Fort&eacute; help says the parameter list is optionnal !
    We tried to execute the procedure in a "SQL Select OurProdecure Into ..."
    statement, but it does'nt work because there is a SQL update in the
    procedure and it is forbidden by Oracle.
    Has anyone seen this error before ?
    Any ideas would be greatly appreciated.
    Many thanks and regards,
    Manuel DEVEAUX
    Previade, France
    e-mail : deveauxpreviade.fr

    Hi,
    We have a problem with a Oracle procedure call using the Sql Execute
    Procedure statement.
    The call gives us this error :
    SYSTEM ERROR: (This error was converted)
    (This error was converted)
    OpenCursor failed for SQL statement in project LFB010, class
    ClsDemarreLFB010,
    method Demarre, methodId 4, line 32, error from database is:
    ORA-01036: illegal variable name/num
    Class: qqdb_ResourceException
    Distributed method called: qqdb_SessionProxy.OpenCursor!22 (object
    name
    instance/d4745a10-c8e4-11d1-97fd-90cad1e7aa77:0x196:0x4/lfb010_cl0/lfb010_cl
    0-fonctiondbservice0x196:0x2)
    from partition "LFB010_CL0_Client", (partitionId =
    D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196:0x4, taskId =
    [D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196.3]) in application
    "FTLaunch_cl0", pid 4290975297 on node LAXOU146 in environment
    CentralEnv
    Oracle error: 1036, Server: sipre_tcp, UserName: forte
    Database Statement: begin
    :qqReturnValue := AID_CUMUL_ELTVAL;
    end;
    Class: qqdb_ResourceException ..........
    And this is the TOOL code :
    BEGIN TRANSACTION
    TmpEtat : IntegerData = new;
    TmpEtat.SetValue (( SQL EXECUTE PROCEDURE AID_CUMUL_ELTVAL ON SESSION
    FonctionDBService ));
    Etat = TmpEtat.Value;
    END TRANSACTION;
    Our procedure has no parameter and when we put a dummy parameter to the
    procedure and pass it in the TOOL SQL statement, it works fine althoug the
    Fort&eacute; help says the parameter list is optionnal !
    We tried to execute the procedure in a "SQL Select OurProdecure Into ..."
    statement, but it does'nt work because there is a SQL update in the
    procedure and it is forbidden by Oracle.
    Has anyone seen this error before ?
    Any ideas would be greatly appreciated.
    Many thanks and regards,
    Manuel DEVEAUX
    Previade, France
    e-mail : deveauxpreviade.fr

  • IPhone 3GS multiple problems with calls and text

    I have AT&T for service provider and I am having these problems with the THIRD Iphone 3Gs that I have received since Jan 12.
    I  turned off 3GS again after newest update, not sure if it willl help or not.
    Also, I have the same problems with this phone as previous 2 Iphones I got at Apple Stores:
    * sporadically drops calls -  even if I don't move from the spot I originally called from.  This is my only phone, so I need to make and receive any calls to this phone.
    *"Searching", "No Service", so text messages don't get sent, but I don't know that unless I check back to see the red ! and I keep trying to resend...
    * No SIM card - but, only know this if I check, not good when busy and waiting for a call or text.
    Do I need to go to an Apple store again (not nearby me) to replace it before my replacement warranty runs out?
    Thanks for any help!

    Try powering the phone off, then removing and replacing the battery, and powering the phone back on. 
    Then try  dialing *228 send and option 2 on the phone to update the PRL.
    Then try closing down applications that you are not using on the device.
    From the home screen, touch the applications tab (located at the bottom of the display).
    Touch Settings.
    Touch Applications.
    Touch Running services.
    Touch a service you are not using then.
    Touch Stop.
    From the home screen, touch the applications tab (located at the bottom of the display).
    Touch Settings.Touch Applications.Touch Running services.
    Touch a service you are not using then.
    Touch Stop.
    Repeat steps as needed.

  • Problem with CALL TRANSFORMATION xml - abap

    Hello!
    I got the following problems using call transformation to read a xml-file to local abap datatype!
    Simple xml file for testing:
    <BMECAT>
    <HEADER>
    asdf
    </HEADER>
    </BMECAT>
    XSLT file:
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:template match="/">
        <xsl:value-of select="./BMECAT/HEADER"/>
      </xsl:template>
    </xsl:transform>
    The xslt transformation works with xslt-tester!
    My Source:
    DATA: xmlupl TYPE string,
    outputx TYPE XSTRING,
    lv_string TYPE string.
    * in xmlupl my xml import is stored
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    EXPORTING
    text = xmlupl " variable type string
    IMPORTING
    buffer = outputx. " variable type xstring
    TRY .
         CALL TRANSFORMATION path_to_xslt_file
           SOURCE XML outputx
         RESULT HEADER = lv_string.
    CATCH cx_xslt_exception INTO xslt_error.
         data: xslt_message type string .
         xslt_message = xslt_error->get_text( ).
    ENDTRY.
    After debugging in xslt_message is stored the following text:
    "The element abap was expected for the XML-ABAP transformation"
    Can anyone help me with this problem?
    Regards,
    Daniel

    hi
    good
    try this code
    Just look at this piece of code, I think it should help you.
      DATA : ITAB   TYPE TABLE OF SPFLI,
             L_XML  TYPE REF TO CL_XML_DOCUMENT.
      SELECT * FROM SPFLI INTO TABLE ITAB.
    CREATE THE XML OBJECT
      CREATE OBJECT L_XML.
    CONVERT THE DATA TO XML
      CALL METHOD L_XML->CREATE_WITH_DATA( DATAOBJECT = ITAB[] ).
    DATA IS CONVERTED TO XML; DISPLAY THE XML-DOCUMENT
      CALL METHOD L_XML->DISPLAY.
    thanks
    mrutyun^

Maybe you are looking for

  • No more Facebook contacts after update

    Hi, As I was experiencing Facebook connection issues the last week, I updated Skype to the 7.5.64.101 version. After I'm asked to sign in on Facebook on Skype Start I get this message: Facebook friends on Skype To chat with friends on Facebook, simpl

  • Total mac noob needs a little help!

    Hi everyone, Just got an imac and just a few things are bugging me, i installed firefox and msn messeger, and underneath my Mac HD icon, there are white disk box thingys that wont go away, why is this? is it because the programs havent been installed

  • Xsl:message

    hi friends, I am trying to raise error from xslt mapping. I used <xsl:message terminate="yes">my error message</xsl:message> I have set TRACE_LEVEL to 3 & LOGGING to 1 in integration engine configuration still I do not see my error message under 'tra

  • How do I change the format of my 5th Generation iPod from Windows to Mac

    How do I change the format of my 5th Gen iPod from a Windows format to the Mac?

  • Query to find no of segments in sob and validating those dynamically?

    Hi, I need to upload segments into staging table and then perform validations as follows: Based on SOB no of segments differ so before loading the data into staging table I need to know no of segments upfront so that I can load into those columns in