Files! Can anyone help

Here's my code:
REPORT  ZISTANZS_TRNG_EX9A_CUST.
TABLES KNA1.
DATA: BEGIN OF FS.
      INCLUDE STRUCTURE KNA1.
DATA: END OF FS.
PARAMETERS:    Filename(20) TYPE C OBLIGATORY,
               CusNum       LIKE KNA1-KUNNR OBLIGATORY,
               Name         LIKE KNA1-NAME1 OBLIGATORY,
               SrchTerm     LIKE KNA1-SORTL OBLIGATORY,
               City         LIKE KNA1-ORT01 OBLIGATORY,
               Postal       LIKE KNA1-PSTLZ OBLIGATORY,
               Country      LIKE KNA1-LAND1 OBLIGATORY,
               Language     LIKE KNA1-SPRAS OBLIGATORY.
PARAMETERS:    Create       RADIOBUTTON GROUP G1,
               Append       RADIOBUTTON GROUP G1.
IF Create = 'X'.
    OPEN DATASET Filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    MOVE-CORRESPONDING KNA1 TO FS.
    TRANSFER FS TO Filename.
    WRITE:/ FS-KUNNR.
    CLOSE DATASET Filename.
ENDIF.
What I'm trying to do is get the input of the user from the screen, place them into a field string and place them in a file.
But I keep getting this error, in the TRANSFER STATEMENT.says that "F" has the non character type KNA1? not sure what that means or if what im doing is right or not, Can anyone help

Hi,
Try this..
REPORT ZISTANZS_TRNG_EX9A_CUST.
TABLES KNA1.
DATA: BEGIN OF FS occurs 0.
INCLUDE STRUCTURE KNA1.
DATA: END OF FS.
PARAMETERS: Filename(20) TYPE C OBLIGATORY,
CusNum LIKE KNA1-KUNNR OBLIGATORY,
Name LIKE KNA1-NAME1 OBLIGATORY,
SrchTerm LIKE KNA1-SORTL OBLIGATORY,
City LIKE KNA1-ORT01 OBLIGATORY,
Postal LIKE KNA1-PSTLZ OBLIGATORY,
Country LIKE KNA1-LAND1 OBLIGATORY,
Language LIKE KNA1-SPRAS OBLIGATORY.
PARAMETERS: Create RADIOBUTTON GROUP G1,
Append RADIOBUTTON GROUP G1.
IF Create = 'X'.
select * from kna1 into table FS.
OPEN DATASET Filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
loop at FS.
TRANSFER FS TO Filename.
WRITE:/ FS-KUNNR.
endloop.
CLOSE DATASET Filename.
ENDIF.
What I'm trying to do is get the input of the user from the screen, place them into a field string and place them in a file.
But I keep getting this error, in the TRANSFER STATEMENT.says that "F" has the non character type KNA1? not sure what that means or if what im doing is right or not, Can anyone help
Edited by: Chandrasekhar Jagarlamudi on Jun 13, 2008 12:46 PM

