EXPORT IMPORT  STATEMENT NOT WORKING

hI
   I AM USING THE FOLLOWING STATEMENT BUT THE VALUES ARE NOT COMING IN THE TABLE ACTOR_TAB1
SUBMIT ZDISPLAY3 WITH P_MFRNR = P_MFRNR
                   WITH P_GFELD = P_GFELD AND RETURN
IMPORT ACTOR_TAB1 = ACTOR_TAB1 FROM  MEMORY ID 'KAKAL_INS'.
IN REPORT ZDISPLAY3 I AM USING THE FOLLOWING STATEMENT
  EXPORT ACTOR_TAB = ACTOR_TAB TO MEMORY ID 'KAKAL_INS'.
IN INTERNAL TABLE ACTOR_TAB1 VALUE IS NOT COMING CAN ANY BODY TELLY WHY VALUE IS NOT GETTING POPULATED

Hi kota,
1. When u use memory id, make sure of the
following points.
a) The memory id is SAME as the variable name
b) Memory id should be in CAPITAL
c) When u want to import,
the variable name should be same as original one,
and should be declared in the same fashion only.
regards,
amit m.

Similar Messages

  • Export memory statement not working between two methods

    hello all
    i m implementing one BADI MB_MIGO_BADI .this BADI is having 2 methods 1)LINE_MODIFY and 2)PBO_DETAIL.
    the followng is the code in LINE_MODIFY methd
    DATA : c_flag TYPE c .
      TYPES:BEGIN OF tp_ecppa,
            prvsy     TYPE /sapsll/prvsy_spi,
            ecpid     TYPE /sapsll/ecpid_spi,
      END OF tp_ecppa.
      DATA:wl_ecppa TYPE tp_ecppa.
      IF cs_goitem-matnr IS NOT  INITIAL.
       SELECT  prvsy ecpid UP TO 1 ROWS FROM /sapsll/ecppa INTO wl_ecppa WHERE prvsy = cs_goitem-matnr.
       ENDSELECT.
       IF wl_ecppa-ecpid EQ 'DE3203CWIP'.
          c_flag = 'X'.
       ENDIF.
      ENDIF.
    SET PARAMETER ID 'PMEM' FIELD c_flag.
      export c_flag from c_flag  to memory id 'mem1'.
    the following is the code in PBO_DETAIL method
    METHOD IF_EX_MB_MIGO_BADI~PBO_DETAIL.
      IF SY-UNAME = 'E494049' or sy-uname = 'E491754'.
        DATA:C_FLG TYPE C .
        CLEAR C_FLG.
        if gf_class_id eq i_class_id.
    GET PARAMETER ID 'PMEM' FIELD c_FLG.
       Import c_flg to c_flg from memory id 'mem1'.
    IF C_FLG = 'X'.
    E_CPROG = 'ZP1_SCREEN'.
    E_DYNNR = '0001'.
    E_HEADING = 'GTS'.
    ENDIF.
    endif.
    endif.
    free memory id 'PMEM'.
    ENDMETHOD.                    "IF_EX_MB_MIGO_BADI~PBO_DETAIL
    but the new tab is not displayed in MIGO . so i think there is some mistake in  export memory statement .
    so could you please check if i have used export/import statements correctly.

    If problem is rectified, Please mark as answered.
    Sujay

  • Import statement not working

    i created a package named "pkg1", it contains 4 classes named
    1) Base
    2) Subclass1 (extends Base)
    3) Subclass2 (extends Subclass1)
    4) Subclass3 (extends Subclass2)
    now when i try to use the package using
    import pkg1.*
    and in main method, if i write,
    Subclass3 obj = new Subclass3();
    It does not work, error msg says "makes sure Subclass3 is in the correct sub-directory."
    However, when i tried
    import pkg1.Subclass3;
    It worked fine, Why is then import pkg1.* not working??

    I don't think that's going to help.
    Try and see.
    When the java compiler looks for a class
    pkg1.Subclass1 it looks for pkg1\Subclass1.java
    relative to the current directory and
    pkg1\Subclass1.class relative to each directory on
    the classpath.
    When the javac compiler (at least version 1.4) looks for a dependent class, it looks in the Classpath directories. It only looks relative to the current directory if the current directory is in the Classpath. When it looks for a dependent class, it looks for both .java and .class files. If it only finds a .java file or the .java file is newer than a .class file, it will try to compile the file.
    You need to compile from the directory above
    pkg1, in this case (unfortunately) d:\
    This makes it sound like it is a requirement to compile from the directory. It isn't required.

  • Studio export/import button not working.

    To import existing lar file into studio do I need to configure anything ?
    I'm not able to use the export/import even when logged in as admin?

    There are two ways to get to the Manage Pages interface for any community, which is where LAR import/export functionality lives. You can access it by going to the Welcome Menu on the page, and clicking "Manage Pages." If you use this path, you will be unable to import a LAR file, as the application considers you to be "in" that community, and can't overwrite the pages with the LAR you're trying to import. Instead, you'll want to access this page by going to Control Panel -> Communities. For the desired community, click Actions -> Manage Pages. Now you should be able to go to the export/import section and import your LAR.

  • Lucene import statements not working

    I'm new to Tomcat, Lucene, and JSP, so bare with me...
    I just installed all three and Tomcat and JSP are working and Lucene is working. Now I'm trying to get them working together but I don't know where my issue is. I have a sample page I found and it's not working and giving me the following error messages...
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.knowledgebooks.servlet.StartupWorkServlet resolves to a package
    An error occurred at line: 7 in the generated java file
    Only a type can be imported. org.apache.lucene.document.Document resolves to a package
    An error occurred at line: 8 in the generated java file
    Only a type can be imported. org.apache.lucene.search.Searcher resolves to a package
    An error occurred at line: 9 in the generated java file
    Only a type can be imported. org.apache.lucene.search.IndexSearcher resolves to a package
    An error occurred at line: 10 in the generated java file
    Only a type can be imported. org.apache.lucene.analysis.Analyzer resolves to a package
    An error occurred at line: 11 in the generated java file
    Only a type can be imported. org.apache.lucene.analysis.standard.StandardAnalyzer resolves to a package
    An error occurred at line: 14 in the generated java file
    Only a type can be imported. org.apache.lucene.search.Query resolves to a package
    An error occurred at line: 15 in the generated java file
    Only a type can be imported. org.apache.lucene.queryParser.QueryParser resolves to a package
    An error occurred at line: 16 in the generated java file
    Only a type can be imported. org.apache.lucene.search.Hits resolves to a package
    An error occurred at line: 17 in the generated java file
    Only a type can be imported. com.knowledgebooks.API resolves to a packageI'm not even sure where to begin looking. Does anyone have any idea?
    Thanks in advance!

    can you provide me your jsp code? so i can look into and advice you.

  • Export/Import scripts not working

    We're trying to move a portal from one server to another server (different hardware). We haven't been able to successfully complete this process--are there any updated scripts out there from Oracle that make this possible?

    2 questions
    1. Have you tried using the Portal export/import utilities ?
    2. Have you installed Portal and Login server in the target database before attempting 1 above ?
    3. Have you patched the Portal repository to the same patch level as that of the source database Portal Repository?

  • OIM Export/Import fetaure not working

    When I try to click on export feature of OIM I revceive the following error:
    java.lang.NullPointerException
            at com.nexaweb.loader.xMethodInvoker.runInThread(xMethodInvoker.java:54)
            at com.nexaweb.server.api.admin.ServerAdminProxy.getMajorVersion(ServerAdminProxy.java:124)
            at com.nexaweb.loader.LauncherHelper.getMajorVersion(LauncherHelper.java:197)
            at jsp_servlet.__richclientlauncher._jspService(__richclientlauncher.java:449)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:409)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
            at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
            at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
            at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1086)
            at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
            at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
            at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:243)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1198)
            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:416)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
            at com.tfs.oim.webapp.ForwardingLoginFilter.doFilter(ForwardingLoginFilter.java:54)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.NullPointerException
            at com.nexaweb.loader.xMethodInvoker.runInThread(xMethodInvoker.java:54)
            at com.nexaweb.server.api.admin.ServerAdminProxy.getMinorVersion(ServerAdminProxy.java:150)
            at com.nexaweb.loader.LauncherHelper.getMinorVersion(LauncherHelper.java:201)
            at jsp_servlet.__richclientlauncher._jspService(__richclientlauncher.java:449)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:409)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
            at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
            at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
            at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1086)
            at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
            at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
            at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:243)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1198)
            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:416)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
            at com.tfs.oim.webapp.ForwardingLoginFilter.doFilter(ForwardingLoginFilter.java:54)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    java.lang.NullPointerException
            at com.nexaweb.loader.xMethodInvoker.runInThread(xMethodInvoker.java:54)
            at com.nexaweb.server.api.admin.ServerAdminProxy.getBuildNumber(ServerAdminProxy.java:177)
            at com.nexaweb.loader.LauncherHelper.getBuildNumber(LauncherHelper.java:209)
            at jsp_servlet.__richclientlauncher._jspService(__richclientlauncher.java:449)
            at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:409)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
            at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
            at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
            at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1086)
            at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
            at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
            at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:319)
            at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:243)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1198)
            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:416)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
            at com.tfs.oim.webapp.ForwardingLoginFilter.doFilter(ForwardingLoginFilter.java:54)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    CAn you please help me to undetstand the missing to fix this.

    Hi kota,
    1. When u use memory id, make sure of the
    following points.
    a) The memory id is SAME as the variable name
    b) Memory id should be in CAPITAL
    c) When u want to import,
    the variable name should be same as original one,
    and should be declared in the same fashion only.
    regards,
    amit m.

  • Audio CD import is not working the cd is ejected before itunes can read it

    audio CD import is not working the cd is ejected before itunes can read it. Does anyone know how to fix this?
    Lainey

    Does this happen with all cd's or one in particular?
    Reset the SMC http://support.apple.com/kb/HT3964
    Reset the PRAM http://support.apple.com/kb/HT1379
    Try a cleaning disc. You can get them at places like Radio Shack.
    If nothing helps your optical drive has probably failed. You can replace it or purchase an inexpensive external drive. Don't buy the Apple SuperDrive as it won't work with macs that have a built in drive.

  • Export to Excel not Working

    Hi
    I'm using JDeveloper 11g TP4 and in Firefox 3.X export to excel not working
    Regards,
    JavaDeVeLoper

    Java developer,
    Firefox 3.x is not one of the documented supported browsers for 11g TP4 (FF 2.0.x and IE 7 are).
    I'm assuming by "export to excel," you are talking about an adf faces table?
    John

  • Select statement not working

    hi to all,
    I am trying to write use inner joining . here is code
    DATA:tabname LIKE dd02L-tabname,
         table_disc LIKE dd02t-ddtext.
      SELECT  dd02ltabname dd02tddtext INTO (tabname,table_disc)
        FROM dd02l INNER JOIN dd02t on dd02ltabname = dd02ttabname
              WHERE dd02tddlanguage = 'E' AND dd02ltabclass = 'TRANSP'
                                AND dd02L~tabname = 'ZANKI*'.
        endselect.
          write : tabname.
    I also checked in tables dd02t and dd02l for the table zanki* and data available in both table . but here select statement not working .do u have any idea about this. thank you

    Hi,
    I executed the ur inner join conditin by commenting 'z*' it's working fine.
    I think  where condition is not getting satisfied so u r not getting any data.
    Please conform in where condition you need * 'AND'* or OR
    I change decalration as below.
    DATA:tabname    type TABNAME,
          table_disc type AS4TEXT.
    SELECT dd02l~tabname
           dd02t~ddtext  INTO (tabname, table_disc)
    FROM dd02l  INNER JOIN dd02t on dd02l~tabname = dd02t~tabname
    WHERE dd02t~ddlanguage = 'E' AND
          dd02l~tabclass = 'TRANSP'AND
        dd02L~tabname = 'ZANKI*'.
    endselect.
    write : tabname.
    Regards,
    Pravin

  • Export vCard is not working on Chrome; on Chrome Version 40.0.2214.93 m; function works on Mozilaa and IE.

    Export vCard is not working on Chrome; on Chrome Version 40.0.2214.93 m; function works on Mozilaa and IE; is anyone else seeing this same issue?

    Update; my OS is Windows 7 Pro 64-bit v1.08.00.AF B09 SP1.   Same issue reported (by 7 others) at => https://discussions.apple.com/thread/6779059

  • Why is exporting to PDF not working?

    Why is exporting to PDF not working?

    Dear Claudio,
    I know it wasn't much to go on but I got your attention!
    I work for a charity and use a program called "Donor Perfect".
    It has a feature that when you generate a report it gives you the option to export to MSWord, Excel, and PDF.
    Below is the step by step description of what happens.
     After log on ......
         1. Click on Reports
         2. Listings
         3. Report Category(any)
         4. Select Record type(any)
         5. Select report options (any selection filter that fits or Build a filter) and sort order(any)
         6. Enter title (accordingly)
         7. Click on Preview
         8. When next screen opens with report visible - in "Report Print preview" line above report choose PDF icon
         9. Export to PDF window opens
         10. click on Page range-ALL
         11. What to print-All pages in Range
         12. Save as C:\DPW32\dpsumm.pdf
         13. collate
         14. number of copies(1)
         15. Click on "Screen" 
         16. Click on "Display Conversion Status"
         17. Then "OK"
         18. After conversion status reaches "100%" nothing happens -screen does not change!
    Then I minimize DP screen and I go to Start menu 
         1. Click on Start
         2. Then "My Computer"
         3. Local Disk "C"
         4. Dpw32
         5. Look for "dpsumm" file with today's date
         6. Size of file says 0 KB and that's it!!!!
    In previous versions of DP (8 and 9)
    the PDF would open on the screen as soon as the Step 18 was finished, then I could save it with an identifying name to a different folder and use it as an attachment that a Donor could receive by e-mail.
    I hope I can get back to that because now I have to convert to "Word" (Which takes a long time)then from that I have to create PDF from Acrobat. too many steps ..... if I have 20-30 reports it's too cumbersome.
    Waiting for your suggestions,

  • Import/Export statement  not working..

    Hi all,
       I want to export some data from BADI & Import it back in user exit.
    I wrote following line of code in BADI
           export P1 FROM xstr to memory id 'ZABHI'.
    & following line of code in User Exit
          import P1 to xstr FROM memory id 'ZABHI'.
    After export sy-subrc becomes 0 hence export statement is working fine but when aftr import xstr remains blank.(sy-subrc = 4)
    I tried to execute same code in single ztest abap program & it works fine there.
    Thanks in advance.

    hi abhijeet,
    you are most welcome....
    to delete, use
    ** deletes the data to save wastage of memory
    delete from database indx(xy)
      client sy-mandt
      id 'ZABHI'.
    you need to delete it coz, its available to all programs in the R/3
    server via the ID and you don't want anybody to view the data u are
    sending into memory.
    the statement that u used earlier was program specific and hence
    not accessible to the user exit.
    Regards,
    Samson Rodrigues.

  • Why would menu button's active state not work? Regardless if I import PSD button or use menu widget from the widget library.

    I am using Adobe Muse CC (up-to-date) and tried to troubleshoot the following: Menu button's active state is not working, both on preview and after publishing. I tried many ways to place menu-designed buttons myself using photoshop and used widgets library (buttons, compositions, menus,etc.). Lastly, in regards to buttons, one of my menu buttons appear clear and crisp (psd button) and all others are blurry (though designed,saved and imported the same way);what could be the problem? Can anyone help?Thanks.

    That line is for pop up message?You would typically use a tool tip for that.
    The "Accessibility" features are different and I believe you need additional software to take advantage of them:
    http://java.sun.com/j2se/1.5.0/docs/guide/access/index.html

  • Import filesystem not working?

    From what I've read, the fileSystem class (which I need to
    write a data file to disk from a projector) works in Flash CS4 as
    long as you have the AIR runtime (which I do), according to the
    documentation.
    I found quite a bit of sample code, but I can't even get the
    package to load and all of the types and functions and classes are
    undefined.
    Here's my code:
    import flash.filesystem.*;
    function writeFile():void {
    var file:File = File.documentsDirectory;
    file = file.resolvePath("data.txt");
    var fileStream:FileStream = new FileStream();
    fileStream.open(file, FileMode.WRITE);
    // Create string
    var cOutStr:String = "This is output data";
    fileStream.writeUTF(cOutStr);
    fileStream.close();
    When I "test movie" in CS4, it doesn't even make it past the
    "import" statement, which is strange since that library is included
    in the default implicitImports.xml on my installation.
    The errors I get start with:
    1172: Definition flash.filesystem could not be found.
    And continue with expected errors if the library was not
    loaded:
    1120: Access of undefined property File.
    Anyone have any ideas? I can't find filesystem.as in my
    install folders. Perhaps it's somewhere else?
    Or perhaps I misunderstand the documentation and you can't
    use fileSystem in a flash projector with AIR?
    Or is there some setting in Flash I need to adjust to work
    with the library and AIR?
    Please help. I'm on deadline for this project and I don't
    have a clue of any other way of writing a text file to the local
    hard disk. Any assistance greatly appreciated.

    No, I'm not publishing for AIR. I have the AIR runtime and
    the free AIR SDK, but the AIR option on the Publish Dialog is
    disabled and AIR settings on File Menu do not appear as an option.
    I guess I'm pretty lost on this.

Maybe you are looking for