COLLECT_OVERFLOW_TYPE_P  occured,collecting amount in GLT3 table ksl07 fied

Runtime Errors         COLLECT_OVERFLOW_TYPE_P
Except.                CX_SY_ARITHMETIC_OVERFLOW
Date and Time          27.07.2009 18:31:32
Short text
     An internal table field has been defined too small.
Error analysis
     An exception occurred that is explained in detail below.
     The exception, which is assigned to class 'CX_SY_ARITHMETIC_OVERFLOW', was not
      caught in
  1506     ASSIGN TAB_GLT3-KSLVT INCREMENT INT_GLS3_ADD-OFFSET TO <FELD>
  1507                           RANGE TAB_GLT3 CASTING TYPE P.
  1508     MOVE INT_GLS3-KSL TO <FELD> .
>>>>>     COLLECT TAB_GLT3 .
  1510   ENDLOOP.
  1511
  1512
  1513   IF SY-ONCOM = 'P'.
  1514     PERFORM NEW_UPDATE_GLT3 .
ABOVE EROOR clearly says  that The name of the field is "KSL07" and TABLE is GLT3 is exceeding ,
but we checked the file as well table , their is no large value in SAP . file is uploading using RFBIBL00 program
Please advise why this type of errors occurs.
Thanks

HI,
The amount which is getting calculated is too big to be accomodated in the field KSL07.
Check whether the decimal places are being considered properly.
Regards,
Ankur Parab

