Work area "itab" is not long enough

Hi All,
Here am facing a trouble with internal tables.
I need an internal table for processing. I declared a table type refering to an structure. The program is throwing me an error "Work area "itab" is not long enough. "
Can anyone telme what's wrong with the code?
Thanks,
Anjum.

Hi Nasarat,
if you look at carefully you definitions of tables
TYPES: BEGIN OF tbl,
rc_n TYPE c,
rec_n(2) TYPE n,
END OF tbl.
DATA: itab_org type tbl1 occurs 0 with header line,
itab_rc type tbl1.
your DATA statement referes ITAB_ORG to a Type tbl1 which does not  exist in your TYPES statement.
your DATA statement refers to ITAB_ORG is not a internal table but a WORK Area as you have declared it as ITAB_ORG type tbl1.
If you want to declare and internal table ITAB_ORG - decalre it as
Data:ITAB_Org type standard table of tbl.
and define a explicit work area
DATA: wa_org type tbl.
Never use Occurs 0 and Header line as it coccupies lots of memories and your programs may dump in future . So please avoid occurs 0 and header line and instead decalre an explicit WORK AREA.
Similary declaration for internal table ITAB_RC it should be
DATA: ITAB_RC type standard table of tbl,
          WA_RC type tbl.
then after these declarations when you do a SELECT statement it should be
SELECT rc_n rec_n into ITAB_ORG from<DB table>.
The fields as declared in types should be called in the same sequence as you have defined above OR use INTO CORRESPONDING-FIELDS OF ITAB_ORG.
Hope this reolves your query and was useful.
if yes please do reward suitably
Thanks
Venugopal

