Problem with join / explicit field declaration does not work

Hello together,
there is something I do not understand about the join. I have a join over two tables (see below). The field AENAM exists in both tables but I want to have it coming from ZDPP_VERBRAUCEFF.
BUT the system gives me the values from MARA although I define the source ZDPP_VERBRAUCEFF.
  SELECT zdpp_verbrauceff~mandt
         zdpp_verbrauceff~matnr
         zdpp_verbrauceff~zzmdv01
         zdpp_verbrauceff~begda
         zdpp_verbrauceff~endda
         zdpp_verbrauceff~vmeng
         zdpp_verbrauceff~vmeng_m
         zdpp_verbrauceff~aenam     "Problem
         zdpp_verbrauceff~aedat
         zdpp_verbrauceff~aezet
         zdpp_verbrauceff~prfdt
         zdpp_verbrauceff~prfzt
    FROM zdpp_verbrauceff
    INNER JOIN mara
    ON zdpp_verbrauceffmatnr = maramatnr
    INTO TABLE lt_ver_db
    WHERE zdpp_verbrauceff~zzmdv01 IN s_mdv01
      AND zdpp_verbrauceff~begda   <= s_datum-high
      AND zdpp_verbrauceff~endda   >= s_datum-low
      AND mara~mtart               IN s_mtart
      AND mara~matnr               IN s_matnr.
Can anybody tell me what I doing wrong?
Thanks in advance,
Sebastian

Can you try change the statment sequence as I have below and see if this works i.e:
SELECT zdpp_verbrauceff~mandt
zdpp_verbrauceff~matnr
zdpp_verbrauceff~zzmdv01
zdpp_verbrauceff~begda
zdpp_verbrauceff~endda
zdpp_verbrauceff~vmeng
zdpp_verbrauceff~vmeng_m
zdpp_verbrauceff~aenam "Problem
zdpp_verbrauceff~aedat
zdpp_verbrauceff~aezet
zdpp_verbrauceff~prfdt
zdpp_verbrauceff~prfzt
FROM zdpp_verbrauceff
INTO TABLE lt_ver_db   "LINE MOVED to here
INNER JOIN mara
ON zdpp_verbrauceffmatnr = maramatnr
WHERE zdpp_verbrauceff~zzmdv01 IN s_mdv01
AND zdpp_verbrauceff~begda <= s_datum-high
AND zdpp_verbrauceff~endda >= s_datum-low
AND mara~mtart IN s_mtart
AND mara~matnr IN s_matnr.
Regards,
Warren.

