ABAP program issues..Unicode program "ITAB" must have the same structure?

Dear Expert,
I coded below code in se38, but system give below error message, could please kindly advie issue reason? Thanks!!
     Error message: A line of "ITAB" and "LINE" are not mutually convertible. In a Unicode program "ITAB" must have the same structure layout as "LINE" independent of the length of a . Unicode character. Unicode character.          
REPORT  ZTEST_HIHIHI.
Data: begin of line,
num type i,
sqr type i,
end of line,
itab type standard table of line with key table_line.
Do 5 times.
line-num = sy-index.
line-sqr = sy-index ** 2.
append line to itab.
enddo.
loop at itab into line.
write: / line-num, line-sqr.
endloop.
clear itab.

Hello Hoo Laa,
This is because the way you have defined LINE, it is a structure & not a data type. Hence you are facing the issue
You have to change the data declaration to:
itab LIKE STANDARD TABLE OF line WITH KEY table_line.
BR,
Suhas

Similar Messages

  • When using firefox I cannot signin to sites, but can get to sites with tabs on toolbar but cannot signout when I siginin, I have uninstalled the program and reinstalled it but still have the same problem?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/891666]]</blockquote>
    When using Firefox I cannot signin to sites, but can get to sites with tabs on toolbar but cannot signout whe signin, I have uninstalled the program and reinstalled it but still have the same problem.

    That problem can be caused by the Yahoo! Toolbar that extents too much downwards and covers the top part of the browser window and thus makes links in that part of the screen not clickable.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    You can keep an eye on this thread:
    *[[/forums/contributors/707748]]

  • Must have the same type and the same length

    hi experts,
    DELIVERY_PLANT  data type STRING    //from proxy class, can't be changed
          BEGIN OF ty_citem,
              article type matnr,
              werks   type werks,
           END OF ty_citem,
    LOOP AT it_items INTO lv_item.
        lv_citem-article = lv_item-article.
        lv_citem-werks = lv_item-DELIVERY_PLANT.
        APPEND lv_citem TO GT_citem.
        clear lv_citem.
      ENDLOOP.
    SELECT matnr werks
           from marc
           into table GT_marc
           for all entries in GT_citem
           where matnr = GT_citem-article  and werks = GT_citem-werks.
    error message here:When you use the addition "FOR ALL ENTRIES IN itab", the fields "WERKS"
    and "GIT_CITEM-WERKS" must have the same type and the same length.

    Hi,
    You know for statement FOR ALL ENTRIES in where clause data type and length should be match.
    As per my understanding ,here GT_citem-werks is a string. But you know data type of WERKS_D is char with lencth 4.
    Use the below select statement.
    SELECT matnr werks
           from marc
           into table GT_marc
           for all entries in GT_citem
           where matnr = GT_citem-article  and werks = GT_citem-werks+0(4).
    Thanks.
    Subhankar

  • Greetings: I have multiple iPads and iPhones. I want all to be able to be able to stream to our Apple TV. All of the docs I see say you must have the same Apple ID for all the devices, but we each have our own Apple ID. Is this just a doc short coming?

    Greetings: I have multiple iPads and iPhones. I want all to be able to be able to stream to our Apple TV. All of the docs I see say you must have the same Apple ID for all the devices, but we each have our own Apple ID. Is this just a doc short coming?

    You can each have your own ID for your own iTunes accounts, but in order for a device to stream via AirPlay to the same Apple TV, everything must use the same homesharing ID. This is not the same as your iTunes account ID (although it can be for one of the devices)

  • Error: A file found in a source-path must have the same package structure

    I use Adobe Flex Compiler (mxmlc) Version 4.1.0 build 16032,I have a file,named CustomGraphContainerController.as,it's directory is c:\controllers,and the GCController.as file is under the same directory,CustomGraphContainerController.as file like follows
    package controllers{
    import ui.GraphControlContainer;
    public class CustomGraphContainerController extends GCController {
      public function CustomGraphContainerController(a_graphControlContainer:GraphControlContainer) {
       super(a_graphControlContainer);
    Then I want to use mxmlc command to compile it,like follows:
    C:\>mxmlc c:\controllers\CustomGraphContainerController.as
    But it raise compile errors,like follows:
    Loading configuration file C:\sdk\frameworks\flex-config.xml
    C:\controllers\GCController.as: Error: A file found in a source-path must have the same package structure '', as the definition's package, 'controllers'.
    I don't know how to compile the as file with package controllers? Where is wrong? How to use mxmlc to compile it?
    Thanks

    HI,
         You should have one main application class to compile this as code to swf.. So that main application path should be in your proper package structure.. then you can compile you app and as files also...
    Thanks
    Ram..

  • TS2972 What is the point of Home Share if all devices must have the same Apple ID?  Three family members in this home would like to use the facility but all have different Apple IDs.

    Three family members use ITunes and would like to use Home Share but the HOme Share set-up guidance states that all devices must use the same Apple  ID.
    Is there a workaround for this impasse?

    Three family members use ITunes and would like to use Home Share but the HOme Share set-up guidance states that all devices must use the same Apple  ID.
    Is there a workaround for this impasse?

  • Testing if two tables have the same structure

    Hi,
    I am looking for a tool that provides support for verifying whether two tables or databases schemas are same or not.
    I want to input two sql script files:
    1. one containing the create table for creating a table with name, id and email
    2. other containing the create table for creating a table with name, id and an alter table statement for adding the email.
    Now i have to test whether above two sql scripts will have the same impact on database.
    This is just the simpler form of veru complex sql script file that i am working on.
    Can DBunit do this and how.
    Its very urgent. I will appreciate any help.

    Repeated thread at: more clarification about previous problem

  • Error: Ref.pers.nos. must have the same legal person

    Hi All,
    I keep getting this error message when setting up a Multiple Employment for an employee.
    When I get to infotype 0121 (create RefPerNo) I get the above message.
    I only get it for a couple of employees I have tried to create a second position for and others work fine.
    I don't understand the message as the action copies all the personnel data from the primary record, so it is the same person!?! Details are identical on 0002.
    Please Help
    Sam<b></b>

    Hi SAM,
    There might be some mismatch in data or might be because of authorization.
    Let us assume, that you are using Reference Personnel number to assign different assignment for the employee, if so, you no need to maintain it in Reference number, do your Personnel Action as usual and assign different Position for the employee, so that, system recognize it as, different assignment for the same employee.
    Let us know the exact error message, you are getting while executing.
    Good Luck
    Om
    Reward it, if u feel helpful.

  • AIR+JS Application in multiple clients, but all must have the same data

    Grettings.
    After googling, reading docs, and everything i cant find a solution to my problem.
    The thing is that i must create a adobe air app that must work in 4 clients. All the data from all the clients must be available to all the of them. If Number One makes a change, Number 3 must see that change.
    Of course, this could be done with a client-server model, but, the problem is, that if client 3 loose connection with the server, i must be possible for him to keep working locally and then when the connection with the server is restored, send all the data for replication with others clients.
    I don't know which aproach will be better for this problem, so any ideas or help will be appreciated.
    Thanks in advance.

    You'll need to use something like BlazeDS to do the polling and pushing
    of data and make use of SQLite to persist data on the client's user 
    computer when someone goes off line and then synchronize the data when 
    the user goes on line again.
    Sincerely,
    Michael
    El 20/05/2009, a las 9:17, alexbariv <[email protected]> escribió:
    >
    Grettings.
    >
    After googling, reading docs, and everything i cant find a solution 
    to my problem.
    >
    The thing is that i must create a adobe air app that must work in 4 
    clients. All the data from all the clients must be available to all 
    the of them. If Number One makes a change, Number 3 must see that 
    change.
    >
    Of course, this could be done with a client-server model, but, the 
    problem is, that if client 3 loose connection with the server, i 
    must be possible for him to keep working locally and then when the 
    connection with the server is restored, send all the data for 
    replication with others clients.
    >
    I don't know which aproach will be better for this problem, so any 
    ideas or help will be appreciated.
    >
    Thanks in advance.
    >

  • I get this error, A file found in the source-path must have the same package structure" (As CG)

    I took a pic
    It's really holding my project im working back. I don't know how to fix this, Someone please help me. I can do screen shareing or anything I have Teamviewer installed. Thank you soo much whoever takes the time out to help me out ! P.S I had to switch from Windows to IOS Computer, So I switched from flashDevelop to FlashBuilder. I only got this error when i converted my project to flashbuilder basically copying and pasteing the source.

    Can anybody help?

  • Does the new (2013) macbook air have the same structure and size as the original?

    I just recently purchased the new 2013 13" macbook air and was looking into getting a case. Wanted to know if i need a different case for the 2013 macbook air? Please respond ASAP!!

    Actually... if by "original".... you actually mean "original", the answer would be no.  The original Air was released in 2008 and has a significantly different format than the second generation:
    http://www.everymac.com/systems/apple/macbook-air/specs/macbook-air-core-2-duo-1 .6-13-specs.html

  • Iphone 5-updated to ios 7.0.2 keeps freezing in lock screen.I always need to restart or should wait till a phone call come to unlock the screen. Does any body have the same issue??

    Iphone 5-updated to ios 7.0.2 keeps freezing in lock screen.I always need to restart or should wait till a phone call come to unlock the screen. Does any body have the same issue??

    I do have the same issue with my 4s after updating.tried with restoring several times,but the problem still persists.....

  • Can OracleGridControl monitor databases have the same service_name?

    I installed a oracle Grid control on a linux server ,and it can run correctly.and I installed the agents on all database nodes,they work correctly too!
    Now my problem is all the nodes are monitored by the server must have the same oracle serviece_name.
    So in the browser , my grid control can find all the nodes,but only find one database.
    [b]I wonder if it's because the all database have the same service_names?
    Is there any method to solve the problems?Can I change the name in gridControl!

    Yes - you may find that they went to the "duplicates" area (see the setup->management and repository tab). What you need to do is go into the agent page, rediscover the service, then configure it and change the service name - perhaps by adding the host name on to it. Similar thing happens when all of your listeners are called LISTENER. If you go the the various hosts and in the targets.xml file you will see the DISPLAY_NAME - this is what you need to change to make them different.

  • I have a PC.  I would like to sync my iPad2 via itunes.  My computer recognizes my iPad but itunes does not.  I have deleted the itunes program, shut down my computer and restarted and then reinstalled itunes.  I still have the same problem.  Suggestions?

    I have a PC.  I would like to sync my iPad2 via itunes.  My computer recognizes my ipad but itunes does not.  I have uninstalled itunes, shut down the computer and restarted plus reinstalled itunes.  I visited the Apple store there is no problem with the iPad or the cord. I still have the same problem and am unable to sync when I plug in the iPad via the USB cord.  Does anyone have further suggestions? 

    Try going into the control panel, add/remove programs. Uninstall iTUnes, Apple mobile device service, apple application support. Then redownload and reinstall iTunes and see if it'll work
    If the computer sees your iPad you know the cable and connection is good, so the issue has to be software.

  • If I have 2 tv's and each their own apple tv can I display the same program to them from my macbook at the same time?

    If I have 2 tv's and each their own apple tv can I display the same program to them from my macbook at the same time?
    for instance Keynote?

    Welcome to the Apple community.
    The Apple TV cannot display keynote presentations or websites from the computer. It can display them via mirroring from the iPad 2 or better or the iPhone 4S.
    You cannot AirPlay to 2 Apple TV 2's at the same time from an iOS device. You can watch the same video, TV show or listen to the same music from your iTunes library on multiple Apple TV's at the same time.

Maybe you are looking for

  • [URGENT]JMS Stuck at   connectionFactory.createQueueConnection();

    I am developing an OSB project and it has to insert a message on a OC4J Queue. I've been testing on *10.1.3.3.0* version and it workd fine. But the real version used is *10.1.3.0.0* and I don't know why but the request just gets stuck.... nothing hap

  • Moduslink Vista upgrade is Free or not Free?

    I've just bought the A100-906 notebook with Windows XP Home. As I understand I can upgrade it to Windows Vista. And, as I understand, for free. But then I visit Microsoft Upgrade site I've seen an item price 95,47USD without shipping and handling for

  • Message returns to unread status

    I occassionally get a message that continues to show as unread even after I have read the message.  If I open the message it will show as read for from a few seconds to a minute and then go back to showing as unread.  I can delete the message, but th

  • Do not updated quantity in transit field in DELINS JIT

    Hi, I have EDI defect in hand which states that Quantity field in transit for DELINS JIT has to be not updated. What exactly this means? Can any one let me know what needs to be done? Raghuram.

  • Error on Installation of Ehp1 on SolutionManager

    Hi, We are Installing Ehp1 solution manager,Installation was stopped at the phase of : Prepare to install minimal configuration.In below its showing message Java Process dispatcher of instance LMV/DVEBMGS00(ABAP:ACTIVE,Java(dispatcher:UNKNOWN,server0