Similar Messages

  • The work area "IT_ITAB" is not long enough

    I created a interna table IT_ITAB with OCCURS 0, But it's giving error as
    <i><b>The work area "IT_ITAB" is not long enough</b></i>.
    So pls send the correct syntax to solve the error....

    <i><b>data : it_data like standard table of  mara occurs 0 with header line.</b></i>
    Above syntax is not working...its giving error as "OCCURS 0 is not expected".
    I have one more dought...In the report I am providing some of the fields from my own database table.
    1. Can I provide the fields when using the WITH HEADER LINE concept.?
    2.Can I avoid BEGIN OF after "DATA :"?
    3.Pls tell me the exact use of STANDARD key word.
    4.What is the memory sys assigning dynamically when using OCCURS 0?
    5.What is the syntax to increase the memory?

  • Work area it_input is not long enough

    Hi,
    when am trying to check this one it is saying that it_input is not long enough.
    tables: lfa1.
    types: begin of t_input,
           lifnr type lifnr,
           end of t_input.
    data: it_input type standard table of t_input.
    data: wa_input type t_input.
    select * from lfa1 into table it_input where lifnr = lfa1-lifnr.
    write:/ lfa1-lifnr.

    hi,
    As you are using statement in which select *  wil get all the fields in the lfa1 table into your internal table, but  you are taking wa_input sturcture type t_input which is having only one field so u are getting error work are is no longer enough.
    so u use like this
    select lifnr from lfa1 into table it_input where lifnr = lfa1-lifnr.
    loop at it_input into wa_input.
    write : / wa_input-lifnr.
    endloop.
    hope this helpful
    regards
    dilip

  • The work area itab is not enough

    HI all,
    i have written the following code to print data from yemptab
    But i'm gettin an error saying that "the work are itab is not enough ". can anyone please guide me here. i'm a fresher in abap.
    REPORT  YEMPDETAILS.
    TABLES: YEMPTAB.
    DATA:  BEGIN OF ITAB OCCURS 20,
              EMPNO TYPE YEMPTAB-EMPNO,
              EMPNAME TYPE YEMPTAB-EMPNAME,
              EMPCITY TYPE YEMPTAB-EMPCITY,
           END OF ITAB.
    SELECT * FROM YEMPTAB INTO TABLE ITAB.
    LOOP AT ITAB.
      WRITE: /
        ITAB-EMPNO,ITAB-EMPNAME, ITAB-EMPCITY.
    ENDLOOP.
    Edited by: user2487 on Jul 2, 2010 12:29 PM

    Hi,
    Use TYPES and Workarea.
    types : begin of ty,
           EMPNO TYPE YEMPTAB-EMPNO,
           EMPNAME TYPE YEMPTAB-EMPNAME,
           EMPCITY TYPE YEMPTAB-EMPCITY,     
         end of ty.
    DATA: itab type standard table of ty,
          wa type ty.
    SELECT * FROM YEMPTAB INTO TABLE ITAB.
    LOOP AT ITAB into wa.
    WRITE: /
    wa-EMPNO,wa-EMPNAME, wa-EMPCITY.
    ENDLOOP.
    Regards
    Vinod

  • Internal table - work area not long enough

    Subject changed by moderator.  Please try to use a more meaningful subject in future
    The work area "ITAB" is not long enough. how to solve this problem.
    Edited by: Matt on Nov 14, 2008 10:20 AM

    please check the order of the fields you are passing to your internal table.
    Their can be many  possible cases .
    a)
    internal table has less number of fields and u are passing more fields.
    b)
    suppose Itab has field Vbeln and it`s length is 10 and u are passing filed having length
    12.
    Please check that.
    Regards
    Neha

  • ERROR: work area not long enough

    Hello experts,
    I have a submit event in which I was declaring one work area named "ls_data".
    I have a DDIC structure ZNEWEMP999_S.
    I wrote,
    DATA ls_data type ZNEWEMP999_S.
    It's giving an error "The work area "LS_DATA" is not long enough.long enough".
    Can any one suggest me how to resolve it.
    Regards,
    JAVED.

    Try this....
    SELECT *
       INTO <b>CORRESPONDING FIELDS OF</b>
                    TABLE itaBTWO      
                        FROM ZDOLTARC03
           WHERE SEARCHFLD EQ WAONE-SEARCHFLD
                          ORDER BY SEARCHFLD.
    Regards,
    Rich Heilman

  • Err: workarea is not long enough...

    Hi all,
    Please solve this problem.......
    Used this Statement in FM....
    INSERT zdsd_hh_rahd FROM TABLE lt_rahd_delete.
    Where 'zdsd_hh_rahd' is a Transp. Table with 25 fields.
    'lt_rahd_delete' is declared as:
    DATA: lt_rahd_delete        TYPE /dsd/hh_rahd_s_tt.
    '/dsd/hh_rahd_s_tt' is a Table Type. 
    Has Line Type as: '/DSD/HH_RAHD_S',
    Key Defination as: Key component.
    '/DSD/HH_RAHD_S' is a Structure refering to Table '/DSD/HH_RAHD'.
    '/DSD/HH_RAHD' and 'zdsd_hh_rahd' hase the same fields.
    But i am with an Error saying that:
    Workarea 'lt_rahd_delete' is not long enough...
    Edited by: CHELIKANI KUMAR on Dec 20, 2007 5:50 PM

    Use INSERT zdsd_hh_rahd FROM TABLE lt_rahd_delete ACCEPTING DUPLICATE KEYS.
    Work area wa should always be declared in the ABAP Dictionary with respect to the database table or the view so Declare
    Data:lt_rahd_delete  type zdsd_hh_rahd occurs 0.
    Pls Let me know the Status.
    Kanagaraja L
    Edited by: Kanagaraja  Lokanathan on Dec 20, 2007 1:07 PM

  • Apple A/V cable not long enough

    it seems to me I can't connect the two audio jacks to my Stereo when I have the yellow Video one in the TV - - NOT LONG ENOUGH! (the 3-cable part) - i would'nt mind but my stereo is directly under my TV
    the video cable needs to be longer I think - - or the two audio ones - or maybe all 3 then.....also, when those two audio L/R are to stereo, there is no more to feed to TV, so sound from the stereo only, none from TV
    - so what to do about this? - if anyone knows about splitters or cable extensions, show me jah light

    You can go to Radio Shack, Best Buy, etc. and get a generic camcorder A/V-to-RCA cable. The cable will have the longer head phone jack like the Apple A/V cable but may come in longer lengths. One note though, the normal color outputs using the camcorder cable are not correct when using it with an iPod.
    Plug the red RCA plug into your TV's yellow RCA jack.
    Plug the yellow RCA plug into your TV's white RCA jack.
    Plug the white RCA plug into your TV's red RCA jack.
    See for details:
    http://www.macdevcenter.com/pub/a/mac/2005/11/18/video-ipod.html
    <Added> - After I posted a reply I noticed you're in Dublin, so the stores I listed may not make sense. Go to any electronics store and ask for the camcorder cable I mentioned. If they don't have a cable long enough for you, ask for a RCA jack extension cable. That will work too.

  • System message 38 from work area ssfcomposer does not exist in va03

    Hi,
    I created a smartform copy from standard, it is working good for all sales order,but for perticular one sale order it shwing error like
    system message 038 from work area ssfcomposer does not exist.
    i have long item line in this sale order what can i do please help me.
    Regards
    KK

    If I am not wrong, I guess you are using template/table inside your smartform.. which is causing the error.
    I issue could be because of the condition on the text inside the template which might be overlapping the output structure line and column. The issue can be also be because of your table cell.
    To trouble shoot place a false condition(like 1 = 2) first on table and if error still occurs then remove condition on table and place it on structure.
    I guess, the above answer will help you to close the thread.
    Regards,
    SaiRam

  • My serial number is not long enough?

    Hi, I recently bought Photoshop elements 12 and am trying to install it on to my Mac Book Pro.
    I bought the photoshop from a store, so I am trying to enter the serial number on the box when installing. The serial number given is 18 characters long, this is not long enough to fit the required serial number. The other numbers on the back are also not long enough.
    Please can someone help??

    Hello Lara,
    you purchased your product from these firms like Amazon. You didn't get a serial number, only a code with which you can request a serial number from Adobe. Please have a look at - 99jon said it above - http://helpx.adobe.com/x-productkb/global/find-serial-number.html. (Start here: How did you purchase your product?)
    The following part, so I just see at least, ceased to exist on my Adobe website, everything takes place in the link from above. I leave it as an info yet, it might still fit for you. For this purpose, please click your way through to your Adobe Store and find the button "Get Serial Number". Fill in the form and after a while you will get the real serial number.
    If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use the chat, I had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    Hans-Günter

  • Serial Number in System Info is Not Long Enough

    I have deactivated CS5 from Computer A, noting the System Info before deactivating, which included a Serial Number.
    When trying to re-install CS5 on Computer B, the Serial Number is not long enough.
    This CS5 is a student edition.

    did you get the serial number from Help>System Info, where it says "Serial Number"?  because, if so, that's not the serial number.  In fact, it's not even close.  my actual serial number started with 1 while the "serial number" in the System Info started with 9.
    when you deactivated from the old computer, did you check the box to erase the serial number from the computer upon activation?  If not (i.e., the serial number is supposedly still on the old computer), i've heard that if you start a reinstall of CS5 on the old computer, it will fill in the serial number at that screen.  I don't know this for sure because the OS on my old computer literally crashed in an irreparable way immediately after I deactivated CS5.
    If it isn't a student edition (you must not have the box - the box would clearly say so), then the only way to get the serial number is to know the email address that it may have originally been installed under.  Even that may not work,  when I spoke to Adobe support (after waiting 3 hours on my digital phone), I gave then every email address that I could imagine having used and did not find the record of my initial installation.
    Again, good luck

  • DRQ: Field "Title" in OCPR not long enough

    In the moment, the field Title in the table OCPR has max. 10 characters.
    We have many customers were this field is not long enough. Especially academic contact persons wants to be called with the complete and correct title. Constructs like "Prof. Dr. Dr. med. mult." are not impossible.
    Therefore, I request to expand the field Title to 50 characters. 
    Kind regards,
    Jürgen Hansen
    Computer im Büro Dr. Grüneberg GmbH
    Berlin, Germany
    Edited by: Jürgen Hansen on Apr 20, 2011 1:40 PM  "DRQ: " added in Title

    Hello Ludek,
                    I have found that the issue is caused by the bold attributes of my field.
                    You can try the following and you should encounter the same issue:
                                    - Create a Report
                                    - Create a formula with many characters
                                    - Put you field in Times New Roman bold 8.
                    The following Font Size in  Times New Roman are in issue: 5 u2013 8 u2013 11- 14
                    The following Font Size in  Arial are in issue: 8 u2013 11 u2013 12 u2013 14
    Thank you.
    Charles
    Edited by: Charles Gagnon on May 2, 2011 5:38 PM

  • E-Recruiting: ALE Status 51 Posting Error - "Password is not long enough"

    Hi experts!
    We are having problems occationally posting idocs in our nightly ALE transfer from SAP to E-Recruiting.  The error for the segment with a status 51 is "Password is not long enough (minimum length: 6 characters)".  The system is trying to post IT0105 Sty 1.
    This only seems to happen when either a new user is created in our SAP system.  We are running SAP ECC 6.0 and E-Recruiting 6.0 sp10.  In both systems you are required to have a password length of at least six characters.
    Users in our SAP system are needed in E-Recruiting for the purpose of identifying internal candidates.
    If both systems currently require that you have a password length of at least six characters, why would we recieve this error message when attempting to post idocs?
    The concern here, obviously, is that if one segment fails to post in the idoc, the entire idoc fails to post.
    Any help would be appreciated!
    Thanks!
    Ryan

    Hello,
    We are still having a problem with failing iDocs everytime we pass over IT0105 Sty 1 records from our SAP system to E-Recruiting.
    Would anyone happen to know where I should start looking to troubleshoot this error message?
    "Password is not long enough (minimum length: 6 characters)"
    Currently both systems require that your password be at least 6 characters long, which makes this message even more perplexing.
    Having a better understanding of how RBDAPP01 processes inbound IDOCS in status 64 would help.  We are using message type HRMD_ABA.  Our data filter looks like....
    Infotype: 1000
    Object Type: C, O, S
    Infotype: 1001
    Object Type: C, O, S
    Subtypes: A002, A007, A008, A012, B002, B007, B008, B012
    Infotype: 1001
    Object Type: O, S
    Subtypes: A003, B003
    Infotypes: 0000, 0001, 0002
    Object Type: P
    Infotype: 0006
    Object Type: P
    Subtype: 1
    Infotype: 0105
    Object Type: P
    Subtypes: 0001, 0010   
    So the question is how is IT0105 Sty 1 being processed when RBDAPP01 runs?
    Thank you for your help!
    Ryan
    Edited by: Ryan Hubbell on Mar 31, 2009 7:00 PM
    Edited by: Ryan Hubbell on Mar 31, 2009 7:47 PM

  • Clip for trailer won't load, regardless of the size the error message keeps popping up, "That clip is not long enough. Choose a longer clip for this part of the trailer."

    Clip for trailer won't load, regardless of the size the error message keeps popping up, "That clip is not long enough. Choose a longer clip for this part of the trailer."

    I got it out!
    Here is how.
    None of the Apple-suggested ways worked. However, before totally giving up I started Roxio Popcorn and pressed the big eject button on it. It came out effortlessly!
    So, I thought "Weird..."
    I put the CD back in and reproduced my original problem. I got it out just as easily using Roxio Popcorn Eject feature.
    So, I then thought "Maybe it is the disk?" There is nothing wrong with the disk as far as I can tell. It is perfectly round, has a smooth label-side surface. It is not even a label, it is a standard software install disk you buy in stores.
    I inserted a different disk. The mini mounted it, I browsed it, and then ejected it by dragging it to trash. Worked fine.
    I tried a few other disks.
    The drive seems to work fine.
    Maybe that CD is cursed, I dunno. I tried that disk in my PowerBook and it works fine there.
    Who knows ?
    I am still backing up my hard drive as I type this message in case I need to take it to the store.

  • Sytem message 047 from work area SSFCOMPOSER does not exist

    Hi Friends,
    When I am trying to see the print preview of a PO I am getting this error msg
    "Sytem message 047 from work area SSFCOMPOSER does not exist".
    I had checked the forum and the System message was 046, but the error is not solved.
    Regards,
    Anu.

    Wrong forum to post the issue.
    VJ

Maybe you are looking for

  • Variable values in navigation blok

    Hi WAD Experts, I'm trying to pass variable values to the navigation block. I have already set my variable as ''Changeable at Query Navigation'  but it's not working. The chosen values not appear. Any ideas? I'm on a Bw 3.5 version. Thank you. Ste

  • Fonts-  transferring from old Mac to new Mac

    I used FontDoctor to check and collect all my fonts from my old MBP and copied them to my new MBP OSX-10.6.4. But I don't want to install duplicates or older versions of fonts over newer ones. Will FontBook refrain from adding dups, prefer newer font

  • Unable to set configured property

    Hi, I am getting this following error during my server start up **** Error Unable to set configured property "/atg/ dynamo/servlet/dafpipeline/AccessControlServlet.accessControllers" atg.nucleus.ConfigurationException Please help me out. Thanks in ad

  • Odi 10g installation on windows 7 ultimate 32 bit

    i am having windows7 ultimate 32 bit OS.. can i install ODI 10g on my system..

  • Large PDF file (ebook) on ipod touch to read?

    I have a large pdf file (7.0 mb, 445 pages) that I want to be able to read (without killing my eyes) on my overseas flight. I added the file via an app called file magnet. But it ran low on memory and crashed. Plus the text was very small. I love the