Similar Messages

  • I have a problem with my ipod touch it does not light at all, what should I do?

    I have a problem with my ipod touch it does not light at all, what should I do?

    Try the troubleshooting here for your specific symptom:
    iPod touch: Hardware troubleshooting

  • I have a printer xerox 3220 on networking ,have pc´s and a mac ,problem:it´s already install but does not work ,only print many page with code program,i will appreciate the solution

    i have a printer xerox 3220 on networking ,have pc´s and a mac ,problem:it´s already install but does not work ,only print many page with code program,i will appreciate the solution

    Hi guillermospain,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    OS X: Connecting a Wi-Fi printer to your Wi-Fi network
    http://support.apple.com/kb/ht3500
    OS X Mountain Lion: Set up a printer
    http://support.apple.com/kb/PH11145
    OS X Mountain Lion: Reset the printing system
    http://support.apple.com/kb/PH11143
    Cheers,
    - Judy

  • When streaming a movie with the new Apple TV, and using a DSL Internet connection, all audio sound works, e.g., the music track, but the audio track with the actor's voices, does not work. What can I do?

    When streaming a movie with the new Apple TV, and using a DSL Internet connection, all audio sound works, e.g., the music track, but the audio track with the actor's voices, does not work. What can I do?

    Hi Brian,
    Thanks restoring and restarting didn't fix my problem - i have started it fresh and still it doesn't work. Basically I press ONCE on the remote, after the machine has not had any commands for 10 minutes, and the cursor skips from one end of the menu to the other - so I can't choose network or update software etc - I sometimes manage to stop it randomly in the middle of the menu if I press on a command in the middle of the cursor skipping all the menu steps...not sure what the problem is but I have basically not used my brand new apple tv since I bought it for that reason! I should call Apple support I suppose! grrrr hate wasting time with stuff like this!
    Thanks for your help though!
    Pernille

  • There is a problem with my apple watch.it is not working well .There is a problem in its charging .The repairers says that contact to your company and ask them to provide you its software. Please help me.

    There is a problem with my apple watch.it is not working well .There is a problem in its charging .The repairers says that contact to your company and ask them to provide you its software.
    Please help me.

    Please be aware that you are not communicating with Apple when you post in these forums. These are user-to-user support forums, so in almost all cases the only people who will reply to your posts are, like me, your fellow users.
    As to your issue, Apple does not and never has made a wristwatch as such. The only thing close to a watch that they have made was the 6th-generation iPod nano:
    http://support.apple.com/kb/ht1353#iPod_Nano_6G
    which has a clock feature and which some people have worn as a wristwatch. Is that what you mean?
    Message was edited by: varjak paw

  • The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The wid

    Question.
    I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The widget disappear in bloc legend. disparaître. Have you one solution?
    Thank you,
    Loïc

    Accordion or Tabbed panel should to it, with click and open container.
    Please provide site url where this does not work, also if you can provide an example where we can see the exact action then it would help us.
    Thanks,
    Sanjit

  • [svn:fx-trunk] 5019: ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/ AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spa

    Revision: 5019
    Author: [email protected]
    Date: 2009-02-19 13:17:21 -0800 (Thu, 19 Feb 2009)
    Log Message:
    ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spark equivs
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • HT4623 i updated my ipad with ios7 but the keyboard does not work as it should hit the letters it is slow and does not click as it should

    updated my ipad with ios7 but the keyboard does not work its slow when i hit the letters does not click did not do this until i updated anyone can help me on this to fix it

    Settings>General>Reset>Reset All Settings

  • Vine.co can not watch videos on other browsers do not have the problem with firefox firefox there just did not work, delete cookies, history

    vine.co can not watch videos on other browsers do not have the problem with firefox firefox there just did not work, delete cookies, history

    I think this problem may be caused by Yahoo's changes making it incompatible with the klatest version of FireFox.
    This is suddenly affecting many many people who use Firefox and are members of Yahoo Groups. All these people say they themselves changed nothing and have not been locked out before when using Firefox. But suddenly, within the last week, they are.
    What did Mozilla do or what did Yahoo do to cause this problem? I can say that I was not blocking cookies and after trying a number of things to fix it, I went to Yahoo's home page and navigated to my group from here.
    This problem is not anything a user did. Either Firefox is at fault or Yahoo is. I want to know which company is at fault and when they are going to fix it.

  • Problems with compressing  files with right hand click. it does not work.

    Problems with compressing files with right hand click.
    I am using the compress function in the Mac OS (File > Compress XX) from time to time. Today it does not work anymore. OS 10.5.6
    I get a message: The content list cannot be created for compressing.
    I tried it with files and folders and keep getting this message. Anybody any idea as to how to fix this

    Thanks I love my macbook!!!!
    I also got further problems such as copy-paste not working etc.
    so I fixed it just this morning by running Applejack 1.5 and am back up running noticing your post.
    thanks for helping though!

  • Kenwood X991 & iP200 cable with iPod 5th Gen 80GB does NOT work correctly

    I have a conundrum. My wife has the 4th Gen v1.2.1 iPod 30GB which works fine on my Kenwood X991 Head Unit. I recently purchased the "new" 80GB iPod 5th Gen with the latest version "1.0.2" which does NOT work properly. The iTunes software tells me that this 1.0.2 is the latest software.
    When I attach my iPod to my stereo, it states "Reading" for eternity. It DOES play music but only plays Alphabetical Order ONLY. There is no ability to stop, change, fast-forward, reverse, etc....the only thing you can do is click "Source" to change to CD Player or Tuner, etc...
    Does anybody out there know what is going on? I have a request into Kenwood as well. Thanks in advance for all your help!
    -Kingofbytes

    Thanks for the help. It's an iPod Classic then 80GB. The unit plays when plugged in but does not allow searching, or switching songs nor displays as it is supposed to. My wife's 30GB works with no problems. Of note:
    Her 30GB = v1.2.1
    My 80GB = 1.0.2
    Mine is newer by about 6 months. Both are the latest software according to the screen.
    Kenwood has said to "reset the head unit" and "make sure I've got it plugged in properly". I need to try the reset part next but the last statement is funny to me. I can install a head unit, amplifier, re-run all speaker wire, install a Dual 10" subwoofer box, solder and wire tie all connections from a factory unit to a 3rd party Cable manager kit, but I need to "make sure" I know how to plug in an iPod cable.....laughable.

  • Silverlight 5 binding on a property with logic in its setter does not work as expected when debug is attached

    My problem is pretty easy to reproduce.
    I created a project from scratch with a view model.
    As you can see in the setter of "Age" property I have a simple logic.
        public class MainViewModel : INotifyPropertyChanged
                public event PropertyChangedEventHandler PropertyChanged;
                private int age;
                public int Age
                    get
                        return age;
                    set
                        /*Age has to be over 18* - a simple condition in the setter*/
                        age = value;
                        if(age <= 18)
                            age = 18;
                        OnPropertyChanged("Age");
                public MainViewModel(int age)
                    this.Age = age;
                private void OnPropertyChanged(string propertyName)
                    if (this.PropertyChanged != null)
                        PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    In the MainPage.xaml 
         <Grid x:Name="LayoutRoot" Background="White">
                <TextBox 
                    Text="{Binding Path=Age, Mode=TwoWay}" 
                    HorizontalAlignment="Left"
                    Width="100"
                    Height="25"/>
                <TextBlock
                    Text="{Binding Path=Age, Mode=OneWay}"
                    HorizontalAlignment="Right"
                    Width="100"
                    Height="25"/>
            </Grid>
    And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
        public partial class MainPage : UserControl
            private MainViewModel mvm;
            public MainPage()
                InitializeComponent();
                mvm = new MainViewModel(20);
                this.DataContext = mvm;
    I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
    Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
    Case 1: Debugger is attached =>
    TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
    Case 2: Debugger is NOT attached => 
    TextBox value will be "18" and TextBlock value will be "18" - CORRECT
    It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
    Has something changed in SL5 and logic in setters is not allowed anymore?
    Configuration:
    VisualStudio 2010 SP1
    SL 5 Tools 5.1.30214.0
    SL5 sdk 5.0.61118.0
    IE 10
    Thanks!                                       

    Inputting the value and changing it straight away is relatively rare.
    Very few people are now using Silverlight because it's kind of deprecated...
    This is why nobody has reported this.
    I certainly never noticed this problem and I have a number of live Silverlight systems out there.
    Some of which are huge.
    If you want a "fix":
    private void OnPropertyChanged(string propertyName)
    if (this.PropertyChanged != null)
    //PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    Storyboard sb = new Storyboard();
    sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
    sb.Completed += delegate
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    sb.Begin();
    The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • My ipod touch 3g with ios 5.0.1 does not work with the player's car

    ios 5.0.1 update from my ipod touch 3g does not work with various audio players Car pionerr with previous updates had not had problems like I can solve this problem???
    thanks

    I have tried everything and nothing that happened when you upgrade to ios 5.0.1, I want to know if anyone else has had this problem

  • JDK 1.6_07 with Windows: System.out.flush() does not work...

    I wonder if this is a known issue: Since I upgrade the jdk1.6 version to the _07 pack, text IO does not work anymore with WinXP cmd.exe window. Assuming a static import of System.out, I use:
    static void prompt()
      out.print(pr); //pr is a prompt string...
      out.flush();
    }works as usual with Unix/Linux, but with windows nothing will be written to the terminal, until I make at least one input. In that case a barrage of cached prompts appear all at once.
    Do we have a bug for it, can we work around somehow?
    Thomas

    Since this code works correctly in Java 6u10 on Windows XP
    System.out.print("This is the data");
    System.out.flush();You are apparently doing something unusual or wrong. What is "out"?
    Show a small sample program that compiles and exhibits the problem when executed.