Similar Messages

  • Table & Fields for Collection Amount

    Hi,
    I want to create an ABAP report for invoice Vs. Collection. But getting stuck in 1 scenario.
    Case: I have raised 2 invoices for a same client.
       Inv No.        Date.          Amount  
    10000001    23.03.2009     100.00
    10000011    15.04.2009     300.00
    But I got a single collection cheque of Rs. 400/-
    So I need to clear the 2 invoices against the collected cheque & pass a single entry in F-28.
    After that my report show the values as
       Inv No.        Date.          Amount    Chq No.     Chq Date.       Chq Amt.     Outstanding.
    10000001    23.03.2009     100.00      1021        25.04.2009        400.00         -300.00
    10000011    15.04.2009     300.00      1021        25.04.2009        400.00         -300.00
    Which shows all total a wrong information.
    For collection amount I am choosing BSAD Table with WRBTR Field.
    Please suggest how to resolve this issue, where can I find the field in which table, which can tell me the bifurcation of collection.
    Thanks,
    Bidhu

    Collect all amounts from document type for collections, then collect all amounts from invoice document type. then you will be able to compare both amount.
    The invoice amount should be sellected from both BSAD and BSID while the amount for collection should be selected in table BSAD.
    Hope this help.

  • Summ up the amount of two tables with their +/- sign

    Hi All
    I am stuck up in logic,
    Scenerio is .
    I have to fetch amount(BSID-WRBTR) field from BSID as well as from BSAD(BSAD-WRBTR) on the input of ( company customer , year period & countyr) it can be with positive or negative value as functional says and it would be recognised on the basis of their debit and credit indicator(BSID-SHKZG), now
    My question is If  i have to sum the amount of both tables.
    first i have to associate the plus or minus sign with them on the basis of their debit and credit indicator     (BSID-SHKZG). now how to do it.
    please let me know any sample program or logic to sum the amount on the basis of their +/- sign.
    points will be Rewarded.

    Hi....
        Here you hav to go for COLLECT statement in the loop....
    loop at it_final1.
        read table it_final with key bukrs = it_final1-bukrs
                                     hkont = it_final1-racct.
      if sy-subrc = 0.
        it_final1-CrAmt =  it_final-CrAmt - it_final1-CrAmt  .
         it_final1-DeAmt = it_final1-DeAmt + it_final-DeAmt  .
         append it_final1 to it_final2.
        else .
           append it_final1 to it_final2.
           clear it_final1.
        endif.
        endloop.
        loop at it_final .
          read TABLE it_final1 with key bukrs = it_final-bukrs
                                        racct = it_final-hkont.
          if sy-subrc <> 0.
            it_final2-bukrs =  it_final-bukrs.
            it_final2-racct =  it_final-hkont.
            it_final2-DeAmt =  it_final-DeAmt.
            it_final2-CrAmt =  it_final-CrAmt.
            append it_final2.
            clear:it_final2.
            endif.
            endloop.
        write:/ a, (9)it_final2-bukrs  ,
                a, (15)it_final2-racct,
                a, (15)it_final2-deAmt,
                a, (15)it_final2-CrAmt,
                a.
      endloop.
    write:/(67) sy-uline.
    ENDFORM.                    " display_output
    *&      Form  sub_get_glt0
    FORM sub_get_glt0 .
      select bukrs ryear racct drcrk tslvt hslvt
                                  from glt0 into table t_glt0
                                 where bukrs = 'code'
                                 and ryear = '2007'.
    ENDFORM.                    " sub_get_glt0
    *&      Form  it_final1
    FORM it_final1 .
        loop at t_glt0.
        if t_glt0-drcrk = 'S'.
          move t_glt0-tslvt to it_final1-DeAmt.
        else.
          move t_glt0-tslvt to it_final1-crAmt.
        endif.
        move t_glt0-bukrs to it_final1-bukrs.
        move t_glt0-racct to it_final1-racct.
        collect it_final1.
        clear:it_final1.
        clear:t_glt0.
      ENDLOOP.
    ENDFORM.                    " it_final1
    Thanks,
    Naveen.I
    Edited by: Naveen Inuganti on Jun 18, 2008 10:49 AM

  • Customer collection amount againts bill no.

    Hi experts
    What are the tables or views where from I can get the Customer Collection Amount and corresponding Accounting Document No. and Bill No. in one table or view?
    If it is possible please help or if not then what are the possible tables or views with relation between them?
    Awating for reply.

    Hi Banerjee,
    BSAD & BSID are the Custormer Accouting tables...
    Or you can use BSEG.
    Thanks & regards,
    Dileep .C

  • Collect message into internal table

    Hi,
    does any one knows how BAPIs or CALL TRANSACTIONs collect messages into internal table.
    My problem is that some BI with CALL TRANSACTION doesn't collect right message into return table and I would like to collect this last message after CALL TRANSACTION and therefore be sure that everything went OK.....
    thx
    mario

    hi
    good
    check this
    Call Transaction p_trans using ZBDC_Table
                                   Mode p_mode
                                 Update p_update
                          Messages into p_messages.
         Move sy-subrc to w__subrc.
       Scan the messages in YDCRAISES to see if we need to
       change the message class.
         Loop at p_messages.
              Select single msgtyp
                into w__msgtp
                from zdcraise
               where tcode  = p_messages-tcode  and
                     msgid  = p_messages-msgid  and
                     msgnr  = p_messages-msgnr.
              If sy-subrc = 0.
                 Move w__msgtp to p_messages-msgtyp.
                 Modify p_messages.
              EndIf.
         EndLoop.
       Dump the message table ?
         If w__ydcset-dumpmsg = True.
    thanks
    mrutyun^

  • Help,why brconnect do not collect statistics for mseg table?

    I found "MSEG" table`s statistics is too old.
    so i check logs in db13,and the schedule job do not collect statistics for "MSEG".
    Then i execute manually: brconnect -c -u system/system -f stats -t mseg  -p 4
    this command still do not collect for mseg.
    KS1DSDB1:oraprd 2> brconnect -c -u system/system -f stats -t mseg u2013f collect -p 4
    BR0801I BRCONNECT 7.00 (46)
    BR0154E Unexpected option value 'u2013f' found at position 8
    BR0154E Unexpected option value 'collect' found at position 9
    BR0806I End of BRCONNECT processing: ceenwjre.log 2010-11-12 08.41.38
    BR0280I BRCONNECT time stamp: 2010-11-12 08.41.38
    BR0804I BRCONNECT terminated with errors
    KS1DSDB1:oraprd 3> brconnect -c -u system/system -f stats -t mseg -p 4
    BR0801I BRCONNECT 7.00 (46)
    BR0805I Start of BRCONNECT processing: ceenwjse.sta 2010-11-12 08.42.04
    BR0484I BRCONNECT log file: /oracle/PRD/sapcheck/ceenwjse.sta
    BR0280I BRCONNECT time stamp: 2010-11-12 08.42.11
    BR0813I Schema owners found in database PRD: SAPPRD*, SAPPRDSHD+
    BR0280I BRCONNECT time stamp: 2010-11-12 08.42.12
    BR0807I Name of database instance: PRD
    BR0808I BRCONNECT action ID: ceenwjse
    BR0809I BRCONNECT function ID: sta
    BR0810I BRCONNECT function: stats
    BR0812I Database objects for processing: MSEG
    BR0851I Number of tables with missing statistics: 0
    BR0852I Number of tables to delete statistics: 0
    BR0854I Number of tables to collect statistics without checking: 0
    BR0855I Number of indexes with missing statistics: 0
    BR0856I Number of indexes to delete statistics: 0
    BR0857I Number of indexes to collect statistics: 0
    BR0853I Number of tables to check (and collect if needed) statistics: 1
    Owner SAPPRD: 1
    MSEG     
    BR0846I Number of threads that will be started in parallel to the main thread: 4
    BR0126I Unattended mode active - no operator confirmation required
    BR0280I BRCONNECT time stamp: 2010-11-12 08.42.16
    BR0817I Number of monitored/modified tables in schema of owner SAPPRD: 1/1
    BR0280I BRCONNECT time stamp: 2010-11-12 08.42.16
    BR0877I Checking and collecting table and index statistics...
    BR0280I BRCONNECT time stamp: 2010-11-12 08.42.16
    BR0879I Statistics checked for 1 table
    BR0878I Number of tables selected to collect statistics after check: 0
    BR0880I Statistics collected for 0/0 tables/indexes
    BR0806I End of BRCONNECT processing: ceenwjse.sta 2010-11-12 08.42.16
    BR0280I BRCONNECT time stamp: 2010-11-12 08.42.17
    BR0802I BRCONNECT completed successfully
    the log says:
    Number of tables selected to collect statistics after check: 0
    Could you give some advices?  thanks a lot.

    Hello,
    If you would like to force the creation of that stats for table MSEG you need to use the -f (force) switch.
    If you leave out the -f switch the parameter from stats_change_threshold is taken like you said correctly:
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/02/0ae0c6395911d5992200508b6b8b11/content.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/02/0ae0c6395911d5992200508b6b8b11/content.htm]
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/cb/f1e33a5bd8e934e10000000a114084/content.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/EN/cb/f1e33a5bd8e934e10000000a114084/content.htm]
    You have tried to do this in your second example :
    ==> brconnect -c -u system/system -f stats -t mseg u2013f collect -p 4
    Therefore you received:
    BR0154E Unexpected option value 'u2013f' found at position 8
    BR0154E Unexpected option value 'collect' found at position 9
    This is the correct statement, however the hyphen in front of the f switch is not correct.
    Try again with the following statement (-f in stead of u2013f) you will see that it will work:
    ==> brconnect -c -u system/system -f stats -t mseg -f collect -p 4
    I hope this can help you.
    Regards.
    Wim

  • Example query for po headers total amount(including tax amount) from po_headers_all table in  r12

    HI
    there is no such column like po_amount in po_headers_all table then how can i get po total amount(including tax amount) from po_headers_all table  or else tell me how to get data from views  in R12
    As we are using sql developer tool to build queries in our project
    With regards
    siva

    PO line total is not included the tax, to View the tax amount (N) Action-> manage tax
    1) You have to sum up the lines to get the PO total,
      select ph.segment1 po_num, sum ( (pl.unit_price * pl.quantity)) price
        from po_lines_all pl, po_headers_all ph
       where     pl.po_header_id = ph.po_header_id
             and ph.type_lookup_code in ('STANDARD', 'BLANKET')   --Add as per your requirement
    --          and ph.segment1 = '2017'
    --          and ph.org_id = 7852        --Use when you have multiple OU
    group by ph.segment1
    2) To get the tax
    SELECT *
        FROM (  SELECT lines.line_num line_number,
                       lines.item_description line_description,
                       dist.distribution_num dist_number,
                       dist.code_combination_id dist_code_combination_id,
                       NVL (dist.nonrecoverable_tax, 0) nonrecoverable_tax,
                       NVL (dist.recoverable_tax, 0) recoverable_tax,
                         NVL (dist.nonrecoverable_tax, 0)
                       + NVL (dist.recoverable_tax, 0)
                          total_tax,
                       (NVL (dist.req_line_quantity, 0) * NVL (lines.unit_price, 0))
                          amount,
                       dist.org_id,
                       dist.DISTRIBUTION_ID
                  FROM po_requisition_lines_all lines, po_req_distributions_all dist
                 WHERE     lines.requisition_line_id = dist.requisition_line_id
                       AND NVL (lines.cancel_flag, 'N') <> 'Y'
                       AND NVL (lines.modified_by_agent_flag, 'N') = 'N'
    --                   AND lines.requisition_header_id = :1
              ORDER BY lines.line_num, dist.distribution_num) QRSLT
    ORDER BY LINE_NUMBER, DIST_NUMBER
    Join the po_distributions_all, po_lines_all & po_headers_all tables to get the specific value.
    Thanks

  • Select from a collection of collections SELECT - CAST - MULTISET - TABLE

    Does someone have a suggestion for the SELECT statement which is performing a CAST?
    I am on Oracle 10.2.0.1.0. The goal is to take a collection of a nested table and order it by color, then descr, then grown_by, saving it into an ordered collection (v_List2). Am getting error with ORA-22907 Invalid cast to a type that is not a nested table.
    CREATE OR REPLACE TYPE     ot_fruit
    AS OBJECT
        descr            VARCHAR2(100)
       ,color          VARCHAR2(50)
       ,grown_by          VARCHAR2(50) 
    CREATE OR REPLACE TYPE tab_fruitList AS TABLE OF ot_fruit;
    CREATE OR REPLACE TYPE     ot_tab_fruit
    AS OBJECT
        fruit            tab_fruitList
    DECLARE
       v_List  ot_tab_fruit := ot_tab_fruit(tab_fruitList(ot_fruit('apple','red','tree'),
                                                          ot_fruit('blueberry','blue','bush')
       v_List2 ot_tab_fruit := ot_tab_fruit(tab_fruitList());
    BEGIN
      SELECT CAST ( MULTISET ( SELECT * FROM TABLE(v_List)
                               ORDER BY 2, 3, 1
                               <b> -- This compiles with ORA-22907 error
                                  AS  ot_tab_fruit</b>
                  ) INTO v_List2
      FROM DUAL;
      FOR i IN v_List2.FIRST..v_List2.LAST
      LOOP  
         DBMS_OUTPUT.PUT_LINE('i='||i||' descr='||v_List2(i).fruit.descr ||' color='||
               v_List2(i).fruit.color||' grown_by='||v_List2(i).fruit.grown_by);
      END LOOP;
    END;Thanks, Kate
    Message was edited by:
    johnsok

    This solution, which works perfectly by the way, came from Avi Abrami. I've highlighted the necessary changes to make the SELECT of a collection of objects work properly.
    create or replace type OT_FRUIT as object (
      DESCR     varchar2(100)
    ,COLOR     varchar2(50)
    ,GROWN_BY  varchar2(50)
    create or replace type TAB_FRUITLIST as table of OT_FRUIT;
    create or replace type OT_TAB_FRUIT as object (
      FRUIT  TAB_FRUITLIST
    DECLARE
       v_List  ot_tab_fruit := ot_tab_fruit(tab_fruitList(ot_fruit('apple','red','tree'),
                                                          ot_fruit('blueberry','blue','bush')
       v_List2 ot_tab_fruit := ot_tab_fruit(tab_fruitList());
    BEGIN
      SELECT CAST ( MULTISET ( SELECT * FROM TABLE(v_List.fruit)
                               ORDER BY 2, 3, 1
                                  AS tab_fruitlist
                  ) INTO v_List2.fruit
      FROM DUAL;
      FOR i IN v_List2.fruit.FIRST..v_List2.fruit.LAST
      LOOP
         DBMS_OUTPUT.PUT_LINE('i='||i||' descr='||v_List2.fruit(i).descr ||' color='||
               v_List2.fruit(i).color||' grown_by='||v_List2.fruit(i).grown_by);
      END LOOP;
    END;
    /

  • Occurs 0 term in internal tables

    Hello frendz!!
    occurs 0 term in internal tables .PLz tell me in details.
    regards

    Hi Sudha,
    OCCURS <NUM>, where NUM is the number of records you expect to be accessing.
    Also have  a look at url for more info
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3646358411d1829f0000e829fbfe/content.htm
    Hope this helps
    Thanks
    Lakshman

  • HT1752 I am working on a chart in paged with 7 columns. Problem has occurred with amount of row. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks Jane

    I am working on a chart in pages with 7 columns.
    Problem has occurred with amount of rows. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks Jane

    Try posting in the Pages forum
    https://discussions.apple.com/community/iwork/pages

  • The amount field in table GLPCT Activity RFBU is reaching max limit of

    Hi Experts,
    Need your help on below issue.
    The amount filed in table GLPCT, company code 123, account 110000, Activity
    RFBU and SD00 is increasing every year, and now the sum is close to the
    limit of 9,999,999,999,999.99- .
    this amount field is continue to increase, if depend on data when
    performing year-end closing and balance carry-forward.
    So, Each field contains 15 places, which leads to a maximum amount of
    999,999,999,999,999 When the value reaches the maximum amount, an
    additional update of an amount is not possible anymore.
    System cannot update the Balance Carry-forward amount for 2012.

    Have you communicated with SAP about a possible solution?

  • GATHER_STATS job collect stats for 'static' tables

    Oracle version: 10gR2
    If a business table hasn't changed (No DML) in the last 10 days, will oracle's default stats collection job
    DBMS_STATS.GATHER_DATABASE_STATS_JOB_PROCstill collect stats of this table?

    The answer is no, unless you have modified the default optimizer stats collecting statistics, as about 10% of the data must have undergone change before the table is elgible for new statistics.
    See the following int he Performance and Tuning manual section 14.2.1 GATHER_STATS_JOB:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#sthref1068
    HTH -- Mark D Powell --

  • Sum(amount) from 4 tables in sql

    Hi, Everyone,
    I have 4 tables which has pr_code,amount in each table.
    I need the sum(amount) for each pr_code from all the four tables?
    How could i write a sql to achieve this?
    Please help!
    Regards
    Su

    one option would be:
    select sum(cnt) sum_cnt
      from (select count(*) cnt from user_tables
             union all
            select count(*) cnt from user_objects
             union all
            select count(*) cnt from user_indexes
       SUM_CNT
           151

  • OVS - Maintain the amount of the table column

    Hello all,
    when implementing the OVS for a field, it does display for every output element of my model node a column in the OVS table. How can i alter the amount of shown table columns?
    E.g. The model node which displays the table of the OVS has 20 columns (20 attributes). Now i want the OVS table not to have 20 columns but just 5.
    How can i achive this?
    cheers,
    Markus

    Hi Markus,
    You can do something like this,
    In the OVS custom controller, have a value node like Output_data which has only those attributes which you need to display in the ovs list.
    When you execute the BAPI/RFC, copy the model output data to this output node.
    From the view ,when you implement the OVS for field using method addOVSExtension, pass this new output value node, instead of using the model node(Also replace the model node with this node whereever appropriate - eg: in applyResult())
    Hope that helps,
    Thanks,
    L Menon
    Message was edited by: LM
            L Menon

  • Using COLLECT on a internal table

    Hello,
    I have fetched records from a table into my internal table through, " SELECT * FROM .... INTO TABLE FOR ALL ENTRIES IN ...... "
    There are two columns in my internal table against which i need a total of the column. COLLECT sums the amounts . But how can i use COLLECT in this scenario ?
    Can anyone kindly guide me ...Thanks
    Shehryar Dahar

    Hi,
    COLLECT add the numeric entries for the corresponding table keys..
    Example.
    DATA: BEGIN OF ITAB OCCURS 0,
    MATNR TYPE MATNR,
    COUNT TYPE I,
    END OF ITAB.
    ITAB-MATNR = 'ABC'.
    ITAB-COUNT = 2.
    COLLECT ITAB.
    ITAB-MATNR = 'ABC'.
    ITAB-COUNT = 1.
    COLLECT ITAB.
    ITAB-MATNR = 'ABCD'.
    ITAB-COUNT = 2.
    COLLECT ITAB.
    ITAB-MATNR = 'ABCD'.
    ITAB-COUNT = 3.
    COLLECT ITAB.
    LOOP AT ITAB.
    WRITE: / ITAB-MATNR, ITAB-COUNT.
    ENDLOOP.
    For more information on Collect, check this site:
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/collect.htm
    Hope this would help you out.
    Regards,
    Varun.

Maybe you are looking for

  • How to make a servlet as a router between two applications ?

    Hi everybody, I have two identical applications running under ORACLE AS. when one of the application went down , I want from a servlet or anything to map all requests to bakcup application. is their any ideas you can share with me ???

  • ITunes quits unexpectedly when trying to sync my iPod classic

    I have been trying to sync my iPod with iTunes and I keep getting the message "The application iTunes quit unexpectedly". I can relaunch, report or ignore. If I relaunch, it just quits again. I recently purchased an iPhone and I have been syncing it

  • InDesign1.5 / Windows7 / won't open existing files

    'Cannot open the file "bn66y.indd". InDesign may not support the file format, or a plug-in that supports the file formay may be missing.' I have been using InDesign1.5 for some years on an XP system, and recently on one under XPx64 with no problems.

  • Error message in an exit

    If i want to give informative message in an exit like for eg. when the exit fires , i should be able to display information like "Error occurred due to", "Solution" etc. how can i do it. Right now i am able to write a single sentence, but if i want t

  • Can't start Firefox, XULRunner reports Error: App:Name not specified in application.ini

    application.ini contents: <pre><nowiki>2 17583/20136 22 2010.09.08 23:55:35 \Device\HarddiskVolume6\yenc\Xnews.ini 1 2217/2217 1 2010.09.08 23:25:04 \Device\HarddiskVolume1\Documents and Settings\evo\Mina dokument\Hämtade filer\emule049c.exe 1 3525/3