UrGENT-DUMP while querying database table into itab(Assigned field Symbol)

Hi,
__I am getting a dump whose description is as follows__-
"" In an SQL array select, the internal table used to hold the
selected records must be at least as wide as the database table
from which the records are being read.
In this particular case, the database table is 820 bytes wide,
but the internal table is only 814 bytes wide.""
The following code had been written:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_tabl TYPE dd02l-tabname.                                      "Table Name
SELECTION-SCREEN END OF BLOCK b1.
FIELD-SYMBOLS: <fs_itab> TYPE STANDARD TABLE,
               <fs_wa> TYPE ANY,
               <fs_itab1> TYPE STANDARD TABLE,
               <fs_wa1> TYPE ANY.
FORM generate_internal_tab .
  DATA: o_itab TYPE REF TO data,
        o_wa TYPE REF TO data,
        o_itab1 TYPE REF TO data,
        o_wa1 TYPE REF TO data.
  CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    EXPORTING
      i_structure_name       = p_tabl
    CHANGING
      ct_fieldcat            = it_fcat
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.
*Create Dynamic Table for it_fcat
  CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
      it_fieldcatalog           = it_fcat
    IMPORTING
      ep_table                  = o_itab
    EXCEPTIONS
      generate_subpool_dir_full = 1
      OTHERS                    = 2.
  IF sy-subrc EQ 0 OR o_itab IS NOT INITIAL.
    ASSIGN o_itab->* TO <fs_itab>.
    CREATE DATA o_wa LIKE LINE OF <fs_itab>.
    ASSIGN o_wa->* TO <fs_wa>.
  ENDIF.
*Download the file to Application server
    SELECT *
      FROM (p_tabl)
      INTO TABLE <fs_itab>.
So i am geting a dump in placing contents of table(p_tabl) into <fs_itab>.Should the type declarations be changed???
Please give me an solution to resolve this dump.
Thanks and regards-
Sumita

You are trying to put more fields in the internal table than what is declared presently for itab. Check if one of the fields is selected but not being passed on to a internal table field.

