Internal table Memory Issue Exception TSV_TNEW_PAGE_ALLOC_FAILED

Hi experts,
I am working on a conversiojn programme. This programme is dealing with 4 input files.
Each of these files is having more than 50,000 records. I am reading the corresponding application server files to fill
the internal tables related to these files.
The files are being read properly and internal tables are being filled.
However when i try to assign any of these 4 internal tables to other temproray internal tables in programme(requirement)
i get a dump  TSV_TNEW_PAGE_ALLOC_FAILED.
The dump is related to memory issue.
I think The memory available in the programme at this point is not sufficient for table assignment.
Please suggest any alternatives where i can save any memory .
Changig of basis setting is not an option.
Regards,
Abhishek Kokate

Hi Kiran,
I am not agree with you , I am agree with Hermann.
While writting file you restrict the record max 5,000 to 10,000 records and process don't store the mutch data into internal table.
After every used refresh the internal table, Declare table where necessary.
But you can try to avoid the copy cost.
Rgds
Ravi Lanjewar

Similar Messages

  • Short dump-internal table size issue

    Hi,
    I get the following message in the short dump analysis for a report.
    No storage space available for extending table "IT_920".
    You attempted to extend an internal table, but the required space was not available.
    Error Analysis:
    The internal table "IT_920" could not be enlarged further.             
    To extend the internal table, 9696 bytes of storage space was          
    needed, but none was available. At this point, the table "IT_920" has  
    1008240 entries.
    Its an old report and I saw the internal table declaration using the "OCCURS" clause in the internal table declaration.
    begin of itab occurs 100.
    end of itab.
    I tried the option of changing to "OCCURS 0", still issue persists.
    Any help would be highly appretiated
    CM

    Hello CMV,
    This is basic problem with SAP internal tables. For every internal table memory is alocated ( Max..256K)...once you cross the memory size/limit of the internal table it resuls in short dump.
    Only way to overcome this problem is handle limited number of records at a time.. 
    Please refer following sample code which will help you to avoid short dump while processing large number of records....
      SORT TAB_RESULT.
      DESCRIBE TABLE TAB_RESULT LINES W_RECORDS.
      W_LOW      = 1.
      W_UP       = 1000.
    *Spliting the records from tab_result1 by pakage of 1000 at a time
    *to avoid short dump in case of more records
      WHILE W_LOW <= W_RECORDS.
        R_PKUNWE-SIGN = 'I'.
        R_PKUNWE-OPTION = 'EQ'.
        R_WERKS-SIGN = 'I'.
        R_WERKS-OPTION = 'EQ'.
        LOOP AT TAB_RESULT FROM W_LOW TO W_UP.
          MOVE TAB_RESULT-PKUNWE TO R_PKUNWE-LOW.
          MOVE TAB_RESULT-WERKS  TO  R_WERKS-LOW.
          APPEND R_PKUNWE.
          APPEND R_WERKS.
        ENDLOOP.
    *fetch sold to party
         SELECT KUNNR NAME1
           FROM KNA1
           APPENDING CORRESPONDING FIELDS OF TABLE TAB_KNA1
           WHERE KUNNR IN R_PKUNWE.
    *fetch plant
      SELECT WERKS NAME1
             FROM T001W
             APPENDING CORRESPONDING FIELDS OF TABLE TAB_T001W
             WHERE WERKS IN R_WERKS.
       REFRESH: R_PKUNWE,
                R_WERKS.
        W_LOW = W_LOW + 1000.
        W_UP  = W_UP  + 1000.
      ENDWHILE.
    Hope this will help you to solve problem.
    Cheers,
    Nilesh

  • Increase internal table memory

    Dear Techis,
    How to increase size of internal table. while executing it gettin in DUMP.
    I checked wid basis consultanat the Heap memory is more than sufficient, but still my report is not gettin executed its showin dump .
    Will anybody pls tell me is it possible to increase size of internal table as of now i am using "Occurs 0" if i use "occurs 100" is dis help in any way??
    Pls Suggest
    Regards
    Santosh

    Hi Shree,
    The Dump is
    Line width: 1700
    Number of lines: 106904
    Allocated lines: 106904
    New no. of requested lines: 8 (in 1 blocks)
    How to correct the error
    The amount of storage space (in bytes) filled at termination time was:
    The Dump is given Below
    You attempted to extend an internal table, but the required space was
    not available. 
    The internal table "\PROGRAM=ZFIGLN0002\DATA=IT_LINEITEM[]" could not be    
    further extended. To enable                                                
    error handling, the table had to be delete before this log was written.     
    As a result, the table is displayed further down or, if you branch to       
    the ABAP Debugger, with 0 rows.                                                                               
    At the time of the termination, the following data was determined for       
    the relevant internal table:                                                                               
    Memory location: "Session memory"                                           
    Row width: 197                                                              
    Number of rows: 43248                                                       
    Allocated rows: 43248                                                       
    Newly requested rows: 64 (in 1 blocks)                                      
    Last error logged in SAP kernel                                                                               
    Component............ "EM"                                                  
    Place................ "SAP-Server TCPRDSAP_TCP_00 on host TCPRDSAP (wp 4)"  
    Version.............. 37                                                    
    Error code........... 7                                                     
    Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "
    Description.......... " "                                                   
    System call.......... " "                                                   
    Module............... "emxx.c"                                              
    Line................. 1881                                                                               
    The error reported by the operating system is:                              
    Error number..... " " 
    Error text....... " " 
    The amount of storage space (in bytes) filled at termination time was:                                                                               
    Roll area...................... 1508832                                    
    Extended memory (EM)........... 383623632                                  
    Assigned memory (HEAP)......... 369003312                                  
    Short area..................... " "                                        
    Paging area.................... 24576                                      
    Maximum address space.......... " "                                                                               
    If the error occures in a non-modified SAP program, you may be able to     
    find an interim solution in an SAP Note.                                   
    If you have access to SAP Notes, carry out a search with the following     
    keywords:                                                                               
    "TSV_TNEW_PAGE_ALLOC_FAILED" " "                                           
    "ZFIGLN0002" or "ZFIGLN0002"                                               
    "POPULATE_SUMMARY_INFO"                                                                               
    If you cannot solve the problem yourself and want to send an error         
    notification to SAP, include the following information:                                                                               
    1. The description of the current problem (short dump)                                                                               
    To save the description, choose "System->List->Save->Local File         
    (Unconverted)".                                                                               
    2. Corresponding system log                                                                               
    Display the system log by calling transaction SM21.                     
       Restrict the time interval to 10 minutes before and five minutes        
                        Above is the error in showing in Dump Analysisi                                
    i Checked heap memory parameter thru basis consultant and its more as compared to dis

  • Internal table memory

    Hi,
    Can any one say how to identify,how much memory is associated with the internal table which we are using in our prog.

    Hi Prince
    occurs 0, the memory allocation is done by system,
    in case of occurs 100 memory of 100 records allocated initially ,then if records exceeds then system ll allocate memory,
    memory allocation here is known as extent and depend upon basis administrator...
    You can use the above addition to reserve memory space for <n> table lines when you declare the table object.
    When this initial area is full, the system makes twice as much extra space available up to a limit of 8KB. Further memory areas of 12KB each are then allocated.
    You can usually leave it to the system to work out the initial memory requirement. The first time you fill the table, little memory is used. The space occupied, depending on the line width, is 16 <= <n> <= 100.
    It only makes sense to specify a concrete value of <n> if you can specify a precise number of table entries when you create the table and need to allocate exactly that amount of memory (exception: Appending table lines to ranked lists). This can be particularly important for deep-structured internal tables where the inner table only has a few entries (less than 5, for example).
    To avoid excessive requests for memory, large values of <n> are treated as follows: The largest possible value of <n> is 8KB divided by the length of the line. If you specify a larger value of <n>, the system calculates a new value so that n times the line width is around 12KB."
    OCCURS 0 is betten than OCCURS 100 because
    OCCURS 100.
    if you use occurs 100, the ABAP memory will allocate for 100 records memory location, some time you have only 20 records at that time the remaining 80 records memory space will waste.
    REAL TIME EXAMPLE: BUS
    In bus total seat is 57, some time only 20 people only will come at that time also bus should go so remaining seats will waste.
    OCCURS 0:
    OCCURS 0, the memory is not allocated previously, that is optimistic.if you have 20 records the memory will take for only 20 records.
    1. when can we use occurs0?
    When declaring internal tables,
    whose expected number of records we are not sure,
    or we are not bothered.
    Its normally better to use occurs 0,
    rather than occur 10 , 100 , 90 etc.
    2. if we use occurs 0 how will the memory be allocated?
    a. if we use 0, 10 , or any other figure,
    there is no restriction on the expansion of the internal table.
    the 0, 10, etc is just a indicative figure for expected number of records.
    b. When using 0,
    8 KB - the internal table will be expanded in bunches of 8 KB.
    Reward if helpful.
    Thanks

  • Internal table data issue

    i have a internal table i_final in program 1 and this internal table data need to be input of other program, so how i need to pass the i_final data to other program.

    this is the code in program 1:
      ENDIF.
    **appending work area to internal table.
        APPEND wa_final TO i_final.
      ENDLOOP.
      EXPORT i_final to memory id 'zfinal'.
    this is the code in program 2:
    TYPES: BEGIN OF t_final,
          bukrs TYPE bkpf-bukrs,
          belnr TYPE bkpf-belnr,
          blart TYPE bkpf-blart,
          xblnr TYPE bkpf-xblnr,
          ebeln TYPE ekbe-ebeln,
          ebelp TYPE ekbe-ebelp,
          belnr1 TYPE ekbe-belnr,
          xblnr1 TYPE ekbe-xblnr,
          ebeln1 TYPE ekko-ebeln,
          exnum TYPE ekko-exnum,
          lands TYPE ekko-lands,
          stceg_l TYPE ekko-stceg_l,
          END OF t_final.
    DATA: i_final TYPE STANDARD TABLE OF t_final WITH HEADER LINE.
    DATA: wa_final TYPE t_final.
    IMPORT i_final from memory ID 'zfinal'.
    write: i_final.
    its giving Dump.

  • Internal table logic issue

    Hi All,
    I have one logical issue related to internal table manipulation.
    I have one internal table :
    I_DAT - This is related to Loading/Unloading of Goods.
    for example with 3 fields
    VSTEL, KUNNA, KMMANG.
    Now suppose my data looks like this after sorting:
    VSTEL   KUNNA    KMMANG
    100       -        -
    200       -        -
    300       -        -
    400       -        -
    -         500      X
    -         600      X
    -         700      X
    -         800      X
    Here 100,200,300,400 are Loading points.
    ANd 500,600,700,800 are unloading points.
    Now what i want is For loading & Unloading points i need to pick up Address and print one after other.
    But how they need to print is:
    FOR INITIAL LOADING OF
    ADDRESS- For 100
    FIRST STOP: FOR LOADING OF
    ADDRESS- For 200
    SECOND STOP: FOR LOADING OF
    ADDRESS- For 300
    Etc .....
    Then
    FOR UNLOADING OF:
    ADDRESS- For 400
    FIRST STOP: FOR UNLOADING OF
    etc.
    FINAL STOP: FOR FINAL UNLOADING OF
    We might get as many records :
    Can any body give me the logic:
    Printing Address is not a problem:
    But Above every address we need to print FIRST STOP, SECOND etc like that.
    For this i need logic.
    Can anybody give the solution!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Try this.I think you want output like this......
    DATA: BEGIN OF LINE,
            CARRID   TYPE SBOOK-CARRID,
            CONNID   TYPE SBOOK-CONNID,
            FLDATE   TYPE SBOOK-FLDATE,
            CUSTTYPE TYPE SBOOK-CUSTTYPE,
            CLASS    TYPE SBOOK-CLASS,
            BOOKID   TYPE SBOOK-BOOKID,
          END OF LINE.
    DATA ITAB LIKE SORTED TABLE OF LINE WITH UNIQUE KEY TABLE LINE.
    SELECT CARRID CONNID FLDATE CUSTTYPE CLASS BOOKID
           FROM SBOOK INTO CORRESPONDING FIELDS OF TABLE ITAB.
    LOOP AT ITAB INTO LINE.
      AT FIRST.
        WRITE / 'List of Bookings'.
        ULINE.
      ENDAT.
        AT NEW CARRID.
          WRITE: / 'Carrid:', LINE-CARRID.
        ENDAT.
          AT NEW CONNID.
            WRITE: / 'Connid:', LINE-CONNID.
          ENDAT.
            AT NEW FLDATE.
              WRITE: / 'Fldate:', LINE-FLDATE.
            ENDAT.
              AT NEW CUSTTYPE.
                WRITE: / 'Custtype:', LINE-CUSTTYPE.
              ENDAT.
                   WRITE: / LINE-BOOKID, LINE-CLASS.
                AT END OF CLASS.
                  ULINE.
                ENDAT.
    ENDLOOP.
    This is also helpful......
    LOOP AT <itab>.
      AT FIRST. ... ENDAT.
        AT NEW <f1>. ...... ENDAT.
          AT NEW <f2 >. ...... ENDAT.
              <single line processing>
          AT END OF <f2>. ... ENDAT.
        AT END OF <f1>. ... ENDAT.
      AT LAST. .... ENDAT.
    ENDLOOP.
    Regards
    Abhishek

  • Internal Table Memory Allocation

    Hello all,
    I could understand the difference between Internal Table with occurs 0 and internal table with type declaration...
    correct me if i am wrong, occurs 0 declaration occupies 8kb memory and header line 256 bytes...
    But what i could not get is...
    Where can i view this internal table runtime memory usage?? Should i have to check that in some transaction???
    If that is the case, what transaction i should look at?? Can i view this in debugging mode??? I tried GOTO -> STATUS DISPLAY -> MEMORY USE and i have tried even SETTINGS -> MEMORY MONITORING ->MEMORY DISPLAY ON...Nothing worked..
    when i go for GOTO -> STATUS DISPLAY -> MEMORY USE in debugging
    memory allocated seems to be same for Internal table with occur 0 and Internal table with type declaration
    I have searched a lot about this in SDN....But could not come to a conclusion......
    I don't have authorisation here for DBG_MEMORY_DIFFTOOL or S_MEMORY_INSPECTOR unfortunately.....
    Waiting for your replies....

    Hi Jagannathan,
    You can view this on Debugger(ECC6.0) onwards.
    To find out how much memory internal tables occupy, choose Goto --> Display Condition --> Memory Usage.
    Choose Change Settings to display a window, in which you can choose the Internal Tables button.
    Hope this will assists you for your quest.
    Regards,
    -Syed.

  • Where I can check the internal table memory that have the system?

    Hi
    I have some jobs that cancel with this error:  No storage space available for extending an internal table.
    Where I can check the amount of space memory that have the system and if I can resolve this problem if I put a commit work or something like that?
    The dump stop when I make a import:
    IMPORT TIMES DHIST3 SUM3 FROM DATABASE MONI(DB) ID MONIKEY.
    Thanks for the help!

    hi,
    goto:
    sm04 - goto- memory
    A.
    Message was edited by:
            Andreas Mann

  • Dynamic internal table column issue

    Hi
    i have ALV report with dynamic internal table.after i build the internal table and fieldcatalog i have problem  i.e. when grid is displayed then one of the column value is coming in the next column.i populated col_pos in field catalog also and in the debug mode data is populated correctly for respective columns in fieldcatalog and dynamic internal table. But when it is displayed i have this problem.
    any inputs on this?

    Hi Moorthy,
    Did you perform an ALV consistency check?
           Check the below given links as well.
    The Consistency Check - ALV Grid Control (BC-SRV-ALV) - SAP Library
    SAP ALV Consistency Check
    Regards,
    Philip.

  • Short Dump to extending internal table memory

    Hi All,
    I have an internal table with 10 million records . While appending records to this internal table iam getting dump as "No storage space available for extending the internal table." .I declared internal table with "OCCURS 0 "How can i avoid this dump ?

    Hi,
    The problem seems to be related to overflow of the internal table allocation size which will be set by BASIS people. Like if the internal table size restricted to say 1024KB and if we are trying to push data more than this it will throw such error.
    Please try to split them into more smaller but several internal tables. Also try to restrict the number of records selected, if they are not really required to be selected.
    Regards,
    Ferry Lianto

  • Internal table reltd issue

    Hi,
    I have got 3 tables:
    it_extnout (old)
    Fld1     Fld2     Fld3     Fld4     Fld5     Fld6     Fld7
    ABC     123     70     JKL     5.00     A     Q
    it_extnin (new)
    Fld1     Fld2     Fld3     Fld4     Fld5     Fld6     Fld7
    ABC     123     99     LMN          
    it_extnin_x(update flag for new)
    Fld1     Fld2     Fld3     Fld4     Fld5     Fld6     Fld7
    ABC     123     X     X          X     
    So now...my requirement is as follows:
    if an update flag is set for any field in it_extnin_x, then new value should get updated in it_extnout table.
    Here, fld3, 4, and 6 is set for update, so finally my it_extnout should look like
    Fld1     Fld2     Fld3     Fld4     Fld5     Fld6     Fld7
    ABC     123     99     LMN     5.00          Q
    Also, any field from fld3 to fld7 could be marked for an update, so it is dynamic.
    I do not want to write read statements for each column like
    read table itab with key fld3 = X (if sy-subrc is 0, then do some processing)
    or read table itab with key where fld4 = X and so on....
    What is the optimum way to achieve the same?
    Any useful is deeply appreciated!
    Thanks
    Follow the rules of engagement, Don't use multiple user accounts for posting the question
    If you repeat this your user will be locked and deleted
    Edited by: Vijay Babu Dudla on Apr 20, 2011 10:19 AM

    Try this.I think you want output like this......
    DATA: BEGIN OF LINE,
            CARRID   TYPE SBOOK-CARRID,
            CONNID   TYPE SBOOK-CONNID,
            FLDATE   TYPE SBOOK-FLDATE,
            CUSTTYPE TYPE SBOOK-CUSTTYPE,
            CLASS    TYPE SBOOK-CLASS,
            BOOKID   TYPE SBOOK-BOOKID,
          END OF LINE.
    DATA ITAB LIKE SORTED TABLE OF LINE WITH UNIQUE KEY TABLE LINE.
    SELECT CARRID CONNID FLDATE CUSTTYPE CLASS BOOKID
           FROM SBOOK INTO CORRESPONDING FIELDS OF TABLE ITAB.
    LOOP AT ITAB INTO LINE.
      AT FIRST.
        WRITE / 'List of Bookings'.
        ULINE.
      ENDAT.
        AT NEW CARRID.
          WRITE: / 'Carrid:', LINE-CARRID.
        ENDAT.
          AT NEW CONNID.
            WRITE: / 'Connid:', LINE-CONNID.
          ENDAT.
            AT NEW FLDATE.
              WRITE: / 'Fldate:', LINE-FLDATE.
            ENDAT.
              AT NEW CUSTTYPE.
                WRITE: / 'Custtype:', LINE-CUSTTYPE.
              ENDAT.
                   WRITE: / LINE-BOOKID, LINE-CLASS.
                AT END OF CLASS.
                  ULINE.
                ENDAT.
    ENDLOOP.
    This is also helpful......
    LOOP AT <itab>.
      AT FIRST. ... ENDAT.
        AT NEW <f1>. ...... ENDAT.
          AT NEW <f2 >. ...... ENDAT.
              <single line processing>
          AT END OF <f2>. ... ENDAT.
        AT END OF <f1>. ... ENDAT.
      AT LAST. .... ENDAT.
    ENDLOOP.
    Regards
    Abhishek

  • Memory problems in internal table

    Hi,
    I am facing an issue with the internal table memory.
    I am selecting something from the database and putting it in internal table but the load is so much that it is giving me memory errors as the data may go into millions.
    So what we have decided is to cut down the data in the internal table. we have defined a variable which will contain suppose 30000 data.
    so what i mean to do is to take the records from the databas based on the value in the variable. By that way i will be taking only 30000 data each time.
    But the issue is that first time it will take 1 to 30000 records if i give upto 30000 rows in the select query.. but then how will i take 30001 to 60000 the next time.. by that i mean how will i keep incrementing in the select query.
    Thanks in advance.
    Amit Kurup

    Hi
    I've never used these stataments but perhaps they are usefull for you:
    See the help for OPEN/CLOSE/FETCH CURSOR
    DATA: C TYPE CURSOR,
          WA TYPE <TABLE>.
    DATA: ITAB LIKE STANDARD TABLE OF <TABLE>.
    OPEN CURSOR C FOR
      SELECT * FROM <TABLE> WHERE .......
    DO.
    FETCH NEXT CURSOR C TO WA.
    IF SY-SUBRC <> 0.
      CLOSE CURSOR C.
      EXIT.
    ENDIF.
    APPEND WA TO ITAB.
    IF COUNT = 30000.
    DO SOMETHING
    COUNT = 0.
    REFRESH ITAB.
    ENDIF.
    COUNT = COUNT + 1.
    ENDDO. 
    Max

  • Downloading from Internal table to Excel

    Hi All,
    My requirement is download to Excel sheet, but in my internal table i have more than 95,000 record
    (max limit in Excel sheet is 65535).
    Please help me out by providing your solutions.
    note: here i know one solution, by splitting into two files but no.of records are mis-macthing.
            and one more issue when uploading the file we need to mention two file names.
            hope this is not suggesstable.
    Thanks in Advance
    Madhavi.

    hi,
        try this
    Parameters: P_file like RLGRAP-FILENAME.
    data : begin of int_head occurs 0,
    Filed1(20) type c,                     " Header Data
    end of int_head.
    data : begin of int_data occurs 0,
    Field1(20) type c,                     " Data
    Field2(20) type c,
    Field3(20) type c,
    Field4(20) type c,
    end of int_data.
    int_head-Filed1 = 'Sales Ord'.
    APPEND int_head.
    CLEAR  int_head.
    int_head-Filed1 = 'Sold-to-Party'.
    APPEND int_head.
    CLEAR  int_head.
    int_head-Filed1 = 'Purchase Ord'.
    APPEND int_head.
    CLEAR  int_head.
    int_head-Filed1 = 'Ship-to-Party'.
    APPEND int_head.
    CLEAR  int_head.
    int_data-field1 = '1JOHN'.
    int_data-field2 = '2TOM'.
    int_data-field3 = '3BRAD'.
    int_data-field4 = '4PETER'.
    Append int_data.
    Clear int_data.
    CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
    EXPORTING
    file_name = p_file " path offile where u need to download
    CREATE_PIVOT = 0
    DATA_SHEET_NAME = ' '
    PIVOT_SHEET_NAME = ' '
    PASSWORD = ' '
    PASSWORD_OPTION = 0
    TABLES
    PIVOT_FIELD_TAB =
    data_tab = int_data "internal table with data
    fieldnames = int_head "internal table with header
    EXCEPTIONS
    file_not_exist = 1
    filename_expected = 2
    communication_error = 3
    ole_object_method_error = 4
    ole_object_property_error = 5
    invalid_filename = 6
    invalid_pivot_fields = 7
    download_problem = 8
    OTHERS = 9
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Dump --  No more storage space available for extending an internal table

    In Our system we are getting this dump
    No more storage space available for extending an internal table
    and because of it no user is able to login into the system.
    We have Some classes in the system and we have defined shared memories to all classes according to regions.
    So for a particular class means users of a region are not able to logon to systems and we are getting these dumps in the system.
    So please suggest first how to clear the shared memory & how to conclude what activity in system made the shared memory full.
    Regards,
    Shivam Mittal

    My OS is HP-UNIX..
    And we do not access on OS level,So please suggest the way to clear it from SAP level.
    In dump it is also mentioned:
    The internal table "\AREA=<Name>\INSTANCE=$DEFAULT_INSTANCE$\VER
    SID=2\OBJ={O:1.2*\CLASS=<CLASS>\DATA=GT_BUFFER[1]-DATA" could
      not be further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "\AREA=<Name>\INST=$DEFAULT_INSTANCE$\CLNT=100"
    Row width: 156
    Number of rows: 0
    Allocated rows: 63
    Newly requested rows: 1216 (in 19 blocks)
    Please also suggest what is the internel table name that is causing the issue.
    Regards,
    Shivam Mittal

  • Creation of view and use it as internal table

    dear community,
                   My questions is taht i am write a select quary in that data is very huge so that it cant inserted in to internal table(memory size of internal table) so i thing that i create aview same as data base table and when write the select quary use packsize and transfer recoerd ds in that view and use this view in my program
    is above logic can work or not
    also is size of view is greater than internal table memory size.

    Writing the large volume to another table(which a view is just a view of a table or group of tables) is not going to solve the problem.  You still have to select the data from the view(or table).  Like I said in your other threads, you need to read by package size, and do something with that subset, whether it is summaring, or writeing to another system via RFC.
    Regards,
    Rich Heilman

Maybe you are looking for