Cant run Native SQL from the New BADI enhancements

I m trying to execute a Native SQL statement from the new BADI enhancement in ECC 6.0. Its very simple piece of code
data: v_count type i.
EXEC SQL.
  SELECT zvbeln
         INTO :v_count
         FROM zvi2d
         WHERE zvbeln = :'0000010476'.
ENDEXEC.
It compiles and runs perfectly fine in a regular program but in the BADI it keeps giving compile error "Field specification missing" on the SELECT zvbeln line.
In general things dont seem to work right at all in this BADI I dont understand what the problem is. This BADI is being used to populate the EDI Segments and gets called asynchronously
Thanks for reading

why would you want to use Native SQL for this, why not just do this:
SELECT zvbeln
INTO v_count
FROM zvi2d
WHERE zvbeln = '0000010476'.
result will be the same.

Similar Messages

  • I used Target mode to transfer files to a new iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and po

    IS THE SITUATION HOPELESS
    I used Target mode to transfer files to a new i7  iMac running Snow Leopard 10.6.8 from an older Dual core Intel machine (EMC 2105) also on 10.6.8. but originally Tiger 10.4. The operation was successful and I ejected the disk icon from the new machine and powered down the old machine. When this was restarted the next day there was a grey screen with flashing Mac symbol alternating with a 'no entry' sign and occasionally a question mark.Keyboard and mouse were unusable so k inserted the original instal disc (No.1 for 10.4. with installer 1.0.4) which came with the machine in 2006 in an attempt to boot from this. The ensuing window said this was not possible and now it cannot be ejected.I have tried everything ! It offers Disk Utility and other options like Terminal but that doesn't work either.I 'repaired disk' and that was pronounced o.k. None of the various keystrokes at start up will work, and the computer will only offer the installer disc continually.The only option would seem to be is to erase the hard drive completely from the disc in the machine.I don't want to do this as there is still material which I need to recover. I think the drive has in some way been corrupted by using it in target mode, and I don't know if there are any other options to try.
              Please tell me how to get this disc to eject !

    Graham Giles wrote:
    Have you seen this type of problem before? I think it could be a serious issue for anyone in a similar position.
    No; but then, I've not had occasion to use TDM. I've been using firerwire drives for over 10 years, both FW400 and FW800, with no issues except a bit of instability using a B&W G3 machine.
    TDM should be safe. Using cautious, manual copying of files from the Target machine to the Host machine should not result in unexpected loss of files or damage to the Target drive's directories. It should behave exactly the same as if it were an external (to the Host) firewire drive.
    •  I don't suppose there is anything I can do to 'put back' lost items from a separate Time Machine drive which has an up to date backup on it.
    There is probably a way to do that - seems to me that's one of the reasons for a Time Machine volume.
    On the other hand, if the Time Machine volume is rigidly linked to the now-absent OS on the original drive, there may be no way to effectively access the files in the TM archive.
    I know that using a cloned drive would work well in this instance.
    I have no experience with Time Machine, so perhaps someone who has will chime in with suggestions.
    With the machine in TDM with the other machine, have you tried running Disk Utility to see if you can effect repairs to the drive?

  • Raw files from the new Nikon D810 will not open with either Photoshop CS5.1 or Lightroom 4.  When will a real Adobe solution be available to work with Raw (NEF) files in their native format, using CS5.1 and LR4?

    Raw files from the new Nikon D810 will not open with either Photoshop CS5.1 or Lightroom 4.  When will a real Adobe solution be available to work with Raw (NEF) files in their native format, using CS5.1 and LR4?

    Clarification: this is a user forum; you are not addressing Adobe here.
    The answer to your question as phrased is: never.
    CS5 is history and it is not longer supported.  There will not be any updates or bug fixes for CS5.
    You need to convert the raw NEF files from your D810 to raw DNGs using the free, standalone Adobe DNG Converter 8.6 RC (beta), the first version ever to support that camera.. 

  • HT4946 i locked my new ipod touch and cant it back open from the computer help.?:(

    i locked my new ipod touch and cant it back open from the computer help.?:

    First:
    - See:       
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with defect cables
    - Try another charging source
    - Inspect the dock connector for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genus Bar of an Apple store.
    Apple Retail Store - Genius Bar
    If you get it to charge then:
    iOS: Device not recognized in iTunes for Windows
    or
    iOS: Device not recognized in iTunes for Mac OS X

  • How do u run office mac on the new imac

    error message says cnnont open application microsoft word because power pc applications are no longer supported  how do i run office mac on the new imac

    Office 2004 probably was the best MS Office ever, works fine on PPC machines, badly enough on intel machines, unusable in Lion.
    Office 2008 was a step back, runs badly on PPC machines, not very good for newer, Intel macs either.
    Office 2011 seems the only rational solution for newer macs running SL and Lion.
    There are free and good solutions, OpenOffice, LibreOffice and NeoOffice, all based on OO language. Apple’s iWork also offers a good solution, may be a little problematic if you currently exchange files with Windows users, mainly if you must keep the original format, including inserted data.
    Summing up:
    - if you frequently / currently exchange data with Windows users, MS Office is the best solution from reasons of comfort
    - if not, any free office quoted above makes its job fairly well
    - iWork is also good, and smoothly integrated with Mac OS X, of course
    If you mainly need word processing, Mellel and / or Nisus are (very) good alternatives, may be tested for 30 days, then decide.
    The offer is, as you may see, rich, richer than in Windows, but this also means, as the French say, l’embarras du choix, difficulty of choosing something!

  • Firefox won't insall into my applications folder. Says can't install because libsmime3.dylib is in use. I am running Mac Os 10.6.7 on a Macbook Pro. I can run firefox okay from the disk image but just won't install into the apps folder.

    My system is a Macbook Pro running Mac Os 10.6.7 with a 2.8 GHz Intel Core 2 duo processor with 4 GB 1067 MHz DDR3 ram. The upgrade downloads fine, but when I try to drag the firefox image onto my appication folder, I get a dialogue box that says...Cannot install application because "libsmime3.dylib" is in use. I can run Firefox fine from the disk image.

    Nope---didn't work. I've owned Macs for about 12 years so although I am brain dead on some things, I do have a working knowledge on most things. I only say that to say this--I did try holding down the mouse and choosing empty trash. It asks if I want to permanently delete what's in there. I say yes--and then I get the same identical message again-----'The operation can't be completed because the item "Firefox 8.0.1.dmg" is in use I can then click stop, or continue.' So apparently that complains the same way it does if I click it up on the menu :)))
    As for item owned by---that's not an issue and isn't coming up. User is not a problem either as I am the only user on this system. There is only ONE file in my trash at the moment at that is this dmg file. Nothing Mac. Nothing owned by anyone other than Firefox. The problem seems to be that the dmg file and the original 4.0 FF file are working in tandem with each other--even though I have already drug the new 8.0 globe into the Apps folder and it updated the FF app with the new stuff. If I could force the dmg file to go away, I would do so, but at every turn the system is telling me it can't be done because it seems to think that dmg file is in use---even though everything is shut down and/or ejected. Hey--I'm getting ready to head out and won't be back till evening. I'll check back in this evening. Thank you again for your help.

  • Running a jar from the command line

    I am trying to run a Jar from the command line. I have a number of classes in a package called "trainnn".
    I put all the classes into a jar
    jar cvf name.jar trainnn\*.classI then creat a file called mainClass.txt with the line (with a blank return line after it, where QueryMatch has the main). This file was placed in the same directory as the package and the jar file
    Main-Class: QueryMatch
    then
    jar cmf mainClass.txt network.jar G:/TrainNN/src/trainnn/QueryMatch.classthis worked fine.....but it is from here I have problems when I try run the jar
    java -jar network.jarbut get this error.
    Exception in thread "main" java.lang.NoClassDefFoundError: QueryMatch
    I cant figure out this error, I have tried specifying the exact path in the mainClass.txt file but that didnt work.
    Any ideas
    Thanks in advance.

    Hi,
    To start a java app in the command line with "java -jar yourJarFile.jar", the jar needs to have a mainfest file "MANIFEST.MF" in a folder called "META-INF". The manifest file would have to contain the name of your starting class, e.g. it could look like thisManifest-Version: 1.0
    Main-Class: com.yourCompany.yourProject.YourClass Hope that helps. Cheers, HJK

  • How can i run application client from the command prompt ?

    Hi,
    I'm new to java & EJB. so can any body tell me the command to run the application client from the command prompt. Here is the code to print hello world:
    /* Remote interface */
    public interface Hello extends javax.ejb.EJBObject
         public String hello() throws      java.rmi.RemoteException;
    /* Home interface */
    public interface HelloHome extends javax.ejb.EJBHome
         Hello create() throws java.rmi.RemoteException, javax.ejb.CreateException;
    /* Stateless session bean class */
    public class HelloBean implements javax.ejb.SessionBean
         private javax.ejb.SessionContext ctx;
         public void ejbCreate(){
              System.out.println("ejbcreate()");
         public void ejbRemove(){
              System.out.println("ejbRemove()");
         public void ejbActivate(){
              System.out.println("ejbActivate()");
         public void ejbPassivate(){
              System.out.println("ejbejbPassivate()");
         public void setSessionContext(javax.ejb.SessionContext ctx){
              this.ctx=ctx;
         public String hello(){
              System.out.println("hello()");
              return "Hello, world!";
    /*Client class */
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Properties;
    public class HelloClient
         public static void main(String[] args) throws Exception{
              Properties props=System.getProperties();
              Context ctx=new InitialContext(props);
              Object obj=ctx.lookup("HelloHome");
              HelloHome home=(HelloHome)javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);
              Hello hello=home.create();
              System.out.println(hello.hello());
              hello.remove();
    I have stored .java files in c:\ejb
    I have successfully created the .class files using javac command in the following directory :
    c:\ejb
    I have also created Helloworld.ear file in c:\ejb using sun application server which contains the following files:
    ejb-jar-ic.jar
    app-client-ic.jar
    sun-j2ee-ri.project
    application.xml
    sun-application.xml
    Manifest.mf
    But the problem is that i'm not able to run the HelloWorld.class file successfully from the command prompt. So please suggest me the comand.
    Thanx in advance.
    Best regards,
    Pankaj

    Hi
    You can run this code from the command prompt in the same way as you run any other simple java program. The only thing is you need to set the Home and Local interfaces in the classpath.And obviously if u had deployed the bean in ur app server container, then its all over.
    And one more thing is that u need to set the provider URL in the InitialContext created in the client program.
    Thanks
    Arun B

  • I am unable to run several iMacros from the commnd line concurrently

    The documentation implies that you can run concurrent iMacros by starting Firefox sessions under different profiles. I have tried this, but if I run Firefox from the command line it only takes note of the -P (profile) option if I am also specifying -no-remote (start in a new process). the problem is that to run an iMacro from the command line you have to start a firefox session first, then wait briefly before making the actual firefox call to your iMacro. So I can start a number of separate Firefox sessions under different profiles OK, but when I try to call my iMacros they might go to any of the sessions, and they just end up all hanging.
    If I start my Firefox sessions then go into them manually, I can start the iMacros one iMacro in each and they run fine concurrently.

    Are these newly purchased films or films purchased in the past that you want to re-download ? The 'check for available downloads' will check for things such as pre-orders that haven't been downloaded yet, and (I think) automatic downloads - it doesn't check for things which you've downloaded in the past but which are no longer in your library. If they are past purchases, then depending upon what country that you are in (films can't be re-downloaded in all countries), and whether they are still in the store (film studios occasionally remove them) then they might show under the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your computer's iTunes for re-downloading.

  • My MacBook Pro is plugged in and running on power from the power adaptor, but the battery isn't charging - what do I do?

    The magnetic charger and port are clear and clean and clicking into place smoothly.
    My Mac has had 2% power for the past few hours but is running on power from the power adaptor.
    But the battery isn't charging - what do I do?
    Thanks!

    Depending on the model of MBP, buy a new battery or take it in for servicing to get a new battery.  You could also try an SMC reset to see if that helps, but your symptoms don't sound like the ones normally solved by a SMC reset.

  • Can you run BBC iPlayer through the new Apple TV?

    Does anyone know a way of running BBC iPlayer on the new Apple TV.  I am guessing one solution would be to stream the Iplayer app from an iPad or Mac over AirPlay but that does seem rather untidy as a solution?

    No one has an Apple TV 3 yet, so no one can categorically answer your question. However one assumes the Apple TV 3 will run iOS5, which currently doesn't have the BBC iPlayer.

  • How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive w

    How do I save and import my bookmarks from another hard drive? When I try to open the installed Firefox on the old drive, it (obviously) opens a browser from the new main drive, free of bookmarks. Is there a way I can save the bookmarks on the old drive without opening a browser?
    The guts of my computer were rearranged and I got a new main hard drive. My old one is still in there and I can get stuff from it, but when I go to the Mozilla folder on the old one, I can't figure out if there's anything I can do to get all my bookmarks from that drive to my new one, where Firefox is newly installed.

    If you open Firefox then Firefox will always use the default profile folder as found via profiles.ini on your system drive.
    You either need to import the file in your current default profile or copy the file to your current profile folder while Firefox is closed.
    Firefox 3 stores the bookmarks and the browser history in [http://kb.mozillazine.org/places.sqlite places.sqlite] and no longer creates an HTML backup by default.
    There are also (five) JSON backups in the bookmarkbackups folder within the Firefox profile folder.
    You can either copy the file places.sqlite to your [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] or import the most recent JSON backup from the bookmarkbackups folder of that old profile.
    See:
    http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See http://kb.mozillazine.org/Profile_folder_-_Firefox
    "Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders.
    See http://kb.mozillazine.org/Show_hidden_files_and_folders
    Go to: Control Panel > Folder Options > "View" tab > under "Hidden files and folders", select "Show hidden files and folders".
    You may want to un-check the box "Hide extensions for known file types" to see the file extensions of all files.

  • When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified

    When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified because it is already in use ??? What am I doing wrong?

    settings -> iTunes & App Store
    click on apple ID listed there
    select Sign Out
    sign in with the proper account
    from then on, when the store ask for your password it should be with the correct ID

  • Has anyone in this Forum had problems with installing and running Adobe apps on the new MacPro?

    Has anyone in this Forum had problems with installing and running Adobe apps on the new MacPro?
    I have been trying to install Photoshop CS6 & CC and Acrobat Pro XI on my Mac Pro (late 2013). I keep getting a 'configuration' error message and wondered if the problem was wide spread.
    TIA,
    Jerry

    Thanks, Martin.
    Good to hear someone has had success. The lack of it here is frustrating and depressing.
    Thanks again,
    Jerry

  • I have signed into a new account on my itunes on my computer. How do I get the music from the new account to be displayed in my library, because I can only see the old accounts music.

    I have signed into a new account on my itunes on my windows computer. How do I get the music from the new account to be displayed in my library if only the old account's music is showing up?

    You can transfer the music purchased from iTunes Store to the computer but not music acquired somewhere else.
    Syncing is one way street, computer to iPhone. You have to use 3rd party tool to transfer music not from iTunes Store to the computer.

Maybe you are looking for