Similar Messages

  • Word has stopped working on my macbook air, i have used it before and powerpoint etc are all still working, but i can no longer open word or word files can anyone help?

    word has stopped working on my macbook air, i have used it before and powerpoint etc are all still working, but i can no longer open word or word files can anyone help?

    Hi Rachel,
    Have you tried reinstalling Microsoft Word? Have you tried reinstalling Office? Have you run any updates recently for Microsoft Office? There was one that came out this week. You may wish to ask this question over at the Microsoft Word forums, there's a good chance you'll get a better answer as well. This forum is primarily designed for the MacBook Air hardware and interoperability with OS X on a MacBook Air.
    http://support.microsoft.com/gp/cp_macoffice2008_master

  • Since having installed Yosemite my adobe acrobat X crashs as soon as I want to open a file, can anyone help on this issue?

    Since having installed Yosemite my adobe acrobat X crashs as soon as I want to open a file, can anyone help on this issue?

    Please try the steps below and let me know if it worked for you
    Delete all the files from following folders:
    [Home]/Library/Application Support/Adobe/SLStore
    [Home]/Library/Application Support/Adobe/SLCache
    And, delete all files from following folder except cache.db
    [Home]/Library/Application Support/Adobe/AdobePCD
    Then launch Acrobat and try to activate and check.
    Regards,
    Rave

  • I have just got a Nikon D810 but CC wont open my raw file, can anyone help me please?

    I have just got a Nikon D810 but CC wont open my raw file, can anyone help me please?

    Ah ok shall try that now, thank you very much for your help

  • Hi I am trying to download the family tree maker that i purchased by email onto my ipad however I keep getting the same thing SAFARI CANNOT DOWNLOAD FILE can anyone help me solve this problem thanks.....bebe

    Hi i am i have any ipad and i am trying to download family tree maker that i purchased online, but all that keeps co ing up is safari cannot download file can anyone help me .....bebe

    I think you are trying to install a computer application to use on an iPad. You can't. They are incompatible pieces of hardware. If you want Family Tree Maker for your iPad, then you need to get that version, if it exists, from the iTunes Store. That download can't be done via Safari.

  • Importing a .3ds file --- Can anyone help please

    Here is a world i have written in java 3d
    I can import a .obj file into this world but i want to import a file called Flipp.3ds but it keeps giving me an error
    Here is the complete class ..... Can anyone help
    Im pretty new to java 3d
    import java.io.*;
    import com.sun.j3d.utils.behaviors.vp.*;
    import java.net.URL;
    import java.net.MalformedURLException;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.awt.*;
    import java.awt.event.*;
    import com.sun.j3d.utils.behaviors.keyboard.*;
    import com.sun.j3d.utils.geometry.*;
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.event.*;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.geometry.*;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.image.*;
    import com.sun.j3d.loaders.objectfile.ObjectFile;
    import com.sun.j3d.loaders.ParsingErrorException;
    import com.sun.j3d.loaders.IncorrectFormatException;
    import com.sun.j3d.loaders.Scene;
    import javax.vecmath.*;
    public class Assign2 extends Frame implements ActionListener {
         protected Canvas3D myCanvas3D = new Canvas3D(null);
         protected Button exitBt = new Button("Exit");
            protected BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
         private boolean spin = true;
         private double creaseAngle = 60.0;
            private String filename;
    // Lights
           * This adds a continuous background sound to the branch group.
           * @param b BranchGroup to add the sound to.
           * @param soundFile String that is the name of the sound file.
         protected void addBackgroundSound (BranchGroup b,String soundFile) {
             //Create a media container to load the file
              MediaContainer droneContainer = new MediaContainer(soundFile);
              //Create the background sound from the media container
              BackgroundSound drone = new BackgroundSound(droneContainer,1.0f);
              //Activate the sound
              drone.setSchedulingBounds(bounds);
              drone.setEnable(true);
              //Set the sound to loop forever
              drone.setLoop(BackgroundSound.INFINITE_LOOPS);
              //Add it to the group
              b.addChild(drone);
          protected void addLights(BranchGroup b) {
              Transform3D dirLightsXfm = new Transform3D();
              dirLightsXfm.set(new Vector3d(-1.5,0.0,0.0));
                       TransformGroup dirLights = new TransformGroup(dirLightsXfm);
              dirLights.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
              dirLights.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
                       // Create a bounds for the background and lights
                     // Set up the global lights
              Color3f ambLightColour = new Color3f(1.0f, 1.0f, 0.4f);
              AmbientLight ambLight = new AmbientLight(ambLightColour);
                     ambLight.setInfluencingBounds(bounds);
                     Color3f dirLightColour = new Color3f(0.0f, 1.0f, 0.0f);
                     Vector3f dirLightDir  = new Vector3f(-1.0f, -1.0f, -1.0f);
                     DirectionalLight dirLight = new DirectionalLight(dirLightColour, dirLightDir);
                     dirLight.setInfluencingBounds(bounds);
              dirLights.addChild(ambLight);
                     dirLights.addChild(dirLight);
            b.addChild(dirLights);
            if (spin)
              {     Transform3D yAxis = new Transform3D();
                   Alpha rotationAlpha = new Alpha(-1, Alpha.INCREASING_ENABLE,
                                                   0, 0,
                                                   1500, 0, 0,
                                                   0, 0, 0);
                   //attach to lights
                   RotationInterpolator rotator =
                        new RotationInterpolator(rotationAlpha, dirLights, yAxis,
                                                   0.0f, (float) Math.PI*2.0f);
                   rotator.setSchedulingBounds(bounds);
                   b.addChild(rotator);
    // Content Branch
          protected BranchGroup buildContentBranch() {
              //Create the appearance for the cube
              Appearance app1 = new Appearance();
                        Appearance app2 = new Appearance();
                      Color3f ambientColour1 = new Color3f(0.0f,0.0f,1.0f);
                        Color3f ambientColour2 = new Color3f(0.0f,0.0f,0.0f);
                        Color3f emissiveColour = new Color3f(0.0f,0.0f,0.0f);
                           Color3f specularColour = new Color3f(1.0f,1.0f,1.0f);
                       Color3f diffuseColour1 = new Color3f(1.0f,1.0f,0.0f);
                        Color3f diffuseColour2 = new Color3f(1.0f,1.0f,0.0f);
                       float shininess = 10.0f;
            app1.setMaterial(new Material(ambientColour1,emissiveColour,diffuseColour1,specularColour,shininess));
              app2.setMaterial(new Material(ambientColour2, emissiveColour,diffuseColour2,specularColour,shininess));
                    //import the object...
              filename = "Flipp.max";
              int flags = ObjectFile.RESIZE;
              ObjectFile f = new ObjectFile(flags,
                     (float)(creaseAngle * Math.PI / 180.0));
                   Scene s = null;
                   try {
                     s = f.load(filename);
                   catch (FileNotFoundException e) {
                     System.err.println(e);
                     System.exit(1);
                   catch (ParsingErrorException e) {
                     System.err.println(e);
                     System.exit(1);
                   catch (IncorrectFormatException e) {
                     System.err.println(e);
                     System.exit(1);
              BranchGroup contentBranch = new BranchGroup();
              addLights(contentBranch);
              //Position the Woman
              Transform3D groupXfm = new Transform3D();
              groupXfm.set(new Vector3d(0.0,0.0,0.0));
            TransformGroup group = new TransformGroup(groupXfm);
            group.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
              group.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
              // Adding to the Content Branch
              group.addChild(s.getSceneGroup());
              contentBranch.addChild(group);
              BoundingSphere movingBounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 300.0);
              BoundingLeaf boundLeaf = new BoundingLeaf(movingBounds);
              KeyNavigatorBehavior keyNav = new KeyNavigatorBehavior(group);
                        keyNav.setSchedulingBounds(movingBounds);
                        group.addChild(keyNav);
              Transform3D floorXfm = new Transform3D();
              floorXfm.set(new Vector3d(0.0,-1.5,-1.4));
            TransformGroup floor = new TransformGroup(floorXfm);
              floor.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
              floor.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
            Box theFloor = new Box(3.0f,0.0f,3.0f,app2);
            floor.addChild(theFloor);
            contentBranch.addChild(floor);
              return contentBranch;
    // View Branch
         protected BranchGroup buildViewBranch(Canvas3D c) {
              BranchGroup viewBranch = new BranchGroup();
              Transform3D viewXfm = new Transform3D();
                     viewXfm.set(new Vector3f(0.0f,0.0f,10.0f));
              TransformGroup viewXfmGroup = new TransformGroup(viewXfm);
              viewXfmGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
              viewXfmGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
              BoundingSphere movingBounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 300.0);
              BoundingLeaf boundLeaf = new BoundingLeaf(movingBounds);
              ViewPlatform myViewPlatform = new ViewPlatform();
              viewXfmGroup.addChild(boundLeaf);
              PhysicalBody myBody = new PhysicalBody();
                PhysicalEnvironment myEnvironment = new PhysicalEnvironment();
              viewXfmGroup.addChild(myViewPlatform);
              viewBranch.addChild(viewXfmGroup);
              View myView = new View();
              myView.addCanvas3D(c);
              myView.attachViewPlatform(myViewPlatform);
                     myView.setPhysicalBody(myBody);
                     myView.setPhysicalEnvironment(myEnvironment);
              return viewBranch;
    // Exit Button - dispose of system
         public void actionPerformed(ActionEvent e) {
                   dispose();
                   System.exit(0);
            public Assign2() {
              VirtualUniverse myUniverse = new VirtualUniverse();
              Locale myLocale = new Locale(myUniverse);
                    myLocale.addBranchGraph(buildViewBranch(myCanvas3D));
                    myLocale.addBranchGraph(buildContentBranch());
              setTitle("John (Sean) Gleeson 100437719");
              setSize(600,600);
              setLayout(new BorderLayout());
              Panel bottom = new Panel();
              bottom.add(exitBt);
                    add(BorderLayout.CENTER, myCanvas3D);
                    add(BorderLayout.SOUTH, bottom);
                    exitBt.addActionListener(this);
                    setVisible(true);
         public static void main(String[] args) {
                      Assign2 demo = new Assign2();
    }Thanks,
    Sean

    You should repost in the 3D forums (just below this one). We are simple 2D folk :)

  • I have done the latest updates on my photoshop, it is version 14.2.1. What I try to open a file from my Nikon D800 camera NEF file, I get a message saying Photoshop cannot open this file.Can anyone help me with this?

    The message says Ïf you are attempting to open a RAW file, make sure you have the latest update installed. I have completed all the latest updates today but still get this message.

    Sorry to hear your Adobe experience has been less than stellar.  I'll try to help...
    1.  Photoshop 14.2.1 is now two releases out of date.  You might want to go to your Creative Cloud application and ask it to install Photoshop CC (2014).  Earlier this year Adobe released 2014.0 as a separate install that can live side by side with 14.2.1.  Then just a few days ago they released 2014.1 as an in-place upgrade to 2014.0.
    2.  You may be able to update Camera Raw directly to version 8.6 by a link from this page:
    Keeping Photoshop Up-To-Date
    Best of luck to you.  Please let us know here if these things help.
    -Noel

  • Can hear, but not see my MPEG-4 files- can anyone help me?

    So I bought a new digital camera- a Casio EXILIM that makes MPEG-4 files. When I try to play one of the MPEG-4 files, I can't seem to get the video to show up on my QT player. I'm using QT 7.0.3, and I can hear the audio portion perfectly, but there is no picture.
    The Casio manual is 7 pages of nothing that helps. Software? You're joking, right? They graciously give a copy of Photo Loader, which seems like it was written in the stone age.
    As far as Quicktime goes, I have the following plug-ins: MPG4-DIVX, MPG4* and MPG4.
    The File comes up as a .AVI file, if that makes any difference.
    Thanks for any advice of help, I appreciate it.
    Wood
    Powerbook G4   Mac OS X (10.3.9)  

    J.A. Yocono,
    The VLC Media PLayer at http://www.videolan.org/vlc/ should play the files for you.
    I use ffmpegX at http://homepage.mac.com/major4/ to convert similar problem files to DV stream video files so they can be used in iMovie/iDVD. (Keep in mind that the files will grow in size from your MPG-4 sizes as DV Stream video is about 13 GB per hour of running time).

  • HT202213 I want to move my iTunes account on my macbook and my wife's iTunes accounts(PC) onto a network hard drive and share the music files, can anyone help?

    help

    Changing the setting as to where to store media will indeed put the media files (but not the rest of the iTunes library files) on the external drive as long as the user also selects to organize the media to the NAS.  If you don't do that, iTunes will only store new media there from that time on.
    I would not recommend keeping only media on the NAS.  As I said, NAS can have issues with iTunes and some of the longest topics I have seen here are how to rebuild a library after for some reason the library file on the Mac computer has lost the link information to the media files stored on a NAS.  Some things such as date added, play count, and ratings are only stored in the library file and may be lost if you have to rebuild your library file.
    I guess for me the only iTunes reason for having a NAS would be to do direct sharing of the library rather than having to use Home Sharing.  Direct sharing of the library intact requires placing all the iTunes files on the NAS. If you're going to do Home Sharing you might as well opt for a a cheaper, more stable, plain external hard drive.

  • Can anyone help me troubleshoot my VPN client issue, DART log attached

    Hi all
    I am having issues connecting with my anyconnect client, version 2.5 running Windows 7 64 bit
    It keeps saying repairing vpn adapter, then encountered an error, there is no AV running, and I have reinstalled it many times
    here is the log files
    Can anyone help ?
    cheers

    Hello, there won't be a specific answer because so many things can cause that error.
    You can try cleaning it...
    http://www.discountofficeitems.com/technology/computer-accessories/cleaning-main tenance/cleaner-maintenance/fellowes-lens-cleaner/p28997.html
    Occasionally a PRAM reset, CMD+Option+p+r will cure it...
    http://docs.info.apple.com/article.html?artnum=2238
    Media is likely the biggest cause, might try burning at a slower speed.
    http://burn-osx.sourceforge.net/Pages/English/home.html

  • Hi. Having trouble viewing a downloaded file from a site. iPad is telling has not got a app to open file ,but have downloaded so many now and none of them are any help. Tried this on my android phone still nothing. Please can anyone help as slowly ma

    HHi having trouble viewing a downloaded file from a site my iPad is telling me I don have a app to open file . And have downloaded loads of apps and still no joy . Have tried this on my android phone to and still nothing. Please can anyone help as slowly going crazy. Thanks tim

    What type of file?  From what site?  What Apps have you downloaded for it?
    Perhaps if you provide details of what you are doing we can provide more precise help.

  • I need to export a photo at around 1meg file size,and dont seem to be able to do it in the presets can anyone help please ,I shoot on a canon 5d

    I need to export a photo at around 1meg file size,and dont seem to be able to do it in the presets can anyone help please ,I shoot on a canon 5d

    I believe Frank is referring to the end use (e.g., for print or on-screen use).
    Until he returns, I can tell you that I ran a quick test using an image from the Aperture 3 training book library which was as follows:
    Camera = Canon EOS 5D Mark II
    Master resolution = 5616 x 3744 (21 MP)
    I was able to export to a JPEG with end file size of 1 MB as follows:
    Export Presets drop-down > select 'Edit' option
    Selected preset name 'JPEG - 50% of Original Size' > change percentage value to 40% > change DPI value to '300' > click OK to set as current default > Export version to desktop.
    The exported JPEG has a resolution of 2246 x 1498 and appears on screen to have the same image quality of the original in Aperture.
    Note - I did not change the default Image Quality slider in the Export Preset dialog (which left it at 10).
    Basically, you will need to play around with the settings until you find the appropriate values to arrive at an image version you want.

  • I have a MacBook Pro, I want to copy Itunes files to an SD card to play in my car, the SD Card doesn't appear in Itunes when I insert it, and I don't know how to convert the files to the correct format, can anyone help?

    I have a MacBook Pro, I want to copy Itunes files to an SD card to play in my car, the SD Card doesn't appear in Itunes when I insert it, and I don't know how to convert the files to the correct format, can anyone help?
    Thank you

    So it seems from reading the COMMAND manual that my first issue is that I used a 16GB SD card, and the manual says it will only recogize up to a 2GB SD card. I did use my MB Air's SD card slot and crated a folder and dragged the music files to it, then to the card. So I am going to get a 2GB card and try that next. Otherwise just stick with the iPOD connected. At least that is 8GB

  • I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    Hello,
    That means it can find the Hard Drive, or can't find the things needed for booting.
    See if DU even sees it.
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • I tried to sync my Macbook Pro photos in iPhoto with my iPod Touch.  I have done this numerous times, but today I got an error message saying the required file cannot be found.  At the same time all of my photos on my iPod vanished.  Can anyone help me?

    I tried to sync my Macbook Pro photos in iPhoto with my iPod Touch.  I have done this numerous times, but today I got an error message saying the required file cannot be found.  At the same time all of my photos on my iPod vanished.  Can anyone help me?

    Try deleting the photo cache from your computer and then re-try the photo sync - the location of the cache, and how to delete it, is on this page http://support.apple.com/kb/TS1314

  • While updating iphone software to 5.0.1, I am getting error message that Iphone cound not be updated because the firmware file is not compatible. Can anyone help me to resolve this issue.

    While updating iphone software to 5.0.1, I am getting error that Iphone could not be updated because the firmware file not compatible.
    Can anyone help me to resolve this issue.

    Using iTunes 10.5.2.11 on a PC running 64 bit Windows 7
    First did a full back up of  iphone using iTunes
    Put iphone into Recovery Mode ( http://support.apple.com/kb/ht1808 ). Erases all user data and settings!
    Disconnected USB cable from iphone
    Powered off iphone by holding down Sleep/Off button until slider appeared, slid to off, waited until screen dark
    Pressed and kept holding Home button while plugging cable back into phone
    I still saw the graphic on the iphone that said to plug into iTunes, so I unplugged and re-plugged cable. (I may have released the Home button too soon)
    Recovery Mode alert came up in iTunes.
    Followed all iTunes prompts to restore phone - it downloaded and sucessfully installed iOS 5.0.1
    iphone did not appear in iTunes due to missing pairing file (that made me nervous)
    iphone was now at factory settings. I followed prompts on iphone screen to start reactivation process
    Eventually the iphone asked if I wanted to restore from a back-up (whew!)
    A window opened in iTunes and I was able to select my previous back-up file for the restore
    A full restore from back-up then occured
    I also allowed a carrier settings update to occur when prompted (not sure that happens in all cases)
    When the restore was done I had to re-enter some passwords, but everything was there
    iOS is now 5.0.1 (9A406). The whole process took about an hour.

Maybe you are looking for