Surcharge not calculate correctly on vat

hi sap experts,
my client is facing some simulation problem in miro. it is due to tax code as following;-
1. made order with excise duty inclusive
2. excise capture as per vendor invoice
3. GR receipt
now here's problem comes
1. order rate         675.50/kg   qty  25 kg           =         16456.25 inr after discount
2. disc                  17.25/kg      qty 25 kg
3 tax in po  Bed    14%
                  ecess    2%
                  hcess    1%
base amt is 14,375.00 for excise duty
now          bed         2012.50
                  ecess        40.25
                  hcess        20.12
4. GR amt                14383.25
5. at the time of simulation entries comes as following:-
vendor                                                 17,357.06-
GR/IR Dyes and chemica(domesti       14,383.25 
CENVAT CLEARING ACCOUNT            2,012.50
CENVAT CLEARING ACCOUNT                 40.25 
CENVAT CLEARING ACCOUNT                 20.25
VAT RM & STORES SPARES                   822.81
*Surcharge RM & STORES SPARES           78.00  this entry should be 82.21.*
how can we rectify this problem. please help us. in po, taxes show accurately.
Edited by: deepak kumar on Mar 11, 2010 5:12 AM

Check the following link; I had replied to this common issue.
Re: SURCHARGE ON VAT NOT CAPTURING CORRECTLY IN MIRO
Re: CIN USER EXIT Details: J_1I7_USEREXIT_PROCESS_TKOMV
Re: CIN USER EXIT Details: J_1I7_USEREXIT_PROCESS_TKOMV
Regards,
Aroop

Similar Messages

  • Pie chart legend total does not calculate correctly

    Hi All
    I have a pie chart in a CR 2008 report (SP0). 
    The pie has one "On Change Of" and one "Show Value" field.
    The datasource for the report is an Oracle 10g (Rel 2) Stored Procedure (SP).
    The SP signs the value per each transaction (record), so if the txn is a reversal is will arrive in the report as a negative value
    The records that are listed in the report have the correct sign on each line, and totals in the report are correct
    So, if the first record has a value of 10,000 - these would be known as Cash txns
    and the second record has a value of -5,000 - these would be known as Cash Reversal txns
    The report total will be 5,000
    In the legend entry of the pie chart the values per series are being displayed correctly.  There is a series per Txn type (so one series represents Cash txns, the second series represents Cash Reversal txns)
    From the example above my pie shows 1 txn for Cash @ 10,000
    and 1 txn for Cash Reversal @ -5000 (it has the negaitve amount in brackets)
    But the total in the legend is 15,000
    I cannot figure out why that the legend total is not calculating correclty.
    Has anyone seen this behaviour before?
    Any help would be great thanks
    Best regards
    Patrick

    Just realised why....  The total is counting all txns, and my formula is not telling it that Reversal should be subtracted - duuhhhh!!!!

  • Leave based seniority not calculate correctly

    Hi guru,
    The Annual leave entitlement will be given base on the seniority.  At the Set the Base Entitlement portion. I have set
    001  000-007 14 days
    002  007-999 15 days
    day type 01 - Techn Entry date.
    When I hire an employee, he suppose only entitle for 14 days, anyhow the system will generate 15 days for the employee.
    Can you all tell me what is not right at the confi part or I might have miss out something.
    Appreciate your input.
    Thanks

    Hi,
    Could be due to rounding. You can also try to put seniority in months.
    Cheers

  • SURCHARGE ON VAT NOT CAPTURING CORRECTLY IN MIRO

    Hello Experts,
           We've TAXINN procedure. Recently as per our client reqmt., we mapped Surcharge on VAT @ 10% with seperate surcharge conditions for all corresponding VAT conditions i.e. JVRD,JVRN,JVCD & JVCN.
            Now the particular scenario in which we r facing problem is as below:
                  1. PO with excise duty, ECS,SECS, VAT & Surcharge created
                  2.  At the time of GR excise invoice is captured referring to vendor invoice due to which BED,ECS etc. with base amt. changed as per vendor invoice
                   3. Excise invoice thrgh J1IEX posted
            Now the problem is at the time of MIRO simulation, VAT @ 12.5% is calculated based on GR, but Surcharge is dipalyed same as PO condition value. We want this to be calculated as per GR VAT.
           So pls. help me in this regard as I'm unable to point out the config. related error.
    Thanks in Advance
           Amit
    Edited by: Amit V Chavre on Feb 18, 2010 6:17 PM

    >
    Amit V Chavre wrote:
    > Hello Experts,
    >        We've TAXINN procedure. Recently as per our client reqmt., we mapped Surcharge on VAT @ 10% with seperate surcharge conditions for all corresponding VAT conditions i.e. JVRD,JVRN,JVCD & JVCN.
    >         Now the particular scenario in which we r facing problem is as below:
    >               1. PO with excise duty, ECS,SECS, VAT & Surcharge created
    >               2.  At the time of GR excise invoice is captured referring to vendor invoice due to which BED,ECS etc. with base amt. changed as per vendor invoice
    >                3. Excise invoice thrgh J1IEX posted
    >         Now the problem is at the time of MIRO simulation, VAT @ 12.5% is calculated based on GR, but Surcharge is dipalyed same as PO condition value. We want this to be calculated as per GR VAT.
    >        So pls. help me in this regard as I'm unable to point out the config. related error.
    >
    > Thanks in Advance
    >        Amit
    >
    > Edited by: Amit V Chavre on Feb 18, 2010 6:17 PM
    I have faced a similar problem with additional tax on VAT which is present in Gujarat.
    You are right, the surcharge does not get recalculated during MIRO because the system has not been designed to recalculate the surcharge (only VAT has been included).
    You will have to change the behavior by means of a user exit in function module J_1I7_USEREXIT_PROCESS_TKOMV.
    I had raised an OSS, and was recommended to use the above exit. You will have to modify the XKOMV-KWERT for the surcharge conditions, based on the value of VAT conditions.
    Regards,
    Aroop

  • Key Figure calculation in Abap is not working correctly - Overlooping

    Hi,
    I wrote a logic to calculate the ratio of key figure but it is not working correctly
    For example I have a requirement to split 1 Product into Several new Products and also the Net Amount will be splitted to these several new products as well. The total Amount of the new product will be equivalent to the Net Amount.
    So far my Logic is splitting the product to several new products but the amount is incorrect as the calculation is over looping.
    Sample
    A PRODUCT has Net Amount 1000. And this product needs to be splitted into 3 new products. Each of this new product is assigned a ratio of 0.3, 0.2 and 0.7 respectively. total sum of the ratio is 1.
    PRODUCT1 0.3 = 1000 * 0.3 = 300
    PRODUCT2 0.2 = 1000 * 0.2 = 200
    PRODUCT3 0.7 = 1000 * 0.7 = 700
    The total amount of this new products is 1000.
    Now my logic is working this way.
    PRODUCT1 0.3 = 1000 * 0.3 = 300
    PRODUCT2 0.2 = 1000 * 0.2 * 0.3 = 60
    PRODUCT3 0.7 = 1000 * 0.2 * 0.3 * 0.7 = 42
    Only the PRODUCT1 is working correctly and there is overlooping for the remaining products
    Logic used
    DATA: t_data TYPE data_package_structure OCCURS 0 WITH HEADER LINE.
    DATA: t_newdso LIKE /bic/newdso OCCURS 0 WITH HEADER LINE.
    DATA: t_olddso LIKE /bic/olddso OCCURS 0 WITH HEADER LINE.
    DATA: amount LIKE data_package-netamount.
    DATA: zidx LIKE sy-tabix.
    REFRESH t_data.
    LOOP AT data_package.
      zidx = sy-tabix.
      MOVE-CORRESPONDING data_package TO t_data.
      REFRESH t_newdso.
      SELECT * FROM newdso INTO TABLE t_newdso WHERE prod =
      data_package-prod.
      SORT t_newdso BY prod.
    *LOOP AT T_NEWDSO.
      READ TABLE t_newdso WITH KEY prodh4 = t_data-prod.
      IF sy-subrc EQ 0.
        LOOP AT t_newdso.
          t_data-prod = t_newdso-/bic/znew_mp.
          t_data-material = t_newdso-material.
    *T_DATA-NETAMOUNT = T_DATA NETAMOUNT * T_NEWDSO-/BIC/ZSP_RATIO.*
          APPEND t_data.
        ENDLOOP.
      ELSE.
        REFRESH t_olddso.
        SELECT * FROM olddso INTO TABLE t_olddso WHERE prod =
        data_package-prod.
        SORT t_olddso BY prod.
        READ TABLE t_olddso WITH KEY prodh4 = t_data-prod.
        t_data-prod = t_olddso-prod.
        t_data-material = t_olddso-material.
        APPEND t_data.
      ENDIF.
      MODIFY data_package INDEX zidx.
    ENDLOOP.
    REFRESH data_package.
    data_package[] = t_data[].
    thanks
    Edited by: Matt on Sep 27, 2010 2:25 PM - added  tags

    Hi,
    I am not really good at debugging Abap code since I am a newbie. however  I have tried to add CLEAR T_DATA before the first loop.
    REFRESH T_DATA.
    LOOP AT DATA_PACKAGE.
    ZIDX = SY-TABIX.
    MOVE-CORRESPONDING DATA_PACKAGE TO T_DATA.
    and before the second loop and select statement and at the end of the loop.
    REFRESH T_NEWDSO.
    SELECT * FROM NEWDSO INTO table T_NEWDSO WHERE PROD =
    DATA_PACKAGE-PROD.
    SORT T_NEWDSO BY PROD.
    READ TABLE T_NEWDSO WITH KEY PROD = T_DATA-PROD.
    IF sy-subrc EQ 0.
    LOOP AT T_NEWDSO.
    but then not all data are being fetched.
    thanks
    Edited by: Bhat Vaidya on Sep 28, 2010 8:33 AM

  • Excise is not calculate in invoice verification

    Dear All,
    I have one issue.
    We have create purchase order for project with account assignment category Q.
    We put excise (10.30) & Vat 15% in purchase order.
    In purchase order all value calculate properly. Good Receipt created against purchase order.
    Now we create invoice verification againat purchase order.
    but at time of invoice verfication creatoin excise value in not calculate properly in invoice verification, only 15% vat calculate in invoice verification.
    All excise detail(J1id) has been maintain for material & vendor master and i have also check tax code in FTXP. All are well maintain.     
    We have capture excise invoice at the time of good receipt creation.
    But Excise value is not calculate
    Regards,
    Mahesh Wagh

    Hi,
    If the excise invoice is not posted (Part-II), then it will not flow in MIRO.  Pls check same. 
    You may even check whether the capter id assigned to the material is extended to new excise calculation period.
    Regards,

  • SSRS - % percentage ROW TOTALS don't calculate correctly in a Table Matrix

    SSRS - Report Builder 3.0
    I have created a report with a MATRIX table with a TOTAL ROW and a TOTAL COLUMN and the total column is calculating correctly but the ROW totals is not calculating correctly
    The screen shot below is of the Matrix table in the Report Builder 3.0 "Designer view" 
    When I run the report the column totals the percentage is averaged correctly, but the ROW TOTALS do not, some are close but i need them to be accurate.
    If you take the same data into excel the total percentage calculates correctly - if you compare the excel with the SSRS some rows do calculate close, but not accurate. the total column calculates correctly
    FY13-Q4
    FY14-Q1
    FY14-Q2
    FY14-Q3
    Total
    100%
    89%
    65%
    68%
    80%
    50%
    72%
    43%
    45%
    52%
    100%
    91%
    63%
    69%
    81%
    10%
    17%
    29%
    31%
    22%
    100%
    96%
    67%
    76%
    85%
    70%
    70%
    53%
    64%
    64%
    90%
    93%
    90%
    82%
    89%
    74%
    75%
    59%
    62%
    68%
    I Need the totals rows and columns to average the percentage correctly in the SSRS report.
    Please help...
    -Isaack

    Hi Katherine Xiong,
    The formula (SSRS Expression) i am using is the following
    =Sum(IIf(Fields!AnswerText.Value = "Yes", 1, 0)) / (Sum(IIf(Fields!AnswerText.Value = "No", 1, 0)) + Sum(IIf(Fields!AnswerText.Value = "Yes", 1, 0)) + Sum(IIf(Fields!AnswerText.Value
    = "n/a", 0, 0)))
    Basically if field value = "YES" it counts, if the answer = "No" if the value is = "n/a" it should not count in the total score percentage
    I get the correct PERCENTAGE on the 1st aggregate, but when the table has multiple aggregates the percentage is never accurate. 
    The Table below is using the above formula, the 1st aggregate is correct but if you get the average percentage from the 1st column it should be 86.2% is the accurate number, sometimes close but i want to report accurate numbers and not doubt SSRS reports
    compared to excel reports. 
    TOTAL ROW (highlighted on the screenshot in Yellow) is incorrect aggregate averages %, the correct average are the following
    [86.2%]      [71.5%]      [75.5%]     [87.87%]   [90.2%]     [69.9%]     [92.8%]
    -Isaack

  • In AFAR amount is not calculate in 2008

    Hello Experts,
    while doing T Code : AFAR for fiscal year 2007 that time amount is calculate.
    i.e: Old amt. , New amt. , Difference amt
    123.00 ; 23.00 ; 100.00
    while doing T Code : AFAR for fiscal year 2008 that time amount is calculate.
    i.e: Old amt. , New amt. , Difference amt
    00.00 ; 100.00  ; 100.00
    Amount is not calculate as per the depreciation key rate in 2008.
    waiting for reply.
    Thanks

    When you change the depreciation key it will only correct the depreciation for the current year and not old fiscal years or you have to run that old years.
    When you make a change use the following transactions to correct the depreciation for the old years:
    ABZU - Write-Up
    ABAA - Unplanned Depreciation

  • CREDIT NOTE FOR SALES TAX/VAT

    WE WANT TO PREPARE CREDIT NOTE FOR VAT WRONGLY CHARGES IN THE BILL. WHEN WE ARE PREPAIRING THE DOCUMENT (INVOICE CORRECTION) WITH REFERENCE TO THAT BILLING DOCUMENT, THE DIFFERENCE VALUE OF(TAX/VAT) IS NOT SHOWING IN NET VALUE AND IT IS NOT PROCESSING FOR INVOICE(CREDIT NOTE).SO HOW TO PREPAIR CREDIT NOTE FOR WRONGLY CHARGED VAT?
      Please guide .

    Hello,
    It's almost impossible to make a credit note in this situation.
    You'd better cancel the original invoice and create a new one using the correct VAT code.
    Regards,
    Johan

  • Website page with jquery datepicker does not calculate dates while other pages without datepicker and all other browsers do their job

    I wrote two mobile pages with dreamweaver cs5.5 and jquery. Both do online calculations. Both appear and accept input. One page using jquery datepicker does not calculate. Solely in Firefox. IE9, Safari, Chrome display correct results. Debuggers show no error. Firebug seems telling me that Firefox does not get a result from datepicker function.

    Thanks. But did not help. I had done this several times before, reload, clear cache, disable extensions etc. Always used standard theme. I tried the same on two different machines, with next to last version and after having installed the latest version. In the debugger I can see that variables "zeit1" (jquery datepicker) were not filled with the datepicking results, while in all other browsers zeitX shows the current date and the app shows the results that are expected. Given that another comparable app - only without date and datepicker functions - works in Firefox I think one should explore why solely datepicker - or the function using datepicker - does not show results solely in Firefox on desktop (no mobile device with Firefox on hand) . I indeed believe that there is a mistake in my code which is detected only by Firefox (10.0.2 at the present time, with Win7 64bit - had the problem with 3.6... on another machine). Given that you could run the app with results on your machine: could it be the context of locale/culture (here: de)?
    Kind regards

  • Calculating Average on a Pivot table- Not calculating correct

    Hello All BI Techie's,
    I have a requirrement, which is calculating the average out of a column , this column is aggreated by sum in the rpd.
    Month Year      Associate Headcount      Involuntary Termination Count (Associates)
    2012 / 07      18878.0      55
    2012 / 08      18817.0      53
    2012 / 09      18770.0      63
    Grand Total      18770.0      17
    Now, I want calculate a column which gives the average of Associate Headcount, ( 18878+18817+18770)/3 , how I can achieve that?
    I tried, using avg(associate headcount), it not returning correct average, any insight?
    Please share your ideas.
    Thanks,
    Bala

    Thanks Srini, The tried your solution but still the problem exists.
    I have created a new column, called Avg Headcount and entered condition in the column, I am using pivot table.
    max(rsum("Workforce Profile Facts"."Associate Headcount"))/max(rsum(1))
    Actual Results
    Month Year      Associate Headcount      Involuntary Termination Count (Associates)      Avg Headcount
    2012 / 07      18878.0      55      18907.8
    2012 / 08      18817.0      53      18878.0
    Grand Total      18817.0      108      18878.0
    Expected results
    Month Year      Associate Headcount      Involuntary Termination Count (Associates)      Avg Headcount
    2012 / 07      18878.0      55      18878
    2012 / 08      18817.0      53      18817
    Grand Total      37695.0      108      37695/2 = 18847.5
    Eeven my Associate Headcount, pivots grand total was wrong, my instanceconfig.xml already setted to aggregate enabled.

  • NonLinearFitWithMaxIters does not give correct results for phase

    Dear all,
    I am trying to fit a sin cuve with NonLinearFitWithMaxIters function of labwindows, but the results given by this function are dispersed a lot (the function does not give same results).
    In fact, I have two waveforms signals v and i (of 104 points), and I  find the phase between the two signals with NonLinearFitWithMaxIters.
    The two singals v and i are  measured with an osciloscope.
    I use the following fit functions :
    v=p1*sin(wt+p2) ;
    i=p3*sin(wt+p4) ;
    I use the NonLinearFitWithMaxIters function to fit the data and to have the parameters  p1, p2, p3, p4. Then, the phase is claculated as follow phase=p4-p3.
    The problem is that the phase calculted between the two signals (v and i) is different for each run for the same conditions.
    In fact, for a same condition, I measure different times the signals v and i, and I calculate the phase p4-p3, using NonLinearFitWithMaxIters. The goal is to calculate a mean of phases for the same condition. For example, there are cases where the phase=-5 degree, and other cases when phase=12 degree.
    For ten measures of v and i, the phase calculated is different. I get a big dispersion between the phases.
    I would like to know please why I have a big difference in phases calculated with the same condition?whern using NonLinearFitWithMaxIters.
    I read that this function does not give all time the correct results, is there a way to know when the results are not corrects and when they are correct ?
    And is there any solution to find accuratly the phase between the two waveforms.
    Thank you for your precious answer.

    The pseudocode which I am using is :
    v_err=NonLinearFitWithMaxIters(array_x,array_v,v_y_fit,1252,100,sinus,v_coef,2,&v_mean_squareError);
    The fit function is
    double sinus(double x, double a[],int noef){
        return (a[0]*sin((w*x)+a[1]));
     I use the same inital coeficient of v_coef for each run :     
    v_coef[0]=0.03;
    v_coef[1]=0.2;
    These coeficient are choosen arbitrary.
    In this case, the number of points of the data is 1252 (the data of array_v).
    The number of iterations is 100.
    For the array_x, the distance between adjacents values of the array is dt=0.4*1e-9(difference between array_x[i] anv array_x[i+1]=dt=0.4*1e-9 ).
    for (i=0;i<1252;i++){
    array_x[i]=i*(0.4*1e-9);
    The means square error returnned by the function when it is complished is  small, of the order of 0,001.
    I read the help
    « From the help:
    You must pass a pointer to the nonlinear function f(x,a) along with a set of initial guess coefficients a. NonLinearFitWithMaxIters does not always give the correct answer. The correct output sometimes depends on the initial choice of a. It is very important to verify the final result.
    That means that the function cannot be used, as it does not give correct results. How
    can we check if the results are good or not ? in my case.
    I think that in my case, the function does not give correct results, but how can I check if the results are good, or not ? The mean square error is small.

  • Signal not transmitted correctly at high IQ rate

    Hi guys,
    I am working with a USRP 2940 R which is on PCIe. I have to transmit an array of bits on one shot(somewhere at 6500 bits)
    at a baud rate of 19200. The carrier frequency is 434.64. For this USRP the minimum IQ rate is ~39k so i set it to 39k and then i calculate the number of samples / symbol by : IQ rate / 19200(symbol rate) which results 22. With this settings my telegrams (which are encoded as ASK OOK with modulation toolkit) are not always recognised by my receiver.  The telegram can be seen on the osciloscope quite nice but the behaviour is not allways the same.
    The problem is the following: when i try to increase the symbol rate(to have a more acurate signal) i need also to increase the IQ rate BUT for bigger IQ rates my signal is not sent correctly, there are a lot of brakes and inconsistencies.
    Why is the signal sent incorect with bigger IQ rates(ex: 1M). Also the baud rate is no longer the same for biger IQ rates? Why? since i keep the formula
    symbol rate X baud rate = IQ rate?
    Thanks

    Dear All,
     i have NI USRP 2940R i.e x310 connected to machine running Windows 7 on LabVIEW Communication system Design suite via SFP port 0. I've reprogrammed the device with jtag USB  via impact Xilinx bit file 
    also by CMD
    C:\Program Files (x86)\National Instruments\NI-USRP\utilities>usrp_x3xx_fpga_bur
    ner --addr=192.168.10.2 --fpga-path C:\usrp_x310_fpga_HGS.bit
    Win32; Microsoft Visual C++ version 10.0; Boost_105000; UHD_003.007.001-234-g52c
    71523
    A runtime or configuration error occurred.
    Code: 2410
    Details: LookupError: Path not found in tree: /mboards/0/dboards/A/rx_frontends/0/sensors/lo_locked
    Attempting to find X3x0 with IP address: 192.168.10.2
    UHD Warning:
       X300 unknown product code in EEPROM: 2104
    UHD Warning:
       X300 unknown product code in EEPROM: 2104
    Found  (HGS).
    Burning image: C:\usrp_x310_fpga_HGS.bit
    Progress: 100% (121/121 sectors)
    Attempting to find device...
    UHD Warning:
       X300 unknown product code in EEPROM: 2104
    UHD Warning:
       X300 unknown product code in EEPROM: 2104
    found!
    Successfully burned FPGA image!
    but i am getting these warning
    x300 is not defined
    also the tuned frequency is 000000MHz instead of have having a set target frequency.
    usrp_x3xx_fpga_burner --addr=192.168.10.2 --fpga-path /home/XXXXXX/Downloads/uhd-images_003.008.001-release/share/uhd/images/usrp_x310_fpga_HGS.bit
    Attempting to find device...
    UHD Warning:
        X300 unknown product code in EEPROM: 2104
    UHD Warning:
        X300 unknown product code in EEPROM: 2104
    found!
    Successfully burned FPGA image!
    UHD Warning:
        Tune Request: 802.500000 MHz
          The requested RX frequency is outside of the system range, and has been clipped:
            Target Frequency: 802.500000 MHz
            Clipped Target Frequency: 0.000000 MHz
          Successfully tuned to 0.000000 MHz
    Attachments:
    sadas.png ‏126 KB
    nnjj.png ‏83 KB
    uhuhuh.png ‏41 KB

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • 10g exporting to CSV using client_text_io is not working correctly.

    I have an odd issue which i could do with some help with. I run an function that exports to CSV based on an pre defined record group.
    This has been working fine for many months with various customers. Recently a new customer used it and they have 28k rows in his record group and the export is actually not exporting correctly.
    The record group has a record count of 28331.
    The CSV produced has only 3756 in my CSV file. These are the last 3756 records in the Record group so its as if its overwriting the data as it goes yet all smaller datasets work
    FUNCTION fun_export_csv (vgraphid NUMBER, p_filename VARCHAR2)RETURN BOOLEAN IS
      out_file                      client_text_io.file_type; 
         i                                             NUMBER;
      lv_line              VARCHAR2(5000);
    BEGIN
    rg:=populate_group('RG11_EXP');               
    synchronize;
    lv_line:= ('"GIN","Gin Date","PO Num","PO Required Date","Mat Num","Mat Description","Supplier Part No","On Time Delivery(Yes-1, No-0)"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    For i in 1..get_group_row_count('RG11_EXP') Loop--this count is 28331
    lv_line:= ('"'||get_group_number_cell('RG11_EXP.col1', i )                 ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.grn_date', i )                 ||'"'|| ',' ||'"'||                                          
         get_group_number_cell('RG11_EXP.po', i )       ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.daterqd', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.item_no', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.desc', i )                    ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.part_no', i )               ||'"'|| ',' ||'"'||
         get_group_number_cell('RG11_EXP.ontime', i )                    ||'"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    END LOOP;     
    client_text_io.FCLOSE(out_file);
    RETURN TRUE;          

    Hello,
    Try to insert a "synchronize" instruction from time to time:
    i  pls_integer := 1;
    Loop
      If mod(i, 500) = 0 Then
         synchronize;
      End if ;
      i := i + 1 ;
    End loop;
    ...<p>But keep in mind the the CLIENT_TEXT_IO generate a lot of network traffic, so it is better and faster to generate the file on the A.S., then after transfer it to the client machine.</p>
    Francois

Maybe you are looking for

  • Can only play one song at a time!

    Hi, Having a bit of trouble with iTunes. when i press play on a song or album, it plays the song, but then dosent move onto the next song. it just reverts back to the Nothing Playing screen. Recently d/l iTunes 8.2 Any ideas???

  • How do I get my music from an external hard drive

    I made the mistake of moving my music folder from my computer to my hard drive to free up space on the computer.  Now my ITunes doesn't know how to connect to my music.  It comes up as a set-up page, as if I had never had the account.  Any ideas?

  • How to store data in NON -Transactional ODS

    Hi, for reporting reasons I wish to store data in non-transactional ODS. Reading in this forum I found only the standard fm 'RSDRI_ODSO_MODIFY' but this fm is used only for transactional ODS. Any suggestions? Thanks in advance. Regards,     Giovanni

  • New Apple keyboard shortcuts not working with Mavericks

    Had to buy a new keyboard for my 2010 iMac, which is running Mavericks. However, the F keys on the new keyboard have a slightly different layout than my original. Most notably, the F4 key now opens up Launchpad, whereas it used to show the Dashboard.

  • How do you install and delete 3rd party plugins from Logic 9?

    I have been trying to install RX2 from iZotope with no success. I can authorize it in the standalone version but not in logic.  I had a previous demo version of it installed and everytime I went to authorize it would point to the earlier version and