GetContentPane function shows error

The following program shows cannot resolve symbol at the getContentPane() function. CAn anybody tell me why this is happening
import javax.swing.*;
import java.io.*;
class Test extends JFrame
final String[] colhead = {"No","Name"};
final Object[][] data = new Object[10][2];
JTable table = null;
JFrame frame = null;
public Test()
super("Table");
data[0][0] = "1";
data[0][1] = "Sanil";
data[1][0] = "2";
data[1][1] = "Kenney";
frame = new JFrame();
table = new JTable(data,colhead);
Container content = frame.getContentPane();
content.setLayout(null);
}

What package does Container belong to? Did you import the correct package?

Similar Messages

  • Pipeline Function Showing Error.

    Hi,
    I have created a popeline finction in a packages...
    CREATE OR REPLACE package xx is
    type xxaptab_tp is record (FLAG CHAR(1),
      LEDGER               VARCHAR2(30),
      OPERATING_UNIT       VARCHAR2(240) ,
      GL_DATE              DATE   ,
      TYPE                 CHAR(1),
      VOUCHER_NO           NUMBER,
      VOUCHER_DATE         DATE,
      CHECK_NUMBER         VARCHAR2(40),
      CHECK_DATE           VARCHAR2(11),
      VENDOR_NAME          VARCHAR2(240),
      DESCRIPTION          VARCHAR2(240),
      RECEIPTS             NUMBER,
      PAYMENTS             NUMBER,
      PAYMENTS1            NUMBER,
      BANK_ACCOUNT_NAME    VARCHAR2(100) ,
      BANK_ACCOUNT_NUM     VARCHAR2(30),
      PROJECT_NAME         VARCHAR2(240),
      NATURE_OF_PAYMENT    VARCHAR2(80),
      NATURE_OF_RECEIPT    varchar2(100),
      CHECK_ID             NUMBER(15)       ,
      CHECK_STATUS         VARCHAR2(25),
      FUTURE_PAY_DUE_DATE  DATE);
    type rec_type is table of xxaptab_tp ;
    function xxbank_cashbook return rec_type pipelined;
    end;
    CREATE OR REPLACE package body xx is
    function xxbank_cashbook(st_gldate date default null, end_gldate date default null) return rec_type pipelined is
    r_type rec_type;
    PRAGMA AUTONOMOUS_TRANSACTION;
    begin
    execute immediate('truncate table xx_ap_check_89i');
    execute immediate('truncate table xx_ap_check_1910');
    insert into xx_ap_check_1910
    SELECT   MIN(b.invoice_id) ID
                     , check_id
              FROM     ap_invoice_payments_all b
                     , ap_invoices_all a
                     , DUAL
              WHERE    1 = 1
              AND      a.invoice_id = b.invoice_id
          AND NOT REGEXP_LIKE (a.invoice_num ,'(-TDS-SI-|-TDS-CM-|-RTN-)')
              GROUP BY check_id;
    commit;
    insert into xx_ap_check_89i
    SELECT   MIN(b.invoice_id) ID
                     , check_id
              FROM     ap_invoice_payments_all b
                     , ap_invoices_all a
                     , DUAL
              WHERE    1 = 1
           AND  (CHECK_ID,'TRUE') = (                 
           select AIP.CHECK_ID,
           MIN (CASE WHEN REGEXP_LIKE (aia.invoice_num ,'(-TDS-SI-|-TDS-CM-)') THEN 'TRUE'--WHEN aia.invoice_num not LIKE '%-TDS-SI-%' THEN 'FALSE'
                                                 ELSE 'FALSE' END) FLAG
           from ap_invoice_payments_all aip, ap_invoices_all aia
                                where aip.invoice_id = aia.invoice_id
                                and aip.check_id = b.check_id
           group by check_id                              
              AND      a.invoice_id = b.invoice_id
              GROUP BY check_id;
    commit;
    select FLAG,
    LEDGER,
    OPERATING_UNIT,
    GL_DATE,
    TYPE,
    VOUCHER_NO,
    VOUCHER_DATE,
    CHECK_NUMBER,
    CHECK_DATE,
    VENDOR_NAME,
    DESCRIPTION,
    RECEIPTS,
    PAYMENTS,
    PAYMENTS1,
    BANK_ACCOUNT_NAME,
    BANK_ACCOUNT_NUM,
    PROJECT_NAME,
    NATURE_OF_PAYMENT,
    NATURE_OF_RECEIPT,
    CHECK_ID,
    CHECK_STATUS,
    FUTURE_PAY_DUE_DATE bulk collect into r_type
    from
    ( SELECT   '1' flag
           , led.NAME ledger
           , hou.NAME operating_unit
           , aip.accounting_date gl_date
           , 'P' TYPE
           , apc.doc_sequence_value voucher_no
           , apc.creation_date voucher_date
           , TO_CHAR(apc.check_number) check_number
           , TO_CHAR(apc.check_date, 'DD-MON-YYYY') check_date
           , apc.vendor_name vendor_name
           , apc.description description
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , -1,(apc.amount * NVL(apc.exchange_rate, 1)) * -1
                 , 0
                )) receipts
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , 1,(apc.amount * NVL(apc.exchange_rate, 1))
                 , 0
                )) payments
           , TO_NUMBER(apc.amount * NVL(apc.exchange_rate, 1)) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , ffvv.description project_name
           , flv.meaning nature_of_payment
           , NULL nature_of_receipt
           , aip.check_id check_id
           , apc.STATUS_LOOKUP_CODE Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     APPS.XX_AP_CHECK_1910 aip1
           , ap_invoice_payments_all aip2
           , ap_invoice_payments_all aip
           , ap_checks_all apc
           , ce_bank_accounts cba
           , ce_bank_acct_uses_all cbu
           , po_vendors pov
           , gl_code_combinations gl
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
           , hr_operating_units hou
           , fnd_lookup_values_vl flv
    WHERE    pov.vendor_type_lookup_code = flv.lookup_code(+)
    AND      aip.check_id = apc.check_id
    AND      aip1.check_id = apc.check_id
    AND      aip2.check_id = apc.check_id
    AND      aip1.ID = aip2.invoice_id
    AND      flv.lookup_type(+) = 'VENDOR TYPE'
    AND      apc.vendor_id = pov.vendor_id(+)
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = apc.org_id
    AND      apc.org_id <> 86
    AND      ffvv.flex_value = gl.segment1
    AND      ffvv.flex_value_set_id = 1013712
    AND      aip2.accts_pay_code_combination_id = gl.code_combination_id
    AND      aip.check_id = apc.check_id
    AND      apc.ce_bank_acct_use_id = cbu.bank_acct_use_id
    AND      cba.bank_account_id = cbu.bank_account_id
    AND      apc.status_lookup_code IN('NEGOTIABLE', 'CLEARED', 'RECONCILED UNACCOUNTED', 'RECONCILED', 'CLEARED BUT UNACCOUNTED')   -- added for Bug# 2449877
    AND      aip.invoice_payment_type IS NULL
    AND      apc.FUTURE_PAY_DUE_DATE is null
    GROUP BY aip.accounting_date
           , apc.doc_sequence_value
           , apc.creation_date
           , apc.check_number
           , apc.check_date
           , apc.vendor_name
           , apc.description
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description
           , flv.meaning
           , led.NAME
           , hou.NAME
           , aip.check_id
           , apc.amount
           , NVL(apc.exchange_rate, 1)
           , apc.STATUS_LOOKUP_CODE
    UNION ALL
    SELECT   '2' flag
           , led.NAME ledger
           , hou.NAME ouperating_unit
           , apid.accounting_date gl_date
           , 'I' TYPE
           , api.doc_sequence_value voucher_no
           , api.creation_date voucher_date
           , api.invoice_num check_number
           , TO_CHAR(api.invoice_date, 'DD-MON-YYYY') check_date
           , pov.vendor_name vendor_name
           , NVL(api.description, api.invoice_num) description
           , TO_NUMBER(SUM(api.invoice_amount * NVL(api.exchange_rate, 1))) receipts
           , TO_NUMBER(SUM(0), 'fm999999999990.00') payments
           , TO_NUMBER(SUM(0)) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , ffvv.description project_name
           , flv.meaning nature_of_payment
           , NULL nature_of_receipt
           , NULL check_id
           , NULL Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     ap_invoice_distributions_all apid
           , ap_invoice_lines_all apla
           ,  ap_invoices_all api
           , po_vendors pov
           , ce_bank_accounts cba
           , gl_code_combinations gl
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
           , hr_operating_units hou
           , fnd_lookup_values_vl flv
    WHERE    api.invoice_id = apid.invoice_id
    AND      pov.vendor_type_lookup_code = flv.lookup_code(+)
    AND      flv.lookup_type(+) = 'VENDOR TYPE'
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = api.org_id
    AND      api.org_id <> 86
    AND      ffvv.flex_value = gl.segment1
    AND      ffvv.flex_value_set_id = 1013712
    AND      api.accts_pay_code_combination_id = gl.code_combination_id
    AND      apla.invoice_id = apid.invoice_id
    AND      apla.line_number = apid.invoice_line_number
    AND      api.vendor_id = pov.vendor_id
    AND      cba.asset_code_combination_id = apid.dist_code_combination_id
    AND      apid.match_status_flag = 'A'
    AND      NVL(api.payment_status_flag, 'N') <> 'N'
    GROUP BY apid.accounting_date
           , api.doc_sequence_value
           , api.creation_date
           , api.invoice_num
           , api.invoice_date
           , pov.vendor_name
           , NVL(api.description, api.invoice_num)
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description
           , flv.meaning
           , led.NAME
           , hou.NAME
    UNION ALL
    SELECT   '3' flag
           , led.NAME ledger
           , hou.NAME operating_unit
           , acrh.gl_date gl_date
           , DECODE(
                acrh.status
              , 'REVERSED', 'REV'
              , 'R'
             ) TYPE
           , acr.doc_sequence_value voucher_no
           , acr.creation_date voucher_date
           , acr.receipt_number check_number
           , TO_CHAR(acr.receipt_date, 'DD-MON-YYYY') check_date
           , SUBSTR(
                hp.party_name
              , 1
              , 50
             ) vendor_name
           , NVL(acr.comments, acr.receipt_number) description
           , TO_NUMBER(SUM(DECODE(
                      acrh.status
                    , 'CLEARED',(NVL(acrh.amount, 0) * NVL(acrh.exchange_rate, 1))
                    , 'REMITTED',(NVL(acrh.amount, 0) * NVL(acrh.exchange_rate, 1))
                    , 'CONFIRMED',(NVL(acrh.amount, 0) * NVL(acrh.exchange_rate, 1))
                    , 'REVERSED', 0
                   ))) receipts
           , TO_NUMBER(SUM(DECODE(
                      acrh.status
                    , 'REVERSED',(NVL(acrh.amount, 0) * NVL(acrh.exchange_rate, 1))
                    , 0
                   ))) payments
           , TO_NUMBER(TO_CHAR(SUM(0))) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , ffvv.description project_name
           , NULL nature_of_payment
           , DECODE(
                acr.TYPE
              , 'CASH', 'Collection'
              , 'MISC', 'Cash Deposit'
              , acr.TYPE
             ) nature_of_receipt
           , NULL check_id
           , NULL Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     ar_cash_receipt_history_all acrh
           , ar_cash_receipts_all acr
           , hz_parties hp
           , hz_cust_accounts hca
           , ce_bank_accounts cba
           , ce_bank_acct_uses_all cbau
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
           , hr_operating_units hou
    WHERE    acrh.cash_receipt_id = acr.cash_receipt_id
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = acr.org_id
    AND      acr.org_id <> 86
    AND      ffvv.flex_value = acr.attribute1
    AND      ffvv.flex_value_set_id = 1013712
    AND      cbau.bank_acct_use_id = acr.remit_bank_acct_use_id
    AND      cbau.bank_account_id = cba.bank_account_id
    AND      hca.party_id = hp.party_id(+)
    AND      acr.pay_from_customer = hca.cust_account_id(+)
    AND      acrh.status IN('CLEARED', 'REMITTED', 'CONFIRMED', 'REVERSED')
    AND      (
                      acr.reversal_date IS NOT NULL
                  AND acrh.status = 'REVERSED')
              OR (acrh.cash_receipt_history_id IN(SELECT  
                                                         MIN(incrh.cash_receipt_history_id)
                                                  FROM   ar_cash_receipt_history_all incrh
                                                  WHERE  incrh.cash_receipt_id = acr.cash_receipt_id
                                                  AND    incrh.status <> 'REVERSED'))
    GROUP BY acrh.gl_date
           , acrh.status
           , acr.doc_sequence_value
           , acr.creation_date
           , SUBSTR(
                hp.party_name
              , 1
              , 50
           , NVL(acr.comments, acr.receipt_number)
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description
           , acr.TYPE
           , led.NAME
           , hou.NAME
           , acr.receipt_number
           , acr.receipt_date
    UNION ALL
    SELECT   '3A' flag
           , led.NAME ledger
           , hou.NAME operating_unit
           , acrh.gl_date gl_date
           , DECODE(
                acrh.status
              , 'REVERSED', 'REV'
              , 'R'
             ) TYPE
           , acr.doc_sequence_value voucher_no
           , acr.creation_date voucher_date
           , acr.receipt_number check_number
           , TO_CHAR(acr.receipt_date, 'DD-MON-YYYY') check_date
           , SUBSTR(
                hp.party_name
              , 1
              , 50
             ) vendor_name
           , NVL(acr.comments, acr.receipt_number) description
           , TO_NUMBER(SUM(DECODE(
                      acrh.status
                    , 'REVERSED',(NVL(acrh.amount, 0) * NVL(acrh.exchange_rate, 1))
                    , 0
                   ))) Receipts
           , TO_NUMBER(SUM(DECODE(
                      acrh.status
                    , 'CLEARED',(NVL(acrh.amount, 0) * NVL(acrh.exchange_rate, 1))
                    , 'REMITTED',(NVL(acrh.amount, 0) * NVL(acrh.exchange_rate, 1))
                    , 'CONFIRMED',(NVL(acrh.amount, 0) * NVL(acrh.exchange_rate, 1))
                    , 'REVERSED', 0
                   ))) Payments
           , TO_NUMBER(TO_CHAR(SUM(0))) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , ffvv.description project_name
           , NULL nature_of_payment
           , DECODE(
                acr.TYPE
              , 'CASH', 'Collection'
              , 'MISC', 'Cash Deposit'
              , acr.TYPE
             ) nature_of_receipt
           , NULL check_id
           , NULL Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     ar_cash_receipt_history_all acrh
           , ar_cash_receipts_all acr
           , hz_parties hp
           , hz_cust_accounts hca
           , ce_bank_accounts cba
           , ce_bank_acct_uses_all cbau
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
           , hr_operating_units hou
    WHERE    acrh.cash_receipt_id = acr.cash_receipt_id
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = acr.org_id
    AND      acr.org_id <> 86
    AND      ffvv.flex_value = acr.attribute1
    AND      ffvv.flex_value_set_id = 1013712
    AND      cbau.bank_acct_use_id = acr.remit_bank_acct_use_id
    AND      cbau.bank_account_id = cba.bank_account_id
    AND      hca.party_id = hp.party_id(+)
    AND      acr.pay_from_customer = hca.cust_account_id(+)
    AND      acrh.status IN('CLEARED', 'REMITTED', 'CONFIRMED', 'REVERSED')
    AND      (
                      acr.reversal_date IS NOT NULL
                  AND acrh.status = 'REVERSED')
              OR (acrh.cash_receipt_history_id IN(SELECT  
                                                         MIN(incrh.cash_receipt_history_id)
                                                  FROM   ar_cash_receipt_history_all incrh
                                                  WHERE  incrh.cash_receipt_id = acr.cash_receipt_id
                                                  AND    incrh.status <> 'REVERSED'))
    AND      cba.bank_account_num = '1723201002888'
    GROUP BY acrh.gl_date
           , acrh.status
           , acr.doc_sequence_value
           , acr.creation_date
           , SUBSTR(
                hp.party_name
              , 1
              , 50
           , NVL(acr.comments, acr.receipt_number)
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description
           , acr.TYPE
           , led.NAME
           , hou.NAME
           , acr.receipt_number
           , acr.receipt_date
    UNION ALL
    SELECT   '4' flag
           , led.NAME ledger
           , NULL operating_unit
      ,   glh.default_effective_date gl_date
           , 'G' TYPE
           , glh.doc_sequence_value voucher_no
           , glh.creation_date voucher_date
           , NULL check_number
           , NULL check_date
           , NULL vendor_name
           , gll.description description
           , TO_NUMBER(DECODE(
                   SUM(accounted_dr)
                 , NULL, 0
                 , SUM(accounted_dr)
                )) receipts
           , TO_NUMBER(DECODE(
                   SUM(accounted_cr)
                 , NULL, 0
                 , SUM(accounted_cr)
                )) payments
           , TO_NUMBER(DECODE(
                   SUM(accounted_cr)
                 , NULL, 0
                 , SUM(accounted_cr)
                )) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , ffvv.description project_name
           , NULL nature_of_payment
           , NULL nature_of_receipt
           , NULL check_id
           , NULL Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     gl_je_headers glh
           , gl_je_lines gll
           , ce_bank_accounts cba
           , gl_code_combinations_kfv glcc
           , gl_code_combinations_kfv glcc1
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
    WHERE    glh.je_header_id = gll.je_header_id
    AND      cba.asset_code_combination_id = glcc.code_combination_id
    AND      gll.code_combination_id = glcc1.code_combination_id
    AND      glcc.segment2 = glcc1.segment2
    AND      ffvv.flex_value = glcc1.segment1
    AND      ffvv.flex_value_set_id = 1013712
    AND      glh.ledger_id = led.ledger_id
    AND      glh.je_source NOT IN('Payables', 'Receivables', 'Manual') 
               GROUP BY glh.default_effective_date
           , gll.description
           , cba.bank_account_name
           , cba.bank_account_num
           , glh.doc_sequence_value
           , glh.creation_date
           , ffvv.description
           , led.NAME
    UNION ALL
    SELECT   '5' flag
           , led.NAME ledger
           , NULL operating_unit
    ,        glh.default_effective_date gl_date
           , 'G' TYPE
           , glh.doc_sequence_value voucher_no
           , glh.creation_date voucher_date
           , NULL check_number
           , NULL check_date
           , NULL vendor_name
           , gll.description description
           , TO_NUMBER(DECODE(
                   SUM(accounted_dr)
                 , NULL, 0
                 , SUM(accounted_dr)
                )) receipts
           , TO_NUMBER(DECODE(
                   SUM(accounted_cr)
                 , NULL, 0
                 , SUM(accounted_cr)
                )) payments
           , TO_NUMBER(DECODE(
                   SUM(accounted_cr)
                 , NULL, 0
                 , SUM(accounted_cr)
                )) payments1
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description project_name
           , NULL nature_of_payment
           , NULL nature_of_receipt
           , NULL check_id
           , NULL Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     gl_je_headers glh
           , gl_je_lines gll
           , ce_bank_accounts cba
           , gl_code_combinations_kfv glcc
           , gl_code_combinations_kfv glcc1
    ,        fnd_flex_values_vl ffvv
           , gl_ledgers led
    WHERE    glh.je_header_id = gll.je_header_id
    AND      cba.asset_code_combination_id = glcc.code_combination_id
    AND      gll.code_combination_id = glcc1.code_combination_id
    AND      glcc.segment2 = glcc1.segment2
    AND      ffvv.flex_value = glcc1.segment1
    AND     (ffvv.flex_value_set_id = 1013712 or ffvv.flex_value_id=53880)
    AND      glh.ledger_id = gll.ledger_id
    AND      glh.ledger_id = led.ledger_id
    AND      glh.je_source = 'Manual'
    GROUP BY glh.default_effective_date
           , gll.description
           , cba.bank_account_name
           , cba.bank_account_num
           , glh.doc_sequence_value
           , glh.creation_date
           , ffvv.description
           , led.NAME
    UNION ALL
    SELECT   '6' flag
           , led.NAME ledger
           , NULL operating_unit
           , glh.default_effective_date gl_date
           , 'G' TYPE
           , glh.doc_sequence_value voucher_no
           , glh.creation_date voucher_date
           , NULL check_number
           , NULL check_date
           , NULL vendor_name
           , gll.description description
           , TO_NUMBER(DECODE(
                   SUM(accounted_dr)
                 , NULL, 0
                 , SUM(accounted_dr)
                )) receipts
           , TO_NUMBER(DECODE(
                   SUM(accounted_cr)
                 , NULL, 0
                 , SUM(accounted_cr)
                )) payments
           , TO_NUMBER(DECODE(
                   SUM(accounted_cr)
                 , NULL, 0
                 , SUM(accounted_cr)
                )) payments1
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description project_name
           , NULL nature_of_payment
           , NULL nature_of_receipt
           , NULL check_id
           , NULL Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     gl_je_headers glh
           , gl_je_lines gll
           , ce_bank_accounts cba
           , gl_code_combinations_kfv glcc
           , gl_code_combinations_kfv glcc1
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
    WHERE    glh.je_header_id = gll.je_header_id
    AND      cba.asset_code_combination_id = glcc.code_combination_id
    AND      gll.code_combination_id = glcc1.code_combination_id
    AND      glcc.segment2 = glcc1.segment2
    AND      ffvv.flex_value = glcc1.segment1
    AND      ffvv.flex_value_set_id = 1013712
    AND      glh.ledger_id = gll.ledger_id
    AND      glh.ledger_id = led.ledger_id
    AND      glh.je_source = 'Payables'
    GROUP BY glh.default_effective_date
           , gll.description
           , cba.bank_account_name
           , cba.bank_account_num
           , glh.doc_sequence_value
           , glh.creation_date
           , ffvv.description
           , led.NAME
    UNION ALL
    SELECT   '7' flag
           , led.NAME ledger
           , hou.NAME operating_unit
           , DECODE(apc.future_pay_due_date, NULL, aip.accounting_date, apc.void_date) gl_date
           , 'V' TYPE
           , apc.doc_sequence_value voucher_no
           , aip.creation_date voucher_date
           , TO_CHAR(apc.check_number) check_number
           , TO_CHAR(apc.check_date, 'DD-MON-YYYY') check_date
           , apc.vendor_name vendor_name
           , apc.description description
           , TO_NUMBER(DECODE(
                   SIGN((SUM(aip.amount)))
                 , -1,SUM((aip.amount * NVL(apc.exchange_rate, 1))) * -1
                 , 0
                )) receipts
           , TO_NUMBER(DECODE(
                   SIGN((SUM(aip.amount)))
                 , 1,SUM((aip.amount * NVL(apc.exchange_rate, 1)))
                 , 0
                )) payments
           , SUM((aip.amount * NVL(apc.exchange_rate, 1))) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , ffvv.description project_name
           , flv.meaning nature_of_payment
           , NULL nature_of_receipt
           , aip.check_id check_id
           , apc.STATUS_LOOKUP_CODE Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     ap_invoice_payments_all aip
           , ap_checks_all apc
           , ce_bank_accounts cba
           , ce_bank_acct_uses_all cbu
           , po_vendors pov
           , gl_code_combinations gl
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
           , hr_operating_units hou
           , fnd_lookup_values_vl flv
    WHERE    pov.vendor_type_lookup_code = flv.lookup_code(+)
    AND      aip.check_id = apc.check_id
    AND      flv.lookup_type(+) = 'VENDOR TYPE'
    AND      apc.vendor_id = pov.vendor_id(+)
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = apc.org_id
    AND      apc.org_id <> 86
    AND      ffvv.flex_value = gl.segment1
    AND      ffvv.flex_value_set_id = 1013712
    AND      aip.accts_pay_code_combination_id = gl.code_combination_id
    AND      aip.check_id = apc.check_id
    AND      apc.ce_bank_acct_use_id = cbu.bank_acct_use_id
    AND      cba.bank_account_id = cbu.bank_account_id
    AND      apc.status_lookup_code = 'VOIDED'
    AND      aip.invoice_payment_type IS NULL
    GROUP BY
              DECODE(apc.future_pay_due_date, NULL, aip.accounting_date, apc.void_date)
           , apc.doc_sequence_value
           , aip.creation_date
           , apc.check_number
           , apc.check_date
           , apc.vendor_name
           , apc.description
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description
           , flv.meaning
           , led.NAME
           , hou.NAME
           , aip.check_id
           , NVL(apc.exchange_rate, 1)
           , apc.STATUS_LOOKUP_CODE
    UNION ALL
    SELECT   '8' flag
           , led.NAME ledger
           , hou.NAME operating_unit
           , aip.accounting_date gl_date
           , 'P' TYPE
           , apc.doc_sequence_value voucher_no
           , apc.creation_date voucher_date
           , TO_CHAR(apc.check_number) check_number
           , TO_CHAR(apc.check_date, 'DD-MON-YYYY') check_date
           , apc.vendor_name vendor_name
           , apc.description description
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , -1,(apc.amount * NVL(apc.exchange_rate, 1)) * -1
                 , 0
                )) receipts
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , 1,(apc.amount * NVL(apc.exchange_rate, 1))
                 , 0
                )) payments
           , TO_NUMBER(apc.amount * NVL(apc.exchange_rate, 1)) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , ffvv.description project_name
           , flv.meaning nature_of_payment
           , NULL nature_of_receipt
           , aip.check_id check_id
           , apc.STATUS_LOOKUP_CODE Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM  APPS.XX_AP_CHECK_89i aip1
           , ap_invoice_payments_all aip2
           , ap_invoice_payments_all aip
           , ap_checks_all apc
           , ce_bank_accounts cba
           , ce_bank_acct_uses_all cbu
           , po_vendors pov
           , gl_code_combinations gl
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
           , hr_operating_units hou
           , fnd_lookup_values_vl flv
    WHERE    pov.vendor_type_lookup_code = flv.lookup_code(+)
    AND      aip.check_id = apc.check_id
    AND      aip1.check_id = apc.check_id
    AND      aip2.check_id = apc.check_id
    AND      aip1.ID = aip2.invoice_id
    AND      flv.lookup_type(+) = 'VENDOR TYPE'
    AND      apc.vendor_id = pov.vendor_id(+)
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = apc.org_id
    AND      apc.org_id <> 86
    AND      ffvv.flex_value = gl.segment1
    AND      ffvv.flex_value_set_id = 1013712
    AND      aip2.accts_pay_code_combination_id = gl.code_combination_id
    AND      aip.check_id = apc.check_id
    AND      apc.ce_bank_acct_use_id = cbu.bank_acct_use_id
    AND      cba.bank_account_id = cbu.bank_account_id
    AND      apc.status_lookup_code IN('NEGOTIABLE', 'CLEARED', 'RECONCILED UNACCOUNTED', 'RECONCILED', 'CLEARED BUT
    UNACCOUNTED')  
    AND      aip.invoice_payment_type IS NULL
    GROUP BY aip.accounting_date
           , apc.doc_sequence_value
           , apc.creation_date
           , apc.check_number
           , apc.check_date
           , apc.vendor_name
           , apc.description
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description
           , flv.meaning
           , led.NAME
           , hou.NAME
           , aip.check_id
           , apc.amount
           , NVL(apc.exchange_rate, 1)
           , apc.STATUS_LOOKUP_CODE
    UNION ALL
    SELECT   '9' flag
           , led.NAME ledger
           , hou.NAME operating_unit
           , aip.accounting_date gl_date
           , 'P' TYPE
           , apc.doc_sequence_value voucher_no
           , apc.creation_date voucher_date
           , TO_CHAR(apc.check_number) check_number
           , TO_CHAR(apc.check_date, 'DD-MON-YYYY') check_date
           , apc.vendor_name vendor_name
           , apc.description description
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , -1,(apc.amount * NVL(apc.exchange_rate, 1)) * -1
                 , 0
                )) receipts
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , 1,(apc.amount * NVL(apc.exchange_rate, 1))
                 , 0
                )) payments
           , TO_NUMBER(apc.amount * NVL(apc.exchange_rate, 1)) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
    --       , ffvv.description project_name
           , FIND_INVOICE_PROJECT_DESC(aip1.id) project_name
           , flv.meaning nature_of_payment
           , NULL nature_of_receipt
           , aip.check_id check_id
           , apc.STATUS_LOOKUP_CODE Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM     APPS.XX_AP_CHECK_1910 aip1
           , ap_invoice_payments_all aip
           , ap_checks_all apc
           , ce_bank_accounts cba
           , ce_bank_acct_uses_all cbu
           , po_vendors pov
           , gl_ledgers led
           , hr_operating_units hou
           , fnd_lookup_values_vl flv
    WHERE    aip.ACCTS_PAY_CODE_COMBINATION_ID is null
    AND      cba.BANK_ACCOUNT_NAME not like 'Migration%'
    AND      pov.vendor_type_lookup_code = flv.lookup_code(+)
    AND      aip.check_id = apc.check_id
    AND      aip1.check_id = apc.check_id
    AND      aip1.ID = aip.invoice_id
    AND      flv.lookup_type(+) = 'VENDOR TYPE'
    AND      apc.vendor_id = pov.vendor_id(+)
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = apc.org_id
    AND      apc.org_id <> 86
    AND      apc.ce_bank_acct_use_id = cbu.bank_acct_use_id
    AND      cba.bank_account_id = cbu.bank_account_id
    AND      apc.status_lookup_code IN('NEGOTIABLE', 'CLEARED', 'RECONCILED UNACCOUNTED', 'RECONCILED', 'CLEARED BUT UNACCOUNTED')   AND      aip.invoice_payment_type IS NULL
    GROUP BY aip.accounting_date
           , apc.doc_sequence_value
           , apc.creation_date
           , apc.check_number
           , apc.check_date
           , apc.vendor_name
           , apc.description
           , cba.bank_account_name
           , cba.bank_account_num
    --       , ffvv.description
           , FIND_INVOICE_PROJECT_DESC(aip1.id)
           , flv.meaning
           , led.NAME
           , hou.NAME
           , aip.check_id
           , apc.amount
           , NVL(apc.exchange_rate, 1)
           , apc.STATUS_LOOKUP_CODE
    UNION ALL
    SELECT   '91' flag
           , led.NAME ledger
           , hou.NAME operating_unit
           , aip.accounting_date gl_date
           , 'P' TYPE
           , apc.doc_sequence_value voucher_no
           , apc.creation_date voucher_date
           , TO_CHAR(apc.check_number) check_number
           , TO_CHAR(apc.check_date, 'DD-MON-YYYY') check_date
           , apc.vendor_name vendor_name
           , apc.description description
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , -1,(apc.amount * NVL(apc.exchange_rate, 1)) * -1
                 , 0
                )) receipts
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , 1,(apc.amount * NVL(apc.exchange_rate, 1))
                 , 0
                )) payments
           , TO_NUMBER(apc.amount * NVL(apc.exchange_rate, 1)) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , FIND_INVOICE_PROJECT_DESC(aip1.id) project_name
           , flv.meaning nature_of_payment
           , NULL nature_of_receipt
           , aip.check_id check_id
           , apc.STATUS_LOOKUP_CODE Check_status
           , NULL FUTURE_PAY_DUE_DATE
    FROM  APPS.XX_AP_CHECK_89i aip1
           , ap_invoice_payments_all aip
           , ap_checks_all apc
           , ce_bank_accounts cba
           , ce_bank_acct_uses_all cbu
           , po_vendors pov
           , gl_ledgers led
           , hr_operating_units hou
           , fnd_lookup_values_vl flv
    WHERE    aip.ACCTS_PAY_CODE_COMBINATION_ID is null
    AND      cba.BANK_ACCOUNT_NAME not like 'Migration%'
    AND      pov.vendor_type_lookup_code = flv.lookup_code(+)
    AND      aip.check_id = apc.check_id
    AND      aip1.check_id = apc.check_id
    AND      aip1.ID = aip.invoice_id
    AND      flv.lookup_type(+) = 'VENDOR TYPE'
    AND      apc.vendor_id = pov.vendor_id(+)
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = apc.org_id
    AND      apc.org_id <> 86
    AND      apc.ce_bank_acct_use_id = cbu.bank_acct_use_id
    AND      cba.bank_account_id = cbu.bank_account_id
    AND      apc.status_lookup_code IN('NEGOTIABLE', 'CLEARED', 'RECONCILED UNACCOUNTED', 'RECONCILED', 'CLEARED BUT UNACCOUNTED')  AND      aip.invoice_payment_type IS NULL
    GROUP BY aip.accounting_date
           , apc.doc_sequence_value
           , apc.creation_date
           , apc.check_number
           , apc.check_date
           , apc.vendor_name
           , apc.description
           , cba.bank_account_name
           , cba.bank_account_num
    --       , ffvv.description
           , FIND_INVOICE_PROJECT_DESC(aip1.id)
           , flv.meaning
           , led.NAME
           , hou.NAME
           , aip.check_id
           , apc.amount
           , NVL(apc.exchange_rate, 1)
           , apc.STATUS_LOOKUP_CODE      
    UNION ALL
    SELECT   '10' flag
           , led.NAME ledger
           , hou.NAME operating_unit
           , apc.FUTURE_PAY_DUE_DATE gl_date
           , 'P' TYPE
           , apc.doc_sequence_value voucher_no
           , apc.creation_date voucher_date
           , TO_CHAR(apc.check_number) check_number
           , TO_CHAR(apc.check_date, 'DD-MON-YYYY') check_date
           , apc.vendor_name vendor_name
           , apc.description description
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , -1,(apc.amount * NVL(apc.exchange_rate, 1)) * -1
                 , 0
                )) receipts
           , TO_NUMBER(DECODE(
                   SIGN((apc.amount))
                 , 1,(apc.amount * NVL(apc.exchange_rate, 1))
                 , 0
                )) payments
           , TO_NUMBER(apc.amount * NVL(apc.exchange_rate, 1)) payments1
           , cba.bank_account_name bank_account_name
           , cba.bank_account_num bank_account_num
           , ffvv.description project_name
           , flv.meaning nature_of_payment
           , NULL nature_of_receipt
           , aip.check_id check_id
           , apc.STATUS_LOOKUP_CODE Check_status
           , apc.FUTURE_PAY_DUE_DATE
    FROM     APPS.XX_AP_CHECK_1910 aip1
           , ap_invoice_payments_all aip2
           , ap_invoice_payments_all aip
           , ap_checks_all apc
           , ce_bank_accounts cba
           , ce_bank_acct_uses_all cbu
           , po_vendors pov
           , gl_code_combinations gl
           , fnd_flex_values_vl ffvv
           , gl_ledgers led
           , hr_operating_units hou
           , fnd_lookup_values_vl flv
    WHERE    pov.vendor_type_lookup_code = flv.lookup_code(+)
    AND      aip.check_id = apc.check_id
    AND      aip1.check_id = apc.check_id
    AND      aip2.check_id = apc.check_id
    AND      aip1.ID = aip2.invoice_id
    AND      flv.lookup_type(+) = 'VENDOR TYPE'
    AND      apc.vendor_id = pov.vendor_id(+)
    AND      hou.set_of_books_id = led.ledger_id
    AND      hou.organization_id = apc.org_id
    AND      apc.org_id <> 86
    AND      ffvv.flex_value = gl.segment1
    AND      ffvv.flex_value_set_id = 1013712
    AND      aip2.accts_pay_code_combination_id = gl.code_combination_id
    AND      aip.check_id = apc.check_id
    AND      apc.ce_bank_acct_use_id = cbu.bank_acct_use_id
    AND      cba.bank_account_id = cbu.bank_account_id
    AND      apc.status_lookup_code IN('NEGOTIABLE', 'CLEARED', 'RECONCILED UNACCOUNTED', 'RECONCILED', 'CLEARED BUT UNACCOUNTED')   -- added for Bug# 2449877
    AND      aip.invoice_payment_type IS NULL
    AND      apc.FUTURE_PAY_DUE_DATE is not null
    GROUP BY
             apc.doc_sequence_value
           , apc.creation_date
           , apc.check_number
           , apc.check_date
           , apc.vendor_name
           , apc.description
           , cba.bank_account_name
           , cba.bank_account_num
           , ffvv.description
           , flv.meaning
           , led.NAME
           , hou.NAME
           , aip.check_id
           , apc.amount
           , NVL(apc.exchange_rate, 1)
           , apc.STATUS_LOOKUP_CODE
           , apc.FUTURE_PAY_DUE_DATE
    FOR i IN 1 .. r_type.count LOOP
        PIPE ROW(r_type(i));
      END LOOP;
    end;
    end;
    while running showing the error:
    ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
    ORA-06512: at "XX", line 45
    ORA-06512: at line 1

    Horrible code. If defies logic and basic Oracle concepts...
    Why even use a package when monolithic cr@p like this is written?
    What is wrong with this code you may ask? Everything.
    What is right with this code? Nothing.
    How to fix this code? Cannot be fixed. It needs to be trashed. Every single infected byte. And new code needs to be designed and written that addresses the requirements logically, adheres to Oracle concepts, and applies fundamental software engineering principles.

  • Showing error in read_text function module

    - Forcast ID Number: Read function module “READ_TEXT” where ID = Z001, Object = VBBK to get the Forcast ID. Display it on the output.
    CALL FUNCTION 'READ_TEXT'
          EXPORTING
          CLIENT                        = SY-MANDT
            ID                            = 'Z001'
            LANGUAGE                      =
            NAME                          =
            OBJECT                        = 'VBBK'
          ARCHIVE_HANDLE                = 0
          LOCAL_CAT                     = ' '
        IMPORTING
          HEADER                        =
          TABLES
            LINES                         =
        EXCEPTIONS
          ID                            = 1
          LANGUAGE                      = 2
          NAME                          = 3
          NOT_FOUND                     = 4
          OBJECT                        = 5
          REFERENCE_CHECK               = 6
          WRONG_ACCESS_TO_ARCHIVE       = 7
          OTHERS                        = 8
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    its showing error---unable to interprete OBJECT.possible cases of spelling or comma error

    Look at the Bold ones ...  U need to give values for
    language and name
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = 'Z001'
    LANGUAGE = ' '
    NAME = ' '
    OBJECT = 'VBBK'
    ARCHIVE_HANDLE = 0
    LOCAL_CAT = ' '
    IMPORTING
    HEADER =
    TABLES
    LINES =
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • My CS6 photoshop started showing cannot perform function programming error then it started freezing please help?

    My CS6 photoshop started showing {cannot perform function programming error}
    then it started freezing please help?

    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • How to show error message in a report program

    Hello Guys,
    I am making a report using smartforms. I am successful in showing data  but problem is if if i put a value in parameters that does not exist is database, the smartform runs and related fields shows as empty fields. But the form is running. I want to show error message if the parameter values dose not matches with the database values. The message will show as Document not exists
    So i used related error msg here like
    if sy-subrc ne 0.
              message e357.
               endif.
    But it is not working for passing values to smartform. It works if i use in classical report. Plz help me on this issue.
    Thanks,
    Rosaline.

    >
    Rosaline. wrote:
    > Thanks all for reply.  Should i have to use message before call function 'SSF_FUNCTION_MODULE_NAME' ? I tried it but not working.
    >
    >
    if it_final[] is not initial.
    >*             if sy-subrc ne 0. ---> "Remove this condition check, it not required
    >            Message e000(8i) with 'Parameter value not found'.
    >            endif.
    > *            endif. ---> "remove this
    >
    Hi,
    Sy-subrc doesnt need to be validated here, remove that If condition and check again.
    Regards,
    Karthik D

  • How to show error message on page #NOTIFICATION_MESSAGE#?

    Hi,
    Is it possible to show error message on a page, where apex substitutes #NOTIFICATION_MESSAGE# at page template, with a javascript call? My requirement is to report error messages which i get from ondemand process, these on-demand processes were called from my javascript code. If any error message is returned by on-demand process, as of now, I'm reporting the error message to user by javascript based alert dialog box, but it would much better if i could keep the error message reporting by my application in a consistent manner. So any suggestion please?
    -Krishna

    Hi Roel,
    Thanks, jumping in for help.
    I tried your given code, i found that the page html source doesnt has any element with a name '#messages'. As per my understanding, its the apex engine which checks for any error, if found it shows it by adding an element id '#messages', but here on my requirement its not the apex engine which has detected the error, its my functional logic which wants to report a message. On a normal and error free page condition, we usually dont find '#message' element. I'm curious on how apex inbuilt engine is reporting an error to a page?

  • Showing error while creating IT0000 ee record

    Hi,
    I am new to HR functional. Please do need full.
    When i am creating record in infotype 0000, it is showing error like No entry in table T503 for     779.
    I am giving value 7 fro employee group and 79 for employee subgroup.
    Is there any where that i can enter value 779.
    Thanks,
    Thrilleswar

    Hi ram,
    Thanks so much..
    this error is resolved but the other error is showing like Number range 01 is internal, do not enter a personnel number.
    Is there any place that i can be able to make my number work here.
    Thanks,
    Thrilleswar

  • PO is getting created but showing error is address with status of IDoc - 51

    Hi Experts,
    I am using IDoc type  - PORDCR103
    Process code - copy of  IDOC_INPUT_PORDCR1 (Function Module)
    After processing through WE19 it is generating an IDoc number with status - 51 showing error in Address , But it is creating a PO.
    My requirement is In status -51 It should not create PO.
    Inside IDOC_INPUT_PORDCR1 a Bapi  'BAPI_PO_CREATE1' is used for creating PO. Here In RETURN parameter of BAPI a Row is comming with Message type - E.  Some other messages are also there of type 'S' and 'W'.
    After processing ,  PO is getting created with staus - 51.
    Please help me .
    Thanks
    Susanta
    Edited by: Susanta22 on Oct 11, 2011 12:29 PM

    Hi,
    in ur code ur filling the idoc data rcord, control record ryt ..before u append data to idoc data , u r also validating and u might be doing in loop for appening the idoc data.
    if there is any error in idoc then it won't distribute the data, it will be in error status only..u can only see the data in WE02. Then u can also change the data in WE02 and redistirbute it via BD87.
    if u have any conerns let me know
    Regards,
    Nagaraj

  • ITUNES SHOWS ERROR AND NEED TO CLOSE

    Hi,
    itunes page shows error and need to close everytime I plug in the iphone to my desktop. why?

    +"iTunes has encountered a problem and needs to close."+
    let's first check to see if this is associated with a problem with your QuickTime. (iTunes needs a properly functioning QuickTime in order to work correctly.)
    try launching your QuickTime. does it:
    (a) launch perfectly fine?
    (b) fail to launch with an error message? (if so, what does it say?)
    (c) exhibit other peculiar behavior? (if so, could you describe it for us?)

  • Content Conversion working fine in NFS, It is showing errors in SFTP

    Hi All,
    My scenario is Proxy to SFTP.
    I did the content conversion in receiver side , It is working fine in NFS, But it is showing errors in SFTP,
    I am getting below error.
    Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.4)
    This is my content conversion below
    RecordSetStructure       :OrderHeader,OrderHeaderNote,OrderLine,OrderLineNote
    OrderHeader.fieldFixedLengths
    4,10,30,24,8,8,10,35,35,35,35,35,3,10,2,10,35,35,35,35,35,3,10,2,1,20,12,20,16,10,20,1,8,30
    Header.endSeparator
    'nl'
    HeaderNote.fieldFixedLengths
    4,5,85
    HeaderNote.endSeparator
    'nl'
    Line.fieldFixedLengths
    4,6,8,3,4,35,15,13,12,1,8,8,20,30,20,35,35,35,35,35,3,10,2,5,10,10,24,13,10,5,2
    Line.endSeparator
    'nl'
    LineNote.fieldFixedLengths
    4,5,85
    LineNote.endSeparator
    'nl'
    This my structure below:
    Record
    ---Header
       ---a
       ---b
       ---c
    ---HeaderNote
       ---d
       ---e
       ---f
    ---Line
       ---g
       ---h
       ---i
    ---LineNote
       ---j
       ---k
       ---l
    For that structure I am using the content conversion above It is working fine in NFS, But it is showing errors in SFTP .
    I am using Date function also in the mapping(FYI)
    Can you please provide me the solution.
    Please let me know for any other information.
    Thanks & Regards,
    Satish

    Hi Satish,
    1. Check the sequence of the module
    2. Recordset structure should contain the occurances as well, i.e: OrderHeader,1,OrderHeaderNote,1,OrderLine,*,OrderLineNote,*
    3. Try to follow the below link which describes the content conversion for both simple and complex structure:
    http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
    A.B

  • Using DBMS_LOCK  in function gives error

    Dear Guru's
    I need to use the DBMS_LOCK.sleep. Hence to get more info i searched the forum and I found this code from the forum
    CREATE OR REPLACE
    FUNCTION sleep (secs_in IN INTEGER) RETURN NUMBER
    is
    BEGIN
    DBMS_LOCK.sleep(secs_in);
    RETURN secs_in;
    END;
    and tried it in my envrionment..
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.1.0.4.2
    Warning: Function created with compilation errors.
    SQL> show errors
    Errors for FUNCTION SLEEP:
    LINE/COL ERROR
    4/5 PL/SQL: Statement ignored
    4/5 PLS-00201: identifier 'DBMS_LOCK' must be declared
    I tried using the DBMS_LOCK in a Nameless procedure like this
    begin
    dbms_lock.sleep(5);
    end;
    there was no error message and i got a message that it has been executed successfully
    I tried it similarly in a stored procedure , then also i got the same error message
    Please enlighten me on this issue.
    with warm regards
    ssr

    Sounds like you've got execute privs on dbms_lock granted to your user as part of a role. You need to have a direct grant on dbms_lock in order for what you're trying to do to work. (ie. you need to get someone with the appropriate privs to run the following: grant excute on dbms_lock to your_user;)

  • What (the hell) is SQL Exception called Function sequence error?

    ...doing in a code like this:
    ResultSet friends=...executeQuery...
    while (friends.next())
    log.append(friends.getString("sendergsm"));
    somewhere in between that loop, or sometimes the loop runs out fine, and sometimes it throws SQLException called General Error. Not guite normal...

    Thank you for replying... that must be agains some of the policies of the sun, to make methods that may be called normally, but may cause an error.
    Anyway, this is my first database application. The number of problems I've had in few days is unbelivable. I wonder does it load the drivers from disk or something everytime it reads one record from database. I mean when I did the above query, the table had about 10 entries (the program showed 5 to 10 before function sequense error) and displaying each record to TextArea took over second. (In paradox (The dosversion) this would have taken less than a second).
    And paradox tables doesn't work at all because it raises exception: Table isn't expected format. If I set paradox 4.0 drivers and put paradox 4.0 tables, you would guess that the format would be expected. And you cannot create paradox tables with SQL. Now I need to use access databases. How can database containing 60 records be 500kb:s? When it will contain 50000 new records every day, i guess I'll be in problem. Each tranaction (say 5 simple queries) taking minutes... heelp meee!!

  • RFC to XI -- works ONCE then  FAILS. SM58 on R3 shows errors. ???

    Really stange scenario
    Sending a Simple record with about 3 fields in it to XI from R3 via RFC method.
    First time Message arrives correctly in XI and ouput file is generated. Payload OK., File name generated OK so no duplicate file names etc etc.
    Execute the same program  (on R3) with the same data again then nothing appears on the XI side.
    SM58 on the R3 side shows error Commit Fault com.sap.aii.rfc.afcommunication.RfcChannelMismatchExcept.
    Now sometimes from SM58 I can go to Edit ==> execute LUW and the message gets transferred to XI.
    Other times (more ususally)  SM58 returns Function Module does not exist or exception raised.
    On the XI side there isn't anything in the channel logs showing an error.
    If I create a new channel in the IR then it works again ONCE  then same problems as before,
    Any ideas on how to fix -- I certainly can't uunderstand why the SAME PROGRAM AND DATA works  sometimes and other times not.
    Thanks all
    jimbo

    Hi,
    Please check your channel under Business System you are using in your configuration. Is there any other RFC Adpater which uses the same Program ID or any other active rfc channel pointing to the same system? If yes please deactivate/delete the other channel. Your problem will be resolved.
    Thanks
    Amit
    Reward points if answer helps

  • Show errors in pl/sql

    Hi All
    I am getting the following message if i give show errors command in SQL Prompt in SQL PLUS after executing the package. Normally if i give this show errors command it will display the errors properly. Currently it displays the following message.
    Usage: SHOW ERRORS [{ FUNCTION | PROCEDURE | PACKAGE |
    PACKAGE BODY | TRIGGER | VIEW
    | TYPE | TYPE BODY | DIMENSION
    | JAVA SOURCE | JAVA CLASS } [schema.]name]
    Can you help me out?
    Thanks,
    Padma

    The following are the statements :
    Warning: Package created with compilation errors.
    SQL> show errors
    Usage: SHOW ERRORS [{ FUNCTION | PROCEDURE | PACKAGE |
    PACKAGE BODY | TRIGGER | VIEW
    | TYPE | TYPE BODY | DIMENSION
    | JAVA SOURCE | JAVA CLASS } [schema.]name]

  • Addisctl.sh showing errors

    Hi All,
    Whenever i try to run the applications the addisctl.sh script takes a lot of time and also show errors after execution.
    My Application version is : 11.5.9
    Database Version is: 9.2.0.3
    Os version is: RHEL 3
    The script result is:
    [applerpp@hertz applerpp]$start_applerpp
    You are running adstrtal.sh version 115.9
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/adapcctl.sh start
    script returned:
    adapcctl.sh version 115.32
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Starting Apache Web Server Listener (dedicated PLSQL) ...
    /erpp/erppora/iAS/Apache/Apache/bin/apachectl start: httpd started
    adapcctl.sh: exiting with status 0
    .end std out.
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/adalnctl.sh start
    script returned:
    adalnctl.sh version
    Checking for FNDFS executable.
    Starting listener process APPS_ERPP.
    adalnctl.sh: exiting with status 0
    .end std out.
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/adcmctl.sh start
    script returned:
    You are running adcmctl.sh version 115.16
    Starting concurrent manager for ERPP ...
    Starting ERPP_0801@ERPP Internal Concurrent Manager
    Default printer is noprint
    adcmctl.sh: exiting with status 0
    .end std out.
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/adfrmctl.sh start
    script returned:
    You are running adfrmctl.sh version 115.26
    Starting forms server for ERPP on port 9000.
    adfrmctl.sh: exiting with status 0
    .end std out.
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/adrepctl.sh start
    script returned:
    You are running adrepctl.sh version 115.15
    starting Reports Server for ERPP on port 7000.
    adrepctl.sh: exiting with status 0
    .end std out.
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/adfmcctl.sh start
    script returned:
    You are running adfmcctl.sh version 115.15
    Starting forms load balancing client for ERPP.
    adfmcctl.sh: exiting with status 0
    .end std out.
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/adfmsctl.sh start
    script returned:
    You are running adfmsctl.sh version 115.11
    starting forms metrics server for ERPP.
    adfmsctl.sh: exiting with status 0
    .end std out.
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/jtffmctl.sh start
    script returned:
    You are running jtffmctl.sh version 115.7
    Starting Fulfillment Server for ERPP on port 9300 ...
    jtffmctl.sh: exiting with status 0
    .end std out.
    Executing service control script:
    /erpp/erppcomn/admin/scripts/ERPP_hertz/addisctl.sh start
    script returned:
    ERROR : Timed out: Interrupted Exception
    addisctl.sh version 115.8
    /erpp/erppora/8.0.6/vbroker/bin/osagent
    Waiting for OAD to start...
    Started OAD.
    OAD logs messages to the file /erpp/erppora/8.0.6/discwb4/util/oad.log.
    Discoverer Locator Started.
    Locator logs messages to the file /erpp/erppora/8.0.6/discwb4/util/locator.log.
    Cannot bind to OAD. Re-starting...
    OAD is stopped
    Unable to stop Osagent. No process-id file found.
    Locator is stopped
    Unable to stop gatekeeper. No process-id file found.
    No other discoverer processes running
    /erpp/erppora/8.0.6/vbroker/bin/osagent
    Waiting for OAD to start...
    Started OAD.
    OAD logs messages to the file /erpp/erppora/8.0.6/discwb4/util/oad.log.
    Discoverer Locator Started.
    Locator logs messages to the file /erpp/erppora/8.0.6/discwb4/util/locator.log.
    Registering Discoverer Session
    oadutil reg: Failed to bind to OAD
    Registering the Collector
    oadutil reg: Failed to bind to OAD
    addisctl.sh version 115.8
    /erpp/erppora/8.0.6/vbroker/bin/osagent
    Waiting for OAD to start...
    Started OAD.
    OAD logs messages to the file /erpp/erppora/8.0.6/discwb4/util/oad.log.
    Discoverer Locator Started.
    Locator logs messages to the file /erpp/erppora/8.0.6/discwb4/util/locator.log.
    Cannot bind to OAD. Re-starting...
    OAD is stopped
    Unable to stop Osagent. No process-id file found.
    Locator is stopped
    Unable to stop gatekeeper. No process-id file found.
    No other discoverer processes running
    /erpp/erppora/8.0.6/vbroker/bin/osagent
    Waiting for OAD to start...
    Started OAD.
    OAD logs messages to the file /erpp/erppora/8.0.6/discwb4/util/oad.log.
    Discoverer Locator Started.
    Locator logs messages to the file /erpp/erppora/8.0.6/discwb4/util/locator.log.
    Registering Discoverer Session
    oadutil reg: Failed to bind to OAD
    Registering the Collector
    oadutil reg: Failed to bind to OAD
    Command line may not be valid
    Exiting with status 1
    You have new mail in /var/spool/mail/applerpp
    [applerpp@hertz applerpp]$

    The LD_ASSUME_KERNEL is already set to the specified value and when i tried to run the addisctl script from the same session i got the same errors but when i run the checkdiscoverer.sh the ouput is:
    [applerpp@hertz util]$checkdiscoverer.sh
    Initializing ORB...
    ORB initialized successfully.
    Checking for OSAgent...
    java.lang.Exception: OSAgent Not Found
    Error: OSAgent is not running. Discoverer will not function correctly unless there is at least one OSAgent running in the subnet.
    Hint: Start OSAgent by running startosagent.sh under /erpp/erppora/8.0.6/discwb4/util.
    Checking for OAD...
    org.omg.CORBA.NO_IMPLEMENT[completed=MAYBE, reason=
      Could not locate the following object:
             repository id : IDL:visigenic.com/Activation/OAD:1.0
                 host name : 127.0.0.1
    Error: OAD is not running. Discoverer will not function correctly.
    Hint: Start OAD by running startoad.sh under /erpp/erppora/8.0.6/discwb4/util.
    Checking for Discoverer Locator...
    org.omg.CORBA.NO_IMPLEMENT[completed=MAYBE]
    Error: Discoverer Locator is not running. Clients outside the subnet will not be able to connect.
    Hint: Start Discoverer Locator by running startlocator.sh under /erpp/erppora/8.0.6/discwb4/util.
    Checking for Gatekeeper...
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL[completed=MAYBE, reason=Can not find GateKeeper: exception ReqFailure{}]
    org.omg.CORBA.INTERNAL[completed=MAYBE, reason=Can not find GateKeeper: exception ReqFailure{}]
    Error: Gatekeeper is not running. Clients outside the firewall will not be able to connect.
    Hint: Start Gatekeeper by running startgatekeeper.sh under /erpp/erppora/8.0.6/discwb4/util.
    Refer to the Discoverer Configuration Guide for more information on configuring Gatekeeper.
    Checking that the machine has only one network card...
    Yes.
    Pls help me on this issue
    Thanks and Regards
    Amit Raghuvanshi

Maybe you are looking for