How to go to related line number

hi all,
Cause: FDPSTP failed due to ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APPS.WSH_UTIL_CORE", line 2093
ORA-06512: at "APPS.UML_POS_ORDER_IMPORT_PKG", line 923
This is package and I would like how can I go to line number 923 to check quick results.
Thanks

user9275313 wrote:
hi all,
Cause: FDPSTP failed due to ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "APPS.WSH_UTIL_CORE", line 2093
ORA-06512: at "APPS.UML_POS_ORDER_IMPORT_PKG", line 923
This is package and I would like how can I go to line number 923 to check quick results.Open the package in the editor of your choice and use the editor's build in ability to go to the appropriate line.
If the package is wrapped or a built in oracle package, you may struggle to open it, but then that would imply that either there's a bug in the package (ensure you're database is patched and check oracle support for known issues), or you're more likely calling procedures/functions in the package with the wrong parameters.

Similar Messages

  • How to get PL/SQL line number ?

    Hello, All !
    I have an Error pointing to Line number - "ORA-06512: at "..._PKG", line 295
    How do I find out in physical code exactly where this line is ? I used SQL Navigator (it has line count) but It didn't match ! (Function names different in Error message and in Script Editor window and it pointed to a blank line). Does line count start from Package Spec or Body ?
    Please Help,
    Thanx !

    The line number is relative to the first line of the body. The most definitive way to identify the exact line would be to use USER_SOURCE ...
    SELECT TEXT
    FROM USER_SOURCE
    WHERE NAME = ...
    AND LINE = 295
    Richard

  • How to get input source line number

    I wrote a XSLT transformation that checks the input XML for errors.
    When the transformer finds a problem, it can terminate with <xsl:message terminate="yes">, which outputs the line number within the transformer XML source. I do so in my implementation to indicate errors.
    But i need to output the line number of the input source, not that of the transformer source, because this is the location of the error.
    Anybody knows how to do this?
    How can i get the current line number of the input source XML text?

    Hello Fritz!
    XALAN reads the entire input file (SAX) before starting with transformation.
    So overriding the input stream is no way to find this line number.
    I think this would have to be a built-in XSLT functionality within the tag "xsl:message".

  • How do I get the line number of the sales order and how do I save info?

    I am trying to create a form that is able to be called from a right click on the sales order matrix and will display some of the user defined fields associated with the line.
    I've managed to create a form and add a menu option to the right click but I'm now stuck because of the following:
    1. How to I know which line the user selected? I need the REAL Line Number from the RDR1 table because I need to use it on the data filter of the form.
    2. I hard coded a line to just to see if I can load a form and it appears to load and bind the data to the controls, but how do I save changes made? There are several text fields, combo boxes, and a picture control.

    Hi Coleman,
    1. The pVal returned form a menu event does no provide the LineId, but a pVal from a Item Event does. I suggest you use a DoubleClick or Control + Click on the Line to trigger an event that you can catch and use to launch your form.
    2. Please note that if the Sales Order line is closed you'll not be able to update the values. If it's not, then you need to instantiate a Sales Order document, get the correct document with the GetByKey method and update whatever fields you need.
                    Dim oSalesOrder As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oOrders)
                    If oSalesOrder.GetByKey(docentry) = True Then
                        oSalesOrder.Lines.SetCurrentLine(pVal.Row - 1)
                        oSalesOrder.Lines.UserFields.Fields.Item("U_MyUDF").Value = ""
                        oSalesOrder.Update()
                    End If
    Regards,
    Vítor Vieira

  • How to turn on the line number in NWDS?

    The NWDS is based on the very old version of Eclipse. If you open the java source you can't see the line number. I try toturn it on. How?

    Hi
    If you want to navigate to the specified Line Number you can use the following Short cut
    Ctrl + L  [in NWDS]
    Regards
    Chaitanya.A

  • How do you specify a line number with getline() (c++)

    How do you specify which line for getline() to read with c++ similiar to how awk uses $1, $2, $3 , etc etc...
    Example:(Ignore the underscores)
    Line1 Line2
    10____10
    20____20
    30____30
    40____40
    if I were making a program to remove 10 on the first line and 20 on the second line how would I tell getline which line to read
    Example source code:
    #include <cstdio>
    #include <fstream>
    #include <string>
    #include <iostream>
    using namespace std;
    int main()
    string line;
    string line2;
    ifstream in("/Users/lundquisted/Desktop/infile.txt");
    ofstream out("/Users/lundquisted/Desktop/outfile.txt");
    while( getline(in,line) )
    if(line != "10")
    out << line << endl;
    while (getline(in,line2) )
    if(line2 != "20")
    out << line2 << endl;
    in.close();
    out.close();
    remove("/Users/lundquisted/Desktop/infile.txt");
    rename("/Users/lundquisted/Desktop/outfile.txt","/Users/lundquisted/Desktop/inf ile.txt");
    return 0;
    }

    Eric Lundquist wrote:
    store the output of a system() command within a c++ program to a string and/or variable
    A number of apps call Unix utilities and capture both stdout and stderr, typically for viewing in a log window, but for other uses as well. Xcode, for example, starts up gcc and does various things with the text that gcc might otherwise print in a Terminal window. Most apps that rely on Unix commands that way don't use "system()", which is a rather crude way of launching utilities that leaves the parent program with very little control. Usually, the best way to manage helper utils from a Cocoa app is by using NSTask and NSPipe. If you spend some time with the two following pages, you'll learn how to do almost anything you want with command line utils from inside a Cocoa app:
    [http://www.cocoadevcentral.com/articles/000025.php]
    [http://macosx.com/forums/archive/t-3927.html]
    The first link goes to a great tutorial on using NSTask. Capturing stdout and stderr are only covered briefly towards the end, however. Note the last comment explaining why "system()" is a bad idea.
    The second link goes to a forum thread. Scroll down to the code posted by "blb" for some very clear examples of launching with NSTask and reading the output with NSPipe.
    If you really want to use a shell command, you could give NSTask a command like ' +bash -c "ls -lt | grep drwx"+ ' (see how setArguments: is used in the tutorial).
    If you just want to do something cheap and dirty with "system()" so you can see some awk output while you're learning how to do things the right way, I guess you could do something like this:
    system(" cat ~/random.txt | awk '{print $2}' > MyFile.txt");
    NSString *myString = [NSString stringWithContentsOfFile:@"MyFile.txt"
    encoding:NSUTF8StringEncoding error:nil];
    Of course you can just read MyFile.txt into cin if you're not using Cocoa.
    - Ray

  • How to read a file and save the line number of  the last line read?

    Hi,
    I am using RandomAccessFile and file as my class. I am trying to read a log file as it gets updated and print it out to a java window. i so far have the framework setup but dont know how to save the last line number so.
    i need this variable so i dont reprint out the same line numbers to the java window. please advise.
    thanks!

    hi,
    i now have the line number of the last line read, but now when i reopen the file, how can i skip that number of lines?
    thanks,

  • Line number error in Exception stack trace does not work in J2SDK 1.4

    why the line number when your progam fails (in Java 1.3)
    don�t shows the line number but in Java 1.4.2:
    in a run fail prints something like:
    at SomeClass.someMethod()<unknow source>
    why: <unknow source>
    should I modify the (java or javaw) command arguments to specify that prints the line numbers when has throwns any exception and print the StackTrace ??

    Hi,
    I have another but related question:
    I am using a testing tool, called as Fitnesse. When an exception is thrown, it shows the exception trace but the line numbers are not shown, because the source code is unknown to the tool. It is an open source tool, so I want to change the settings such that it shows the line numbers.
    I know, maybe I should ask the question to the tool-forum. But I think, this problem is a general one, not related to a specific tool. How can "java" know the line number of the source code, where an exception is thrown?
    Thanks and best regards
    Mert Nuhoglu

  • Statusbar displaying current line number?

    Hi,
    I am building a swing application where I have one text editor and one status bar. I want to display current line no in status bar. I tried with getCaretPosition() but it does not returns line number, is there any other way to get current line number to display it on status bar? Thanks.

    is there any other way to get current line number Did you search the forum?
    How about the keywords "current line number", taken directly from your question. So you can see its really not that hard to think of keywords to use in a search.

  • To get line number for xml file.

    how do u get th line number of a particular node i parse.
    is it possible only when error comes the line number and mesage can be displayed.
    is it possible when i use xpath expression for a particular node and if that xpath returns boolean false then can i get the line number where the node present..??
    plz reply..

    There are java classes that will give you the line number of records from files you are reading. Names begin with Line...

  • Count from Cross TAB1 should add to Line Number in Cross TAB 2 in 1 report

    Hello Friends I have 2 cross Tab1 based on 2 query data providers. I need to feed calculate the Count of Items in Cross Tab1 and add that to line Number in Cross TAB2 which sit below cross tab1
    So if there are 21 items in Cross TAB1 then Line Number in Cross TAB 2 shall be 22
    so do this i Created a count variable
    =Count([Item ID]) In Report
    which give me 21 in cross tab1 but when I drag that to cross tab2 it give junk value 179
    so How do I fix this Line number Count in Cross Tab 2
    Please help with code to say Count([Item ID]) In Report from cross tab1 and add Line Number to it = 22
    thanks
    soniya

    Hello Friends I have cross Tab1 and Cross Tab2 based on 2 query data providers. I need to feed calculate the Count of Items in Cross Tab1 and DISPLAY In cross Tab2
    Dimension name is ITEM ID
    So if there are 21 items in Cross TAB1 then in Cross TAB 2
    I want to display "Number of Item" = 21
    so do this i Created a count variable
    =Count([Item ID]) In Report
    which give me 21 in cross tab1 but when I drag that to cross tab2 it give me count of Item in Cross Tab2 = 87 which is wrong since i want 21
    so How do I fix this Count in Cross Tab 2
    Please help with code to say Count([Item ID]) In Report from cross tab1
    thanks
    Soniya

  • Line number of debugging script

    Dear Sir/Mam,
          i am debugging a script , how to know in which line-number i am debugging , in case of reports , we can see the line number directly if we select the " swith to classical debugger " , but in case of script , i am not able to find the line number , my script consists of 1132 lines of code. , please help me.
    Thanks in Advance,
    Dastagiri N.

    Dear Sir/Madam,
           I executed RSTXDBUG , and executable program of ME23N ( RM_MEPO_GUI ) now entered in to debugging script,
    as long as i press  F5 ( single step ) or F6 ( execute ) or F8 ( continue ) , i didnt find any line number ,
    if i found the line number , that makes me easy to modify the code.
       And also please tell me how to delete a line in editor.
                       i.e.,After clicking text element icon , while writing the code for a particular window , unfortunately i pressed enter instead of shift ,i entered in to new line , how can i erase that line  
                  please help me for these cases.
    Thanks & Regards,
    Dastagiri.

  • Trapping line number/source file where exception occured

    Hi,
    How can we trap the line number where an exception was thrown and then store this information in a local data object? The line number appears in the stack trace but the only methods i can find for extracting info from the stack trace seem to write onto a file and not a local object.
    Appreciate any suggestions
    -Nikhil

    JDK 1.4 adds a getStackTrace() method to class Throwable. getStackTrace() returns an array of StackTraceElement objects, from which you can get file name/line number info and more.
    prior to JDK 1.4, your best bet would be to do a printStackTrace() to a StringWriter, and parse the resultant string. however, i believe the stack trace format is not platform-independent, so if you're writing something that will be run on different VMs, beware.

  • How can I find out the number of lines in a text file?

    How can I find out the number of lines in a text file?

    java.io.BufferedReader in = new java.io.BufferedReader( new java.io.FileReader( "YourFile.txt" ) );
    int lineCount = 0;
    while( in.readLine() != null )
    lineCount ++;
    System.out.println( "Line Count = " + lineCount );

  • When I press on a land line number, the phone does not call the number, but comes up with a screen to send a text to it.  How do I get my phone to default to phoneing a landline?

    When I press on a land line number, the phone does not call the number, but comes up with a screen to send a text to it.  How do I get my phone to default to phoneing a landline?  When I press a mobile number in contacts, the phone automatically phones the number.  I do not mind this as I hardly ever send texts, but I would like to have the option of what to do.  This seems such an obvious issue but I can not solve it even with much web searching.  Thanks!

    I can't delete my question, so I'll just say that you press on the type of number written in the box to the left of the box you typye the number into.  Dumb or what? 

Maybe you are looking for

  • Protective Case for Ipod

    Can anyone recommend a protective device?? I see they have some you can hang on your belt.....Leather types?? Name Brands that would be good...Thanks

  • Booting from external HD problems?

    Hi There, My wife's iBook (OS 10.4, G3 800 which got a new mother board 6 months ago) died again last week. She was out of town so in desperation she got the HD removed by a technician and put it in a USB-2 external box so she can access her data fro

  • Windows error when importing Essbase cube into OBIEE

    Hi all: This question is perhaps more relevant to the OBIEE forum, but I put it up there a few days ago and got no response. So now I'm hoping to get some help on this side of BI land! My issue is that I'm trying to import an Essbase cube (system 11)

  • Using multiple JFrames

    hi I'm using mutiple JFrames to develop my applications. The problem in here is I can't manage frames not to be accessed when 1 frame is active. I want the frames to be appered one by one except the main frame. But the main frame can be accessed when

  • Page Numbers in Adobe Story

    I'm writing a script in Adobe Story, but each of my pages has the same number on it, for example 1. How do I default back to having a new page number for each page? Thanks.