Similar Messages

  • Steps to follow while creating Database table in notes or paperwork

    what are the steps to follow while creating Database table in notes or paperwork
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    hi,
    1. Goto Transaction SE11.
    2. Enter the table name to be created. It should start with a Y or Z.
    3. Press Create
    4. Enter the Short description for the table
    5. Enter the Delivery class for the table. It can be 'A', 'C' or other.
    6. In the Fields tab, specify the table fields and the corresponding data elements or the built-in data types.
    7. If the table needs to be made a client-depenedent table, the first field should be MANDT.
    8. Goto Technical settings of the table and sepcify the Data Class and Size for the table. Also, there u can specify if buffering for the table should be allowed or not.
    9. Now, activate the table.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • How to convert database table into xml file

    Hi.
    How to convert database table into XML file in Oracle HTML DB.
    Please let me know.
    Thanks.

    This not really a specific APEX question... but I search the database forum and found this thread which I think will help
    Exporting Oracle table to XML
    If it does not I suggest looking at the database forum or have a look at this document on using the XML toolkit
    http://download-east.oracle.com/docs/html/B12146_01/c_xml.htm
    Hope this helps
    Chris

  • HI,Can anybody pls explain me, while extracting database table from sap-r/3

    HI,Can anybody pls explain me, while extracting database table from sap-r/3 to sap-bw using GENERIC DATA SOURCE it will ask us Name of the APPLICATION COMPONENT what does it means?

    Application Component is a collcetion of tightly coupled S/W component. You can think of it is like folder, where all the related S/W will be put in. Like MM will have all the DS related to MM.
    Thanks..
    Shambhu

  • New JNDI name created for each drag and drop of database table into table

    Hi All,
    I'm using Netbeans 5.5 with Visual Web Pack with Mysql as backend. Whenever I drag and drop a database table into table component it creates new JNDI (data source) name for each table. I want to use single JNDI name for all tables. If I change the JNDI name to default name then the design disappears and shows error . Is there any option to set the JNDI name unique for all tables?
    Thanks in advance.

    Hi again,
    Well I've tried using the MouseListener / MouseMotionListener approach but it doesn't quite seem to work, although it does get the events correctly. I think the reason is that it doesn't interact correctly with the Java DnD machinery which is something that V.V hinted at. It's something that I may need to look into if / when I have more time available.
    I have to say though that I haven't had any problems with scrollbars - we're making fairly heavy use of large tables and if you drag over a table with a scroll bar and move to the top or bottom then it scrolls as you would expect and allows you to drop the data where you like. For this situation I've used pretty much the same approach as for the toy example above except that I've implemented separate source and destination TransferHandlers (the source table is read-only, and it really doesn't make sense to allow people to drag from the destination table so I've essentially split the functionality of the example handler down the middle).
    I'm not actually particularly in favour of messing too much with the mechanics of DnD, more because of lack of time than anything else. Guess I'll just have to put up with this for the moment. Doesn't help that DnD is so poorly documented by Sun.
    Thanks for all your help.
    Bart

  • How to populate one internal table from another using field symbols

    Hi Gurus,
      I have a problem. I have to populate one internal table (sructure t_otput) from another internal table (sructure t_from) using field symbol.
    Structure for from table.
    types: begin of t_from,
             year(4) type c,
             ww(2) type c,
             site type marc-werks,
             demand type i,
           end of t_from.
    Structure for output table.
    types: begin of t_display,
             title(30),
             WW1(10),
             WW2(10),
             WW3(10),
           end of t_display.
    The from table looks like this:
    Year | WW | Site | Demand
    2005 | 1  | OR1  | 12.00
    2005 | 2  | OR1  | 13.00
    2005 | 3  | OR1  | 14.00
    The display table which has to be populated should look like this:
    Title  | WW1   | WW2   | WW3
    OR1    |       |       |
    Demand | 12.00 | 13.00 | 14.00
    How to populate display table using field symbol?
    Please give code snippets
    Thanks,
    Gopal

    Gopal,
    Here is the code, however I am not vary clear about the ORG1 and Demand display that you have shown in the display. I am sure with this code it should not be a big deal to tweak in whatever manner you want.
    TABLES : marc.
    TYPES: BEGIN OF type_display,
    title(30),
    ww1(10),
    ww2(10),
    ww3(10),
    END OF type_display.
    TYPES: BEGIN OF type_from,
    year(4) TYPE c,
    ww(2) TYPE c,
    site TYPE marc-werks,
    demand TYPE i,
    END OF type_from.
    data : t_from type table of type_from,
           t_display type table of type_display.
    field-symbols : <fs_from> type type_from,
                    <fs_display> type type_display.
    data : wa_from type type_From,
           wa_display type type_display.
    wa_from-year = '2005'.
    wa_from-ww   = '1'.
    wa_from-site = 'OR1'.
    wa_from-demand = '12.00'.
    insert wa_from  into table t_from.
    wa_from-year = '2005'.
    wa_from-ww   = '2'.
    wa_from-site = 'OR1'.
    wa_from-demand = '13.00'.
    insert wa_from  into table t_from.
    wa_from-year = '2005'.
    wa_from-ww   = '3'.
    wa_from-site = 'OR1'.
    wa_from-demand = '14.00'.
    insert wa_from  into table t_from.
    data : variable(3) type c.
    field-symbols : <fs_any> type any.
    break-point.
    Loop at t_from assigning <fs_from>.
    variable = 'WW'.
    wa_display-title = <fs_from>-site.
    concatenate variable <fs_from>-ww into variable.
    assign component variable of structure wa_display to <fs_any>.
    <fs_any> = <fs_from>-demand.
    endloop.
    append wa_display to t_display.
    clear wa_display.
    loop at t_display assigning <Fs_display>.
      write :/ <fs_display>.
    endloop.
    Note : Please award points if this helps you.
    Regards,
    Ravi

  • How to transport the DATABASE TABLE  into  the Test system ?

    Hi Experts,
    I am working on BI7,  I had created Database table in BDV system using SE11. Tech_name is ZGLACC_TEMP. I had activated it. I had used this database table for the purpose of  writing the start routine in the transformation. while I am transporting the transformations to the test system, It is showing as syntax error in ABAP program,
    In BDV system there are no syntax errors. it is working fine,
    So now I have to transport the database table to test system  so that I can transport the transformations into Test system without any error.
    Kindly anyone can give the answer , it will be appreciate and points will be assigned.
    thanks
    sekhar

    Hi Sekhar,
       Go to SE11, go into the change mode of your table and change the Object Directory entry (Goto -> Object Directory Entry) to some valid package (other than $tmp). Then it will ask for a transport request. Give a transport request and then I believe you know what to do with that transport.
       Another thing to keep in mind ... transport all the data elements and domains you have created for this table. Change their Object Directory Entry and assign them to the same transport request.
    Best regards,
    Kazmi

  • Selecting data from data base tables into itab with multiple select queries

    Hi all,
           i am dealing with a situation where in there is 3 DB tables in all say
              1. ITAB - ZTBL_MAIN.
              2. DB table - ZTBL_SUB1.
              3. DB table - ZTBL_SUB2.
    ZTBL_MAIN contains feilds from both tables 2 and 3 so to choose some records from ZTBL_SUB1 into the ITAB a select query has been written as below.
    SELECT * FROM ZTBL_SUB1 INTO CORRESPONDING FIELDS OF TABLE ZTBL_MAIN
        WHERE <condition>.
    now i also want some feilds in main for each record to be filled from the other DB table for which if i use another select query after the above one in my report prog. say..
    SELECT * FROM ZTBL_SUB2 INTO CORRESPONDING FIELDS OF TABLE ZTBL_MAIN
        WHERE <condition>.
    then all the previous records are going to be erased..Kindly let me know a way in which i can implement the above implementation.
    Thanks&Rgds,
    Naveen M

    hi,
        Ur suggestions solved the syntax error. However my intial problem was not solved i.e., using the statement
    SELECT * FROM ztbl_sub2 APPENDING CORRESPONDING FIELDS OF TABLE ztbl_main FOR ALL ENTRIES IN ztbl_main
         WHERE <field1> =  ztbl_main-<field1>.
    creates or appends some more entries into the itab thats all.. But that is not what i am trying to implement.
    As explained before the first select query would have filled certain fields for all records in ztbl_main from ztbl_sub1.
    Now in the second select query i want to fill other fields of ztbl_main for all the records already fetched using first select query by using my where condition.
    The above select query that was suggested only creates new records in the table ztab_main but does not fill the fields of the records as i expected.
    how do i fullfil my requirment..
    kindly help.
    thnks & Rgds,
    Naveen M

  • Error while transporting database index into quality system

    Hello,
    I am getting an error while transporting a new index in quality system.
    I have created a new index for table VBFA in TRD and activity the object without errors. I even adjusted the database table using database utility.
    While transporting the request there was a strange error "R3TRTABLVBFA was repaired in this system".
    I retransported the objects using a new request. However I still got the same error.
    Please help.

    Navin,
    No idea about the error you have mentioned but check the SAP Notes 185530 and see if you can avoid creating an index.In this Notes it is clearly mentioned on how to use VBFA table without any performance issues.
    K.Kiran.

  • Error while connecting Database Table

    Hi, I am trying to connect to the Oracle Database Table using Out-Of-Box Database Table Adapter. While trying to configure, i am able to connect to the desired database and tables but when i trying to save the configuration i am getting the folllowing error :
    com.waveset.util.XmlParseException: XML Error: 3:16: The markup in the document following the root element must be well-formed.
    Will appreciate any help on this ...
    Thanks

    I have seen that before and we have never been able to find the cause of the issue.
    If you have a support contract log a case, we might be able to find more if we have two cases with the same issue.
    WilfredS

  • Errors while activating database table.

    Hi all,
    I have added zfields(ztz_stceg and zz_mwsk1) to database table using append structure.
    while trying to save i am getting errors.
    I am attaching the picture, please suggest me why those errors are coming.
    Thanks & regards,
    NarsiReddy.

    Hi,
    In SE11,  open your table in change mode and got menu Extras-> Enahncement Category...
    click  and reset  as  below.
    if your table is one level then set the enhancement category set as using option " can be enhanced(character type or numeric type)" and if your table using deep structure or table then use option " can be enhanced (deep)" option.
    Please try.
    Regards,
    Prasenjit

  • How to select more than 40 lakhs entries from a database table into a inter

    If there is a database table having 40 lakhs  entries & if I want to select all entries into a internal table than what to do.

    >
    Maen Anachronos wrote:
    > Bring a very large bag to put those 40 lakh records in.
    >
    > Sorry, but how is this possibly so difficult to try out?
    I like it

  • Error while creating database table

    Hi
    I am creating a table with 2 key fields of length 255 chars each. its giving me error Key field is greater than 780. Please suggest.
    Regards
    Aditya

    Hi,
    Since table key can be max of 255 length,we rarely make use of a single key field of 255,
    so, reduce the length of field.
    Constraints
    All the key fields of a table must be stored together at the beginning of the table. A non-key field may not occur between two key fields.
    A maximum of 16 key fields per table is permitted. The maximum length of the table key is 255.
    If the key length is greater than 120, there are restrictions when transporting table entries. The key can only be specified up to a maximum of 120 places in a transport. If the key is larger than 120, table entries must be transported generically.
    A table may not have more than 249 fields. The sum of all field lengths is limited to 1962 (whereby fields with data type LRAW and LCHR are not counted).
    Fields of types LRAW or LCHR must be at the end of the table. Only one such field is allowed per table. There must also be a field of type INT2 directly in front of such a field. The actual length of the field can be entered there by the database interface.
    Edited by: Sreesudha Gullapalli on Feb 6, 2009 8:19 AM

  • Import data from oracle database table into csv file

    Hi
    I have to import data from a table into a csv file. Could anyone suggest the best method to do it? My application is JSP as frontend and have put business logic in servlet.
    Thanks in advance.

    FastReader from wisdomforce will help you quickly export data into csv file. http://www.wisdomforce.com
    fastreader can be called and executed as an external process ( Runtime.exec(..) ) to extract data from Oracle tables into flat file

  • Export all the database tables into CSV

    I am using Oracle 10 g Release 2
    I need to expot all the database tables off of an oracle schema to it's corrosponding CSV files.
    Can I use 'EXP U_name/pswd GRANTS=Y TABLES=(table_A,table_B,table_C)' .?
    Any advise is a plus.
    Thanks in advance
    Jay

    Pl post OS and database versions.
    If you have access to execute database export utilities, then use the TABLES parameter as you have indicated
    exp - http://docs.oracle.com/cd/E11882_01/server.112/e22490/original_export.htm#sthref1927
    expdp - http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#sthref135
    HTH
    Srini

Maybe you are looking for

  • X31 Wireless problems (Intel 2100) and Type Auto detected as 'TP-1-Q___' instead of '2672-NG9'

    Hey I'm a thinkpad fan, and very happy about the good ol' x-series. I have a X31 type '2672-NG9', and it has been to a warranty repair once when the charger failed. At his point I got a new mainboard. The problem is that the wireless network hasn't b

  • 2 Ipods

    My 2 children each received an ipod nano for Christmas. We only have 1 computer. Will this cause a problem with device recognition?

  • Using a different icon

    Hi everyone, I have just created 3 captivate movies & a menu for a client & I have just been aske if it would be possible to use there own icon rather than the standard captivate image that is used when the exe file is created. I did not notice any o

  • How to subscribe to podcasts? App stopped working

    Hello! I had to replace my BB Bold because of damage (same model), and the podcast app didn't work on my replacement phone.   I have tried downloading the podcast app from the app store, but that just succeeded in getting me a useless search function

  • I downloaded camera raw 7.4, but now i cannot download my photos

    i get the error message this device does not contain any supported media.  i assume there is some problem with 7.4 because i have never had this problem before.  however, i can't seem to go back to the previous camera raw release and further i need t