How to reconcile Payments of A/P Request with A/P Invoices

Dear All,
I've got following scenario:
1) I create Purcase Order
2) I create A/P Request against this Purchase Order
3) I make outgoing payment against this request
4) Now I create A/P Invoice against the Purchase Order
Problem 1 : First of all I don't get the advance payment made in the step 3 when i choose Total Down Payment button at A/P invoice.
Problem 2 : If above problem is not possible, then I wanted to adjust the advance payment made in step 3 with the a/p invoice made in step 4. But when i try to reconcile these two from Business Partner - Internal Reconcillation - Reconcilation, I get an error "Payment transaction applied to down payment request cannot be reconciled here." As i cannot reconcile these two, system shows both the transactions as open.
Pl. help.

Dear Gordon/chin,
A/P Request is not a financial document. agreed. but i hope the outgoing payment which we make against this request is a financial document. which shud be allowed to reconcile.
This is very specific accounting requirement. which can be resolved only with A/P Requet and not by A/P Down Payment Invoice. I'll let u know the difference between these two and explain why i need A/P DP Request and not AP DP Invoice.
1) General Accounting practice says when u pay advance to any supplier, it shud be shown in asset. * Problem : with A/P DP Invoice, this is posted in liability (control a/c of supplier is in liability).
2) Also this payment done to supplier shud always be shown to supplier with debit balance.
3) with A/P DP Invoice, supplier is first credited. And when we do outgoing payment, it is again debited. * Problem : Here supplier is shown with zero balance. which contradicts with General Accounting practice which says any adavances paid to supplier shud show debit balance.
4) while doing A/P invoice (of amount say 5000) , when u assign A/P DP Invoice (of amount say 1000) , invoice amount is reduced by down payment amount (5000-1000=4000). this makes wrong presentation of invoice amount as 4000 instead of 5000. This contradicts General Accounting practice.
with A/P DP Request, all of the above requirements are fulfilled. but i'm unable to adjust that advance against any other document.
so i need solution for this or any other work around to meet this requirement.
Edited by: Kaps Aun on Oct 9, 2009 8:23 AM
Edited by: Kaps Aun on Oct 9, 2009 8:29 AM
Edited by: Kaps Aun on Oct 9, 2009 8:31 AM

