Downloading new content + Performance

A couple of questions:
Are apps built with Packager for IPhone able to download new content and save it to the app directory? eg pictures, text, videos etc?
What kind of performace can be acheived? Can this sort of smoothness be achieved:
http://www.youtube.com/watch?v=1yexxWvPtZI
thanks.

Hi David,
we are in the middle of developing an app that downloads content from to the device for offline viewing, and the performance of the file and filestream api's is pretty good.
The performance of the app in total really depends on how it was developed, and how optimized you can make it.
Greetings,
Kriz

Similar Messages

  • HT1689 I subscribe to my video podcasts but some of them either has a small red E next to them and won't download new content or some just doesn't download new content. I have been watching the Rachael Maddow video podcast for at least a month with no pro

    I subscribe to my video podcasts but some of them either has a small red E next to them and won't download new content or some just doesn't download new content. I have been watching the Rachael Maddow video podcast for at least a month with no problems. Now suddenly it won't download the last nights show. I have read and followed all troubleshoot and cannot find a solution. I have unsubscribed and re-subscribed to no avail. Can someone help me with this problem?

    keian27 wrote:
    And now that my contract has expired, I have some options.  Last weekend, I called Verizon again threatening to leave.  The representative offered the same $75 rebate that was offered to me 6 months earlier.  I even offered up one of my device upgrades in place of a network extender, but that deal was knocked down.  And so now I’m left with the option to make a public spectacle out of this scenario and hope Verizon takes notice.  Failing that, I’ll be forced to leave Verizon behind.
    I don't understand. If having service in your home IS important to you and you already know Verizon's policy, why have you not instead started to search for carriers which cover your home? It seems a pretty easy decision to me, at least.

  • NY Times Application Won't Download New Content

    The New York Times application on my 2nd gen. touch won't download new stories. When I hit the refresh button, the status bar "Downloading Latest News" appears, but it remains at 0%.
    My other apps have no problem connecting to the internet - mail, YouTube, Safari, Joost, etc.
    I've tried uninstalling the app and reinstalling it, restarting and resetting my iPod, and resetting the settings.
    Any suggestions?

    I have the same problem. Wife loves to read the NYT and this was one of the primary reasons I was able to talk her into getting a touch. Have tried resetting the network setting, resetting the app, reinstalling the app, restarting the ipod between all of the above, erasing and resetting the whole ipod. Nothing works.

  • Download ipod content to a new itunes library

    Tired of sharing iTunes with my kids.  How do I download the content from my iPod Classic to a new iTunes library?

    See this thread from another forum member Zevoneer on different ways to copy content from your iPod to your PC.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • HT4914 My pc which I have iTunes on is dead, but all my music is also on my iPad, if I buy a new pc and subscribe to match can I easily download the content back to the new pc

    Hello My pc is dead and all my music is now only on my iPad with no other back up....if I buy a new pc and subscribe to iTunes match, will it let me download the content back to my pc easily ?

    iTunes Match can only be subscibed to, and upload music from, a computer - you won't be able to do it from your iPad.
    You should be able to copy the music back from your iPad to a new computer, and you may find these two pages useful for doing so :
    syncing to a new computer : https://discussions.apple.com/docs/DOC-3141
    recovering content from a device : https://discussions.apple.com/docs/DOC-3991
    Music purchased from iTunes can be copied to a computer's iTunes via File > Devices > Transfer Purchases, and for music from other sources (e.g. copied from CDs) there are some programs listed half-way down that second article that should be able to copy them back.

  • What HTTP caching headers will prevent iPhoto from re-downloading each image in a "Photo Feed" every time it checks the feed for new content?

    I've noticed a practical issue with iPhoto's File->"Subscribe to Photo Feed..." feature.
    Every time that iPhoto checks a subscribed RSS Photo Feed for new content it will re-download each and every photo in the feed.  This occurs even if iPhoto has already downloaded each image, they all have unique GUIDs set, and no content in the feed has changed since the last time it polled for it.
    My best guess is that this happens if the server offering the feed does not produce the proper cache-control parameters in the HTTP Headers that are sent by the server when the RSS feed is accessed by iPhoto.
    Does anyone know what parameter/value pairs need to be set in the HTTP headers to prevent iPhoto from re-downloading RSS enclosures that it already has?
    This is a very practical problem for feeds with a large number of photos of large file size.  Besides the obvious massive waste of bandwidth, the user receives an annoying error whenever they try to quit iPhoto before the feed and all of it's images have been re-downloaded yet again.

    Here is an example of the HTTP headers for two of the images in the feed.
    Any red flags in there that you think might be causing iPhoto to think it needs to re-download the images after it's already downloaded them once?
    HTTP/1.1 200 OK
    Content-Length: 1251893
    Date: Fri, 27 Jan 2012 15:37:49 GMT
    Server: Apache
    Set-Cookie: PHPSESSID=1b9d47ae170ba8c0a088ab7124a1677e; path=/
    Expires: Mon, 24 Jan 2022 15:37:49 GMT
    Cache-Control: max-age=315360000,public
    Pragma: public
    Last-Modified: Thu, 26 Jan 2012 23:34:38 GMT
    Accept-Ranges: none
    Connection: close
    Content-Type: image/jpeg;
    HTTP/1.1 200 OK
    Content-Length: 744151
    Date: Fri, 27 Jan 2012 15:39:01 GMT
    Server: Apache
    Set-Cookie: PHPSESSID=086c112f99ccecc266a47d66d6b47733; path=/
    Expires: Mon, 24 Jan 2022 15:39:01 GMT
    Cache-Control: max-age=315360000,public
    Pragma: public
    Last-Modified: Thu, 26 Jan 2012 02:54:40 GMT
    Accept-Ranges: none
    Connection: close
    Content-Type: image/jpeg;

  • The content download cannot be performed because there is not enough available space in cache or the disk is full.

    I deploy all office package via Application deployment. But many system getting failed due to error "The content download
    cannot be performed because there is not enough available space in cache or the disk is full.".
    I delete the cache old file/folder. Now the cache disk space is available. But still this systems showing same error. And it is not retry also. need help for retry application download if failed due to cache disk.

    You should review what your default client cache size is being set to (default 5GB) and then look at the size of the office content you are trying to deliver.
    If the content of the office application exceeds your maximum client cache size setting then the download and subsequent installation will fail.
    Note that normally the download of applications should overwrite old content in the cache unless you have set them to be persistent, the exception to this is the above case.
    To resolve this you will need to increase the client cache size. There are a few ways to achieve this, you can do this either from the Config Manager console via right click tools or via a script that you can run against your clients. Others might like to
    comment on how best to achieve this (if this is indeed your problem).
    Cheers
    Damon

  • Itunes won;t open and can't download new apps

    Hi guys,
    I've got a huge problem and I hope I can solve it here. I ve got an ipod touch for smth like 2 months and all of sudden, when i connect it to the PC , itunes isn't starting automatically and i have to do it manually, even though until now it did open automatically. Also, a bigger problem is that I can't download new apps and i can;t update the ones i already have... when i try to do it, it just shows the sign of "waiting" and it frozes like this, so i can't use the app anymore... i tried to reset all settings, to reset the network settings, i searched for a lot of answers on the internet, but my problem wasn;t solved. So, if u can please tell me what should I do, considering that i haven;t tried to erase all content and settings and also my itunes is up to date. If i missed a detail you want to know, let me know, i ll answer, but i hope i wrote everything thatwould be useful in giving me an answer. Thank you!!

    I had a similar problem and ran across this old post from ilounge. I am running Win 7 and lost my playlists to the new upgrade. Then my old ipod died before I could hook it up. When I followed this insruction it restored all my songs and playlists (so there was duplication but I got everything back). Might work for you.
    stfusauce1
    Freshman Lounger
    Join Date: Sep 2008
    Posts: 1
    permalink
        I'm running windows XP and seem to have found a partial solution that does not involve vague half assed directions =P
    Open iTunes, go to file, import, and select the latest "Temp" file, I got most of my playlists and songs back that way.
    Edit: This file is in the \My Documents\My Music\iTunes folder  
      Last edited by stfusauce1; 09-16-2008 at 05:57 AM.

  • HT203433 An apple id is already associated with my device ( i signed out of exising id and created a new one) and wont let me associate my device with a new apple id for 85 days. How do i get my new content purchased with new id onto my ipad?

    Hi, can anyone please tell me how I can receive downloads onto my ipad that i have purchased with a new apple id via itunes on my pc? I added a new apple id and signed out of existing one on my ipad and now receive a message saying that i cannot associate a new id for 85 days - and it won't let me download my purchased content onto the ipad even though i can purchase new content on my pc with the new id. The new content shows in my purchases when accessed on my ipad but the message appears when i attempt the download. I have set up the new id on both devices.
    Any suggestions?

    Yes. I have tried that. When I use the ID I had before, it sets it up as a new account and I don't want to lose my stats attached to my old account.
    Let's say that my old nickname was "user10" and I used the email, "[email protected]" for my apple id. I changed my apple id to "[email protected]" and it changed my game center account to "mynew" and somehow I am friends with my old acct, "user10". I tried getting a password reset for "user10" but I apparently don't know my own birthday, which is possible because I usually give a false one, but the same false one each time.

  • IPhone4 sync to new computer does not receive new content

    I have a problem when attempting to change the PC to which my iPhone syncs.
    i) Sync to old laptop fine - picks up music, photos etc.
    ii) Change to a new laptop:
    - authorize this
    - transfer purchases
    - this fails on some apps e.g. BBC News, but not others. So download the failed apps on to the new laptop.
    iii) Setup autosync for some test content - music, podcast, photos and a new app.
    Storage bar at the bottom of iTunes shows what should happen.
    iv) Sync - this gives the warning about using a new library and it'll erase the 'old' content. Select okay.
    v) Sync then removes the old content from the old laptop but does not add the new content from the new laptop. No errors. Storage bar reverts to current status, synced content tabs stay as I selected them (e.g. 77 pictures from a folder are selected in iTunes but no present on the phone).
    Hmmm...
    Tried rebooting everything, tried switching to manual management and back. Nothing seems to work, so I cannot get music back onto the phone.
    Everything else is fine, e.g. backup and syncing google contents etc.
    I understand that the phone will only sync to one iTunes library.
    Anyone have a fix or clue?
    I've never done a restore, so don't know what might be broken thereafter?!

    Answered my own question - sort of (and after some hours)...
    Plenty of other threads refer to the how-to-copy-your-library support pages - in my case, I'd used this to copy an older iPod library to the new laptop and did not copy the iPhone library as well.
    Copying the full library off the old library fixes the problem for the iPhone and I'm now rebuilding the music+podcast library to support the iPod.
    Summary is that you must copy the library for the iPhone from old to new PCs. If you have another i* device, then you may run into the same issue as me...

  • (Current Build: 9841) PC Settings - Preview Builds - Download Now - Failed to download new preview build, please try again later. 0x80246017

    Hey ,
    I hope someone can help.. been trying to upgrade from 9841 to 9860 for the last few days.. and I cant seem to get the preview build download part to work..
    Seems like "80246017 Flight Settings Failure Content Download Error: Download failed" is the main error (more logs below)
    And it doesn't seem like(from other blog posts) there are any manual downloads (ISO, .EXE's) so I'm stuck.
    I know I could possibly do a full "clean" re-install of 9841 and then upgrade to 9860 but I really want to find out why its not working..
    Cheers
    OS Information
    System Model MacBookPro8,2
    Dual Boot (Boot Camp 5.1): SSD 256GB (Part 1: 128GB OSX - Part 2: 128 GB for Win 10 - 36GB Free)
    OS Version 6.4.9841 Build 9841 - Windows 10 Technical Preview (Not Enterprise) - Upgraded from Windows 8.1 Pro (Not a fresh Win 10 install)
    Registry Keys (Not altered):
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability
        BranchName = fbl_release
        ThresholdRiskLevel = low
    Have deleted
    C:\Windows\SoftwareDistribution
    and restarted Windows Update service (Did not seem to fix anything)
    Done a full disk cleanup (including windows.old and deleting the hidden C:\$Windows.~BT  ) 
    Done a "Refresh your PC without affecting your files" (like a re-install). Still no luck =(
    Other Known Issues:
    Had to manually "Activate" Tech Preview via "SLUI 4" (did not activate from 8.1 pro upgrade which was fully activated)
    Errors:
    Event Viewer:
    Fault bucket 90636031462, type 5
    Event Name: WindowsUpdateFailure2
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: 7.9.9841.4
    P2: 80246017
    P3: 40B05ADC-889A-4231-8D8F-08ECAC4877D5
    P4: Download
    P5: 101
    P6: Unmanaged {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782}
    P7: 0
    P8:
    P9:
    P10:
    Attached files:
    C:\Windows\WindowsUpdate.log
    C:\Windows\SoftwareDistribution\ReportingEvents.log
    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_7.9.9841.4_3ae9e0cedd6cb54a2e4f6bdb3aac59589de75a2_00000000_188baf37
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: 15049fa0-5c05-11e4-bf8d-c82a14163a15
    Report Status: 0
    Hashed bucket: fb06acb92fae6660e76e50140079e85a
    C:\windows\WindowsUpdate.log
    2014-10-25 12:56:05:493 1000 1328 AU Number of updates for list 0: 1
    2014-10-25 12:56:05:493 1000 1328 AU   ServiceId = {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782}, UpdateId = {40B05ADC-889A-4231-8D8F-08ECAC4877D5}.2, State = 'Download Failed'
    2014-10-25 15:48:53:524 1000 3c0 AU AU received event of type: 3
    2014-10-25 15:48:53:524 1000 3c0 AU AU received Redetect event for prune-only scan of 117CAB2D-82B1-4B5A-A08C-4D62DBEE7782 service, but skipping since there are no active cached updates
    2014-10-25 15:48:58:528 1000 1444 Report Writing 1 events to event cache.
    2014-10-25 15:48:58:532 1000 1444 Report Created new event cache file at C:\WINDOWS\SoftwareDistribution\EventCache.v2\{4E983ABD-936A-4302-A5C3-5AF90C199EAD}.bin for writing.
    C:\Windows\SoftwareDistribution\ReportingEvents.log
    {1A92C0D7-AD2E-43BA-8077-4FE8B23EF830} 2014-10-25 15:48:53:525+1100 1 147 [AGENT_DETECTION_FINISHED] 101 {00000000-0000-0000-0000-000000000000} 0 0 Flight Settings Success Software Synchronization Windows
    Update Client successfully detected 1 updates.
    {97699AF3-1EFF-46D1-A548-201B63749B39} 2014-10-25 15:48:56:326+1100 1 161 [AGENT_DOWNLOAD_FAILED] 101 {40B05ADC-889A-4231-8D8F-08ECAC4877D5} 2 80246017 Flight Settings Failure Content Download Error:
    Download failed.
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_7.9.9841.4_3ae9e0cedd6cb54a2e4f6bdb3aac59589de75a2_00000000_188baf37
    Version=1
    EventType=WindowsUpdateFailure2
    EventTime=130586873635223877
    Consent=1
    UploadTime=130586873636179832
    ReportIdentifier=15049fa0-5c05-11e4-bf8d-c82a14163a15
    Response.BucketId=fb06acb92fae6660e76e50140079e85a
    Response.BucketTable=5
    Response.LegacyBucketId=90636031462
    Response.type=4
    Sig[0].Name=ClientVersion
    Sig[0].Value=7.9.9841.4
    Sig[1].Name=Win32HResult
    Sig[1].Value=80246017
    Sig[2].Name=UpdateId
    Sig[2].Value=40B05ADC-889A-4231-8D8F-08ECAC4877D5
    Sig[3].Name=Scenario
    Sig[3].Value=Download
    Sig[4].Name=SourceId
    Sig[4].Value=101
    Sig[5].Name=Environment
    Sig[5].Value=Unmanaged {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782}
    Sig[6].Name=LastError
    Sig[6].Value=0
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=6.4.9841.2.0.0.256.48
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=2057
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    FriendlyEventName=Windows Update installation problem
    ConsentKey=WindowsUpdateFailure2
    AppName=Host Process for Windows Services
    AppPath=C:\Windows\System32\svchost.exe
    ReportDescription=A Windows update did not install properly. Sending the following information to Microsoft can help improve the software.
    ApplicationIdentity=00000000000000000000000000000000

    Hi,
    I had this same issue and tried many things to fix it. I finally found a fix with a small registry edit.
    Open command prompt under admin and follow these steps (which I found here: 
    http://answers.microsoft.com/en-us/windows/forum/windows_tp-winipp/error-code-0x80246017-when-trying-to-download-new/b188df4f-8e7a-443a-b584-61c4d59407d8)
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /v "BranchName" /d "fbl_release" /t REG_SZ
    /f
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /v "ThresholdRiskLevel" /d "low" /t REG_SZ /f
    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /v "ThresholdInternal" /f
    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /v "ThresholdOptedIn" /f
    After you have done that open regedit and navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability
    If there is a folder called "recovered from" delete it. Then open up Windows Update in PC settings and go to preview builds and click Check Now
    This worked for me. Hopes it works for you to.

  • Force file download? Content-Disposition?

    Hello,
    I recently started using an X-Serve with OS X 10.4.8 installed.
    This is my media server, and I'm trying to configure it to force a file download dialog when an mp3 file is pulled.
    I used to do this by using an .htaccess file with the following:
    <FilesMatch "*.mp3">
    ForceType application/octet-stream
    Header set Content-Disposition attachment
    </FilesMatch>
    But it doesn't seem to work now.
    Do I have to add a new Content Handler? If so, what do I put to force a file download?
    Thanks very much

    See Oracle Metalink,
    ..Oracle Portal Technical Forum,
    ....Subject: PORTAL - uploading files (file attachments) with file names.
    This message thread outlines javascript code that automatically captures the filename during an upload.

  • SCCM/WSUS 2007 01-2015 Bulletin Patching issue. Some clients patch just fine, some will not download the content.

    Bit new to the admin side, so please excuse some ignorance.
    We have approx 6000 end points.  We setup this months patches and a couple out of cycle ones we noticed.  We are getting a TON of clients that will not patch.  They are getting the defintions but when we attempt to run the advertised
    patches they fail approx 10 seconds later.  However, some servers on the same boundry will patch just fine.  We get the error message in the logs that when the client was told to download the content from the DP, it spits out error that content does
    not exist.  The DPs we believe are having the issues are MPs as well sitting in DMZ.  We have 2 sites configured basically the same, both DP/MPs in DMZ are the ones having the issues.  We have confirmed clients are able to connect anon to the
    DP/MP.  But again, some clients are patching just fine.
    UpdatesDeployment.log has the following warning listed 7 times.
    Not refreshing update presence state as error CI Info status received
    But yet does see that it needs 7 patches.
    EnumerateUpdates for action (UpdateActionInstall) - Total visible updates = 7
    No other logs show any errors on the clients.  I have confirmed the content is avalible on the DP/MP it is reporting too. Obviously though since other clients sitting right next to them work still.
    Any ideas?  Trying to avoid working all weekend.  Thank you!

    We checked every single log on every MP, DP, SS and many clients.  For unknown reasons, deleteing and rebuilding the Jan update list did the trick.

  • Podcasts app not refreshing new content?

    Hi, my podcasts app is not refreshing new content for last 4 days, is anyone else facing the same issue?

    Hello there, ikgandhi.
    The following Knowledge Base article offers up some great steps to review for issues with the Podcasts app for iOS:
    Podcasts app for iOS: Managing subscriptions
    http://support.apple.com/kb/HT6190
    Default settings: From your Home screen, tap Settings and then Podcasts. These settings are shared by all of your podcast subscriptions. These are known as default podcast settings.
    Refresh Every: You can choose how often your iOS device checks for new episodes to your subscriptions. It's set to check every six hours by default.
    Limit Episodes: You can pick how many episodes you see for subscriptions.
    Download Episodes: The latest episodes of your podcasts will download automatically if your iOS device is connected to Wi-Fi.
    Delete Played Episodes: If this is turned on, episodes will delete 24 hours after you finish playing them.
    Use Cellular Data: If your iOS device has a cellular connection, you can allow downloads to use cellular data when Wi-Fi isn't available. This is off by default. Downloads using cellular data are limited to 100MB per episode. If an episode is larger than that, it won't start downloading until you're connected to Wi-Fi.
    Podcast-specific settings: The second place you'll find subscription settings is within the Podcasts app. Tap a podcast subscription under My Podcasts and pull down with one finger to reveal the settings buttons. These settings are unique to each subscription. If you don't change anything here, the podcast subscription will just use the default settings. If you do make changes to a specific subscription’s settings, they'll only apply to that podcast.
    Play: This setting lets you change the order in which a subscription plays. If you're listening to a news style podcast, you may want to set this to play the new episodes first. If the series is more episodic, you may prefer to play oldest to newest.
    Sort Order: This changes the sort order of episodes that appear for a podcast (not its playback order).
    Subscribed: When this is on, new episodes of this podcast will be marked as unplayed as they become available.
    Refresh Every: You can choose how often your iOS device checks for new episodes to your subscriptions. It's set to check every six hours by default.
    Limit Episodes: You can pick how many episodes you see for subscriptions.
    Download Episodes: The latest episodes of your podcasts will download automatically.
    Delete Played Episodes: If this is on, episodes will be deleted 24 hours after you finish playing them unless you've marked them as Saved.
    Inactive subscriptions
    If you do not play or access a subscription within 15 days, your subscription to that podcast will go inactive and you will no longer receive updates to it. As soon as you access the subscription again it will refresh. 
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Program to upload and download table content

    Hi,
    I need to create a program which should upload and download table content from PC and to PC.
    How can i develop this program..Should i use BDC or any function module?
    Ezhil.

    The 2 program requested.....
    Program to Download
    REPORT ztable_download.
    PARAMETERS: table LIKE dd02d-tabname,
                                file(50) LOWER CASE.
    DATA: code(72) OCCURS 10,
                w_code(72),
                prog(8),
                msg(120),
                lin(3),
                wrd(10),
                off(3).
    DATA: BEGIN OF rectest,
          tprec(1) VALUE '0',
          nometab(16),
          utente(20),
          data(10),
          ora(8),
    END OF rectest.
    DATA: BEGIN OF recdett,
          tprec(1) VALUE '1',
          tab LIKE table,
    END OF recdett.
    DATA: BEGIN OF rectot,
        tprec(1) VALUE '2',
        tot(9),
    END OF rectot.
    OPEN DATASET file FOR OUTPUT IN TEXT MODE.
    rectest-nometab = table.
    rectest-utente = sy-uname.
    rectest-data = sy-datum.
    rectest-ora = sy-uzeit.
    TRANSFER rectest TO file.
    APPEND 'PROGRAM SUBPOOL.'  TO code.
    CONCATENATE 'TABLES ' table '.' INTO w_code SEPARATED BY space.
    APPEND w_code TO code.
    APPEND 'FORM DYN1 USING FILE.' TO code.
    CONCATENATE 'SELECT * FROM ' table '.'
    INTO w_code SEPARATED BY space.
    APPEND w_code TO code.
    CONCATENATE 'TRANSFER ' table ' TO FILE.'
    INTO w_code SEPARATED BY space.
    APPEND w_code TO code.
    APPEND 'ENDSELECT.' TO code.
    APPEND 'ENDFORM.' TO code.
    GENERATE SUBROUTINE POOL code NAME prog
    MESSAGE msg LINE lin WORD wrd OFFSET off.
    IF sy-subrc <> 0.
       WRITE: / 'Error during generation in line', lin,
                    / msg,
                    / 'Word:', wrd, 'at offset', off.
    ELSE.
       PERFORM dyn1 IN PROGRAM (prog) USING file.
       WRITE: / 'Esportati ',sy-dbcnt,' records.'.
    ENDIF.
    Program to upload
    REPORT Ztable_upload.
    PARAMETERS: FILE(50) lower case,
                               TEST AS CHECKBOX.
    DATA: CODE(72) OCCURS 10,
                W_CODE(72),
                PROG(8),
                MSG(120),
                LIN(3),
                WRD(10),
                OFF(3).
    DATA: BEGIN OF RECTEST,
          TPREC(1) VALUE '0',
          NOMETAB(16),
          UTENTE(20),
          DATA TYPE D,
          ORA TYPE T,
    END OF RECTEST.
    DATA: BEGIN OF RECTOT,
          TPREC(1) VALUE '2',
          TOT(9),
    END OF RECTOT.
    OPEN DATASET FILE FOR INPUT IN TEXT MODE.
    READ DATASET FILE INTO RECTEST.
    WRITE:/ 'Tabella..:',RECTEST-NOMETAB.
    WRITE:/ 'Utente...:',RECTEST-UTENTE.
    WRITE:/ 'Data.....:',RECTEST-DATA,RECTEST-ORA.
    IF TEST = 'X'.
        APPEND 'PROGRAM SUBPOOL.'  TO CODE.
       CONCATENATE 'TABLES ' RECTEST-NOMETAB '.'
       INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      APPEND 'FORM DYN1 USING FILE.' TO CODE.
      APPEND 'DATA W_COUNT TYPE P.' TO CODE.
      CONCATENATE 'SELECT * FROM' RECTEST-NOMETAB '.'
      INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      CONCATENATE 'DELETE' RECTEST-NOMETAB '.'
      INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      APPEND 'ENDSELECT.' TO CODE.
      APPEND ' DO.' TO CODE.
      CONCATENATE 'READ DATASET FILE INTO' RECTEST-NOMETAB '.'
      INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      APPEND ' IF SY-SUBRC NE 0.' TO CODE.
      APPEND ' EXIT.' TO CODE.
      APPEND ' ENDIF.' TO CODE.
      CONCATENATE ' INSERT ' RECTEST-NOMETAB '.'
      INTO W_CODE SEPARATED BY SPACE.
      APPEND W_CODE TO CODE.
      APPEND 'ADD 1 TO W_COUNT.' TO CODE.
      APPEND 'ENDDO.' TO CODE.
      APPEND ' write: / ''Importati'' ,W_COUNT, ''records''.' TO CODE.
      APPEND 'ENDFORM.' TO CODE.
      GENERATE SUBROUTINE POOL CODE NAME PROG
      MESSAGE MSG LINE LIN WORD WRD OFFSET OFF.
      IF SY-SUBRC <> 0.
         WRITE: / 'Error during generation in line', LIN,
         / MSG,
         / 'Word:', WRD, 'at offset', OFF.
      ELSE.
         PERFORM DYN1 IN PROGRAM (PROG) USING FILE.
      ENDIF.
    ENDIF.
    Edited by: robcom69 on Feb 23, 2010 2:35 PM

Maybe you are looking for

  • How do you remove a contact from favorites on iPad?

    I Added a contact to my favorites by accident and I don't want them in my favorites anymore.

  • Having trouble connecting to your up-date server, I can't.

    Have been trying for weeks to install your up-date that was sent to me and suggested to install. Problem is three fold: 1- I can not get past the pop up screen that states Downloading Firefox and connecting to Firefox server, green bar just keeps run

  • No Photos for picture caller ID

    Hi, I have my contacts setup with their indiviual photos to apear when they call me or when I call them on my 800W, however all of a sudden I dont have any of my contact photos apear on the screen when I get an incoming call or out going call.  I hav

  • ITunes never opens up on my computer

    I recently got a video iPod(30 GB) and tried installing the software. after installing everything iTunes wont open up. I even tried disabling my anti-virus but still nothing happens. does anyone know what i need to do? customer service hasnt been ver

  • Basic Questions about PLD

    Hi, I have three general questions about using print layouts. 1) How to select different layouts depending on the business case (not dependent on the BP): When I want to print an invoice NOT using the default layout, how can I quickly choose another