Orcale Report 6i SQL ERROR

I have the following SQL code in my report which worked at one time. But now
I get ORA-00904 invalid column name
p.purchase.type in ( ===> Capital ) )
Can anyone tell me what is wrong?
SELECT p.po_requistn_id,
p.chgordr_id,
pli.poline_seqnum,
p.venid_num,
p.hr_id,
p.orig_id,
p.po_id,
p.req_create_date,
p.ordr_create_date,
p.po_status,
pli.pj_id,
pli.units_desc,
pli.acctcode,
pli.po_line_qty,
pli.po_line_desc As Line_Description,
pli.po_line_cost,
pli.po_lindelv_date,
pli.part_num,
InitCap(pli.po_line_mfg) As Manufacturer,
pli.department_id,
InitCap(v.ven_name) As "Ven Name",
InitCap(ltrim(hr_b.hr_lname ) || ', ' || ltrim(hr_b.hr_fname) ) As requisitioner_name,
InitCap(ltrim(hr_a.hr_lname ) || ', ' || ltrim(hr_a.hr_fname) ) As orig_name
FROM purchase p,
purchase_line_item pli,
human_resource hr_a,
vendor v,
human_resource hr_b
WHERE ( pli.po_requistn_id (+) = p.po_requistn_id) and
( pli.chgordr_id (+) = p.chgordr_id) and
( p.hr_id = hr_b.hr_id ) and
( p.orig_id = hr_a.hr_id ) and
( p.venid_num = v.venid_num ) and
               ( pli.department_id between :FrmDpt and :ToDpt) and
               ( p.req_create_date between :FrmDte and :ToDte) and
               ( p.purchase_type in ( &Type ) )
Order By p.po_requistn_id,
p.chgordr_id,
pli.poline_seqnum

Bogdan,
I am using a lexical parameter and I have a AFTERPFORM
function AfterPForm return boolean is
begin
IF :Type = 'All' THEN
:Type :='(''Capital'',''Standard'',''Blanket'',''Commodity'',''Invtyreq'',''Service'',''SMPO'')';
END IF;
IF :Type ='NonCapital' THEN
:Type := '(''Standard'',''Blanket'',''Commodity'',''Invtyreq'',''Service'',''SMPO'')';
END IF;
IF :Type ='Capital' THEN
:Type :='(''Capital'')';
END IF;
Return(TRUE);
end;
The SQL should look like this after the parameter has been entered.
( p.purchase_type in ('Capital','Standard','Blanket','Commodity','Invtyreq','Service','SMPO'));
If the user slects All as a parm.
Jacques

