AR Invoices and Statements

After creating a template and data definition for AR invoices and Statements, where in the application does this get mapped or setup. Thanks in advance for your help.

That depends on your Apps release.
1. Pre-11i10 - your users will have a two step process to generate output
2. Post 11i10 - your users carry on as they were, they can now pick a template to use at runtime.
As to what to do next ... you need to get the template and datasource registered in the XMLP Admin pages, make an update to the conc prog definition and you're done !
More details in the manual and this paper, http://www.oracle.com/technology/products/xml-publisher/docs/XMLEBSRep.pdf
Regards, Tim

Similar Messages

  • Using BI Publisher for printing pick, pack slips, invoices and statements

    We are trying to determine if we can use BI Publisher to print, fax, email, archive our primary business documents (pick, pack slips, invoices, AP checks, statements. In the past we used a 3rd party document generation product because the JD Edwards forms software delivered with EnterpriseOne did not have the functionality we needed to automate the presentation and delivery of the documents without modification to the JDE software. We need to automatically sort and split the Spool and or XML files and determine the delivery methods for the output dynamically using the data in the output file, merge with the correct form template(s) and send it to the correct printer(s), fax, email, portal. We also have 3 printers in the mail room for statements less than 8 pages, 8 to 15 pages and 16+ pages. The number of pages produced has to be sorted before it is sent to the printer because of the envelop inserter attached to the printers. Can this be done with the free version of BI Publisher? If not what does the paid version of BI Publisher cost? Does the paid version provide this functionality?

    Hi user953712,
    1. Check format should use fixed row enumeration matched to the number of remittance lines per stub setup on the Payment Document in EBS.
    2. "not using word columns"? I'd be using a table in Word. Is this a text based format? If so consider ETEXT.
    "should go into a different file"? Sounds like bursting or some other mechanism.
    Regards,
    Gareth

  • Invoices, Customer Statements and Order Confirmation

    If one customer wants these things sent to three different places how and where do I look to configure this. i.e. They want their invoice to arrive in an office in Indiana, and the confirmation in Michigan.
    Any help would be great.
    Thanks
    Justin

    Hi Justin
    Here is the link from SAP help on the EDI settings for invoice and order confirmation
    http://help.sap.com/saphelp_47x200/helpdata/en/f0/4228f2a97311d2897a0000e8216438/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/4b/ad4ecb17fd11d28a360000e829fbbd/frameset.htm
    But all this should be setup in co-operation with the EDI consultant.
    Thanks
    Ashok
    Award points if this is useful

  • How to calculate AP invoice and AP downpayment AR Credit Memo together?

    Dear All,
    Does anyone know how to calculate AP invoice and AP downpayment AR Credit Memo together for the purchase summary, by using SQL statement?
    Is it sum altogether...like AP_Invoice + AP downpayment - AP Credit Memo?
    The result as shown below:
    BP_Code        Total
    XXXXXXXX        $10,000
    From Samson
    Edited by: samson leung on Jun 10, 2009 9:49 AM

    Try this to start:
    Select T0.CardCode 'Vendor#', Sum(t0.DocTotal - isnull(t3.DocTotal,0)) 'Total'
    from dbo.opch t0
    inner join dbo.pch1 t1 on t1.docentry = t0.docentry
    left join dbo.rpc1 t2 on t2.docentry = t1.TrgetEntry
    left join dbo.orpc t3 on t3.docentry = t2.docentry
    group by T0.CardCode
    Thanks,
    Gordon

  • Deferred tax: Post invoice and payment separately $1" Message no. DEFTAX020

    while reversing a document thru FB08, it is giving the error message,
    " Deferred tax: Post invoice and payment separately $1" Message no. DEFTAX020.
    This is a stand alone invoice document , without any clearing document.  What is to be done ?
    Below is the snapshot of FB03:-
    Document Number 2256162          Company Code    MLTD         Fiscal Year     2009
    Document Date   24.05.2010       Posting Date    25.05.2010   Period          11
    Reference       PYX/10-11/032    Cross-CC no.
    Currency        INR              Texts exist
    Itm PK  BusA Acct no.   Description                    Tx     Amount in   INR
    001 31  U106 503551     PYXIS SYSTEMS PVT.LTD.         DD             55,150.00-
    002 40  COMM 5656       Membership & Subscri           DD             50,000.00
    003 40       1371       Service Tax Availed            DD              5,000.00
    004 40       1372       Ecess on ST Availed            DD                100.00
    005 40       1373       S&H Ecess on ST Avai           DD                 50.00
    Document Type   I2 VEMDOR INV-CORPORATE
    Doc.Header Text PYXIS SYS.P.LTD.
    Branch number         Number of Pages 0
    Reference       PYX/10-11/032    Document Date   24.05.2010
                                     Posting Date    25.05.2010
    Currency        INR              Posting Period  11 / 2009
    Ref. Transactn  BKPF  Accounting document
    Reference key   0002256162MLTD2009    Log.System MALCLNT999
    Entered by      NITINRB          Parked by
    Entry Date      25.05.2010       Time of Entry   13:05:08
    TCode           FBR2
    Changed on                       Last update
    Ledger Grp                       Ledger
    Ref.key(head) 1                       Ref.key 2

    Hi,
    Check whether OSS note 913805 (see below) offers a solution to your particular issue.
    Kind regards, Robert
    Note 913805 - Error FF891 or DEFTAX025 when posting FI-Documents  Version: 5
    Summary
    Symptom
    The posting of FI-documents cannot be executed due to one of the following error messages:
    FF 890 "Vendor and customer items in document with deferred taxes"
    FF 891 "G/L account item without tax code in document with deferred taxes"
    FF 892 "Error writing to table DEFTAX_ITEM"
    DEFTAX 025 (no specific text)
    Also update terminations and other errors which are related to function group TAX4 may be the topic of this note.
    Other terms
    RFUMSV25; RFUMSV50; VAT; deferred tax; BTE; DEFTAX_ITEM; TAX4; SAPSQL_ARRAY_INSERT_DUPREC; FI_POST_DEFTAX_ITEM; FF891; FF890; FF892; FF804; 00 671; FF099; DEFTAX020; DEFTAX021; DEFTAX022; DEFTAX023; DEFTAX025; DEFTAX012; DEFTAX_MX027; DEFTAX_MX047; DEFTAX_MX039; DEFTAX; DEFTAX_MX;
    Reason and Prerequisites
    Accidentally some business transaction events (BTE) for the new solution for deferred tax were delivered in an active state in support packages of SAP releases 4.70 and ERP 2004. The solution is available in the SAP-Standard only from release ERP 2005. Also in ERP 2005 the new deferred tax can cause problems in countries for which the solution is not released.
    These BTEs perform strict tests for documents containing tax codes for deferred tax.
    Solution
    If you are using the old deferred tax, i.e. you use report RFUMSV25 to create transfer postings, you can safely deactivate these BTEs.
    Remove the following BTEs:
    00001025  DI-TAX CREATE_DEFTAX_ITEM
    00001030  DI-TAX SET_DEFTAX_ITEM
    00001040  DI-TAX CREATE_DEFTAX_ITEM_REVERS
    00001050  DI-TAX CREATE_DEFTAX_ITEM_MR1M
    In ERP 2005 (ECC 600) the application key is 'FI-TAX' instead of the above mentioned 'DI-TAX'.
    To do this start transaction FIBF
    -> Settings
      -> P/S Modules
        ...of an SAP Application
    Mark the entries from the list above and delete them.
    This deactivates the functionality of 'new deferred tax' for all company codes in all clients on the system. This means that no data is written to table deftax_item at posting time. Report RFUMSV50 can still be started, but it will not process new documents any more.
    If in ERP 2005 problems arise in one country but the new deferred tax is used in another country you must not deactivate the BTEs completely. In this case it is possible to restrict the BTEs to be active only in certain countries using the column 'country' in transaction FIBF.
    Header Data
    Release Status: Released for Customer
    Released on: 16.01.2008  20:12:15
    Master Language: English
    Priority: Correction with medium priority
    Category: Program error
    Primary Component: FI-GL-GL-F Value Added Tax (VAT)
    Affected Releases
    Software Component     Release     From Release   ToRelease     And subsequent
    SAP_APPL                     46C            46C                   46C  
    SAP_APPL                     470            470                    470  
    SAP_APPL                     500            500                    500  
    SAP_APPL                     600            600                    600  
    SAP_APPL                     602            602                    602  
    SAP_APPL                     603            603                    603  
    SAP_APPL                     604            604                    604  
    Related Notes
    771319 - RFUMSV50: Documentation
    Edited by: Robert North on May 26, 2010 11:49 AM
    Edited by: Robert North on May 26, 2010 11:50 AM

  • Automatic Invoice and PGI after salesorder(userexit_document_save)

    Hi All,
    Here my requirement....
    I need to do automatic Invoice and PGI for cash sales in Sales order.
    For this, I coded inside the userexit_save_document, in this userexit i'm getting the sales order number to create Invoice and delivery number to create PGI but the issue before this userexit the sales order and delivery are created but not yet committed. So, when I am trying to create pgi and invoice in this exit.... it says the document doesn't exit.
    Could anyone suggest me an methos to do that.
    fyi: in my current approach for PGI im executing the standard report 'WS_MONITOR_OUTB_DEL_GDSI' using submit by passing the delivery number .............output says 'document don't exist'
    for Invoice : I recorded the transaction 'VF01' and updating using bdc in funtion module, this function module is called from userexit_document_save using 'call function zffucn IN UPDATE TASK'..........this creates runtime error and shortdumb. when I looked in sm13 error says '00 671: ABAP/4 processor: POSTING_ILLEGAL_STATEMENT' , short text says 'Statement "CALL TRANSACTION" is not allowed in this form.'.
    is there any better way to do this???
    any suggestion will be appreciated
    Regards.

    Hi,
    I tried using perform ...ON COMMIT....
    Now i can clearly see that the sales order and delivery is created (message is displayed in the status bar)..
    when i debug the code.....this is executed at last i.e  but still it shows that 'Document xxx does not exist'. SO, I believe it is not yet committed to database.
    If I exit from that screen and enter into vf01 or standard report then it works...so its getting committed only getting out of that transaction ....i think there is some small change is missing...could anyone give suggestion.
    regards.
    Edited by: Shankar Raju Devadoss on Mar 17, 2011 11:07 PM

  • R12: how to show ap invoices and ar transactions from same party id

    Is it possible to see the open ap invoices and open ar transactions from the same party id
    in one screen or report?

    I'm sorry your posts keep getting locked despite you asking not to have them locked. To avoid this in the future, if you accidentally post in the wrong forum, edit the post in the wrong forum to remove the content, and change the titlte to please ignore or something similar.
    This is the response I made on your post in the SQL PL/SQL forum since I will not be able to respond on that one.
    The exists operator looks for a record that matches the criteria you give it. If it finds a record, it returns true, if not it returns false. So, when you say:
    exists (select 1 from ap_invoice_lines_all
            where invoice_id = i.invoice_id and
                  po_header_id is null)It is really asking is there a record in ap_invoice_lines_all where invoice_id = 100 and po_header_id is null. Since there is such a record, the exists return true and the record from ap_invoices_all is returned.
    I'm not sure whether your last query should be against ap_invoices_all or ap_invoice_lines_all, and i'm also not entirely sure what result you actually want. If you want to find records in ap_invoices_all where all of the lines have a non-null po_header_id, then you need to reverse your logic, something like:
    select *
    from ap_invoices_all i
    where invoice_num = '1010' and
          not exists (select 1
                      from ap_invoice_lines_all
                      where invoice_id = i.invoice_id and
                            po_header_id is null)That will show only invoices where all of the lines have po_header_id populated. Just change the is null to is not null to get invoices where no lines have po_header_id populated.
    If you are looking for something else, try again to explain what you want, with some sample data for the two tables, and your expected results from that sample data. The sample data should preferabble be in the form of create table ind insert statements.
    John

  • VAT invoice and copy receipts?

    I'd like to receive a VAT invoice and be able to download one from my account.
    Why can't I do that and why can't I just download a copy receipt or at least print a statement of purchases from the site?
    Something I am missing?
    Thanks
    AA

    If the iTunes Store provides a VAT receipt, it's not something you can get on your own. You'll need to contact the iTunes Store and request one. Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to contact the iTunes Store.
    Standard receipts are always emailed to the email address associated with your account. As to why Apple has not provided a mechanism for downloading receipts or a list of purchases, that's something none of us here, who are all just fellow users, can answer.
    Regards.

  • Invoice and delivery notes - idocs..

    Hello SD experts,
    I am new to SD.
    Can any one tell me what is the invoice. I mean
    what are the table AND transaction codes I have to go and check ?
    What are delivery notes ?
    My functional consultant is telling that
    there is a consolidated invoice and there are 2 delivery notes that are being combined for this invoice. The invoice # is 6016186004
    For DN#   6073107044 there is a VICS BOL that was passed back that is = 04000000000016146 
                   6073107045 there is a VICS BOL that was passed back that is = 04000000000016023
    and he wants to know how the program selects which VICS BOL fields in IDOC.  He gave me to use IDOC #77122253 in quality system for testing.
    In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
    If so then what are the I need to give
    Output application    (is it V1 or MR ?)       
    Output type    ??

    hi ..
    Please refer below..
    for invoice ,  tables: VBRK and VBRP
    AND transaction codes : VF01 to 03.
    What are delivery notes ?
    after goods issue, we need to issues delivery note to customer.
    In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
    you need to go to VL70 or you can process with RSNAST00.
    Output application type : V2
    Output type : LD00
    Regards
    Venkat.. Ananth Technologies

  • Excise Invoice and RG Registers

    Hi SD Guru's
    My client is into Electrical installation services , I would like to know whether Excise invoices and the RG registers are need to be updated.
    The nature of business of the company is procuring trading material from the vendors and do the installation, testing and commissioning and raise the invoice. so for some of the material which they procure have Excise Duty and where as the output taxes are VAT and CST only.
    I would like to know whether I have to configure CIN details and what are  the registers to be updated.
    Thanking you all for your kind help.
    Rgds

    Dear Friend,
    I am also with a client whose business is Electricial, Mechinical, Plumbing & Fire Fighting Installation services.
    The business process is exact same as the process explaned to you.
    Here we dont not update any Excise registers because we dont claim the Excise duty paid in Purchased goods.
    The only Taxes applicable here are CST, VAT & Service Tax.
    When we Purchase goods, the Excise Amount is shown seperately in PO Conditions but the value is updated in Material Cost. Only the Purchase / Sales taxes are posted in seperate GL accounts & VAT returned is claimed.
    Thus in your case too I feel no Excise Registers updation is required.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • Excise invoice and domestic invoice sharing same number range

    Hi,gurus,my question is addresed to the sap cin gurus
    Scenario:-- Normally sap has provided provisions that the domestic invoice and the excise for the export will have different number range object
    Transaction-snum or snro(As per the rule the no range has to be approved by excise authorities)
    Requirement:--The present requirement of the client is that as per their requirement they will be using the same excise number range both for domestic and the export(They have got the approval from the excise department as per the amendment,that specifies the same)
    so i request you to pls guide me as how can it be done in sap that two different business process will share the same number range.
    as per my knowledge local excise number range is-J_1IEXCLOC
    and for exports is-J_1IEXCEXPand the both will use the same number range and,suppose 1 local invoice is created and say if the no is 1,then if the export excise invoice is created the number will be 2,pls guide me how is it possible that the same number range should be used.
    Thanks in advance---Anshuman chakraborty

    Dear sir,Thanks for attention towards the issue,but still i need to clarify some details-
    the number range forJ_1IEXCLOC are already configured .It is not the case like i have to configure it for the first time however ,so the issue remains how shall i proceed in this case
    Sir,i have already checked the transaction j1iin,it does not give any such box to check the-use local no range
    infact the error message which the system was throwing to the user that-number range object not assigned for Object: J_1IEXCEXP.
    The question remains from my side is what are the complete configuration steps I need to do ,to make the check box appear so as to select-use local number range,and is there any thing to be conveyed to my developer,so that the same appears,
    or is it the case like the anything should earlier have been done before the number range for J_1IEXCLOC was created.i would request u to pls guide me giving the complete details of the step to be followed.
    Thanks in advance
    Anshuman chakraborty

  • I am connected to a time capsule both wirelessly and through ethernet...and state of the time capsule is solid green...the internet however doesn't work...The internet works fine when directly connected to my macbook pro but it won't work through the tc

    I have deleted time machine preferences...restarted the modem a bunch of times, restored time capsule to it's original settings...after I first set it up in Airport Ulitity its shows a page quickly that states there is a internet problem, but the page quickly goes away before I can read what it says exaclty and states the internet connection problem is resolved...
    However it's not resolved, I'm also having trouble doing a back up to my time capsule...I recently purchased a new macbook and retrieved/restore what was on the time capsule to the new computer...that worked fine...wireless worked fine...however when I tried to back up the new macbook...it would faii stating that there isn't enough room on the TC to do a back up...
    I didn't end up keeping the new macbook, I was just using it/trying it out while my current macbook pro was being repaired (logic board)
    Ever since I got my current macbook back from repair...my backups have failed due to their not being enough space to perform the back up...in the past the back ups would happen and old back ups would be replaced...
    I think this has to do with my current computer having a new name after the repair..."Adam's macbook pro 2" vs "Adam's macbook pro"
    The internet was working fine wirelessly through the TC a day ago, but it wasn't allowing my other laptop that was connected via ethernet access to the internet...I had a self assigned IP address error then...I don't have that problem now, but it's not transmitting internet at all...even though it's in a solid green state.
    I have no problem completely wiping out my TC including the previous back ups on it...just don't know how to go about it...I have restored it to factory settings a bunch of times and created the network from scratch...just hasn't fixed the issue
    Is there more prefences files I should delete

    If the modem is also a router, either use the modem in bridge and run pppoe client on the TC.. that is assuming ADSL or similar eg vdsl. If it is cable service.. and the modem is a router, then bridge the TC.. go to internet page and select connect by ethernet and below that set connection sharing to bridge.
    Please tell us more about the modem if the above gives you issues.

  • Implicit vs explicit close of resultsets and statements?

    Hi friends.I am a newbie Java Developer..Okay Here goes
    I have just made a LAN based Java application using Swing,JDBC with backend as MS-Access..The backend is on a shared network drive..
    The application is distributed as jar files on the LAN PCs..
    Everywhere I have connected to the database I have just closed the connection explicitly like this
    con.close();
    I do not close the associated resultset and statement explicitly
    The specification says associated statements and resultsets close when you close
    the connection,even if you don't explicitly close them
    Also I am not using connection pool..its simple basic connection using DriverManager
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbcdbcSN name";
    String user = "";
    String pw = "";
    con = DriverManager.getConnection(url, user, pw);
    Statement stmt = con.createStatement();
    String select = "" ;
    ResultSet rows = stmt.executeQuery(select);
    On the net everyone says to explicitly close everything..but I did not know that
    earlier..
    If specification says everything closes on
    closing connection why do ppl insist on closing everything explicitly..?
    Or is this driver dependent..don't the drivers go through the specification..
    My driver is the Sun JDBC ODBC bridge.....
    I found this method DriverManager.setLogwriter()
    It prints out a trace of all JDBC operations..
    So I ran a sample program with this method included...
    I redirected output to a log file..
    In that program I just explicitly close the connection without closing the
    statements and resultsets explicitly...
    After running the program and seeing the log I saw that the statements
    and resultsets are closed implicitly If I just close the connection explicitly..
    I am putting the log file and the code..
    Have a look at the end of the log file..
    Code
    import java.sql.;
    import java.io.;
    class gc4test
    public static void main(String args[])
    Connection con = null;
    try
    FileWriter fwTrace = new FileWriter("c:\\log.txt");
    PrintWriter pwTrace= new PrintWriter(fwTrace);
    DriverManager.setLogWriter(pwTrace);
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbc:odbc:pravahcon";
    String user = "admin";
    String pw = "ash123";
    con = DriverManager.getConnection(url, user, pw);
    Statement stmt = con.createStatement();
    Statement stmt1 = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    Statement stmt2 = con.createStatement();
    Statement stmt3 = con.createStatement();
    Statement stmt4 = con.createStatement();
    Statement stmt5 = con.createStatement();
    Statement stmt6 = con.createStatement();
    Statement stmt7 = con.createStatement();
    String select = "SELECT * FROM Users" ;
    ResultSet rows = stmt.executeQuery(select);
    ResultSet rows1 = stmt1.executeQuery(select);
    while(rows.next())
    con.close();
    catch (ClassNotFoundException f)
    System.out.println(f.getMessage());
    System.exit(0);
    catch (SQLException g)
    System.out.println(g.getMessage());
    System.exit(0);
    catch (Exception e)
    System.out.println(e.getMessage());
    System.exit(0);
    End of Log File
    Setting statement option (SQLSetStmtAttr), hStmt=50275112, fOption=25
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    Fetching (SQLFetch), hStmt=50274224
    End of result set (SQL_NO_DATA)
    *Connection.close
    8 Statement(s) to close
    *Statement.close
    Free statement (SQLFreeStmt), hStmt=50281544, fOption=1
    deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@2e7263
    *Statement.close
    Free statement (SQLFreeStmt), hStmt=50277224, fOption=1
    deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@1bf216a
    *Statement.close
    *ResultSet.close
    *ResultSet has been closed
    Free statement (SQLFreeStmt), hStmt=50274224, fOption=1
    deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@156ee8e
    *Statement.close
    Free statement (SQLFreeStmt), hStmt=50280464, fOption=1
    deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@c20e24
    *Statement.close
    Free statement (SQLFreeStmt), hStmt=50278304, fOption=1
    deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@12ac982
    *Statement.close
    *ResultSet.close
    *ResultSet has been closed
    Free statement (SQLFreeStmt), hStmt=50275112, fOption=1
    deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@e0e1c6
    *Statement.close
    Free statement (SQLFreeStmt), hStmt=50276144, fOption=1
    deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@6ca1c
    *Statement.close
    Free statement (SQLFreeStmt), hStmt=50279384, fOption=1
    deregistering Statement sun.jdbc.odbc.JdbcOdbcStatement@1389e4
    Disconnecting (SQLDisconnect), hDbc=50271048
    Closing connection (SQLFreeConnect), hDbc=50271048
    Closing environment (SQLFreeEnv), hEnv=50270880
    So like what these implicitly closed statements and resultsets are different from explicitly closed
    resultsets and statements..?

    Please do not crosspost/doublepost the same question again. It is rude in terms of netiquette.
    Stick to one topic: [http://forums.sun.com/thread.jspa?threadID=5393387&messageID=10745794#10745794].

  • Closing resultset and statements

    Hi!
    I just got told that I do not need to close my resultsets and statements in the code, it it enough that the connection are closed. Is this correct?
    Eg:
    public method myMethod() {
    ResultSet rs = null;
    Statement sqlStmt = null;
    try {
    query = "SELECT something";
    rs = sqlStmt.executeQuery(query);
    if (rs.next())
    do something...
    // close rs
    if (rs != null) {
    rs.close();
    rs = null;
    sqlStmt.close();
    sqlStmt = null;
    } // end try
    catch (errors)...
    finally {
    if (con != null) {                   <-- Is this line enough to close everything and release connections?
    try {
    con.close();
    catch (exception)...
    } // end finally

    No, you have to explicitly close the resultset, statement, and connection in order to release resources allocated to each of them. Closing the connection will only relase the connection, not the resultset, and statement.
    you could do all of it in the finally as follows:
    finally {
         try {
              if (rs != null) {
                   rs.close();
              if (stmt != null) {
                   stmt.close();
              if (conn != null) {
                   conn.close();
         } catch (Exception e) {}
    also there is no need to set rs = null, stmt = null after the close()

  • I am residing in India and have purchased Ipad 3 from US, I have lost my invoice and also the small pin which helps in inserting sim card, Can anyone help me how can I get a copy of duplicate invoice from India and a PIN for my Ipad 3

    Dear Friends,
    I have purchased Ipad 3 from the US but unfortunately while returning back to India I have lost in transit the copy of Invoice and a tiny PIN which helps in inserting 3G card.
    Can anyone help me how can I get the duplicate copy of my invoice and an extra PIN from India and whether any Apple Store in India can issue me the duplicate copy of Invoice for the product purchased from US and also are the require to issue me an extra PIN on request.
    Thanking you all in anticipation....
    Regards,
    Bankim Mehta

    You can use a paper clip instead of the PIn that came with the iPad.
    http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=54813
     Cheers, Tom

Maybe you are looking for

  • Report for Open Sales Orders

    Hi.. my client want the report for all open sales orders in following manner : CUSTOMER NAME         ITEM 1      ITEM 2     ITEM 3  ITEM 4 Customer 1                     23             45           54          76 Customer 2                     10    

  • My music files won't transfer to itunes...

    All of my music files from my hard drive are either mp3's or wma's that I have ripped from my own cd's. Why are some of them not transferring to my itunes library? what can I do to transfer them?

  • Hi I would like to uninstall then re-install Thunderbird. can I do this without losing my address book contacts?Please!

    Thunderbird repeatedly ask for my email server password. Also it fails to download my incoming mail and "times out"

  • HOW READ A FLATFILE INSIDE A BPM

    Hi All, I have this scenario: a Sender JDBC channel starts the flow and activates the BPM. Then, I need to implement a Loop that reads single FlatFile from a directory until the directory is empty. In this Loop the file, once it has been read, is sen

  • Swing : login with error checking

    Hi all, I am trying to write a login with error checking on the password. If password validation fail. It will remain there. If it passes it will go to the application. any samples and sites please. thanks andrew