Gaps in Downloads

Christmas Greetings to you all!
One of my Christmas downloads was McCartneys , The Fireman- Electric Arguments, and very nice it is too!
Between track 3 and 4 the sound should be continuous, however i tunes and my 4g nano are both playing a silent gap.
After searching about on here for the past hour and trying various things I cannot resolve this. I have tried the ticking the "part of a gapless album" box for these two tracks to no avail.
First time I've had this issue after many downloads, think there must be a problem with this download as loads of my other stuff has continuing into the other track type credentials and I have never had this hassle.
Be grateful for any thoughts on this.......
Cheers
Har

Thanks for replying.
Looks like I will have to use the report a problem function as I have tried several ways to resolve the "gap" without success. Last few seconds of track 3 are silent then the note continues immediately at start of track 4.
Must be a problem with the download.
Nice album by McCartney and friends though!

Similar Messages

  • Want a gap when downloading

    I am able to insert a gap when burning an album to a CD, but when an album is downloaded from iTunes there is no gap when loaded into my library and my iPod. Is there a way to control this?

    I have a similar, related problem. I have made a playlist with some sound bites in it. Songs following the sound bites are starting before the sound bite is done. Is there a way to insert a gap or somehow delay the song until the sound bite is over? I have done some searching on the support pages and can only find instructions for inserting gaps when burning CDs.
    Anybody have any experience with this?
    Thanks!

  • I have just purchased photoshop elements 13 & premier elements 13 and downloaded both. How do I install them from my download file?

    Both files are in my download folder (forty minute download time for each one|) but I am not sure how to install them. I would like to put a short cut to each one on my desk top.

    A friend called round and showed me which icons to click in the download file. Did it and they installed. It was the gap between downloading and installing that threw me. Usually they follow on. Thank you for your interest. John Smart

  • Downloading table file

    Hi Friends,
    How to download fields, field type, datatype, length, check table, short text from a table to a text or excel file.
    Regards,
    Line

    Hello Line
    Perhaps the following sample report<b> ZUS_SDN_DDIF_FIELDINFO_GET</b> may be useful to you.
    *& Report  ZUS_SDN_DDIF_FIELDINFO_GET
    REPORT  zus_sdn_ddif_fieldinfo_get.
    TYPE-POOLS: abap, truxs.
    DATA:
      gd_filename TYPE string,
      gd_title    TYPE lvc_title,
      gs_layout   TYPE lvc_s_layo,
      gt_data     type TRUXS_T_TEXT_DATA,
      gt_dfies    TYPE ddfields.  " table type of dfies.
    PARAMETERS:
      p_tabnam    TYPE tabname    DEFAULT 'KNB1',
      p_path      TYPE localfile  DEFAULT 'C:temp'.
    START-OF-SELECTION.
      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname              = p_tabnam
    *     FIELDNAME            = ' '
    *     LANGU                = SY-LANGU
    *     LFIELDNAME           = ' '
          all_types            = 'X'
    *     GROUP_NAMES          = ' '
    *     UCLEN                =
    *   IMPORTING
    *     X030L_WA             =
    *     DDOBJTYPE            =
    *     DFIES_WA             =
    *     LINES_DESCR          =
        TABLES
          dfies_tab            = gt_dfies
    *     FIXED_VALUES         =
        EXCEPTIONS
          not_found            = 1
          internal_error       = 2
          OTHERS               = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CONCATENATE 'Meta-Data of table/structure' p_tabnam
        INTO gd_title SEPARATED BY space.
      gs_layout-cwidth_opt = abap_true.
      gs_layout-zebra      = abap_true.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_structure_name = 'DFIES'
          i_grid_title     = gd_title
          is_layout_lvc    = gs_layout
        TABLES
          t_outtab         = gt_dfies
        EXCEPTIONS
          program_error    = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CONCATENATE p_path p_tabnam '.txt' INTO gd_filename.
      CONDENSE gd_filename NO-GAPS.
      " Download as TAB-separated file
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          filename                  = gd_filename
    *      FILETYPE                  = 'ASC'
    *      APPEND                    = SPACE
           write_field_separator     = space  " TAB-separated
    *      HEADER                    = '00'
    *      TRUNC_TRAILING_BLANKS     = SPACE
    *      WRITE_LF                  = 'X'
    *      COL_SELECT                = SPACE
    *      COL_SELECT_MASK           = SPACE
    *      DAT_MODE                  = SPACE
    *      CONFIRM_OVERWRITE         = SPACE
    *      NO_AUTH_CHECK             = SPACE
    *      CODEPAGE                  = SPACE
    *      IGNORE_CERR               = ABAP_TRUE
    *      REPLACEMENT               = '#'
    *      WRITE_BOM                 = SPACE
    *      TRUNC_TRAILING_BLANKS_EOL = 'X'
    *    IMPORTING
    *      FILELENGTH                =
        CHANGING
          data_tab                  = gt_dfies
        EXCEPTIONS
          file_write_error          = 1
          no_batch                  = 2
          gui_refuse_filetransfer   = 3
          invalid_type              = 4
          no_authority              = 5
          unknown_error             = 6
          header_not_allowed        = 7
          separator_not_allowed     = 8
          filesize_not_allowed      = 9
          header_too_long           = 10
          dp_error_create           = 11
          dp_error_send             = 12
          dp_error_write            = 13
          unknown_dp_error          = 14
          access_denied             = 15
          dp_out_of_memory          = 16
          disk_full                 = 17
          dp_timeout                = 18
          file_not_found            = 19
          dataprovider_exception    = 20
          control_flush_error       = 21
          not_supported_by_gui      = 22
          error_no_gui              = 23
          OTHERS                    = 24.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
        EXPORTING
          I_FIELD_SEPERATOR          = ';'
    *     I_LINE_HEADER              =
    *     I_FILENAME                 =
    *     I_APPL_KEEP                = ' '
        TABLES
          i_tab_sap_data             = gt_dfies
        CHANGING
          I_TAB_CONVERTED_DATA       = gt_data  " NOTE: max. 4096 char!!!
        EXCEPTIONS
          CONVERSION_FAILED          = 1
          OTHERS                     = 2.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      REPLACE FIRST OCCURRENCE OF '.txt' IN gd_filename WITH '.csv'.
      " Download as comma-separated file
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          filename                  = gd_filename
    *      FILETYPE                  = 'ASC'
    *      APPEND                    = SPACE
    *      write_field_separator     = space
    *      HEADER                    = '00'
    *      TRUNC_TRAILING_BLANKS     = SPACE
    *      WRITE_LF                  = 'X'
    *      COL_SELECT                = SPACE
    *      COL_SELECT_MASK           = SPACE
    *      DAT_MODE                  = SPACE
    *      CONFIRM_OVERWRITE         = SPACE
    *      NO_AUTH_CHECK             = SPACE
    *      CODEPAGE                  = SPACE
    *      IGNORE_CERR               = ABAP_TRUE
    *      REPLACEMENT               = '#'
    *      WRITE_BOM                 = SPACE
    *      TRUNC_TRAILING_BLANKS_EOL = 'X'
    *    IMPORTING
    *      FILELENGTH                =
        CHANGING
          data_tab                  = gt_data
        EXCEPTIONS
          file_write_error          = 1
          no_batch                  = 2
          gui_refuse_filetransfer   = 3
          invalid_type              = 4
          no_authority              = 5
          unknown_error             = 6
          header_not_allowed        = 7
          separator_not_allowed     = 8
          filesize_not_allowed      = 9
          header_too_long           = 10
          dp_error_create           = 11
          dp_error_send             = 12
          dp_error_write            = 13
          unknown_dp_error          = 14
          access_denied             = 15
          dp_out_of_memory          = 16
          disk_full                 = 17
          dp_timeout                = 18
          file_not_found            = 19
          dataprovider_exception    = 20
          control_flush_error       = 21
          not_supported_by_gui      = 22
          error_no_gui              = 23
          OTHERS                    = 24.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    END-OF-SELECTION.
    Regards
      Uwe

  • Huge difference in Downloads/Trials

    My app has been live for about 10 days now. I am a little perplexed looking at my reports and seeing the number of downloads ratio to actual "trials" be so big. For every 4 people downloading, there is one trial activated.I would have thought this would be closer, and the trials -> purchase ratio would be the big difference.
    I am not getting many contacts regarding installation problems, but did get a few... most of the time it was anti-virus/firewall blocking the license manager.
    Is this typical results for an app?
    Does the report count the download/install of adobe air as well as the app? Would that account for the descrepancy?
    Another question I have is one person requested a refund. Do to the niche nature of my app, I was going to, but I cannot tell if they actually bought it. How do I look up orders to do customer service?
    Thanks,
    Keith

    The results for your application is not typical, but we have seen few successful apps also displaying similar gaps between download and trial numbers. The InMarket reports do count the AIR download number with the app downloads metric.
    Within InMarket documentation there is specific section that explains how you can issue refunds to your users - "To issue a refund to one of your customers who has purchased your application, go to the PayByCash site. Use the tab labeled "Ask a Question" to send a message to the payment support staff. Include your email address, your company name and the name and email address of the customer receiving the refund. You will receive an email when the refund is processed. If you have difficulties using the PayByCash site, send an email directly to PayByCash at: [email protected]"

  • Standard routine to generate PDF format  from Spool

    Hi,
    I have a requirement where I need to pick the Spool for the report and convert that in to PDF later that needs to be stored on Application server.  
    Any early response will be rewarded

    Hi Nikhil,
    See if the following code helps you.
      DATA: num_bytes TYPE i,
       pdf_spoolid LIKE tsp01-rqident,
       job_name LIKE tbtcjob-jobname,
       job_count LIKE tbtcjob-jobcount,
       pdf LIKE tline OCCURS 100 WITH HEADER LINE,
    *give the filename along with the path
       file_name LIKE rlgrap-filename default 'file_name'.
    Get spool requests
      SELECT * FROM tsp01 INTO TABLE tsp01_itab
       WHERE rq0name = 'LIST1S' AND rq2name LIKE 'YOUR_REPORT_NAME%' AND
             rqowner = sy-uname.
      LOOP AT tsp01_itab.
      Convert spool request into PDF file
        CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
             EXPORTING
                  src_spoolid              = tsp01_itab-rqident
                  no_dialog                = 'X'
             IMPORTING
                  pdf_bytecount            = num_bytes
                  pdf_spoolid              = pdf_spoolid
                  btc_jobname              = job_name
                  btc_jobcount             = job_count
             TABLES
                  pdf                      = pdf
             EXCEPTIONS
                  err_no_otf_spooljob      = 1
                  err_no_spooljob          = 2
                  err_no_permission        = 3
                  err_conv_not_possible    = 4
                  err_bad_dstdevice        = 5
                  user_cancelled           = 6
                  err_spoolerror           = 7
                  err_temseerror           = 8
                  err_btcjob_open_failed   = 9
                  err_btcjob_submit_failed = 10
                  err_btcjob_close_failed  = 11.
        CHECK sy-subrc = 0.
        CONDENSE file_name NO-GAPS.
      Download file to application server
        OPEN DATASET file_name FOR OUTPUT IN BINARY MODE.
        LOOP AT pdf.
          TRANSFER pdf TO file_name.
        ENDLOOP.
        CLOSE DATASET file_name. 
      ENDLOOP.
    Reeta.

  • Update:: New OTN Mass Agent Deployment page

    Hello Everyone,
    We have been seeing lot of customers downloading wrong Agent software from the OTN for the respective platforms and then in turn the installation fails.
    So we have revamped the OTN mass agent deployment page and came up with new page(http://www.oracle.com/wocportal/page/wocprod/ver-DRAFT/ocom/technology/software/products/oem/htdocs/agent/test-otn_0.html), which is Live now.
    The new page classifies the Agent software based on the platforms names (32 / 64 bit) and further classifies based on the Agent releases.
    This will leave us with no gap of downloading the wrong agent software for a 32 or 64 bit platform.
    Thanks and Regards
    Akanksha

    I don't know if it is possible to uninstall the agent from the GUI. We don't have the provisioning pack. I guess it may be possible to create a job that would run the installer in silent mode to do an un-install. We have just done them interactively on the target server - going under agent_home/oui/bin & running the installer. Then if there is anything left over from the agent_home, after the installer updates the central inventory file.
    If run the install interactively on the target server, you should get a meaningful error message. I would guess that it sees that the agent already exists from the inventory. You could try launching the installer from the oracle server software home & then remove the "orphaned" agent home.
    Thanks,
    Brian

  • HT3951 I downloaded the album..gap greatest hits,,but when i played the download.the song party train palyed about a minute and then  it went blank.i paid for the whole album,but i didnt get all the songs..how can i resolve this problem.thank you.

    I downloaded the album the gap band greatest hits,but one song didnt play all the way through.the song was party train..i paid for the whole album,but didnt get what i paid for..how can i resolve this problem??

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copy of the track and try redownloading a fresh one. See the following document for instructions:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • 'Gaps' in tunes downloaded from i-tunes

    When I down load from i-tunes onto my new HP laptop the tunes appear to be corrupted. They sound as if the source record has jumped i.e. there are momentary gaps in the sound. Any thoughts?

    First quit iTunes and look in your iTunes folder.
    On Windows, the iTunes folder is in your My Music folder.
    On Mac, the iTunes folder is in your Music folder.
    Follow this path:    iTunes > iTunes Media > Music >
    Here there should be all your music folders. Open the folders containing the music that is not playing. Right click "get info" (mac) or right click "properties" (windows).
    This window will tell you the file type. iTunes will play music in AAC, MP3, and Lossless, etc.
    If the files are .wma you will need to convert them into ACC or MP3 format for it to play on an iPod. In iTunes, highlight the tracks that you want to convert, then on the menu bar, Advanced > Create AAC/MP3 version and the tracks will convert. Delete the old files.
    If the file extenstion is anything like .exe .txt .rar  then you don't have an audio file.

  • When I installed the latest download, I find I cannot get my playlist to download from my printer - it justs " Scunches the wording into a 2inch gap at top of printout - any ideas

    After installing one of latest downloads - I found I cannot get a print out of the C.D. I have downloaded - all I get from my Printer is a list squashed into the top 1 to 2 inches at top of page - making it inpossible to read - any Ideas how to solve ???????????? My Printer is a HP PHOTOSMART 3210

    I suspect we need to await a fix in the next build...
    tt2

  • I just upgraded from IPhoto7 to 9.5. Now I can't open iPhoto without a downloaded tool to bridge the gap bewteen versions. I downloaded the tool and I still get the message "To prepare the library, use the iPhoto Library Upgrader available from Apple."

    I had to upgrade to Mavericks to send off the iCanendars I made in iPhoto. Then I had to upgrade my IPhoto from 7 to 9.5. Now when I go to open iPhoto I get the message "To prepare the library, use the iPhoto Library Upgrader available from Apple."  Well, I installed the Upgrader, but I still get the message and can't open iPhoto.  I have tried restarting the computer, but that didn't help.  How do I get the computer to recognize the Upgrader?

    You may get more replies in the iPhoto forum.
    https://discussions.apple.com/community/ilife/iphoto

  • I'm on ff 3.5.5 for Mac. I've been prompted twice to download latest version. Each time I have dragged the ff icon from applications folder to the dock and all seems ok. But next time I start ff it says I'm on 3.5.5 and should update to latest version!

    There was no "update failed" message
    I wonder whether I'm doing the right thing when I drag to the dock. There's only one ff icon in the applications folder. The first time I was prompted to update it showed that days date next to the icon as if the update was successful. The second time was a few days later but I think it was still the same date next to the icon (25/8/10) I've only just noticed that (on 10/9/10) so can't be sure but I'm sure the second time was around 2nd or 3rd of Sept.
    Also, I am running two versions of ff- one is english, the other is the Italian version. They can't be opened at the same time but they seem to talk to eachother in the background, so to speak, because when I open one after a long gap, it opens with all the history and settings of the other one, right up to the last website I went to. I think I closed both when updating because it prompts you to close all programmes and restart (I think/ remember) so I just clicked ok to that prompt.
    By the way, I got the prompt to update twice for ''BOTH'' the Italian and the English version- so 4 times altogether so it would seem that ff does recognise them as separate but still has problems concluding the update for each separate one respectively.
    Thank you very much if you can help.
    Trapperjohn

    Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
    Trash the current Firefox application to do a clean reinstall.
    Install the new version that you have downloaded.
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • Strange gaps in Header and Footer

    Im getting gaps in the header and footer on some of my pages.  Sometimes the gaps are filled with the background color of the colomn and other times they are the body color which is even weirder.  An example link would be http://www.mojogar.com/pcRepair.aspx .  In IE8 I get a gap on top but not  the bottom.  In Firefox3 the gap is on the bottom and not the top.  ???
    here is the markup page;  (followed by the CSS)
    <%@ Page Language="VB" ContentType="text/html" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/masterOne.dwt.aspx" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="thrColHybHdr.css" rel="stylesheet" type="text/css" /><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .thrColHybHdr #sidebar1, .thrColHybHdr #sidebar2 { padding-top: 30px; }
    .thrColHybHdr #mainContent { zoom: 1; padding-top: 15px; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="thrColHybHdr">
    <div id="container">
      <div id="header">
        <!-- end #header -->
        <div class="fltlft"><img src="images/mojoLogoSmall.png" alt="Mojogar digital design &amp; PC repair" width="172" height="41" border="0" usemap="#Map" />
          <map name="Map" id="Map">
            <area shape="rect" coords="2,2,172,39" href="default.html" target="_self" alt="Mojogar Home" />
          </map>
        </div>
    <div class="fltrt"><!-- InstanceBeginEditable name="HeadRight" -->HeadRight<!-- InstanceEndEditable -->
      </div>
      <div class="MenuVertDiv">
        <ul id="MenuBar2" class="MenuBarHorizontal">
          <li><a class="MenuBarItemSubmenu" href="#">Design</a>
            <ul>
              <li><a href="webDesign.aspx">Website Design</a></li>
              <li><a href="webDev.aspx">Website Development</a></li>
    <li><a href="logo.aspx">Logo Design</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">Animation</a>
            <ul>
              <li><a href="webDev.aspx">Flash Animation</a></li>
    </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">Support</a>
            <ul>
              <li><a href="pcRepair.aspx">PC Repair</a>            </li>
              <li><a href="virus.aspx">Virus</a></li>
              <li><a href="email.aspx">Email</a></li>
              <li><a href="backup.aspx">Data Backup</a></li>
              <li><a href="wireless.aspx">Wireless</a></li>
              <li><a href="software.aspx">Software</a></li>
              <li><a href="hardwareInstall.aspx">Hardware</a></li>
    <li><a href="server.aspx">Server Repair</a></li>
    <li><a href="busConsult.aspx">Consulting</a></li>
            </ul>
          </li>
          <li><a href="contact.aspx">Contact</a></li>
        </ul>
      </div>
    <!-- end header --></div>
      <div class="masterBackground">
      <div id="sidebar2">
        <!-- InstanceBeginEditable name="rightSidebar" -->
      <div id="sidebar2">
        <h4>When your computer is having troubles, have a Professional look over your system to update or repair your operating system, audit the installed programs, and check for viruses and other malware.</h4>
        <!-- end #sidebar2 -->
      </div>
      <!-- InstanceEndEditable -->
        <!-- end #sidebar2 -->
      </div>
      <div id="mainContent">
        <!-- InstanceBeginEditable name="main" -->
      <div id="mainContent">
        <div class="MarginTopZero">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="580" height="300" title="Computer Support">
          <param name="movie" value="images/flash/PCCollage.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <embed src="images/flash/PCCollage.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="580" height="300"></embed>
        </object></div>
        <h2>Don't feel alone when your computer breaks.  Computer problems can leave you in the dark about what is wrong.  Help is a call away.</h2>
        <h4>Our tune-up and repair service consists of the following;</h4>
    <li>Operating system updates</li>
        <h5>Operating system updates help the security of the computer and can add features that the manufacturer has been working on to make the life of the end user easier.  Updates come out as frequently as every couple weeks on some operating systems.</h5>
        <li>Programs audit</li>
        <h5>Many <a href="software.aspx" title="Go to our software page" target="_self">applications</a> get added over time and can slow down the performance of any PC by taking up processor and memory resources, not to mention hard drive space.</h5>
        <li>Security overlook</li>
        <h5><a href="virus.aspx" target="_self">Anti-virus</a> definitions need to be kept up-to-date.  New viruses, spyware, trojans, and malware are always being introduced into the wild (the internet is a jungle).  Anti-virus applications need to be kept updated as well.  Subscriptions to paid providers can lapse and updates can be left behind for months if not years (I've seen it happen).</h5>
        <li>Anti-virus fine tuning</li>
        <h5>Many anti-virus programs are bloated applications and won't stop annoying the user with pop-ups and information.  Many users also never know when and how often their anti-virus is scanning.</h5>
        <li>Browser configuration</li>
        <h5>There are literally hundreds of options in your browsers settings for security and optimization.  Fine stunning these can in some cases increase surfing speed.</h5>  
        <li>Start-up & shut down optimizing</li>
        <h5>If your like most people, your PC never starts up fast enough.  Get a thorough audit of what programs and services are starting with your computer and optimize them to increase speed.</h5>
    <!-- end #mainContent -->
      </div>
      <!-- InstanceEndEditable -->
        <!-- end #mainContent -->
      </div>
      <!-- end masterBackground --></div>
    <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
    <%-- <br class="clearfloat" />
    --%>
       <div id="footer">
        <p>Copyright Mojogar 2010</p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>
    CSS:
    @charset "utf-8";
    body  {
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #9FEE00;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 100%;
    background-color: #333;
    h1 {
    font-size: xx-large;
    color: #000;
    h2 {
    font-size: x-large;
    h3 {
    font-size: large;
    h4 {
    font-size: medium;
    h5 {
    font-size: small;
    h6 {
    font-size: x-small;
    p {
    font-size: xx-small;
    h1, h2 {
    padding-top: 20px;
    padding-right: 10px;
    padding-bottom: 4px;
    padding-left: 10px;
    h3, h4, h5, h6, p {
    padding-top: 3px;
    padding-right: 5px;
    padding-bottom: 3px;
    padding-left: 5px;
    li {
    font-weight: bold;
    ul {
    list-style-type: decimal;
    ol {
    font-weight: bold;
    a {
    a:link {
    color: #FFF;
    a:hover {
    color: #333;
    background-color: #6C8CD5;
    a:active {
    color: #F00;
    a:visited {
    color: #FF4848;
    /* Tips for this Hybrid layout
    1. Since the side columns em-based sizing is based on the user's default font size, you will want to be sure that background graphics in the columns take that into account. Built correctly, this is more accessible for those that need larger font sizes, since the width of the columns remains proportionate. If this is undesirable with your design, simply change the width to a pixel size and be sure to change the margins on the #mainContent div accordingly.
    2. Since the sizing of side columns in this layout are based on the 100% font size in the body element, if you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the column widths will downsize proportionately. You may want to increase their widths, and the size of the #mainContent div's side margins, to compensate for this.
    3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
    4. The #container div is not necessary for this layout at the 100% width. You may want to use it to create faux columns or limit the width of the layout.
    5. It is not neccessary to have the 100% width on the #container div since, by nature, a div takes up 100% of the available space. It is here so that if you want to decrease the size of the overall container - perhaps leaving a bit of margin on each side - this will already be available for adjustment.
    .thrColHybHdr #container {
    width: 780px;
    /*margin: 0 auto;  the auto margins (in conjunction with a width) center the page if needed */
    text-align: left;
    padding: 0px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    .thrColHybHdr #header {
    background-color: #C9F76F;
    height: 100%;
    width: 780px;
    margin: 0px;
    padding: 0px;
    .thrColHybHdr #header h1 {
    margin: 0;
    padding: 0px;
    /* Tips for sidebar1:
    1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
    2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width.
    3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColHybHdr #sidebar1 p" rule.
    .thrColHybHdr #sidebar1 {
    width: 13em;
    border-top-width: thick;
    border-top-style: solid;
    border-top-color: #C06;
    float: left;
    height: auto;
    .thrColHybHdr #sidebar2 {
    width: 200px;
    text-align: center;
    margin: 0px;
    padding: 0px;
    float: right;
    /*.thrColHybHdr #sidebar1 h3, .thrColHybHdr #sidebar1 p, .thrColHybHdr #sidebar2 p, .thrColHybHdr #sidebar2 h3 {
    margin-left: 0px;*/ /* the left and right margin should be given to every element that will be placed in the side columns */
    /* margin-right: 0px;
    /* Tips for mainContent:
    1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
    2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
    3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
    4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
    .thrColHybHdr #mainContent {
    text-align: center;
    margin-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    width: 580px;
    background-color: #2A4480;
    color: #C9F76F;
    padding: 0px;
    .MarginTopZero {
    margin: 0px;
    padding: 0px;
    .busConslt {
    height: 600px;
    width: 800px;
    .idea {
    height: auto;
    width: 100%;
    .thrColHybHdr #footer {
    padding: 0;
    background-color: #C9F76F;
    margin: 0px;
    .thrColHybHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 0px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    color: #000;
    /* Miscellaneous classes for reuse */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    .fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 0px;
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
    height:0;
    #defMainLft {
    width: 49%;
    float: left;
    text-align: center;
    #defMainRt {
    width: 49%;
    float: right;
    text-align: center;
    .absolRgt {
    position: absolute;
    top: 0px;
    right: 0px;
    .relRgt {
    position: relative;
    top: 0px;
    right: 0px;
    .defFull {
    position: relative;
    height: 263px;
    width: 100%;
    border-bottom-width: medium;
    border-bottom-style: solid;
    border-bottom-color: #ff4900;
    .absolLft {
    position: absolute;
    top: 0px;
    left: 0px;
    .defFullTop {
    position: relative;
    width: 600px;
    border-top-width: thick;
    border-top-style: solid;
    border-top-color: #000;
    margin: 0px;
    .tuneUpTop {
    background-color: #000;
    color: #FFF;
    margin: 0px;
    padding: 0px;
    .contactForm {
    width: 470px;
    height: auto;
    left: auto;
    right: auto;
    .borderRight {
    border: medium solid #A62F00;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    .MenuVertDiv {
    margin-bottom: 0px;
    clear: both;
    height: 38px;
    background-color: #A62F00;
    width: 100%;
    .masterBackground {
    background-color: #BF5930;
    margin: 0px;
    padding: 0px;

    Your HTML code contains conditional comments for IE.  Try reducing or removing the extra padding and see if that helps.
    /* place css fixes for all versions of IE in this conditional comment */
    .thrColHybHdr  #sidebar1, .thrColHybHdr #sidebar2 { padding-top: 30px; }
    .thrColHybHdr  #mainContent { zoom: 1; padding-top: 15px; }
    /* the above  proprietary zoom property gives IE the hasLayout it needs to avoid  several bugs */
    </style>
    <![endif]-->
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • To Download file to desktop

    Hi All,
    i have two checkbox options for the output,
    1. create file
    2.create detail report
    If the Create file is checked, then i've to proceed with transfer of file and then show the selection screen data and the no of records transferred.
    If the create Detailed Report is check, then proceed with the ALV display.
    i.e here we should not transfer the file but display only the records and the top of page for the ALV should be displayed
    If the Create file and Detailed report is both checked, the file transfer should occur and then we have to show the ALV output and the top-of-page for ALV only.
    i.e here we should add the no of data transferred, Date and the physical path should be displayed in the top-of-page.
    please tell me how to do.
    REPORT ZPPI0036
    $$----
    $$ Standard routines and definitions
    $$----
    Include ZBSN0001.                      "Report Headers
    Include ZBSN0003.                      "Common Routines
    INCLUDE ZSDN0004.                      "Common Routines
    $$----
    $$ Tables-definitions
    $$----
    TABLES : ZVMATLMOVE,
             T161,
             T001W,
             T024E,
             T156,
             EKKO,
             LFA1,
             TVARV,
             MARA,
             MARC,
             EKPO,
             T024,                                        
             Z_LFA1,                                       
             M_PRCTN.                                      
    $$----
    $$ Internal tables definition
    $$----
                                                      Begin of SIR 090216
    *DATA  I_MATLMOVE LIKE ZVMATLMOVE OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF I_MATLMOVE OCCURS 0,
             MBLNR  TYPE MSEG-MBLNR,
             MJAHR  TYPE MSEG-MBLNR,
             BUDAT  TYPE MKPF-BUDAT,
             ZEILE  TYPE MSEG-ZEILE,
             BWART  TYPE MSEG-BWART,
             MATNR  TYPE MSEG-MATNR,
             WERKS  TYPE MSEG-WERKS,
             LGORT  TYPE MSEG-LGORT,                      
             LIFNR  TYPE MSEG-LIFNR,
             WAERS  TYPE MSEG-WAERS,
             MENGE  TYPE MSEG-MENGE,
             MEINS  TYPE MSEG-MEINS,
             EBELN  TYPE MSEG-EBELN,
             EBELP  TYPE MSEG-EBELP,
             PRCTR  TYPE MSEG-PRCTR,                      
           END OF I_MATLMOVE.
    DATA : BEGIN OF I_OUTPUT OCCURS 0.
              INCLUDE STRUCTURE ZIP1401OUT.
    DATA:  END OF I_OUTPUT.
    DATA: BEGIN OF I_T156 OCCURS 0,
            BWART TYPE T156-BWART,
            SHKZG TYPE T156-SHKZG,
          END   OF I_T156.
    DATA: BEGIN OF I_EKKO OCCURS 0,
            EBELN TYPE EKKO-EBELN,
            BSTYP TYPE EKKO-BSTYP,
            BSART TYPE EKKO-BSART,
            LIFNR TYPE EKKO-LIFNR,
            EKORG TYPE EKKO-EKORG,
            WAERS TYPE EKKO-WAERS,
          END   OF I_EKKO.
    DATA: BEGIN OF I_EKPO OCCURS 0,
            EBELN TYPE EKPO-EBELN,
            EBELP TYPE EKPO-EBELP,
            TXZ01 TYPE EKPO-TXZ01,
            MATKL TYPE EKPO-MATKL,
            MENGE TYPE EKPO-MENGE,
            NETPR TYPE EKPO-NETPR,
            PEINH TYPE EKPO-PEINH,
          KO_PRCTR TYPE EKPO-KO_PRCTR,                    
          END   OF I_EKPO.
    DATA: BEGIN OF I_MARC OCCURS 0,
            MATNR TYPE MARC-MATNR,
            WERKS TYPE MARC-WERKS,
            MAABC TYPE MARC-MAABC,
            EKGRP TYPE MARC-EKGRP,
          END   OF I_MARC.
    DATA: I_MATLMOVE_TMP LIKE I_MATLMOVE OCCURS 0.
    DATA: I_EKKO_TMP     LIKE I_EKKO OCCURS 0.
    DATA: I_EKPO_TMP     LIKE I_EKPO OCCURS 0.
    DATA: I_MARC_TMP     LIKE I_MARC OCCURS 0.
    DATA: BEGIN OF I_MBEW OCCURS 0,
            MATNR TYPE MBEW-MATNR,
            BWKEY TYPE MBEW-BWKEY,
            VPRSV TYPE MBEW-VPRSV,
            VERPR TYPE MBEW-VERPR,
            STPRS TYPE MBEW-STPRS,
          END   OF I_MBEW.
    DATA: BEGIN OF I_T024 OCCURS 0,
            EKGRP TYPE T024-EKGRP,
            EKNAM TYPE T024-EKNAM,
          END   OF I_T024.
    DATA: BEGIN OF I_LFA1 OCCURS 0,
            LIFNR TYPE Z_LFA1-LIFNR,
            NAME1 TYPE Z_LFA1-NAME1,
          END   OF I_LFA1.
    DATA: BEGIN OF I_PRCTN OCCURS 0,
            PRCTR TYPE M_PRCTN-PRCTR,
            MCTXT TYPE M_PRCTN-MCTXT,
          END   OF I_PRCTN.
    $$----
    $$ Variables defintions
    $$----
    DATA  V_FILE_CNT TYPE I.
    DATA  V_LASTRUN_DATE LIKE SY-DATUM.
    data  v_lastrun_time like sy-uzeit.
    data  v_lastrun_time_n_date(30).
    DATA  V_NAME         LIKE TVARV-NAME.
    DATA  V_TEMP1(10)    TYPE P DECIMALS 4.                
    $$----
    $$ Constants definitions
    $$----
    CONSTANTS: C_VPRSV_S(1) TYPE C VALUE 'S',
               C_VPRSV_V(1) TYPE C VALUE 'V',
               C_SHKZG_H(1) TYPE C VALUE 'H'.
            Definitions needed for ALV-grid-processing
    type-pools: slis,
                sscr.
             Variables defintions
    data:      v_restrict      type  sscr_restrict,
               v_assn          type  sscr_***,
               v_opt_list      type  sscr_opt_list.
             ALV types
             Field catalog with field descriptions.
    data:      i_fieldcat_alv    type slis_t_fieldcat_alv,
               i_list_comments   type slis_t_listheader,
               v_list_comments   like line of i_list_comments,
               i_events          type slis_t_event,
             Sort criteria for first list display.
               lt_sort_fieldcat  type slis_t_sortinfo_alv,
               ls_sort_fieldcat  type slis_sortinfo_alv,
               v_layout          type slis_layout_alv,
               v_fieldcat_alv    like line of i_fieldcat_alv,
               v_events          like line of i_events,
               v_repid           like sy-repid,
               v_variant         like disvariant,
               wa_variant        like disvariant,
               wa_variant_save   type c,
               wa_exit           type c,
               wa_repid          like sy-repid.
             Constants definitions
    constants: c_x(1)            type c value 'X',
               c_alv_subtotals_summary type slis_formname
                                 value 'ALV_SUBTOTALS_SUMMARY',
               c_top_of_page     type slis_formname value 'F_TOP_OF_PAGE',
               c_a(1)            type c             value 'A'.
    $$----
    $$ Select-options and parameters
    $$----
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-003.
    SELECT-OPTIONS : S_WERKS FOR T001W-WERKS,
                     S_EKORG FOR T024E-EKORG,
                     S_LIFNR FOR LFA1-LIFNR,
                     S_MATNR FOR MARA-MATNR,
                     S_BWART FOR T156-BWART,
                     S_EBELN FOR EKKO-EBELN,
                     S_BSTYP FOR T161-BSTYP NO INTERVALS,
                     S_BSART FOR T161-BSART NO INTERVALS.
    PARAMETERS:      P_WAERS LIKE T001-WAERS DEFAULT 'USD' OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK E WITH FRAME.
    PARAMETERS: P_FILE AS CHECKBOX,
                P_REPORT AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK E.
    selection-screen begin of block file01 with frame.
    PARAMETERS: P_FILEID(6).
    PARAMETERS: P_LF_01 LIKE FILETEXTCI-FILEINTERN
                        DEFAULT 'Z_IP1401_RECEIPT_EXTRACT',
                P_PF_01 LIKE V_FILENACI-FILEEXTERN.
    selection-screen end of block file01.
    SELECTION-SCREEN BEGIN OF BLOCK DT WITH FRAME.
    selection-screen skip 1.
    SELECTION-SCREEN COMMENT 1(65) TEXT-D00.
    PARAMETERS: P_DATE LIKE SY-DATUM.
    selection-screen skip 1.
    SELECTION-SCREEN END OF BLOCK DT.
    selection-screen begin of block sb with frame.
    selection-screen skip 1.
    selection-screen comment 10(65) text-X00.
    selection-screen skip 1.
    selection-screen comment 10(65) text-X01.
    selection-screen skip 1.
    selection-screen comment 10(65) text-X02.
    selection-screen end of block sb.
    $$----
    $$ initialization.
    $$----
    initialization.
        PERFORM GET_FILE_NAME USING P_LF_01 P_FILEID '' CHANGING P_PF_01.
    $$----
    $$ At Selection-Screen.
    $$----
    At Selection-Screen.
    IF P_FILE IS INITIAL AND P_REPORT IS INITIAL.
        MESSAGE E100.
      endif.
    If not p_lf_01 is initial.
        PERFORM GET_FILE_NAME USING P_LF_01 P_FILEID '' CHANGING P_PF_01.
      endif.
    $$----
    $$ Start-of-selection.
    $$----
    Start-of-selection.
      IF P_FILE = 'X'.
       PERFORM OPEN_DATASETS.
      ENDIF.
      CLEAR V_LASTRUN_DATE.
      CONCATENATE SY-CPROG P_FILEID INTO V_NAME.
      IF P_DATE IS INITIAL.
        PERFORM GET_LASTRUN_DATE.
      ELSE.
        V_LASTRUN_DATE = P_DATE.
      ENDIF.
      PERFORM SELECT_T156.
      PERFORM SELECT_ZVMATLMOVE.
      IF NOT I_MATLMOVE[] IS INITIAL.
        PERFORM SELECT_SUPPORTING_DATA.
        PERFORM PROCESS_DATA.
      ENDIF.
    Prepare the data to display the report as ALV GRID.
      perform process_alv_grid.
    $$----
    $$ End-of-selection.
    $$----
    End-of-selection.
    to change the sorting sequence for the output
      SORT I_OUTPUT BY MATNR BUDAT MJAHR.                   
      IF P_FILE = 'X'.
       PERFORM WRITE_TO_FILE.
      ENDIF.
      IF P_REPORT = 'X'.
      PERFORM WRITE_TO_REPORT.
      ENDIF.
    Perform Close_datasets.
    PERFORM UPDATE_TVARV.
    PERFORM ZSDN0004_PRINT_SELECT_OPTIONS
             USING SY-CPROG ' '.
    PERFORM FINAL_STATS.
    $$----
    $$ Top-of-page.
    $$----
    Top-of-page.
      FORMAT COLOR 2.
      PERFORM ZBSN0001_STANDARD_HEADER USING SPACE SYST-TITLE SPACE SPACE.
      FORMAT COLOR OFF.
    *Top-of-page.
    form f_top_of_page.
      clear  v_list_comments.
      refresh i_list_comments.
      v_list_comments-typ = 'H'.
      move: text-h01 to v_list_comments-info.
      append  v_list_comments  to  i_list_comments .
      clear  v_list_comments .
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary       = i_list_comments
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    endform.                                     "f_top_of_page.
    $$----
    $$ Form Open_Datasets.
    $$----
    *Form Open_Datasets.
      perform open_file using p_pf_01 'OUTPUT   ' 'TEXT  '.
    *Endform.
    $$----
    $$ Form  GET_LASTRUN_DATE
    $$----
    FORM GET_LASTRUN_DATE.
    Get the last run date from TVARV
      SELECT SINGLE LOW FROM TVARV
                        INTO TVARV-LOW
                        WHERE NAME = V_NAME
                          AND TYPE = 'P'
                          AND NUMB = 0.
      IF SY-SUBRC NE 0.
      If it does not exist then a full refresh will be sent
      ELSE.
        V_LASTRUN_DATE = TVARV-LOW+0(8).
      ENDIF.
    ENDFORM.
    $$----
    $$ Form  SELECT_T156
    $$----
    FORM SELECT_T156 .
    Get all of the info on the movement types that will be selected
      SELECT BWART              "Movement Type
             SHKZG              "Debit/Credit Indicator
        FROM T156
        INTO TABLE I_T156
        WHERE BWART IN S_BWART.
    ENDFORM.                    " SELECT_T156
    $$----
    $$ Form  SELECT_ZVMATLMOVE
    $$----
    FORM SELECT_ZVMATLMOVE .
    Get Material Document, Year of Material Doc, Item in Material Doc,
    PO number, PO line item, Posting Date, Movement Type, Plant,
    Purchasing Org, Material Group, Material number, Vendor Id,
    Currency Key, Quantity Recieved, UOM, Storage location from View of
    Material Doc Header and Items to the internal table I_MATLMOVE
      SELECT MBLNR
             MJAHR
             BUDAT
             ZEILE
             BWART                                         
             MATNR
             WERKS
             LGORT                                         
             LIFNR
             WAERS
             MENGE
             MEINS
             EBELN
             EBELP
             PRCTR                                         
        FROM ZVMATLMOVE
        INTO TABLE I_MATLMOVE
       WHERE BUDAT >= V_LASTRUN_DATE
         AND BWART IN S_BWART
         AND MATNR IN S_MATNR
         AND WERKS IN S_WERKS
         AND LIFNR IN S_LIFNR
         AND EBELN IN S_EBELN.
    ENDFORM.                    " SELECT_ZVMATLMOVE
    $$----
    $$ Form  SELECT_SUPPORTING_DATA
    $$----
    FORM SELECT_SUPPORTING_DATA .
      I_MATLMOVE_TMP[] = I_MATLMOVE[].
      SORT I_MATLMOVE_TMP BY EBELN.
      DELETE ADJACENT DUPLICATES FROM I_MATLMOVE_TMP COMPARING EBELN.
    Get Purchasing org, Currency, Account No, Purchasing doc category,
    Purchasing Document Type from Purchasing Document Header table
      SELECT EBELN          "Purchasing Document Number
             BSTYP          "Purchasing document category
             BSART          "Purchasing Document Type
             LIFNR          "Account Number of the Vendor
             EKORG          "Purchasing Organization
             WAERS          "Currency Key
        FROM EKKO
        INTO TABLE I_EKKO
         FOR ALL ENTRIES IN I_MATLMOVE_TMP
       WHERE EBELN = I_MATLMOVE_TMP-EBELN
         AND EKORG IN S_EKORG
         AND BSART IN S_BSART
         AND BSTYP IN S_BSTYP.
      CLEAR   I_MATLMOVE_TMP.
      REFRESH I_MATLMOVE_TMP.
      I_MATLMOVE_TMP[] = I_MATLMOVE[].
      SORT I_MATLMOVE_TMP BY EBELN EBELP.
      DELETE ADJACENT DUPLICATES
                 FROM I_MATLMOVE_TMP COMPARING EBELN EBELP.
    Get the material group and the net price from the PO Line item
      SELECT EBELN            "Purchasing Document Number
             EBELP            "Item Number of Purchasing Document
             TXZ01            "Short text
             MATKL            "Material Group
             MENGE            "Purchase order quantity
             NETPR            "Net price in purchasing document
             PEINH            "Price unit
           KO_PRCTR         "Profit Center                
        FROM EKPO
        INTO TABLE I_EKPO
         FOR ALL ENTRIES IN I_MATLMOVE_TMP
       WHERE EBELN = I_MATLMOVE_TMP-EBELN
         AND EBELP = I_MATLMOVE_TMP-EBELP.
      CLEAR   I_MATLMOVE_TMP.
      REFRESH I_MATLMOVE_TMP.
      I_MATLMOVE_TMP[] = I_MATLMOVE[].
      SORT I_MATLMOVE_TMP BY MATNR WERKS.
      DELETE ADJACENT DUPLICATES
                 FROM I_MATLMOVE_TMP COMPARING MATNR WERKS.
    Get the Purchasing Group from the Plant Data for Material table
      SELECT MATNR            "Material Number
             WERKS            "Plant
             MAABC            "ABC indicator
             EKGRP            "Purchasing Group
        FROM MARC
        INTO TABLE I_MARC
         FOR ALL ENTRIES IN I_MATLMOVE_TMP
       WHERE MATNR = I_MATLMOVE_TMP-MATNR
         AND WERKS = I_MATLMOVE_TMP-WERKS.
    Get the standard price from the Material Valuation table
      SELECT MATNR            "Material Number
             BWKEY            "Valuation area
             VPRSV            "Price Control Indicator
             VERPR            "Moving Average Price
             STPRS            "Standard Price
        FROM MBEW
        INTO TABLE I_MBEW
         FOR ALL ENTRIES IN I_MATLMOVE_TMP
       WHERE MATNR = I_MATLMOVE_TMP-MATNR
         AND BWKEY = I_MATLMOVE_TMP-WERKS.
      IF NOT I_MARC[] IS INITIAL.
        I_MARC_TMP[] = I_MARC[].
        SORT I_MARC_TMP BY EKGRP.
        DELETE ADJACENT DUPLICATES
                   FROM I_MARC_TMP COMPARING EKGRP.
      Get the Buyer name from the purchasing groups table
        SELECT EKGRP            "Purchasing Group
               EKNAM            "Description of purchasing group
          FROM T024
          INTO TABLE I_T024
           FOR ALL ENTRIES IN I_MARC_TMP
         WHERE EKGRP = I_MARC_TMP-EKGRP.
      ENDIF.
      IF NOT I_EKKO[] IS INITIAL.
        I_EKKO_TMP[] = I_EKKO[].
        SORT I_EKKO_TMP BY LIFNR.
        DELETE ADJACENT DUPLICATES
                   FROM I_EKKO_TMP COMPARING LIFNR.
      Get the Vendor name from the Vendor Master (General Data subset)
        SELECT LIFNR            "Account Number of Vendor or Creditor
               NAME1            "Name 1
          FROM Z_LFA1
          INTO TABLE I_LFA1
           FOR ALL ENTRIES IN I_EKKO_TMP
         WHERE LIFNR = I_EKKO_TMP-LIFNR.
      ENDIF.
    IF NOT I_EKPO[] IS INITIAL.
       I_EKPO_TMP[] = I_EKPO[].
       SORT I_EKPO_TMP BY KO_PRCTR.
       DELETE ADJACENT DUPLICATES
                  FROM I_EKPO_TMP COMPARING KO_PRCTR.
        I_MATLMOVE_TMP[] = I_MATLMOVE[].
        SORT I_MATLMOVE_TMP BY PRCTR.
        DELETE ADJACENT DUPLICATES
                   FROM I_MATLMOVE_TMP COMPARING PRCTR.
                                                        End of SIR 301081
      Get the Profit center name from the Generated view for matchcodeID
      PRCT-N
        SELECT PRCTR            "Profit Center
               MCTXT            "Search term for matchcode search
          FROM M_PRCTN
          INTO TABLE I_PRCTN
         FOR ALL ENTRIES IN I_EKPO_TMP                  
       WHERE PRCTR = I_EKPO_TMP-KO_PRCTR.               
           FOR ALL ENTRIES IN I_MATLMOVE_TMP              
         WHERE PRCTR = I_MATLMOVE_TMP-PRCTR.              
    ENDIF.                                             
      CLEAR: I_MATLMOVE_TMP,
             I_EKKO_TMP,
             I_EKPO_TMP,
             I_MARC_TMP.
      REFRESH: I_MATLMOVE_TMP,
               I_EKKO_TMP,
               I_EKPO_TMP,
               I_MARC_TMP.
    ENDFORM.                    " SELECT_SUPPORTING_DATA
    $$----
    $$ Form  PROCESS_DATA
    $$----
    FORM PROCESS_DATA .
      SORT I_EKKO  BY EBELN.
      SORT I_MARC  BY MATNR WERKS.
      SORT I_EKPO  BY EBELN EBELP.
      SORT I_MBEW  BY MATNR BWKEY.
      SORT I_T024  BY EKGRP.
      SORT I_LFA1  BY LIFNR.
      SORT I_PRCTN BY PRCTR.
    Loop the internal I_MATLMOVE and move the corresponding values to
    the internal table I_OUTPUT
      LOOP AT I_MATLMOVE.
        CLEAR V_TEMP1.
      Move the Purchasing document category, Purchasing Document Type,
      Account Number of the Vendor , Purchasing Organization from table
      Purchasing Document Header to the internal table I_OUTPUT
        CLEAR I_EKKO.
        READ TABLE I_EKKO WITH KEY EBELN = I_MATLMOVE-EBELN
                                   BINARY SEARCH.
        IF SY-SUBRC EQ 0.
          I_OUTPUT-BSTYP    = I_EKKO-BSTYP.
          I_OUTPUT-BSART    = I_EKKO-BSART.
          I_OUTPUT-LIFNR    = I_EKKO-LIFNR.
          I_OUTPUT-EKORG    = I_EKKO-EKORG.
        Move the Vendor name from view Vendor Master(General Data subset)
        to the internal table I_OUTPUT
          CLEAR I_LFA1.
          READ TABLE I_LFA1 WITH KEY LIFNR = I_EKKO-LIFNR
                                     BINARY SEARCH.
          IF SY-SUBRC EQ 0.
            I_OUTPUT-LIFNR1 = I_LFA1-LIFNR.
            I_OUTPUT-NAME1  = I_LFA1-NAME1.
          ENDIF.
        ENDIF.
      Move the ABC indicator,Purchasing Group from table Plant Data for
      Material to the internal table I_OUTPUT
        CLEAR I_MARC.
        READ TABLE I_MARC WITH KEY MATNR = I_MATLMOVE-MATNR
                                   WERKS = I_MATLMOVE-WERKS
                                   BINARY SEARCH.
        IF SY-SUBRC EQ 0.
          I_OUTPUT-MAABC   = I_MARC-MAABC.
          I_OUTPUT-EKGRP   = I_MARC-EKGRP.
        Move the Buyer name from table Purchasing Group into the internal
        table I_OUTPUT
          CLEAR I_T024.
          READ TABLE I_T024 WITH KEY EKGRP = I_MARC-EKGRP
                                     BINARY SEARCH.
          IF SY-SUBRC EQ 0.
            I_OUTPUT-EKNAM = I_T024-EKNAM.
          ENDIF.
        ENDIF.
      Move the Material Description, Material Group, Purchase order qty,
      Net price in purchasing doc, Profit Center from the table
      Purchasing Document Item to the internal table I_OUTPUT
        CLEAR I_EKPO.
        READ TABLE I_EKPO WITH KEY EBELN = I_MATLMOVE-EBELN
                                   EBELP = I_MATLMOVE-EBELP
                                   BINARY SEARCH.
        IF SY-SUBRC EQ 0.
          I_OUTPUT-TXZ01    = I_EKPO-TXZ01.
          I_OUTPUT-MATKL    = I_EKPO-MATKL.
          I_OUTPUT-MENGE1   = I_EKPO-MENGE.
        I_OUTPUT-KO_PRCTR = I_EKPO-KO_PRCTR.            
        Convert to the currency of the input parameter
          PERFORM CONVERT_CURRENCY USING I_EKKO-WAERS
                                         P_WAERS
                                         I_EKPO-NETPR
                                CHANGING I_EKPO-NETPR.
          V_TEMP1 = I_EKPO-NETPR / I_EKPO-PEINH.
        Deleting commas to the purchase order quantity
          IF I_OUTPUT-MENGE1 IS NOT INITIAL.
            PERFORM DELETE_COMMAS CHANGING I_OUTPUT-MENGE1.
            SHIFT I_OUTPUT-MENGE1 RIGHT CIRCULAR.
            CONDENSE I_OUTPUT-MENGE1 NO-GAPS.
            SHIFT I_OUTPUT-MENGE1 RIGHT DELETING TRAILING SPACE.
          ENDIF.
        Move the Profit Center name (text) from Generated view for
        matchcode ID PRCT-N to the internal table I_OUTPUT
          CLEAR I_PRCTN.
                                                      Begin of SIR 301081
        READ TABLE I_PRCTN WITH KEY PRCTR = I_EKPO-KO_PRCTR
                                    BINARY SEARCH.
          READ TABLE I_PRCTN WITH KEY PRCTR = I_MATLMOVE-PRCTR
                                      BINARY SEARCH.
                                                        End of SIR 301081
          IF SY-SUBRC EQ 0.
            I_OUTPUT-MCTXT = I_PRCTN-MCTXT.
          ENDIF.
        ENDIF.
      Move the Standard Price from table Material Valuation to the
      internal table I_OUTPUT
        CLEAR I_MBEW.
        READ TABLE I_MBEW WITH KEY MATNR = I_MATLMOVE-MATNR
                                   BWKEY = I_MATLMOVE-WERKS
                                   BINARY SEARCH.
        IF SY-SUBRC EQ 0.
        To check the Price control indicator
        S for Standard Price
        V for Moving price
          IF I_MBEW-VPRSV EQ C_VPRSV_S.
          Convert to the currency of the input parameter
            PERFORM CONVERT_CURRENCY USING I_EKKO-WAERS
                                           P_WAERS
                                           I_MBEW-STPRS
                                  CHANGING I_MBEW-STPRS.
            I_OUTPUT-STPRS = I_MBEW-STPRS.
          ELSEIF I_MBEW-VPRSV EQ C_VPRSV_V.
          Convert to the currency of the input parameter
            PERFORM CONVERT_CURRENCY USING I_EKKO-WAERS
                                           P_WAERS
                                           I_MBEW-VERPR
                                  CHANGING I_MBEW-VERPR.
            I_OUTPUT-STPRS = I_MBEW-VERPR.
          ENDIF.
        ENDIF.
      Move the PO number, Material Document, Year of Material Doc,
      Item in Material Doc, PO line item, Plant, Material Number,
      Vendor Id, UOM, Currency Key, Movement Type, Storage location,
      Profit Center from view View of Material Doc Header and Items
      to the internal table I_OUTPUT
        I_OUTPUT-EBELN = I_MATLMOVE-EBELN.
        I_OUTPUT-MBLNR = I_MATLMOVE-MBLNR.
        I_OUTPUT-MJAHR = I_MATLMOVE-MJAHR.
        I_OUTPUT-ZEILE = I_MATLMOVE-ZEILE.
        I_OUTPUT-EBELP = I_MATLMOVE-EBELP.
        I_OUTPUT-WERKS = I_MATLMOVE-WERKS.
        I_OUTPUT-MATNR = I_MATLMOVE-MATNR.
        I_OUTPUT-LIFNR = I_MATLMOVE-LIFNR.
        I_OUTPUT-MEINS = I_MATLMOVE-MEINS.
        I_OUTPUT-WAERS = P_WAERS.
        I_OUTPUT-BWART = I_MATLMOVE-BWART.
        I_OUTPUT-LGORT = I_MATLMOVE-LGORT.
        I_OUTPUT-KO_PRCTR = I_MATLMOVE-PRCTR.              
        WRITE I_MATLMOVE-BUDAT TO I_OUTPUT-BUDAT.
      Multiply amt and qty by -1 if the movement type is a credit
        CLEAR I_T156.
        READ TABLE I_T156 WITH KEY BWART = I_MATLMOVE-BWART.
        IF I_T156-SHKZG = C_SHKZG_H.
          V_TEMP1 = V_TEMP1 * -1.
          I_MATLMOVE-MENGE = I_MATLMOVE-MENGE * -1.
          WRITE I_MATLMOVE-MENGE TO I_OUTPUT-MENGE UNIT I_MATLMOVE-MEINS.
          PERFORM DELETE_COMMAS CHANGING I_OUTPUT-MENGE.
          SHIFT I_OUTPUT-MENGE RIGHT CIRCULAR.
          CONDENSE I_OUTPUT-MENGE NO-GAPS.
          SHIFT I_OUTPUT-MENGE RIGHT DELETING TRAILING SPACE.
        ELSE.
          WRITE I_MATLMOVE-MENGE TO I_OUTPUT-MENGE UNIT I_MATLMOVE-MEINS.
          PERFORM DELETE_COMMAS CHANGING I_OUTPUT-MENGE.
        ENDIF.
      Formatting the PO unit price
        I_OUTPUT-NETPR = V_TEMP1.
        SHIFT I_OUTPUT-NETPR RIGHT CIRCULAR.
        CONDENSE I_OUTPUT-NETPR NO-GAPS.
        SHIFT I_OUTPUT-NETPR RIGHT DELETING TRAILING SPACE.
        APPEND I_OUTPUT.
        CLEAR I_OUTPUT.
      ENDLOOP.
    ENDFORM.                    " PROCESS_DATA
    $$----
    $$ Form  WRITE_TO_FILE
    $$----
    *FORM WRITE_TO_FILE.
    LOOP AT I_OUTPUT.
       V_FILE_CNT = V_FILE_CNT + 1.
       TRANSFER I_OUTPUT TO P_PF_01 LENGTH 312.
    ENDLOOP.
    *ENDFORM.
    $$----
    $$ Form  WRITE_TO_REPORT
    $$----
    *FORM WRITE_TO_REPORT.
    PERFORM WRITE_HEADINGS.
    LOOP AT I_OUTPUT.
       WRITE : / I_OUTPUT-MBLNR.
       WRITE I_OUTPUT-MJAHR.
       WRITE I_OUTPUT-ZEILE.
       WRITE I_OUTPUT-EBELN.
       WRITE I_OUTPUT-EBELP.
       WRITE I_OUTPUT-BUDAT.
       WRITE I_OUTPUT-WERKS.
       WRITE I_OUTPUT-EKORG.
       WRITE I_OUTPUT-MATKL.
       WRITE I_OUTPUT-MATNR.
       WRITE I_OUTPUT-EKGRP.
       WRITE I_OUTPUT-LIFNR.
       WRITE I_OUTPUT-NETPR.
       WRITE I_OUTPUT-WAERS.
       WRITE I_OUTPUT-MENGE.
       WRITE I_OUTPUT-MEINS.
       WRITE I_OUTPUT-MENGE1.
       WRITE I_OUTPUT-MAABC.
       WRITE I_OUTPUT-STPRS.
       WRITE I_OUTPUT-TXZ01.
       WRITE I_OUTPUT-EKNAM.
       WRITE I_OUTPUT-LIFNR1.
       WRITE I_OUTPUT-NAME1.
       WRITE I_OUTPUT-KO_PRCTR.
       WRITE I_OUTPUT-MCTXT.
       WRITE I_OUTPUT-BSTYP.
       WRITE I_OUTPUT-BSART.
       WRITE I_OUTPUT-BWART.
       WRITE I_OUTPUT-LGORT.
    ENDLOOP.
    NEW-PAGE.
    *ENDFORM.
    $$----
    $$ Form Close_Datasets.
    $$----
    *Form Close_Datasets.
      Perform Close_file using p_pf_01.
    *Endform.
    $$----
    $$ Form  UPDATE_TVARV
    $$----
    *FORM UPDATE_TVARV.
        TVARV-NAME = V_NAME.
        TVARV-TYPE = 'P'.
        TVARV-NUMB = 0.
        TVARV-LOW = SY-DATLO.
        MODIFY TVARV.
    *ENDFORM.
    $$----
    $$ Form  FINAL_STATS
    $$----
    *FORM FINAL_STATS.
       WRITE: / 'FINAL STATS:'(018).
       WRITE: /'--------------'.
       IF P_FILE = 'X'.
         WRITE: / 'File Created - '(015), P_PF_01.
         WRITE: / 'Nbr of Records written to the file - '(016).
         WRITE: V_FILE_CNT.
       ELSE.
         WRITE: / 'No File Created.'(017).
       ENDIF.
       SKIP.
       IF P_DATE IS INITIAL.
         WRITE: / 'Last rundate before this run - '(001), V_LASTRUN_DATE.
       ENDIF.
       WRITE: / 'New Last rundate             - '(002)     , SY-DATLO.
    *ENDFORM.
    $$----
    $$ Form  CONVERT_CURRENCY
    $$----
    FORM CONVERT_CURRENCY USING    P_IN_WAERS
                                   P_OUT_WAERS
                                   P_IN_AMT
                          CHANGING P_OUT_AMT.
      IF P_IN_WAERS = P_OUT_WAERS.
        P_OUT_AMT = P_IN_AMT.
      ELSE.
        CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
             EXPORTING
                  DATE             = SY-DATUM
                  FOREIGN_AMOUNT   = P_IN_AMT
                  FOREIGN_CURRENCY = P_IN_WAERS
                  LOCAL_CURRENCY   = P_OUT_WAERS
                type_of_rate     = c_type
              IMPORTING
                  LOCAL_AMOUNT     = P_OUT_AMT
             EXCEPTIONS
                   NO_RATE_FOUND    = 1
                  OVERFLOW         = 2.
      ENDIF.
    ENDFORM.
    $$----
    $$ Form  DELETE_COMMAS
    $$----
    FORM DELETE_COMMAS CHANGING P_AMT.
        DO.
          REPLACE ',' WITH SPACE INTO P_AMT.
          IF SY-SUBRC NE 0.
            EXIT.
          ENDIF.
        ENDDO.
        CONDENSE P_AMT NO-GAPS.
        SHIFT P_AMT RIGHT DELETING TRAILING SPACE.
    ENDFORM.                    "DELETE_COMMASENDFORM.
    $$----
    $$ Form  WRITE_HEADINGS
    $$----
    *FORM WRITE_HEADINGS.
    ULINE.
    FORMAT COLOR 1.
    WRITE 'Matl Doc. '(004).
    WRITE 'Year'(005).
    WRITE 'Item'(006).
    WRITE 'PO Nbr    '(007).
    WRITE 'Item '(008).
    WRITE 'Post Date '(009).
    WRITE 'Plnt'(010).
    WRITE 'POrg'(011).
    WRITE 'Matl Grp '(012).
    WRITE 'Material          '(013).
    WRITE 'PGp'(014).
    WRITE 'Vendor    '(019).
    WRITE '            Price '(020).
    WRITE 'Ckey'(021).
    WRITE '              Qty'(022).
    WRITE 'UOM'(023).
                                                      Begin of SIR 300589
    WRITE 'Purchase order Qty'(024).
    WRITE 'ABC Inventory Indicator'(025).
    WRITE 'Standard Price'(026).
    WRITE 'Material Desc'(027).
    WRITE 'Buyer Name'(028).
    WRITE 'Vendor ID'(029).
    WRITE 'Vendor Name'(030).
    WRITE 'Profit Center'(031).
    WRITE 'Profit Center Name'(032).
    WRITE 'Purchasing Doc Category'(033).
    WRITE 'Purchasing Doc Type'(034).
    WRITE 'Movement Type'(035).
    WRITE 'Storage Location'(036).
                                                        End of SIR 300589
    FORMAT COLOR OFF.
    *ENDFORM.
                                                      Begin Of SIR-301278
    *&      Form  process_alv_grid
          To process the data for ALV GRID  display
    FORM process_alv_grid .
    To Maintain Layout settings.
      perform build_layout.
    To display column headings.
      perform fill_fieldcatalog.
    To build the alv events for output
      perform event_build.
    To display the output in a ALV grid
      perform grid_display.
    ENDFORM.                    " process_alv_grid
    *&      Form  build_layout
          To fill the layout characteristics for output
    FORM build_layout .
    Move the report title
      clear v_layout.
      v_layout-detail_titlebar = sy-title.
    ENDFORM.                    " build_layout
    *&      Form  event_build
           To build the alv events for output
    FORM event_build .
    refresh i_events.
      clear   v_events.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type = 0
        importing
          et_events   = i_events.
      read table i_events with key name = slis_ev_top_of_page
                                               into v_events.
      if sy-subrc = 0.
        move c_top_of_page to v_events-form.
        modify i_events from v_events index sy-tabix.
      endif.
      read table i_events with key name = slis_ev_subtotal_text
                                                 into v_events.
      if sy-subrc = 0.
        move c_alv_subtotals_summary to v_events-form.
        modify i_events from v_events index sy-tabix.
      endif.
    ENDFORM.                    " event_build
    *&      Form  fill_fieldcatalog
         This subroutine builds the fieldcatalog for output
    FORM fill_fieldcatalog .
    refresh: i_fieldcat_alv[].
      clear v_fieldcat_alv.
      v_fieldcat_alv-tabname      = 'I_OUTPUT'.
      v_fieldcat_alv-fieldname    = 'MBLNR'.
      v_fieldcat_alv-reptext_ddic = text-001.
      v_fieldcat_alv-col_pos      = 1.
      append v_fieldcat_alv to i_fieldcat_alv.
      clear v_fieldcat_alv.
      v_fieldcat_alv-tabname      = 'I_OUTPUT'.
      v_fieldcat_alv-fieldname    = 'MJAHR'.
      v_fieldcat_alv-reptext_ddic = text-002.
      v_fieldcat_alv-col_pos      = 2.
      append v_fieldcat_alv to i_fieldcat_alv.
      clear v_fieldcat_alv.
      v_fieldcat_alv-tabname      = 'I_OUTPUT'.
      v_fieldcat_alv-fieldname    = 'ZEILE'.
      v_fieldcat_alv-reptext_ddic = text-003.
      v_fieldcat_alv-col_pos      = 3.
      append v_fieldcat_alv to i_fieldcat_alv.
      clear v_fieldcat_alv.
      v_fieldcat_alv-tabname      = 'I_OUTPUT'.
      v_fieldcat_alv-fieldname    = 'EBELN'.
      v_fieldcat_alv-reptext_ddic = text-004.
      v_fieldcat_alv-col_pos      = 4.
      append v_fieldcat_alv to i_fieldcat_alv.
      clear v_fieldcat_alv.
      v_fieldcat_alv-tabname      = 'I_OUTPUT'.
      v_fieldcat_alv-fieldname    = 'EBELP'.
      v_fieldcat_alv-reptext_ddic = text-005.
      v_fieldcat_alv-col_pos      = 5.
      append v_fieldcat_alv to i_fieldcat_alv.
      clear v_fieldcat_alv.
      v_fieldcat_alv-tabname      = 'I_OUTPUT'.
      v_fieldcat_alv-fieldname    = 'BUDAT'.
      v_fieldcat_alv-reptext_ddic = text-006.
      v_fieldcat_alv-col_pos      = 6.
      append v_fieldcat_alv to i_fieldcat_alv.
      clear v_fieldcat_alv.
      v_fieldcat_alv-tabname      = 'I_OUTPUT'.
      v_fieldcat_alv-fieldname    = 'WERKS'.
      v_fieldcat_alv-reptext_ddic = text-007.
      v_fieldcat_a

    Hi Priya,
    u can download the data from dictionary table to ur pc/dektop by using three function modules.
    1.DOWNLOAD
    2.WS_DOWNLOAD
    3.GUI_DOWNLOAD
    i did a small prg.just hv a look and if it is possible change this to ur require output.
    TABLES: VBAK,VBAP.
    DATA: BEGIN OF I_VBAK OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          ERDAT LIKE VBAK-ERDAT,
          ERNAM LIKE VBAK-ERNAM,
          AUDAT LIKE VBAK-AUDAT,
          VBTYP LIKE VBAK-VBTYP,
          END OF I_VBAK.
    DATA: BEGIN OF I_VBAP OCCURS 0,
          VBELN LIKE VBAP-VBELN,
          POSNR LIKE VBAP-POSNR,
          MATNR LIKE VBAP-MATNR,
          CHARG LIKE VBAP-CHARG,
          MATKL LIKE VBAP-MATKL,
          END OF I_VBAP.
    DATA: BEGIN OF IT_VBAK OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          ERDAT LIKE VBAK-ERDAT,
          ERNAM LIKE VBAK-ERNAM,
          AUDAT LIKE VBAK-AUDAT,
          VBTYP LIKE VBAK-VBTYP,
          POSNR LIKE VBAP-POSNR,
          MATNR LIKE VBAP-MATNR,
          CHARG LIKE VBAP-CHARG,
          MATKL LIKE VBAP-MATKL,
          END OF IT_VBAK.
    SELECT VBELN ERDAT ERNAM AUDAT VBTYP FROM VBAK INTO TABLE I_VBAK.
    SELECT VBELN POSNR MATNR CHARG MATKL FROM VBAP INTO TABLE I_VBAP.
    SORT: I_VBAK BY VBELN,I_VBAP BY VBELN.
    LOOP AT I_VBAK.
    READ TABLE I_VBAP WITH KEY VBELN = I_VBAK-VBELN BINARY SEARCH.
    IF SY-SUBRC = 0.
      MOVE I_VBAK-VBELN TO IT_VBAK-VBELN.
      MOVE I_VBAK-ERDAT TO IT_VBAK-ERDAT.
      MOVE I_VBAK-ERNAM TO IT_VBAK-ERNAM.
      MOVE I_VBAK-AUDAT TO IT_VBAK-AUDAT.
      MOVE I_VBAK-VBTYP TO IT_VBAK-VBTYP.
      MOVE I_VBAP-POSNR TO IT_VBAK-POSNR.
      MOVE I_VBAP-MATNR TO IT_VBAK-MATNR.
      MOVE I_VBAP-CHARG TO IT_VBAK-CHARG.
      MOVE I_VBAP-MATKL TO IT_VBAK-MATKL.
    APPEND IT_VBAK.
    ENDIF.
    ENDLOOP.
    *& IT ASKS THE CONFIRMATION FOR THE FILE FORMATE,WE CAN CHANGE THE FILENAME DYNAMICALLY(e.g DOC-TXT,XLS)
    *CALL FUNCTION 'DOWNLOAD'
    EXPORTING
      BIN_FILESIZE                  = ' '
      CODEPAGE                      = ' '
      FILENAME                      = 'D:\C1.TXT'
      FILETYPE                      = 'DAT'   "ASC is also another format
      ITEM                          = ' '
      MODE                          = ' '
      WK1_N_FORMAT                  = ' '
      WK1_N_SIZE                    = ' '
      WK1_T_FORMAT                  = ' '
      WK1_T_SIZE                    = ' '
      FILEMASK_MASK                 = '.TXT'
      FILEMASK_TEXT                 = ' '
      FILETYPE_NO_CHANGE            = 'X'
      FILEMASK_ALL                  = ' '
      FILETYPE_NO_SHOW              = 'X'     "THIS WILL NOT SHOW THE FILE TYPE(DAT) WHILE CONFIRMATION OF FILE NAME
      SILENT                        = 'S'
      COL_SELECT                    = ' '
      COL_SELECTMASK                = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      ACT_FILENAME                  =
      ACT_FILETYPE                  =
      FILESIZE                      =
      CANCEL                        =
    TABLES
       DATA_TAB                      = IT_VBAK
      FIELDNAMES                    =
    EXCEPTIONS
      INVALID_FILESIZE              = 1
      INVALID_TABLE_WIDTH           = 2
      INVALID_TYPE                  = 3
      NO_BATCH                      = 4
      UNKNOWN_ERROR                 = 5
      GUI_REFUSE_FILETRANSFER       = 6
      OTHERS                        = 7
    *IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    *& this will not ask for the confirmation for the filename
    *CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
      BIN_FILESIZE                  = ' '
      CODEPAGE                      = ' '
      FILENAME                      = 'D:\C2.DOC'
      FILETYPE                      = 'DAT'
      MODE                          = ' '
      WK1_N_FORMAT                  = ' '
      WK1_N_SIZE                    = ' '
      WK1_T_FORMAT                  = ' '
      WK1_T_SIZE                    = ' '
      COL_SELECT                    = ' '
      COL_SELECTMASK                = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
    TABLES
       DATA_TAB                      = IT_VBAK
      FIELDNAMES                    =
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_WRITE_ERROR              = 2
      INVALID_FILESIZE              = 3
      INVALID_TYPE                  = 4
      NO_BATCH                      = 5
      UNKNOWN_ERROR                 = 6
      INVALID_TABLE_WIDTH           = 7
      GUI_REFUSE_FILETRANSFER       = 8
      CUSTOMER_ERROR                = 9
      NO_AUTHORITY                  = 10
      OTHERS                        = 11
    *IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = 'D:\C5.DOC'
       FILETYPE                        = 'ASC'  "Separate Columns by Tabs in Case of ASCII Download
      APPEND                          = ' '
       WRITE_FIELD_SEPARATOR           = 'X'
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
        CONFIRM_OVERWRITE               = 'X' "Overwrite The File Only After
                        Confirmation                          
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
      WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    IMPORTING
      FILELENGTH                      =
      TABLES
        DATA_TAB                        = IT_VBAK
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    if u need any more then i welcome u to clarify it.
    reward points,if it is useful.

  • Unable to reinstall WSUS on air-gapped Windows Server 2008 R2 SP1 server

    A co-worker installed WSUS on an air-gapped (not connected to the Internet) server running Windows Server 2008 R2 SP1, but he wasn't sure he'd configured everything properly, and asked me to uninstall and reinstall it.  The uninstallation went without
    a hitch, but reinstalling through the Server Manager gives the error message "The update could not be found.  There may be a network connection issue."  The Server Manager log shows the following:
    8632: 2014-04-25 15:30:22.578 [Provider]                  System changed since last refresh: False
    8632: 2014-04-25 15:30:29.489 [InstallationProgressPage]  Loading progress page...
    8632: 2014-04-25 15:30:29.520 [InstallationProgressPage]  Creating WindowsUpdateDownloader.
    8632: 2014-04-25 15:30:29.535 [InstallationProgressPage]  Searching for Updates...
    8632: 2014-04-25 15:30:29.535 [InstallationProgressPage]  Starting asynchronous download.
    8632: 2014-04-25 15:30:29.535 [WindowsUpdateDownloader]   Creating session.
    8632: 2014-04-25 15:30:29.535 [WindowsUpdateDownloader]   Search query: 'CategoryIDs contains '4e487029-f550-4c22-8b31-9173f3f95786''
    8632: 2014-04-25 15:30:29.582 [WindowsUpdateDownloader]   Searching....
    8632: 2014-04-25 15:33:07.906 [WindowsUpdateDownloader]   Search failed, HRESULT: -2145107924, message: Exception from HRESULT: 0x8024402C
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage]  Search completed, result: Failed.
    8632: 2014-04-25 15:33:07.921 [WindowsUpdateDownloader]   Sending failure DownloadComplete event.
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage]  Download completed, result: NotStarted.
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage] Error (Id=0) Failure message: 'The update could not be found. There may be a network connection issue. <a href="WSUS.chm::/html/54a9eb1f-5dd1-42d8-ad00-dae55d7b9463.htm">Click here for
    more information.</a>'
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage]  Invoking LoadFinishPage.
    8632: 2014-04-25 15:33:07.921 [InstallationProgressPage]  About to load finish page...
    8632: 2014-04-25 15:33:07.937 [InstallationFinishPage]    Loading finish page
    8632: 2014-04-25 15:33:07.953 [InstallationFinishPage]    Finish page loaded
    Any ideas?

    Hi,
    0x8024402C WU_E_PT_WINHTTP_NAME_NOT_RESOLVED
    Winhttp SendRequest/ReceiveResponse failed with 0x2ee7 error. Either the proxy server or target server name cannot be resolved. Corresponding to ERROR_WINHTTP_NAME_NOT_RESOLVED.
    Stop/Restart service or reboot the machine if you see this error frequently.
    Since the server is not connect to the internet, at least it should have an available upstream server. Did you configure it correctly? The error message indicate that the
    name could not resolved, make sure you can resolve the name of the upstream server. Run nslookup check the result.
    If it is the only WSUS, then give it internet connection and test.
    Hope this helps.

Maybe you are looking for

  • How to delete the data folder of a removed account?

    Greetings, While preparing the backup of my profile folder, I have realized that there are several folders in my IMAP profile subfolder ( C:\Users\-\Thunderbird\Profiles\2mr7tdtg.default\ImapMail ) that exist in that folder and I don't understand wha

  • Windows 7 - Blue screen of death after Boot Camp install

    Hello! I have done some searches with no answers, so... After installing Windows 7 from scratch I then install Boot Camp 3.0 which then leads to the Windows blue screen of death upon reboot. I then have to recover Windows to the previous state prior

  • Split TempDb in SharePoint 2010 Sql Server DB

    Hi , We have envirenment of sharepoint farm,one Database server.We have plan to split tempDb acording microsoft best practices. By the time of we have the largest content database is 260 in size and SQL Server has a 2-core processor. So the tempdb wo

  • Update a column for a subset of data

    Hi all, I hope you can help me with some suggestions in how to solve the issue i have for the table below SQL> select * from table1; NAME                         ID CONCAT               SAME_GR A                            10 100|200|300 B           

  • Only one CPU core is working during video export from Premiere Media Encoder

    Windows Resource Monitor showed cores 'parked' at first. I was able to turn that feature off using regedit. They no longer say they are parked'. but still only one core is at 100% while the other seven cores are at close to zero %. Windows 7 Ultimate