Maybe you are looking for

  • JAXRPC package not reading JAXR

    I have my web service & web service client in a package called Dynamic. When I try putting my class that searches the UDDI called SearchByWSDL into it it does not recognize the JAXR functions. I am now trying to import the SearchByWSDL package into t

  • Multiple problems with itunes and ipod touch

    I don't even know where to begin explaining all the problems I've had with itunes and my ipod touch, along with the troubleshooting that I've done to no avail.  Now, I'm totally frustrated.  So, here I am hoping that I can get some help from someone.

  • Can't see my external hard drive?

    I just bought a Western Digital hard drive for back up purposes for my imac (intel based). I plugged it in. It whirrs, it purrs but that's it. I put in the install disk. Well, there's no auto installation file or anything like that I can find. Maybe

  • NWDI in NW2004s- how to start.!!!

    Hi Gurus, I have installed NWDI component in NW2004s with usage type EP. Now I am implementing ESS in EP. What are the steps to be carried out to get NWDI control the software life cycle. For Example : setup cms,cbs and dtr? setup tracks in SLD. how

  • Civ5 is always crashing

    Hello everyone! I've got these messages in journalctl, after witch the game crashes: Aug 03 00:20:23 monster kernel: Civ5XP[15640]: segfault at 4 ip 00000000f5c9c97f sp 00000000f0dd9300 error 4 in libnvidia-glcore.so.340.24[f47b8000+18e9000] I unders