Similar Messages

  • SQL Error while running a report

    Hi Experts,
    I am getting an error like below while running a report for particular sales Organization and Company code combination
    *SQL Error: 83-*
    *SQL0083C A memory allocation error has occured*
    *Errors occured during parellel processing of query 30,RC:3*
    *error while reading data: navigation is possible*
    we are getting this error for the combination of Sales Org & Comp.code.
    if run simply for Sales Org. no error.
    Thanks
    Regards,
    <M@Hi>

    Hi Raj,
    There are a few OSS Notes for your issue.
    If your Query has hierarchy in it then check 734184
    If your query is based on Infoset then check Note 784502 and 701941.
    Also check 668921.
    Bye
    Dinesh

  • Restricting the pl/sql error in report region(sql report)

    Hi,
    Is there any way to hiding pl/sql error in report region when we use generic column names*(Use Generic Column Names (parse query at runtime only)*
    ). and type is sql query else displaying alternative error message on that particular report region
    I am using apex 4.1 and 11g database
    Thanks
    Sagar.

    What kind of pl/sql error you are talking about?

  • Report builder error after applying sql server 2008R2 SP3 when click on report builder gives error like 'Application validation did not succeed. Unable to continue.

    Hi All,
    I applied SQL server 2008 R2 SP3 recently but report builder doesn't work since then
    When click on report builder gives error like 'Application validation did not succeed. Unable to continue.
    and when I try to see details the error summary like following:
    +File, Microsfot.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
    this is urgent.
    Please reply me asap.
    thanks a lot in advance.
    Regards,
    Nik
    Regards, Naman

    Hi nikp11,
    According to your description, you recently updated SQL Server 2008 R2 to SP3, Report Builder doesn’t work since then the error occurs: "Application validation did not succeed. Unable to continue".
    This is an known issue in SSRS 2008 R2 SP3 that Microsoft has published an article addressing this issue. It is not planning to release a fix for this issue. But we could implement one of the following workarounds:
    Install and run Report Builder 3.0 of SQL Server 2008 R2 RTM.
    Install and run Report Builder of SQL Server 2014.
    Uninstall Service Pack 3 then uninstall Service Pack 2 and then reinstall Service Pack 3.
    Reference:
    Report Builder of SQL Server 2008 R2 Service Pack 3 does not launch
    Thank you for your understanding.
    Best Regards,
    Wendy Fu

  • Getting zero-sized reply error when running report from SQL query

    Hi,
    I have a Report from SQL Query in Portal. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Problem comes when any of the filter is applied in any one of the cases selected from the GUI.Do you mean that the problems only shows when you run the report in your browser via 9iAS?
    Which version are you using?
    Can you post the before report trigger?

  • Getting Zero Sized Reply error in report from SQL query

    Hi,
    I have a Report from SQL Query in Portal 3.0.9. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

    Hi,
    I have a Report from SQL Query in Portal 3.0.9. When I select Excel in Output Format and then run the report, it works properly, but when I select HTML in Output Format, the report works if the rows returned are not so many (I've been able to display the report for up to 701 rows), but when I try selecting a value from the LOV that selects many rows, I get the following error:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: <data suppressed>
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Any ideas on how to fix this? Why does the number of rows returned affect the report this way?
    Thanks,
    Lorena

  • Designer 6.0 Repository Reports and PL/SQL Error ORA 6505

    Trying to run some Repository reports give error
    REP-1401 'cf_desc_textformula'. Fatal PL/SQL error occurred.
    ORA-06505: PL/SQL: variable requires more than 32767 bytes
    of contiguous memory
    Occurs at e.g. ckentdef Seems to be that Reports has Problems
    with the Entity Descriptions and Notes in the repository...
    The Database Characterset is US7-ASCII
    Any Ideas?
    Michael
    null

    Hi, I4m not sure, but maybe it works,in WHEN OTHERS zone, to make commit after the insert in the table where you want the errors to log. You can make commit in a trigger if you specify in the declaration zone of the trigger:
    PRAGMA AUTONOMOUS_TRANSACTION;

  • PL/SQL error in JSP Reports

    Hi,
    I am trying to create a simple PL/SQL in a JSP report thar returns a column's value as below:
    Return :RES_COM_CODE ;
    I am getting an error as below:
    javax.servlet.jsp.JspException: REP-0724: Cannot get the value of Column 'RES_COM_CODE' here. REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.
    Can someone please tell me how to solve the error above? The CF_1 is in the same group as 'RES_COM_CODE' .
    Thank you in advance.
    Cheers,
    Tan

    it seems to be a bug in oracle.
    you need to apply the patchset 9.0.4.1 to get this issue resolved.
    .0.4.1 3240140 This fix will solve the REP-0724 error (and engine crash/hang) which you web only report and formula column accessing database columns in the group

  • CJS-00030  Assertion failed: Execution of SQL script reports an unexpected error.System Copy

    Experts,
    I am performing Homogeneous System copy using backup/restore method.I have taken QA system backup ie dump files and trying to build on Sandbox system for testing purpose.Everything went fine and was able to load the dump but stuck at one of the point and throwing me error
    ERROR      [cinstallercallbackimpl.cpp:228]
    CJS-00030  Assertion failed: Execution of SQL script reports an unexpected error.
    When I checked the sapinst_dev log I found the below error but not able to fix it and not aware to proceed further
    1> use SID
    1> EXEC sp_changedbowner sapsa
    Msg 17362, Level 16, State 1:
    Server 'SID', Procedure 'sp_changedbowner', Line 181:
    The proposed new db owner already is a user in the database or owns the database.
    (return status = 1)
    I am sure these may be small changes that have to be made by changing the db owner and Im not exactly sure how to perform it.
    Note:I am Using the Windows environment with Sybase ase database and SWPM tool to perform.
    Appreciate your suggestions
    Thanks

    I fixed the issue ..by changing the owner sapsa.Bingo !!!!

  • Trying to produce report but have ERROR ORA-00900: invalid SQL statement

    Hi,
    I am new to Oracle so have been experimenting with a few things to get the hang of it. I have been trying to produce a report, but keep getting the error: ORA-00900: invalid SQL statement.
    This happens at my first line of code where I have COLUMN <column_name> HEADING <Heading_name>
    So I am a bit confused - is there a command that I am supposed to issue that indicates to SQL*Plus that I am trying to create a report?
    Also, if I just delete the COLUMN <column_name> HEADING <Heading_name> rows and just start at BREAK ON <column_name> SKIP 1, it produces the same error.
    I am using Oracle 8.0.6 - does this make a difference?
    Here is my code:
    COLUMN a.p_ctryid HEADING 'Country'
    COLUMN s.p_animid HEADING 'Stallion ID'
    COLUMN s.p_uname HEADING 'Stallion Name'
    COLUMN a.p_animid HEADING 'Horse ID'
    COLUMN d.p_careertp HEADING 'Career'
    BREAK ON s.p_animid SKIP 1
    BREAK ON d.p_careertp SKIP 2
    COMPUTE SUM LABEL 'Total' OF d.p_careertp ON REPORT
    SELECT DISTINCT a.p_ctryid, s.p_animid, s.p_uname, a.p_animid, d.p_careertp
    FROM p_owby.p_animal a, p_owby.p_animal s, p_owby.p_mating m, p_owby.p_anim_dtl d
    WHERE m.p_mateyr = 2001
    AND a.p_animid = d.p_animid
    AND a.p_animid = m.p_animid
    AND a.p_animid > 0
    AND s.p_animid = a.p_sire
    AND a.p_ctryid IN('GB','IRE')
    GROUP BY a.p_ctryid, s.p_animid, s.p_uname, d.p_careertp, a.p_animid
    ORDER BY a.p_ctryid, s.p_animid, d.p_careertp
    Any help would be greatly appreciated!
    Thanks in advance!

    You are trying to do COMPUTE SUM ... ON REPORT but there is no BREAK ON REPORT specified. The computed sum will not be shown unless you also break on report. see below demonstration. first select has no sum even though we have specified COMPUTE. The second select shows the sum since now we have done break on report.
    SQL> compute sum of sal on report
    SQL> select * from scott.emp order by empno ;
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982       1300                    10
    14 rows selected.
    SQL> break on report
    SQL> select * from scott.emp order by empno ;
         EMPNO ENAME      JOB              MGR HIREDATE           SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982       1300                    10
    sum                                                         29025
    14 rows selected.
    SQL>

  • Rep-1401: formula name : Fatal Pl/SQL error occured

    Hi,
    I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured.
    I created a formula column in the report. In that i have three local variable.
    f_val number := 0;
    s_val number := 0;
    t_val number := 0;
    t_val := f_val/s_val ; --> this gives the above fatal error.
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error
    t_val := f_val/(s_val + 1); ---> no error
    if i change the value of s_val
    s_val := 1;
    t_val := f_val/(s_val - 1) ; ----> this gives the above fatal error.
    Can anyone help me to solve this problem or is it report builder bug.
    Please help me, as i desperately need help.
    Thanks

    Thanks for ur reply.
    I used nvl too, but the same error occurred.
    For the information in my question I by mistake typed
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error.
    but when the value of f_val = zero and s_val is zero why it gives fatal error when i divide, i used nvl on both the variable while dividing but still got the same error.
    but if s_val is greater than zero then no error occurs.
    please help me, I feel it is a bug.

  • Rep-1401 : Fatal PL/SQL error occured

    Hi,
    I am using report builder 6.0 and recently came across a error while running the report. Rep-1401:<formula name> : Fatal Pl/SQL error occured.
    I created a formula column in the report. In that i have three local variable.
    f_val number := 0;
    s_val number := 0;
    t_val number := 0;
    t_val := f_val/s_val ; --> this gives the above fatal error.
    t_val := (f_val + 1)/s_val; --> this gives the above fatal error
    t_val := f_val/(s_val + 1); ---> no error
    if i change the value of s_val
    s_val := 1;
    t_val := f_val/(s_val - 1) ; ----> this gives the above fatal error.
    Can anyone help me to solve this problem or is it report builder bug.
    Please help me, as i desperately need help.
    Thanks

    The best way to handle this is to just add an exception handler that handles a zero divide.
    EX:
    function...blah
    var3:=var/var2...
    EXCEPTION
    when zero_divide then
    var3:= 0;Zero Divide is a built-in exception to handle cases just like this - so if you run into it, you can set it to whatever you want

  • SQL ERROR

    HI EXPERTS!
    CAN ANYBODY TELL ME HOW TO RESOLVE THIS RUNTIME ERROR ON EXECUTING TRANSACTION PC00_M40_CALC.
    Runtime errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
           Occurred on     07.08.2007 at   14:13:06
    An SQL error occurred when accessing a table.
    What happened?
    What can you do?
    Make a note of the actions and input which caused the error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Error analysis
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "GET_SLAB_RATE" "(METHOD)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    How to correct the error
    The exception must either be prevented, caught within the procedure
    "GET_SLAB_RATE"
    "(METHOD)", or declared in the procedure's RAISING clause.
    To prevent the exception, note the following:
    Database error text........: "ORA-04031: unable to allocate 4200 bytes of
    shared memory ("shared pool","SELECT * FROM "T7INT1" WHERE...","library
    cache","kkslpkp - literal info.")"
    Internal call code.........: "[RSQL/FTCH/T7INT1 ]"
    Please check the entries in the system log (Transaction SM21).
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC
    "CL_HRPAYIN_SLABRATES==========CP " or "CL_HRPAYIN_SLABRATES==========CM002 "
    "GET_SLAB_RATE"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    3. If the programs are your own programs or modified SAP programs,
       supply the source code.
       To do this, you can either use the "PRINT" command in the editor or
       print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error occurred
       or which actions and input led to the error.
    System environment
    SAP Release.............. "620"
    Application server....... "hmsidev01"
    Network address.......... "10.249.16.150"
    Operating system......... "Windows NT"
    Release.................. "5.0"
    Hardware type............ "2x Intel 801586"
    Character length......... 8 Bits
    Pointer length........... 32 Bits
    Work process number...... 0
    Short dump setting....... "full"
    Database server.......... "HMSIDEV01"
    Database type............ "ORACLE"
    Database name............ "DEV"
    Database owner........... "SAPDEV"
    Character set............ "English_United State"
    SAP kernel............... "620"
    Created on............... "Jun 13 2004 22:06:10"
    Created in............... "NT 5.0 2195 Service Pack 2 x86 MS VC++ 12.00"
    Database version......... "OCI_817_SHARE "
    Patch level.............. "1511"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 8.1.7.."
    SAP database version..... "620"
    Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    User, transaction...
    Client.............. 100
    User................ "IR1"
    Language key........ "E"
    Transaction......... "PC00_M40_CALC "
    Program............. "CL_HRPAYIN_SLABRATES==========CP "
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where terminated
    The termination occurred in the ABAP program "CL_HRPAYIN_SLABRATES==========CP
    " in "GET_SLAB_RATE".
    The main program was "HINCALC0 ".
    The termination occurred in line 12 of the source code of the (Include)
    program "CL_HRPAYIN_SLABRATES==========CM002 "
    of the source code of program "CL_HRPAYIN_SLABRATES==========CM002 " (when
    calling the editor 120).
    Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
    the
    procedure "GET_SLAB_RATE" "(METHOD)" but was not handled locally, not declared
    in the
    RAISING clause of the procedure.
    The procedure is in the program "CL_HRPAYIN_SLABRATES==========CP ". Its source
    code starts in line 1
    of the (Include) program "CL_HRPAYIN_SLABRATES==========CM002 ".
    Source code extract
    000010   METHOD get_slab_rate .
    000020
    000030     DATA: wa_t7int1 TYPE  t7int1,
    000040           wa_t7int3 TYPE  t7int3,
    000050           slab_code TYPE t7int1-slcod.
    000060     CLEAR: wa_t7int1 ,
    000070           wa_t7int3 ,
    000080           slab_code .
    000090
    000100
    000110   * Select slab code from t7int1.
        SELECT * FROM t7int1 INTO wa_t7int1
    000130                WHERE sltyp = slab_type
    000140                AND begda LT ref_date
    000150                AND endda GE ref_date.
    000160       MOVE wa_t7int1-slcod TO slab_code.
    000170     ENDSELECT.
    000180
    000190   * Find out the rate for the salb code in which the income falls.
    000200     SELECT * FROM t7int3 INTO wa_t7int3 WHERE slcod = slab_code ORDER BY
    000210   hirge.
    000220       IF wa_t7int3-hirge GE income.
    000230         EXIT.
    000240       ENDIF.
    000250     ENDSELECT.
    000260
    000270     slab_rate = wa_t7int3-txval.
    000280
    000290
    000300   ENDMETHOD.
    Contents of system fields
    SY field contents..................... SY field contents.....................
    SY-SUBRC 0                             SY-INDEX 215
    SY-TABIX 63                            SY-DBCNT 1
    SY-FDPOS 1                             SY-LSIND 0
    SY-PAGNO 1                             SY-LINNO 1
    SY-COLNO 1                             SY-PFKEY
    SY-UCOMM                               SY-TITLE Payroll Driver, India
    SY-MSGTY                               SY-MSGID
    SY-MSGNO 000                           SY-MSGV1
    SY-MSGV2                               SY-MSGV3
    SY-MSGV4
    Active calls / events
    No.... Type........ Name..........................
           Program
           Include                                  Line
           Class
        16 METHOD       GET_SLAB_RATE
           CL_HRPAYIN_SLABRATES==========CP
           CL_HRPAYIN_SLABRATES==========CM002         12
           CL_HRPAYIN_SLABRATES
        15 FORM         STDDED03
           HINCALC0
           PCTAXIN0                                   564
        14 FORM         CALC_STANDARD_DEDUCTION
           HINCALC0
           PCTAXIN0                                   466
        13 FORM         FUINTAX
           HINCALC0
           PCTAXIN0                                   253
        12 FORM         AS-FUNKTION
           HINCALC0
           PCASFIN0                                    13
        11 FORM         ASLOOP
           HINCALC0
           RPCHRT09_ASLOOP                             58
        10 FORM         MONATSABRECHNUNG
           HINCALC0
           RPCHRT09_MONATSABRECHNUNG                   48
         9 FORM         RUECKRECHNUNG
           HINCALC0
           RPCHRT09_RUECKRECHNUNG                     136
         8 FORM         MAIN
           HINCALC0
           RPCHRT09_MAIN                              134
         7 FORM         %_GET_PERNR
           HINCALC0
           RPCHRT09                                   762
         6 FORM         FILL_INFOTYPE_TABLES_AND_PUT
           SAPDBPNP
           DBPNPF03                                   542
         5 FORM         PUTPERN
           SAPDBPNP
           DBPNPF03                                   470
         4 FORM         LOOP_AT_INDEX_AND_PUT
           SAPDBPNP
           DBPNPF01                                   996
         3 FORM         PUT_PERNR
           SAPDBPNP
           DBPNPF01                                   194
         2 FORM         %_ROOT
           SAPDBPNP
           SAPDBPNP                                   151
         1 EVENT        SYSTEM-EXIT
           HINCALC0
                                               20
    Chosen variables
        16 METHOD       GET_SLAB_RATE
           CL_HRPAYIN_SLABRATES==========CP
           CL_HRPAYIN_SLABRATES==========CM002         12
    SLAB_TYPE                      D
                                   4
                                   4
    REF_DATE                       20070331
                                   33333333
                                   20070331
    INCOME                         ####Q•“#
                                   00005991
                                   0001153C
    SLAB_RATE                      ########
                                   00000000
                                   0000000C
    WA_T7INT1                          0000000000000000
                                   222233333333333333332
                                   000000000000000000000
    WA_T7INT3                            #######       #######
                                   222222000000022222220000000
                                   000000000000C0000000000000C
    SLAB_CODE
                                   2222
                                   0000
    %_VIASELSCR                    #
                                   0
                                   4
    <%_TABLE_T7INT1>               ???
    %_SPACE
                                   2
                                   0
    SYST-REPID                     CL_HRPAYIN_SLABRATES==========CP
                                   4454554544554445454533333333334522222222
                                   3CF820199EF3C1221453DDDDDDDDDD3000000000
    SY-XPROG                       SAPDBPNP
                                   5454454522222222222222222222222222222222
                                   310420E000000000000000000000000000000000
    SY-REPID                       CL_HRPAYIN_SLABRATES==========CP
                                   4454554544554445454533333333334522222222
                                   3CF820199EF3C1221453DDDDDDDDDD3000000000
    SY-XFORM                       %_ROOT
                                   255445222222222222222222222222
                                   5F2FF4000000000000000000000000
    %_DUMMY$$
                                   2222
                                   0000
    <%_TABLE_T7INT3>               ???
        15 FORM         STDDED03
           HINCALC0
           PCTAXIN0                                   564
    STD_DED_TAB                    Table[initial]
                                   0000FFFD
                                   0000FFFF
    SY-TABIX                       63
                                   3000
                                   F000
    STD_PERCENT                    #####
                                   00000
                                   0000C
    %_SPACE
                                   2
                                   0
    SYST-REPID                     HINCALC0
                                   4444444322222222222222222222222222222222
                                   89E31C3000000000000000000000000000000000
    SPACE
                                   2
                                   0
    %_DUMMY$$
                                   2222
                                   0000
    $ENDDATE                       20070331
                                   33333333
                                   20070331
    $PRE_DEDN_AMOUNT               ####Q•“#
                                   00005991
                                   0001153C
    $CALC_DEDN                     ########
                                   00000000
                                   0000000C
    SY-REPID                       HINCALC0
                                   4444444322222222222222222222222222222222
                                   89E31C3000000000000000000000000000000000
    SY                             ×#######?###?###########################
                                   D000000030003000000000000000000000000000
                                   70001000F000F000000000000000000000000000
    ... +  40                      ####################„###############5###
                                   0000000000000000000080000000000000003000
                                   1000100010000000100040000000000000005000
    ... +  80                      ########################################
                                   0000000000000000000000000000000000000000
                                   0000000000000000400000000000000000000000
    ... + 120                      ################################%###Ž###
                                   0000000000000000000000000000000020008000
                                   000000000000000000000000000000005000E000
    ... + 160                      ############XM## P#############   E0   1
                                   0000000000005400250000000000000222432223
                                   0000700040008D00000020000C0000C000500001
    ... + 200                      000         ####PNP                 100
                                   3332222222220000545222222222222222223332
                                   00000000000000000E0000000000000000001000
    ... + 240                           00
                                   222223322222222
                                   000000000000000
    NO_OF_ROWS
                                   2
                                   0
    SY-TFILL                       63
                                   3000
                                   F000
        14 FORM         CALC_STANDARD_DEDUCTION
           HINCALC0
           PCTAXIN0                                   466
    P0015[]                        Table IT_204[12x147]
                                   F7D4DED48000C000000090000000FFFF00004500
                                   871900998000C000C00030000000FFFF40000F00
    ... +  40
                                   0000C020
                                   20001E80
    SW_AUFROLLUNG                  X
                                   5
                                   8
    %BX03242_BLOCK_1000            Log
                                   4662222222222222222222222222222222222222
                                   CF70000000000000000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   222
                                   000
    SNAME                          40INDED
                                   33444442
                                   409E4540
    T559A-WTIME                    000000
                                   333333
                                   000000
    OGRT[]                         Table IT_299[0x53]
                                   00000000C0002000000030000000FFFF0000E300
                                   000000003000B100000050000000FFFF40000310
    ... +  40
                                   1000C200
                                   00001E00
    ENDDATE                        20070331
                                   33333333
                                   20070331
    T596F-PGMNA                    HINCALC0
                                   4444444322222222222222222222222222222222
                                   89E31C3000000000000000000000000000000000
    T596F-MODNA                    STDDED03
                                   55444433
                                   34445403
    P_PRE_DEDUCTION_BALANCE        ####Q•“#
                                   00005991
                                   0001153C
    STANDARD_DEDUCTION             ########
                                   00000000
                                   0000000C
    P2006[]                        Table IT_460[37x168]
                                   9ED40000E000C0002000A0000000FFFF00008500
                                   877900006000C100500080000000FFFF40000600
    ... +  40
                                   0000C020
                                   20001E00
        13 FORM         FUINTAX
           HINCALC0
           PCTAXIN0                                   253
    ANNUAL_IRREGULAR_INCOME        ####3#%L
                                   00003124
                                   0000365C
    %_SET_VOID_%_APP_%
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    ANNUAL_PERK                    ########
                                   00000000
                                   0000000C
    SET_ODC
                                   2
                                   0
    %_SET_ODC_%_APP_%
                                   222222222222222222222222222222
                                   000000000000000000000000000000
    SET_REVR
                                   2
                                   0
    P%2007                         00000000           000000000000000000000
                                   3333333322222222222333333333333333333333
                                   0000000000000000000000000000000000000000
    ... +  40                      000000                                00
                                   3333332222222222222222222222222222222233
                                   0000000000000000000000000000000000000000
    ... +  80                      0000000000 00###### ######   00000000000
                                   3333333333233000000200000022233333333333
                                   000000000000000000C000000C00000000000000
    ... + 120                      0000000000000000000000000
                                   3333333333333333333333333222222222222222
                                   0000000000000000000000000000000000000000
    ... + 160
                                   222222222222
                                   000000000000
    PRE_DEDUCTION_BALANCE          ####Q•“#
                                   00005991
                                   0001153C
    OCRSN
                                   2222
                                   0000
    APER-PAPER-PABRJ               2006
                                   3333
                                   2006
    APER-IAPER-PABRJ               2007
                                   3333
                                   2007
    SW_INTIM
                                   2
                                   0
    APER-PAPER                     200612
                                   333333
                                   200612
    ANN_PTAX_AMT                   ########
                                   00000000
                                   0000000C
        12 FORM         AS-FUNKTION
           HINCALC0
           PCASFIN0                                    13
    P0584                          00000000           000000000000000000000
                                   3333333322222222222333333333333333333333
                                   0000000000000000000000000000000000000000
    ... +  40                      000000                                 #
                                   3333332222222222222222222222222222222220
                                   0000000000000000000000000000000000000000
    ... +  80                      ########################################
                                   0000000000000000000000000000000000000000
                                   00000C0000C0000C0000C0000C000000C000000C
    ... + 120                      ####################################
                                   0000000000000000000000000000000000002222
                                   000000C000000C0000C0000C000000C0000C0000
    ... + 160                                 0000
                                   22222222222333322222
                                   00000000000000000000
    ORGDIR                         00000        0000000000000000  00      0
                                   3333322222222333333333333333322332222223
                                   0000000000000000000000000000000000000000
    ... +  40                      0000000        0000000000000000000000000
                                   3333333222222223333333333333333333333333
                                   0000000000000000000000000000000000000000
    ... +  80                      0000000000000  00000000
                                   3333333333333223333333322222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                      00000000000000 000000000000000000000
                                   3333333333333323333333333333333333332222
                                   0000000000000000000000000000000000000000
    RP-IMP-CD-SUBRC                0
                                   0000
                                   0000
    CD-SUBRC                       0
                                   0000
                                   0000
    CD-INDEX                       0
                                   0000
                                   0000
    IT[]                           Table IT_490[63x53]
                                   EFC47AC4F000E000300030000000FFFF00005100
                                   0AB903399000A100F00050000000FFFF40000810
    ... +  40
                                   2000C000
                                   B0009E00
    IT                             */418######### #   ####################Q
                                   2233300000000020222000000000000000000005
                                   AF418000000000000000000000C0000000C00011
    ... +  40                      •“#
                                   9912222222222
                                   53C0000000000
    RGDIR_CA[]                     Table IT_383[0x156]
                                   00003ED4E0007000000090000000FFFF0000C100
                                   000086791000F1000000C0000000FFFF40000810
    ... +  40
                                   4000C000
                                   00001400
    RGDIR_CA                       00000        0000000000000000  00      0
                                   3333322222222333333333333333322332222223
                                   0000000000000000000000000000000000000000
    ... +  40                      0000000        0000000000000000000000000
                                   3333333222222223333333333333333333333333
                                   0000000000000000000000000000000000000000
    ... +  80                      0000000000000  00000000
                                   3333333333333223333333322222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                      00000000000000 000000000000000000000
                                   333333333333332333333333333333333333
                                   000000000000000000000000000000000000
    %%_DIR2[]                      Table IT_218[0x54]
                                   000000009000D000000030000000FFFF0000D100
                                   000000006000A000000060000000FFFF40008210
    ... +  40
                                   6000C000
                                   40001400
    <%_TABLE_T599B>                ???
    PY_PM_CONTAINER                                                00000000
                                   2222222222222222222222222222222233333333
                                   0000000000000000000000000000000000000000
    ... +  40                      0
                                   3222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 160
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 200
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 240
                                   222222222222222
                                   000000000000000
    PNPSTATU-LOW
                                   222
                                   000
    SET_LCW                        010
                                   333
                                   010
        11 FORM         ASLOOP
           HINCALC0
           RPCHRT09_ASLOOP                             58
    P_WITH_LOG                     X
                                   5
                                   8
    SW_EXPORT_ES
                                   2
                                   0
    ASNUM                          215
                                   D000
                                   7000
    APER_NUMB                      15
                                   0000
                                   F000
    NEXT_AS_ENTRY                  244
                                   F000
                                   4000
    SW_REPETITION                  X
                                   5
                                   8
    SW_P0005_CHANGED
                                   2
                                   0
    PNPSACHZ
                                   222222222
                                   000000000
    PTEXT[]                        Table IT_139[0x548]
                                   0000CCC460008000000020000000FFFF00004300
                                   00000D79C000B000000042000000FFFF40000500
    ... +  40
                                   1000C200
                                   00001400
    SW_VOID
                                   2
                                   0
    SCREEN                         %_17SNS0000177553_%_%_%_%_%_%_
                                   2533545333333333352525252525252222222222
                                   5F173E30000177553F5F5F5F5F5F5F0000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                           SRI00001#00000 ####
                                   2222222222222222222225543333303333320000
                                   0000000000000000000003290000100000000000
    SW_PROT
                                   2
                                   0
    PNPSBMOD-LOW
                                   2222
                                   0000
    PTEXT_LINES                    0
                                   0000
                                   0000
        10 FORM         MONATSABRECHNUNG
           HINCALC0
           RPCHRT09_MONATSABRECHNUNG                   48
    CALC_CURRENCY                  INR
                                   44522
                                   9E200
    SY-SUBRC                       0
                                   0000
                                   0000
    CALC_CURR_DEC                  1380862210
                                   0
                                   2
    TCURX-CURRDEC                  0
                                   0
                                   0
    PNPPERSK-LOW
                                   22
                                   00
    PNPKOSTL
                                   22222222222222222222222
                                   00000000000000000000000
    SL_BRUTTO
                                   2
                                   0
    FC-SL_B_N
                                   2
                                   0
    %_PNPSNAME_%_APP_%             PNPSNAMEEE name can be sorted         to
                                   5455444444266662666266276776622222222276
                                   0E03E1D5550E1D5031E02503F24540000000004F
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                         @1FQMultiple selection@
                                   2224345547676766276666766642222222222222
                                   000016C1D5C490C5035C5349FE00000000000000
    ... + 120
                                   222
                                   000
    APER-CALCD                     X
                                   5
                                   8
    DT                             /AEA00200612  00000000########
                                   24443333333322333333330000000022222
                                   F1510020061200000000000000000C00000
    DT[]                           Table IT_1916[4x35]
                                   F8F40000E0007000000020000000FFFF0000E400
                                   06090000A100C700400030000000FFFF40008610
    ... +  40
                                   1000C220
                                   00001E00
         9 FORM         RUECKRECHNUNG
           HINCALC0
           RPCHRT09_RUECKRECHNUNG                     136
    APER-PAYTY
                                   2
                                   0
    SY-XPROG                       SAPDBPNP
                                   5454454522222222222222222222222222222222
                                   310420E000000000000000000000000000000000
    PYCT                           0<>
                                   0000FFFF
                                   0000FFFF
    PNP-SW-AUTH-SKIPPED-RECORD     0
                                   3
                                   0
    P0007[]                        Table IT_201[4x138]
                                   CBC47DD48000C000000080000000FFFF00005400
                                   80390F99500090004000A0000000FFFF40008B00
    ... +  40
                                   0000C020
                                   20001E80
    PNPKOKRS[]                     Table IT_52[0x11]
                                   0000000020003000000000000000FFFF04007200
                                   00000000A00040000000B0000000FFFF44008700
    ... +  40
                                   0000C000
                                   A0001400
    PNPBLCKT
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   222
                                   000
    FC-NT_BEGIN                    0
                                   0000
                                   0000
    PNP-SW-IGNORELOCKEDRECORDS     Y
                                   5
                                   9
    FROM_DATE                      00000000
                                   33333333
                                   00000000
    %_SET_LCW_%_APP_%
                                   222222222222222222222222222222
                                   000000000000000000000000000000
         8 FORM         MAIN
           HINCALC0
           RPCHRT09_MAIN                              134
    %_PNPFKBER_%_APP_%             PNPFKBERFunctional Area               to
                                   5454444547667666662476622222222222222276
                                   0E06B25265E349FE1C012510000000000000004F
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                         @1FQMultiple selection@
                                   2224345547676766276666766642222222222222
                                   000016C1D5C490C5035C5349FE00000000000000
    ... + 120
                                   222
                                   000
    PERNR-PERNR                    00003015
                                   33333333
                                   00003015
                            Table IT_235[0x178]
                                   000045D4A000E0000000B0000000FFFF00003400
                                   000080390000B000000020000000FFFF40008110
    ... +  40
                                   1000C200
                                   00001400
    P0027[]                        Table IT_234[0x1851]
                                   0000A4D49000E000000030000000FFFF0000DE00
                                   00008F39F000A0000000B7000000FFFF40000610
    ... +  40
                                   0000C200
                                   80001E00
    PNPENAME
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   222
                                   000
    INFTY[]                        Table IT_116[34x4]
                                   8EC4000050007000200000000000FFFF0D008000
                                   0E790000A0004000200040000000FFFF43000900
    ... +  40
                                   2000C000
                                   20001400
    INFTY                          0078
                                   3333
                                   0078
    PNPBLCKP                       Payroll period
                                   5677666276766622222222222222222222222222
                                   0192FCC00529F400000000000000000000000000
    ... +  40
                                   2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80
                                   222
                                   000
    SY-MSGNO                       000
                                   333
                                   000
    FC-PGM_TYP                     ABR
                                   4452
                                   1220
    PY12W_MEM_ID_BUFFER            T512W_BUFFER
                                   533355454445
                                   45127F256652
    RSJOBINFO                                                      00000000
                                   2222222222222222222222222222222233333333
                                   0000000000000000000000000000000000000000
    ... +  40                      000000
                                   3333332222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                      ####
                                   0000
                                   0000
    P0032                          00000000           000000000000000000000
                                   3333333322222222222333333333333333333333
                                   0000000000000000000000000000000000000000
    ... +  40                      000000
                                   3333332222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                                             #####
                                   2222222222222222222222200000222222222222
                                   000000000000000000000000000C000000000000
    ... + 120
                                   2222222222222222222222222222222222222222
                           

    Hello,
    strange, you have the same message in SQL Server forum, but we can see Oracle DB here:
    SQL ERROR
    Without developer traces it would be difficult to say. But it looks bad enough because of kernel 6.20 patch level 1511 (definitely dboraslib.dll has similar patch level) and Oracle 8.1.7 are out of support since years.
    best regards

  • SQL error 3113 occurred when executing EXEC SQL.

    Hi,
    We are facing one typical problem, One background is failing regularly with
    below dump. as we now got all notes giving information, if database  restarted
    taking backup, these type of failures occur, but our database is only down for backup once in a week, but it is failing with frequenly.
    in this two servers are located in different place, in this job tries to connect
    another server to get material statistics.
    It is giving some error message in sm21 with
    SQL error 3113 occurred when executing EXEC SQL.
    work procees in reconnect mode.
    all notes saying these types of dump occur when database restared, but this dump
    even though database is up.
    below is short dump, please can anyone help me from this problem.
    ABAP runtime errors    DBIF_DSQL2_SQL_ERROR
          Occurred on    08.01.2007 at 00:30:28
    >> Short dump has not been completely stored. It is too big.
    SQL error 3113 occurred when executing EXEC SQL.
    What happened?
    The error occurred in the current database connection "AZ1".
    What can you do?
    Note the actions and input that caused the error.
    Inform your SAP system administrator.
    You can print out this message by choosing "Print". Transaction ST22
    allows you to display and manage termination messages, including keeping
    them beyond their normal deletion date.
    Error analysis
    How to correct the error
    Database error text........: "ORA-03113: end-of-file on communication channel#"
    Triggering SQL statement...: "select mara.groes, mara.brgew, mara.ntgew,
    mara.gewei, mara.volum, mara.voleh, mara.mstae, mara.mstde, mara.prdha,
    marc.matnr, marc.werks, marc.mmsta, marc.mmstd from sapr3.mara, sapr3.m
    where sapr3.mara.mandt = sapr3.marc.mandt and sapr3.mara.matnr =
    Internal call code.........: "[DBDS/NEW DSQL]"
    Please check the entries in the system log (Transaction SM21).
    If the error occurred in a non-modified SAP program, you may be
    able to find a solution in the SAP note system.
    If you have access to the note system yourself, use the following
    search criteria:
    "DBIF_DSQL2_SQL_ERROR"
    "ZM2431216 " or "ZM2431216 "
    "EXTRACT_GENERAL_DATA"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
      To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
      To obtain this, call the system log with Transaction SM21
      and select the "Print" function to print out the relevant
      part.
    3. If the programs are your own programs or modified SAP programs,
      supply the source code.
      To do this, you can either use the "PRINT" command in th
      print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error o
      or which actions and input led to the error.
    System environment
    SAP Release.............. "46C"
    Application server....... "essceu3"
    Network address.......... "172.19.119.198"
    Operating system......... "AIX"
    Release.................. "5.3"
    Hardware type............ "00C7ADBD4C00"
    Database server.......... "ukblx176"
    Database type............ "ORACLE"
    Database name............ "EU3"
    Database owner........... "SAPR3"
    Character set............ "es_ES.ISO8859-1"
    SAP kernel............... "46D"
    Created on............... "Jul 9 2006 20:26:33"
    Created in............... "AIX 1 5 00447C4A4C00"
    Database version......... "OCI_920__OCI_7_API "
    Patch level.............. "2257"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
    8.1.6.., ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE 10.2.0.."
    SAP database version..... "46D"
    Operating system......... "AIX 1 4, AIX 2 4, AIX 3 4, AIX 1 5, AIX 2 5, AIX 3
    5, , System build information:,                                      , LCHN :
    841480"
    User, transaction...
    Client.............. 600
    User................ "MPZMMES"
    Language key........ "S"
    Transaction......... " "
    Program............. "ZM2431216 "
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where termination occurred
    The termination occurred in the ABAP/4 program "ZM2431216 " in
    "EXTRACT_GENERAL_DATA".
    The main program was "ZM2431216 ".
    The termination occurred in line 980
    of the source code of program "ZM2431216 " (when callin
    The program "ZM2431216 " was started as a background jo
    Source code extract
    009500              mara.ntgew,
    009510              mara.gewei,
    009520              mara.volum,
    009530              mara.voleh,
    009540              mara.mstae,
    009550              mara.mstde,
    009560              mara.prdha,
    009570              marc.matnr,
    009580              marc.werks,
    009590              marc.mmsta,
    009600              marc.mmstd
    009610        into :w_ops-groes,
    009620              :w_ops-brgew,
    009630              :w_ops-ntgew,
    009640              :w_ops-gewei,
    009650              :w_ops-volum,
    009660              :w_ops-voleh,
    009670              :w_ops-mstae,
    009680              :w_ops-mstde,
    009690              :w_ops-prdha,
    009700              :w_ops-matnr,
    009710              :w_ops-werks,
    009720              :w_ops-mmsta,
    009730              :w_ops-mmstd
    009740        from sapr3.mara, sapr3.marc
    009750        where sapr3.mara.mandt = sapr3.marc.mandt
    009760          and sapr3.mara.matnr = sapr3.marc.matnr
    009770          and sapr3.mara.mandt = :p_mandt
    009780          and sapr3.mara.matnr = :w_ebs-matnr
    009790          and sapr3.marc.werks = :p_owerks
        >    ENDEXEC.
    009810  endform.                    " extract_general_data
    009820  *&
    009830  *&      Form  append_i_ops
    009840  *&
    009850  *      Appends W_OPS to I_OPS
    009860  *
    009870  form append_i_ops.
    009880    append w_ops to i_ops.
    009890  endform.                    " append_i_ops
    009900  *&
    009910  *&      Form  extract_material_description
    009920  *&
    009930  *      Extracts a Material Description from the remote database an
    009940  *      modifies the current record in I_OPS.
    009950  *
    009960  *        >P_SPRAS  Language Key
    009970  *
    009980  form extract_material_description using    p_spras.
    009990    EXEC sql performing set_langauge.
    Contents of system fields
    SY field contents..................... SY field contents............
    SY-SUBRC 0                            SY-INDEX 0
    SY-TABIX 1                            SY-DBCNT 1
    SY-FDPOS 18                            SY-LSIND 0
    SY-PAGNO 0                            SY-LINNO 1
    SY-COLNO 1
    Chosen variables
    Name.......................... Contents.1........2........3....+..
    W_EBS-PRAT4
                                  2
                                  0
    W_OPS-GROES
                                  22222222222222222222222222222222
                                  00000000000000000000000000000000
    W_OPS-BRGEW                    #######
                                  0000000
                                  000000C
    W_OPS-NTGEW                    #######
                                  0000000
                                  000000C
    regards,
    krishnaiah.

    Hi,
    This is usually a SERVER SIDE DATABASE PROBLEM or SQLNET LISTENER (server side) PROBLEM.  The client side should initially be ignored and instead the server should be investigated. In rare cases, this can be caused by client
    side memory or other resource problem, or a DLL version mismatch, but this is
    unlikely.
    Enlist the assistance of your DBA.  Then reproduce the ORA-3113 error on your
    client application.  Ask your DBA to look at the database side Alert.log and
    trace files and look for ANY activity.  Any activity that coincides with your
    ORA-3113 will be a clue.
    REgards
    Vinod

  • REP-1401:'cf_1formula': Fatal PL/SQL error occured, ORA-01403: no data fou

    hi,
    my report is giving error REP-1401:'cf_1formula': Fatal PL/SQL error occured,
    ORA-01403: no data found
    There are two table emp1 and emp2 created from employees table from HR schema
    I have deleted some records from table emp2 where department id is 110
    main query is
    select employee_id, first_name, department_id from emp1
    now i created a foumula column
    function CF_1Formula return Number is
    dept number;
    begin
    select department_id into dept from emp2 where employee_id = :employee_id;
    return(dept);
    end;
    the above error is given when report is run. i tried
    exception
    when_no_data_found then
    dept:=000
    but problem is not solved
    i want to disply any number in this foumula column if the record is not found

    M. Khurram Khurshid wrote:
    exception
    when_no_data_found then
    dept:=000try this code in formula
    function CF_1Formula return Number is
    dept number;
    begin
    select department_id into dept from emp2 where employee_id = :employee_id;
    if dept is not null then
    return(dept);
    else
    return 0;
    end if;
    end; Hope this will help you...
    If someone response is helpful or correct please, mark is accordingly.

Maybe you are looking for

  • My new mac is giving my pc's some d/c problems...

    Hello there guys, im a proud owner of a new model imac 2.66 (my first mac) and everything so far is perfect, i cant believe i didnt switch before from pc to mac. I still got 2 pc's at home, a laptop and a desktop both connected wireless to my router.

  • Error deploying JSF app on Sun 8.1 (Works fine on 9.0)

    Hello All, I have a simple JSF app which works fine on Sun App server 9.0 but throws the error below on 8.1. Please help!!! exception javax.servlet.ServletException: java.lang.Boolean      javax.faces.webapp.FacesServlet.service(FacesServlet.java:209

  • My Photos have stopped streaming to my pc

    My Photos have stopped streaming to my PC from Iphone 4s & Ipad.  I have IOS 8.1.1 on both  phone & Ipad.  I have iCloud 4 on pC. It was working fine before I upgraded to iCloud 4. The photos are streaming between my two apple products just not to my

  • 4th gen. nano's buttons just stopped working

    I have a nearly new 4th generation ipod that just stopped working in certain respect. It charges, its recognized by the computer and syncs just fine. The only issue is, my buttons do not work. I keep it in extraordinary shape-and too be honest I'm a

  • How do I stop imac from retrieving email from my server?

    I no longer want my mac to retrieve email from my server (sbcglobal).  How do I stop it from doing that?