Similar Messages

  • How to get payment document number from paid column in monthly invoice

    Dear experts
    I use SBO japan version and i need to know how to get payment document number from paid column in monthly invoice ?
    in table MIN1, only contain invoice and credit note document number, there is no payment document number
    thank you for your help
    Best Regards
    JeiMing

    Dear Gordon
    Yeah, you are right, i can use field MIentry in RCT2
    thank you
    Best regards
    jeiming

  • How to Reconcile payment with invoice made gaainst down payment request

    Dear All,
    There is a down payment request against which an incoming payment has been made. The actual ar invoice is booked at a later date. Now How do I reconcile the payment made with this invoice. When I try to reconcile it with the invoice using internal reconciliation it gives an error, you cannot reconcile a payment made against down payment request from here.
    Please suggest if you know any solution for the same.
    Regards,
    Husein

    Hi Neeraj............
                   I think there is no need to reconcile as its already a linked with AR Invoice. WHen you do incoming payment on the basis of AR Down Payment then it that down payment reference you should give to AR Invoice. Have you given such link as its provision is there in SAP.......
    Regards,

  • Error while creating creditmemo request with reference to invoice

    HI aLL,
    I am facing one issue while creating a credit memo request in VA01 with reference to invoice.
    Our project stock is valuated stock.In projects we always use valuated stock so i cannot change the valuated into non valuated.
    When we try top copy the error pops up" Valuated project stock not allowed with customer stock." and the line item is not copied in the credit memo.
    Diagnosis:The entered wbs manages a valuated project stock,at the same time sales order stock is maintained on sales order line item.this combo is not allowed as different valuation methods within a project is not allowed.
    Tarun Kapur

    Hi Arun,
    Have you check & maintained middleware setting for  document transfer
    (tcode R3AC1). Check object SALESDOCUMENT and try maintain transaction
    type there. Don't forget to activate use tcode R3AS.
    hope this helps.
    Gun

  • How to get multiple phones in a request with SelectCmDevices

    Hi all:
    I had met this problem, i can get only one phone with this request:
    "<soapenv:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" " +
    "xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:soap=\"http://schemas.cisco.com/ast/soap/\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"> " +
    "<soapenv:Header>" +
    "<AstHeader xsi:type=\"soap:AstHeader\">" +
    "<SessionId xsi:type=\"xsd:string\">1234567</SessionId>" +
    "</AstHeader>" + "</soapenv:Header>" + "<soapenv:Body>" +
    "<soap:SelectCmDevice soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\">" +
    "<CmSelectionCriteria xsi:type=\"soap:CmSelectionCriteria\">" +
    "<SelectBy xsi:type=\"xsd:string\">Name</SelectBy>" +
    "<Status xsi:type=\"xsd:string\">Registered</Status>" +
    "<Class xsi:type=\"ns1:DeviceClass\">Phone</Class>" +
    "<Model xsi:type=\"xsd:unsignedInt\">255</Model>" +
    "<SelectItems>" + "<Item>" + macadd +
    "</Item>" + "</SelectItems>" + "</CmSelectionCriteria>" +
    "</soap:SelectCmDevice>" + "</soapenv:Body>" +
    "</soapenv:Envelope>";
    But how can i to get multiple phones in a request? i had tried many methods, but all of them are not work. Thanks for any helps!

    Hi msabir:
    Thanks for your help. Yea,i don't want to get the first 200 phones, i just want to get the phones which are listed in the items.For example:
    "SEP0013192F15DU"+
    "SEP000E839C1479"+
    "SEP00131A4D3B34"+
    "SEP001D450BF4CF"
    ,then i just want to get the four phones, but when i do like this,i always just got one phone,why is that? Then i changed to use Array like this:
    "http://schemas.xmlsoap.org/soap/encoding/\">" +
    "" +
    "" +
    ""+
    ""+
    "10"+
    "Phone" +
    "255" +
    "Any" +
    "Name" +
    "" +
    ""+
    ""+
    ""+
    ""+
    ""+
    "SEP001D450BF4CE"+
    ""+
    ""+
    "SEP00131A4D3B34"+
    ""+
    But it alway throws this error:
    soapenv:Server.generalExceptionERROR: SelectBy is null
    why? Thank you very much!

  • HTTP POST Request with XML file in

    Hi @ all,
    I would like to send an HTTP Request with an XML File in the body to an SAP System
    I have the target URL and the a XML File.
    Now the question is. Is it possible to use something like the HTTP_POST FuBa to send an url post request with an xml file?
    If yes can anybody give me a hint?
    I have a php script which exactly do this coding. But to integrate it all in one system it is necessary to transform it into ABAP and call it there.
    // compose url and request and call send function
    function test($productID, $categoryID) {
         // create url
         $PIhost = "XXX.wdf.sap.corp";
         $PIport = "50080";
         $PIurl = "/sap/xi/adapter_plain";
         $PIurl .= "?sap-client=800";
         $PIurl .= "&service=XXX";
         $PIurl .= "&namespace=XXX";
         $PIurl .= "&interface=Frontend_Interface";
         $PIurl .= "&qos=EO";
         $PIurl .= "&sap-user=XXX";
         $PIurl .= "&sap-password=XXX";
         // create xml
         $request = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
         $request .="<n1:FrontendInbound_MessageType xmlns:n1=\"http://crmpiebay.com\">\n";
         $request .= "\t<FrontendInbound>\n";
         $request .= "\t\t<ProductName/>\n";
         $request .= "\t\t<ProductCategory>".$categoryID."</ProductCategory>\n";
         $request .= "\t\t<ProductID>".$productID."</ProductID>\n";
         $request .= "\t\t<MessageID/>\n";
         $request .= "\t</FrontendInbound>\n";
         $request .= "</n1:FrontendInbound_MessageType>";
         // send http request
         postToHost($PIhost, $PIport, $PIurl, $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"]."/".$_SERVER["PHP_SELF"], $request);
    // send post request to PI server
    function postToHost($host, $port, $path, $referer, $data_to_send) {
      $fp = fsockopen($host, $port);
      if($fp) {
           $res="";
           fputs($fp, "POST $path HTTP/1.1\r\n");
           fputs($fp, "Host: $host\r\n");
           fputs($fp, "Referer: $referer\r\n");
           fputs($fp, "Content-type: text/plain\r\n");
           fputs($fp, "Content-length: ". strlen($data_to_send) ."\r\n");
           fputs($fp, "Connection: close\r\n\r\n");
           fputs($fp, $data_to_send);
           while(!feof($fp)) {
               $res .= fgets($fp, 128);
           fclose($fp);
           return $res;
    Would be great if anybody could give me a hint how to solve such a HTTP Post request with XML body data.
    Thanks in advance.
    Chris
    Edited by: Christian Kuehne on Feb 26, 2009 4:32 PM

    hi friend could you please share your solution regarding this query if u got it already?

  • How to reconcile AR down payment Request with AR Invoice?

    Dear All,
    SAP B1 2007A SP01 PL07 version.
    I have created one AR down payment Request with total amount 1000.00, and then post incoming payment to paid the AR down payment Request, and the AR downpayment request then closed.
    Then, I add one AR Invoice with amount 1000.00.
    After that, I want to add incoming payment , then I select both (AR downpayment request & AR invoice), but cannot add the incoming payment because the total amount is zero (1000.00 - 1000.00=0.00).
    How can I solve this problem?
    Thanks in advance for any help.

    Hi Kerstin,
    Thank you for you reply.
    I did test your solution, but its only work for SAP 8.8. But now i'm working in SAP 2007A version. For 2007A version, downpayment request cannot be drawn to invoice.
    Anyway, i find out one way. If I add the payment together with another invoice, thats mean the total payment is not zero, then its work. The solution is, make sure the total payment is not zero then it should be ok.
    Thanks to everybody for your fast reply. Thank you so much and really appreciate your help.
    Regards,
    Mat

  • Match downpayment request with payments through F-53

    Hello,
    Our client makes downpayment request in F-47 and then makes payment (invoice-based) through F-53 or F110.
    How can we match the downpayment request with the payment made if it is not through F-48?
    Thanks in advance....

    Hi,
    Request is as good as maintaining our communication to the vendor.
    Its only when the actual payment is done, that a down payment is posted.
    Only then it would affect the accounts. Hence until its posted thru F-48, its not affected.
    You can post F-47 and do a F110 run which would do a posting in F-48.
    Later a payment run can be done again thru F110.
    Caio
    Raghu

  • Missing Functionality - Reconciling payment made against downpayment requst

    Hi All,
    I have the following scenario as supplied by the support team for downpayment requests:
    1. Create downpayment request.
    2. Create outgoing payment based on downpayment request.
    3. Process AP invoice.
    When i attempt to reconcile the payment to the transaction, i get an error stating that "payments made against against a downpayment request cannot be reconciled here"
    I am currently on SAP Business One Version : 2007, SP 00, Patch 35.
    I have attempted this on patch 39 with no resolve.
    Regards,
    Kiran

    Hi Amol,
    I recommend you to create Journal Entry for reconcile after input AR Invoice.
    For example;
    1) Input AR Downpayment Request
    no Journel Entry
    2) Input Incoming payment
    Cash $100 / Advance AR $100
    3) Input AR Invoice
    AR $100 / Sales Revenue $100
    4) Input Journal Entry <== you need it
    Advance AR $100 / AR $100
    5) Reconciliation
    for each Advance AR account, AR account
    I hope above sample helps you...
    Thanks,
    Kaori

  • How to reconcile Vendor as a customer also.

    Hi gurus
    How to reconcile Vendor as a customer, suppose if I buy 1000/- and sold to same vendor 250/-. where i can configure,how to reconcile? i want configration part?
    Thank yo
    Anil

    Hi,
    The steps are -
    1. The customer number must be entered in the corresponding vendor master record
        a. FK02->General Data -> Control
            In the 'Account control' tab, in the 'Customer' field, enter the customer number
        b. In the Company Code Data --> Payment Transaction Accounting, select the checkbox - 'Clrg with Cust'
    2. The vendor number must be entered in the corresponding customer master record
        a. FD02->General Data -> Control
            In the 'Account control' tab, in the 'Customer' field, enter the vendor number
        b. In the Company Code Data --> Payment Transaction Accounting, select the checkbox - 'Clearing with vendor'
    3. For testing, create a vendor invoice through FB60 and customer invoice through FB70.  Note that customer and vendor are properly selected.
    4. For clearing the open items.  Use the Tcode F-32.  On clicking the 'Process open Items', the vendor invoice (KR) and customer invoice (DR) are shown automatically.  It will generate the FI document with proper entry.
    Note:  Partial / Residual payment between customer and vendor is also possible
    Regards,
    Sridevi
    Pls. assign points, if useful

  • How  AP Down Payment value should reflect in BP Master GL with Gross Value

    Hi All,
    Its URGENT,  please help me with possilbe solution for,
    Scenario:- Need to make an advance payment to the vendor and the same amount need to deduct from the vendor invoice, but it should reflect in the Vendors account as a gross value like as a total material cost.
    eg:-
    AP down payment invoice request for Rs.12000/-and out going payment for the same. While posting AP invoice for 14000/-and need to adjusted Rs.12000/- as advance from the invoice.Now the vendor GL account will show the balance against this invoice is Rs.2000/- as credit.But it should show the invoice value in BP master GL as gross ie. Rs.14000/-
    Im Using SAP B1
    For further Clarification please contact:- Andrews - 9880208304 or Rohan - 9902294962
    Regards,
    Andrews.T.A

    HI
    MOVE THE SPL GL AMOUNT ie 12000 to normal gl then it iwll reflect in BP master gl also....
    see the the down payment are recorded in other gl and the invoice are recorded in other gl..
    using f.54 u have to move the spl gl to normal gl then the entry will be passed
    by debiting the BP master
    and crediting the advance gl
    then u you can match and make the payment also..
    and also check the config on the down payment how the account are mapped 
    regarads
    A.K

  • HT5624 how to remove payment information

    how to remove payment information for apps

    Changing Account Information
    http://support.apple.com/kb/HT1918
    If necessary...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • How to generate payment advice

    Hi Dear.
    i have define form for payment advice in paying company code,and my payment run successfully  done,how to generate payment advice?
    I ran program RFFOEDI1 and selected immediately print payment advice notes,but got message "no records selected"

    Hi Buddha
    thanks for information,i checked the logs,say "no records selected" for RFFOEDI1,BUT i also saw "Payment advices / LIST5S / 0000008174",it means pament advice created.maybe program RFFOEDI1 is not to create payment advice,not sure,
    Step 003 started (program RFFOEDI1, variant &0000000000031, user ID C5)
    Program RFFOEDI1: No records selected
    Step 004 started (program RFFOAVIS_FPAYM, variant &0000000000012, user ID C5)
    MAIl request 000000000003 created
    In form F110_NL_ADVIES / window MAIN, the element 610-T (Text-T) is missing
    Output of the relevant forms is defective
    >
    > Overview of the lists generated
    > Name / Dataset / Spool number
    >
    > Payment advice notes sent by mail / LIST5S / 00000 00000
    > Payment advices / LIST5S / 0000008174
    > Error log / LISTFS / 0000008175

  • How can we see status of all Requests at a time using any tables?

    How can we see status of all Requests at a time in the Info cube or ODS using any tables? what I am facing was while I run a Process Chain in some data targets red requests remains and due to this all other requests doesnot available for reporting.
    Now is there any T-Code or Table to view all requests in a single shot.
    Thanks in advance,
    Raj

    Hi Go for RSMONICDP give timestamp and u'll have it.
    Please assign points if useful
    Edited by: Aadil on Jan 21, 2008 7:43 AM

  • HOW TO: Post a SQL statement tuning request - template posting

    This post is not a question, but similar to Rob van Wijk's "When your query takes too long ..." post should help to improve the quality of the requests for SQL statement tuning here on OTN.
    On the OTN forum very often tuning requests about single SQL statements are posted, but the information provided is rather limited, and therefore it's not that simple to provide a meaningful advice. Instead of writing the same requests for additional information over and over again I thought I put together a post that describes how a "useful" post for such a request should look like and what information it should cover.
    I've also prepared very detailed step-by-step instructions how to obtain that information on my blog, which can be used to easily gather the required information. It also covers again the details how to post the information properly here, in particular how to use the \ tag to preserve formatting and get a fixed font output:
    http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
    So again: This post here describes how a "useful" post should look like and what information it ideally covers. The blog post explains in detail how to obtain that information.
    In the future, rather than requesting the same additional information and explaining how to obtain it, I'll simply refer to this HOW TO post and the corresponding blog post which describes in detail how to get that information.
    *Very important:*
    Use the \ tag to enclose any output that should have its formatting preserved as shown below.
    So if you want to use fixed font formatting that preserves the spaces etc., do the following:
    \   This preserves formatting
    \And it will look like this:
       This preserves formatting
       . . .Your post should cover the following information:
    1. The SQL and a short description of its purpose
    2. The version of your database with 4-digits (e.g. 10.2.0.4)
    3. Optimizer related parameters
    4. The TIMING and AUTOTRACE output
    5. The EXPLAIN PLAN output
    6. The TKPROF output snippet that corresponds to your statement
    7. If you're on 10g or later, the DBMS_XPLAN.DISPLAY_CURSOR output
    The above mentioned blog post describes in detail how to obtain that information.
    Your post should have a meaningful subject, e.g. "SQL statement tuning request", and the message body should look similar to the following:
    *-- Start of template body --*
    The following SQL statement has been identified to perform poorly. It currently takes up to 10 seconds to execute, but it's supposed to take a second at most.
    This is the statement:
    select
    from
             t_demo
    where
             type = 'VIEW'
    order by
             id;It should return data from a table in a specific order.
    The version of the database is 11.1.0.7.
    These are the parameters relevant to the optimizer:
    SQL>
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.1.0.7
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    SQL>
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL>
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL>
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL>
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL>
    SQL> select
      2             sname
      3           , pname
      4           , pval1
      5           , pval2
      6  from
      7           sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          01-30-2009 16:25
    SYSSTATS_INFO        DSTOP                           01-30-2009 16:25
    SYSSTATS_INFO        FLAGS                         0
    SYSSTATS_MAIN        CPUSPEEDNW              494,397
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.Here is the output of EXPLAIN PLAN:
    SQL> explain plan for
      2  -- put your statement here
      3  select
      4             *
      5  from
      6             t_demo
      7  where
      8             type = 'VIEW'
      9  order by
    10             id;
    Explained.
    Elapsed: 00:00:00.01
    SQL>
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 1390505571
    | Id  | Operation                   | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |          |     1 |    60 |     0   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T_DEMO   |     1 |    60 |     0   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | IDX_DEMO |     1 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("TYPE"='VIEW')
    14 rows selected.Here is the output of SQL*Plus AUTOTRACE including the TIMING information:
    SQL> rem Set the ARRAYSIZE according to your application
    SQL> set autotrace traceonly arraysize 100
    SQL> select
      2             *
      3  from
      4             t_demo
      5  where
      6             type = 'VIEW'
      7  order by
      8             id;
    149938 rows selected.
    Elapsed: 00:00:02.21
    Execution Plan
    Plan hash value: 1390505571
    | Id  | Operation                   | Name     | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |          |     1 |    60 |     0   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T_DEMO   |     1 |    60 |     0   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | IDX_DEMO |     1 |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("TYPE"='VIEW')
    Statistics
              0  recursive calls
              0  db block gets
         149101  consistent gets
            800  physical reads
            196  redo size
        1077830  bytes sent via SQL*Net to client
          16905  bytes received via SQL*Net from client
           1501  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
         149938  rows processed
    SQL>
    SQL> disconnect
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing optionsThe TKPROF output for this statement looks like the following:
    TKPROF: Release 11.1.0.7.0 - Production on Mo Feb 23 10:23:08 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Trace file: orcl11_ora_3376_mytrace1.trc
    Sort options: default
    count    = number of times OCI procedure was executed
    cpu      = cpu time in seconds executing
    elapsed  = elapsed time in seconds executing
    disk     = number of physical reads of buffers from disk
    query    = number of buffers gotten for consistent read
    current  = number of buffers gotten in current mode (usually for update)
    rows     = number of rows processed by the fetch or execute call
    select
    from
             t_demo
    where
             type = 'VIEW'
    order by
             id
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch     1501      0.53       1.36        800     149101          0      149938
    total     1503      0.53       1.36        800     149101          0      149938
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 88 
    Rows     Row Source Operation
    149938  TABLE ACCESS BY INDEX ROWID T_DEMO (cr=149101 pr=800 pw=0 time=60042 us cost=0 size=60 card=1)
    149938   INDEX RANGE SCAN IDX_DEMO (cr=1881 pr=1 pw=0 time=0 us cost=0 size=0 card=1)(object id 74895)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                    1501        0.00          0.00
      db file sequential read                       800        0.05          0.80
      SQL*Net message from client                  1501        0.00          0.69
    ********************************************************************************The DBMS_XPLAN.DISPLAY_CURSOR output:
    SQL> -- put your statement here
    SQL> -- use the GATHER_PLAN_STATISTICS hint
    SQL> -- if you're not using STATISTICS_LEVEL = ALL
    SQL> select /*+ gather_plan_statistics */
      2  *
      3  from
      4  t_demo
      5  where
      6  type = 'VIEW'
      7  order by
      8  id;
    149938 rows selected.
    Elapsed: 00:00:02.21
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST'));
    PLAN_TABLE_OUTPUT
    SQL_ID  d4k5acu783vu8, child number 0
    select   /*+ gather_plan_statistics */          * from          t_demo
    where          type = 'VIEW' order by          id
    Plan hash value: 1390505571
    | Id  | Operation                   | Name     | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |
    |   0 | SELECT STATEMENT            |          |      1 |        |    149K|00:00:00.02 |     149K|   1183 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T_DEMO   |      1 |      1 |    149K|00:00:00.02 |     149K|   1183 |
    |*  2 |   INDEX RANGE SCAN          | IDX_DEMO |      1 |      1 |    149K|00:00:00.02 |    1880 |    383 |
    Predicate Information (identified by operation id):
       2 - access("TYPE"='VIEW')
    20 rows selected.I'm looking forward for suggestions how to improve the performance of this statement.
    *-- End of template body --*
    I'm sure that if you follow these instructions and obtain the information described, post them using a proper formatting (don't forget about the \ tag) you'll receive meaningful advice very soon.
    So, just to make sure you didn't miss this point:Use proper formatting!
    If you think I missed something important in this sample post let me know so that I can improve it.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Alex Nuijten wrote:
    ...you missed the proper formatting of the Autotrace section ;-)Alex,
    can't reproduce, does it still look unformatted? Or are you simply kidding? :-)
    Randolf
    PS: Just noticed that it actually sometimes doesn't show the proper formatting although the code tags are there. Changing to the \ tag helped in this case, but it seems to be odd.
    Edited by: Randolf Geist on Feb 23, 2009 11:28 AM
    Odd behaviour of forum software                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Help!  iPhone will no longer sync my playlists from iTunes

    My iTunes playlists synced to my iPhone with no problems. Today I decided to change some playlists. When I went to sync them to my iPhone, all my music disappeared and none will sync. It appears that when it gets to the music sync, it just stops. Wit

  • TV shows on my ipod60g

    how do I put monk on my ipod 60 g since it is not on the canadian web page and the folks at apple wont let me set up an account-does anyone know how to deal with this

  • The mouse pointer has disappeared; how do I make it reappear?

    The mouse pointer doesn't show, so I have to do everything by tapping on the screen.

  • UPLOADING COST CENTER GROUPS

    Hi All., In my project, where my client have lots of cost center groups. To assign them to the standard hierarchy it is taking too much time through Manual Uploading/assignment So,  is there any other option for it. (Automatic Procedure) Please, guid

  • Adjustment Layers on GIF images?

    Whenever i try to add adjustment layers on my gifs, the result of the adjustment only comes in effect on the first frame, even when the adjustment layer is on the very top?