Cannot use comparisons with column column references in pool and cluste

Hi Experts,
I  am facing an issue in a select statement written in 4.6 version and in that the table is a transparent table but when porting it to ECC6.0, it gives the follwing error:
You cannot use comparisons with column column references in pool and cluster tables:'A~MATNR'. refe
The select statement is as below:
SELECT akschl alifnr amatnr aekorg awerks aesokz
         aknumh adatbi a~datab
         bmtart bmatkl
        b~yybcezndr " Commented as not required(IDE)
         cwerks cmmsta c~herkl
            INTO CORRESPONDING FIELDS OF TABLE  gt_a017
            FROM a017 AS a
           INNER JOIN mara AS b
            ON bmatnr = amatnr
             INNER JOIN marc AS c
               ON cmatnr = bmatnr
              AND cwerks = awerks
             INNER JOIN lfa1 AS d
             ON dlifnr = alifnr
            WHERE a~kappl  = 'M'           AND
                  a~lifnr IN s_lifnr              AND
                  a~matnr IN s_matnr        AND
                  a~ekorg IN s_ekorg        AND
                 a~kschl  = v_kschl        AND
                  a~kschl  = gv_kschl       .
Kindly help me out in this as A017 is a pooled table in ECC 6.0 . Thanks in advance!!!
Thanks and Best Regards,
Sahil

Hi Sahil,
Refer below code
SELECT KSCHL LIFNR MATNR EKORG WERKS ESOKZ
       KNUMH DATBI DATAB
  FROM A017
  INTO IT_A017 " internal Table
  WHERE KAPPL = 'M' AND
        LIFNR IN S_LIFNR AND
        MATNR IN S_MATNR AND
        EKORG IN S_EKORG AND
*         kschl = v_kschl AND
        KSCHL = GV_KSCHL .
  IF IT_A017[] IS NOT INITIAL.
    SELECT MATNR MTART MATKL
          FROM MARA
      INTO TABLE IT_MARA" internal Table
      FOR ALL ENTRIES IN IT_A017
      WHERE MATNR = IT_A017-MATNR.
    SELECT MATNR WERKS MMSTA HERKL
      FROM MARC
      INTO TABLE IT_MARC" internal Table
      FOR ALL ENTRIES IN IT_A017
      WHERE MATNR = IT_A017-MATNR AND
            WERKS = IT_A017-WERKS.
    SELECT LIFNR
      FROM LFA1
      INTO IT_LFA1" internal Table
      FOR ALL ENTRIES IN IT_A017
      WHERE LIFNR = IT_A017-LIFNR.
    ENDIF.
After this use READ statement and fill the data in final internal table..
Please search on SCN for more information about how to use FOR ALL ENTRIES..
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya

Similar Messages

  • I cannot use itunes with windows 7. I think the problem has something to do with the fact that a 32 bit xp version was loaded on my machine. I can't uninstall it and the 64 bit version will not install.

    I cannot use tunes with windows 7. A 32 bit xp version was loaded from my prior computer. It will not uninstall. The 64 bit version will noit install.

    I cannot use tunes with windows 7. A 32 bit xp version was loaded from my prior computer. It will not uninstall. The 64 bit version will noit install.

  • Apple TV 1st generation cannot use AirTunes with Apple TV 2nd generation or Airport express 2nd generation

    Is it normal that Apple TV 1st generation cannot use AirTunes with Apple TV 2nd generation or Airport express 2nd generation? I want to play music synced in my ATV 1st gen. to a nymber of speakers in the house. In the list of speakers I can see Apple TV itself and my two Airport Expresses 1st generation but not my Apple TV 2nd generation or my Airport express 2nd generation. For the ATV 2nd gen. I found a solution: when I enable the Airplay setting of XBMC which is installed on my ATV 2nd generation, then AirTunes in ATV 1st gen. sees the speaker "XBMS (Apple-TV)". Itunes can in my Macbook pro can use Airplay with all my speakers, i.e. ATV 1st gen., ATV 2nd gen., Airport Express 1st gen., Airport Express 2nd gen.

    Last time I checked ATV1 could not use Airtunes to send audio to an AppleTV 2 or 3 - highly annoying as you think they would have kept backwards compatibiility for audio, but it seems Airplay is more than a superset of Airtunes.
    AC

  • My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is a

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [/forum/1/688252]
    Thanks - c</blockquote>
    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is always closed. I need one on one help. Please reply with resolution.
    == This happened
    ==
    Every time Firefox opened
    == two or three months ago
    ==
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 (BT-canvas) Firefox/3.6.3 GTB7.0 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdnu
    *npdnupdater2
    *Coupons, Inc. Coupon Printer DLL
    *Coupons, Inc. Coupon Printer Plugin
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *6.0.12.448
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
    *Shockwave Flash 10.0 r45
    *Yahoo Application State Plugin version 1.0.0.7
    *3.0.50106.0
    *My Web Search Plugin Stub for 32-bit Windows
    *Google Updater pluginhttp://pack.google.com/
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll

    * If the menu bar is hidden then press and hold the Alt key down, that should make the Menu bar appear (Firefox 3.6 on Windows) (see [[Menu bar is missing]]).
    * Make sure that you have the ''Navigation Toolbar'' and other toolbars visible: View > Toolbars .
    * If items are missing then see if you can find them in the View > Toolbars > Customize window.
    * If you see the item in the Customize window then drag it back from the Customize window to the Navigation toolbar.
    * If you do not see that item then click the Restore Default Set button in the View > Toolbars > Customize window.
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • HT201210 I'm trying to update my iOS to 6.0, using iTunes (with my 4s connected via USB and WiFi is on also). I get a message that 'there are purchased items on my iPhone that have not been transferred to my iTunes library. Yet, I can't find those items!

    I'm trying to update my iOS to 6.0, using iTunes (with my 4s connected via USB and WiFi is on also). I get a message that 'there are purchased items on my iPhone that have not been transferred to my iTunes library. Yet, I can't find those items! Help!  There is not error message number just the text message. I've searched for an answer but have found nothing on "transfering items purchased to your iTunes library".

    Right click on your device icon on the left pane of iTunes and click on transfer pur....

  • I was given an assingment, but have no idea where to begin. The assingment is to create a text file using notepad with all of my digital inputs and some how make those imputs show up on my digital indicators on my control pannel

    I was given an assingment, but have no idea where to begin. The assingment is to create a text file using notepad with all of my digital inputs and some how make those imputs show up on my digital indicators on my control pannel.
    When it was explained to me it didn't sound to hard of a task, I have no LabVIEW experience and the tutortial sucks.

    StevenD: FYI, I did NOT give you the one star rating. I would never do that!
    StevenD wrote:
    Ow. Someone is grumpy today.
    Well, this is an assignment, so it is probably homework.
    Why else would anyone give HIM such an assigment, after all he has no LabVIEW experience and the tutorials are too hard for him?
    This would make no sense unless all of it was just covered in class!
    This is not a free homework service with instant gratification.
    OK! Let's do it step by step. I assume you already have a VI with the digital indicators.
    "...but have no idea where to begin".
    open notepad.
    decide on a format, possibly one line per indicator.
    type the document.
    close notepad.
    open LabVIEW.
    Open the existing VI with all the indicators.
    (are you still following?)
    look at the diagram.
    Who made the program?
    Does the code make sense so far?
    Is it a statemachine or just a bunch of crisscrossed wires?
    Where do you want to add the file read?
    How should the file be read (after pressing a read button, at the start of the program ,etc.)
    See how far you get!
    Message Edited by altenbach on 06-24-2008 11:23 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Hi I have a macbook pro version 10.6.7 I cant install tunes 12 .and Ihave a i phone4, i cant use it with Itunes 10,,,I delete Itunes10,and now I cant use my Iphone with my macbook cause I don't have the correct version of Itunes

    this is my problem ...I have a macbook pro version 10.6.7  and I cant install tunes 12 ....Ihave a i phone4, i cant use it with Itunes 10,,,I delete Itunes10,and now I cant use my Iphone with my macbook cause I don't have the correct version of Itunes,,,what is the version of Itunes i need to install?? i need it for my iphone 4 and my macbook 10.6.7

    Run the Software Update pane of System Preferences or click here.
    (121029)

  • I use google with firefox, everytime i open firefox and begin browsing or go to check my mail i get a firefox not responding error message on top left of screen. How do i get rid of this?

    Question
    I use google with firefox, everytime i open firefox and begin browsing or go to check my mail i get a firefox not responding error message on top left of screen. How do i get rid of this?

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode.]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]

  • If i buy iphone 5 from the usa can i take it back and use it with my UK O2 sim card and how much will a 16gb iphone 5 cost

    Hi,
    if i buy iphone 5 from the usa can i take it back and use it with my UK O2 sim card and also how much will a 16gb iphone 5 cost in the usa?
    thanks
    Andy

    hi there,
    you could buy it somewhere in Europe. I know Apple sells them unlocked here in Germany and if I am not mistaken also (among others) in France and Italy.
    Yet, as Peter wrote, the warranty can become a problem. Not sure whether a one country only rule goes for the European Community as well though.
    As for the price, the 16 GB model costs 679,- € (equals roughly 550 £). Currently there is an average delivery time of 4 to 5 weeks.
    LTE connections will not work with Orange or Vodafone. Only EE is about to offer a compatible LTE network. DC-HSPA and regular HSPA+ will work fine.
    regards, Chris

  • Cannot use Safari with this version of OSX??

    I recenlty installed Leopard on my G5 (pre-Intel but with 2GB). I have iLife 08 and Safari 3.
    On one of the Account windows I get the message that "You cannot use the application Safari with this version of Mac OS X".
    It works fine on my (administrator) account.
    Any thoughts on this one please.
    BTW, it is my children's account and I have some (but not stringent) parental controls.

    Alternatively, see the steps I posted for resolving conflicts/corrupt plists within an account at:
    http://discussions.apple.com/thread.jspa?messageID=4703015

  • Cannot use scanner with WLan with Advent AW10 printer

    I have a Satellite L500D-11R using Windows Vista.
    I have purchased an Advent AW10 printer with wi-fi functionality.
    I am able to print documents and photos with no problem, however I cannot use the scanner with wi-fi.
    After several lengthy talks with Advent support, not very useful, I was asked if I had Twain_32 on my laptop.
    I have searched my machine and there is no trace of Twain.
    I need to download a current version of Twain_32 and have been told to get this from the supplier of my laptop.
    The web, I have learnt, is not the safest way to download Twain_32 due to security issues.
    I have looked for a Toshiba and Microsoft download with no luck.
    Can anyone help?

    Hi mate
    I think this is not a Toshiba issue but this question should be addressed to the manufacturer support of printer.
    However, our community tries to help everyone as good as possible
    I searched a little bit and found this youtube video how to repair TWAIN_32.DLL error
    http://www.youtube.com/watch?v=H6nLWR9TLgY
    Otherwise you will need a support from printer manufacturer

  • HT201394 cannot use bluetooth with my new nissan altima since I updated to 8.0.2.  I am very disappointed is there a fix for this?

    A Month ago I purchased a new Altima and I was able to connect with my iPhone to the car and take and answer calls.  Since the update I can no longer use my bluetooth to answer, make or hear calls on my car. 
    My car also uses Nissan connect.  I was able to use it just fine with the previous iphone OS versions.  My husband has the same iPhone that I have and it works perfectly on the car.  He hasn't upgraded it to 8.01 nor 8.02.  He is on version 7.1.2
    I hope Apple can address this.  Or maybe there is a way to undo the updates and go back to 7.1.2 on my phone.  We both have iphones 4s 32 gb.  I will address this with Nissan as well and its syste on the altima (2014 nissan connect).
    Has anyone else encountered this problem and found a solution.  I tried restarting the car and the phones.  I tried erasing the phone from the car and re-installing it.
    Well if anyone gets a solution, please let me know.   Thanks to anyone who takes the time to read this.
    Josie

    If you can’t use a Bluetooth accessory or car kit

  • Cannot use Facebook with Safari 5

    Hi,
    I've had problems using facebook since upgrading to Safari 5.0 and 5.0.1 on my work computer;
    - cannot log out of facebook (stuck on logout.php)
    - cannot post comments (writing post and clicking button does nothing)
    - cannot change status (same as above)
    I already tried:
    - resetting Safari
    - erasing all cookies
    - deleting all cache
    - reinstalling safari
    - disable all inputmanagers and extensions
    i do not have these problems on my home computer's (MBP) Safari.
    Is there any way to completely wipe out Safari and cleanly reinstall it?
    help appreciated.
    Daniel

    Hi,
    Open Keychain Access (Applications/Utilities)
    Select Passwords on the left.
    Delete the Facebook keychain.
    Relaunch Safari. Login to Facebook. Enter your user name and password. Whenprompted, click Yes.
    Hope this helps.
    Carolyn

  • Cannot use Chess with this version of Mac OSX...?

    When I first installed Leopard, Chess (the Apple app) worked fine. Now, after updating to 10.5.1 I get a message saying I can't use it with this version of OSX when I try to open it. Any idea why? Can I get Chess back? Is it just me?

    Andrew Butterfield wrote:
    Obviously some little glitch, but now it's working fine. Just wish I could beat it occasionally. Still, hope lies eternal...
    It is likely that in the Dock, you had a pointer to the pre-Leopard version of Chess left over from an upgrade or archive & install, so that version was trying to launch from the Dock. "Get Info" tells me that Leopard's Chess is version 2.3 & it even has a checkbox for "Open in 32 bit mode" -- something I haven't seen before.
    If you have any other similar Dock-related glitches, use the "Show in Finder" Dock menu option to find the app & see if it looks like a Tiger "leftover."

  • Cannot Use ichat with this version of OSX

    Please help!
    I installyed leopard and now when I try to use ichat I get the a message saying I can not use ichat with this version of OSX. What can I do to try to fix this?
    Thanks!

    Also Click and hold the icon in the DOCK and Use Show In Finder.
    When you get to the folder that the version of iChat the DOCK is linked click on the title of the Window to see the path to the Folder.
    An Archive and Install may include a Previous System part.
    You should see
    Applications
    Hard Drive (name)
    Computer (Name)
    NOT
    Applications
    Hard Drive
    Previous Systems
    Hard Drive
    Computer
    3:20 PM Saturday; December 29, 2007

Maybe you are looking for

  • How do I get rid of the downloaded files showing on my desktop?

    That is what do I have to do so that my downloads do not show up on the desktop whether they are simple documents or program files?  If I put them in the trash it seems to delete them altogether... Any advice will be very welcome as my desktop is alm

  • AppleTV + NAS = :-(

    Bought a DLINK DNS-323 NAS storage device (which claims to have a built-in iTunes & UPnP AV Server). AppleTV does not recognize the device on the network and it cannot be paired with AppleTV. (Just thoought I'd put that out there for the Google searc

  • Regarding insertion of logo in standard forms

    Hi. How to find the form and print program for f.64 transaction.I need to upload the logo in that form. Please help to solve this problem.

  • Database link timeout

    Hi, I use a database link to retrieve some data from an external database, and process them. After processing the data, when I try to access the same link, I get a timeout error. Can anyone provide a way to avoid this? Thanks, Blesson

  • Storage problem: Other taking up 150GB

    Hi, i dont seem to be able to find a solution to this problem. 50 % of my drive is marked as other. any ideas what this is or how i can reduce it? thanks.