Getting Corrupted Files in NW04Stack09Themes

Hi All,
I am downloading the Stack Themes for Netweaver Studio through this link.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/business_packages/a1-8-4/nw04stack09themes.zip
But when i am extracting this its give me error message of unexcepted end of file or format.
So if anyone has this archive then pls give me its very urgent.
Thanks,
DS

Hi,
My Mail id is [email protected]
Pls send it asap.
Thanks,
DS

Similar Messages

  • Starting to get corrupted files

    Since I upgraded to Lightroom 4 last week, I've had two occasions where Windows 7 operating system at boot tells me I have corrupt files on the separate 2TB drive I use to store Lightroom catalog and photos on.  One difference between my LR3 vs LR4 settings was that I turned on the option to write XMP data to files per advice from Adobe evangelist that this is a better backup strategy in case LR catalog gets corrupt.  Wondering whether the LR 4 background process to write out XMP is causing the problem. 
    It might be a self inflicted wound, as last night, I was importing iPad screenshot PNG files into Bridge, batch renaming them and then exporting them to hard drive as JPG (when is Lightroom going to support PNG?) and synchronizing that folder in LR4 so that I can view in LR4. Maybe the fact that I have LR4 and Bridge open at the same time and doing some operations corrupted them?  LR4 got stuck at 1% progress in creating previews, so left the computer on overnight and when I come back in morning, black screen of death. When reboot, says I have to check that drive and finds lots of corrupt record segments. Never had this problem with LR3 and Bridge open at same time before LR4 and turning on the option to write XMP data to files.

    I am experiencing reports of corrupted files as well!!! First report of corrupted files came the day after I installed Lightroom 4. No problems while I was using Ligthroom 3. So far, it seems to only occur with JPG-files.
    I have about 10 000 photos stored on a Windows Home Server, both JPG and RAW files. About one day after I had installed and started using Lightroom 4, the WHS server began to complain about "file conflicts" (This is actually the first time I have experienced this spesific error on the server). I then found that the reason was that a lot of JPG-files had been locked and then never unlocked again. I am a developer myself, and many years ago I had some experience of this problem due to some programs that failed to close the files. Whatever the reason was this time, it was making it impossible for the WHS server to duplicate these files to a second hard drive (on WHS, duplication of files is done by a service. And if this service is unable to duplicate a file in 24 hours, it may report "file conflicts"). First strange thing about this was that it seemed to happen only with JGP files, and with files shot many years ago. It have been many years since I made any changes to those photos. To make the locks go away, I restarted the server. This seemed to resolve the problem with the locks. My first thought was that one of the disks on the server was about to fail, but after my next experiences I am beginning to think that’s not the problem…
    For a few days I did not use Lightroom, and in this period no problems was reported by the server. But then, after using Lightroom 4 again a few hours, the same problem occurs. I now started to do some more investigation. Using Event Viewer on the WHS, I found that WHS was reporting both file lock problems and some file corruptions, and pointed me to some specific JPG files. Checking the files, I found that the files had been changed the same day I installed and used Lightroom 4 for the first time. After some more checking I found some corrupt JPG files, as well. This was yesterday, and since then, I have not dared to use Lightroom 4.
    Actually I think all JPG files I have browsed using Lightroom 4, has been modified. But only some of them became "locked" or corrupted. Checking the RAW files, could not find that they have not been touched. I store a lot of data on my WHS server and many types of files. But corruption has only been a problem with the JGP files…
    If I used file explorer to preview the corrupted files, I still got a preview of some of them. And it was easy to see they were corrupted. Actually it looked like a number of photos have been merged together like a mosaic. Trying to open one of the corrupted files using Photoshop CS5, ended with a message saying it was impossible to read the file.
    For now I am not able to do more testing of this problem, but I am planning to copy all the photos to an external USB disk, and then play around with it using Lightroom 4, to see if problem shows up again.
    Some info about my computers:
    I am using Windows 7 x64 on a Dell M6400 laptop with Lightroom 4 x64. The catalog resides on this laptop.
    My WHS Server is of the first version released by Microsoft (not the 2011 version), but with all updates installed. All photos, both the JPG and the RAW files reside on a share on the WHS Server. I have been using this WHS server for many years now, and with both Lightroom 2 and Lightroom 3 before the upgrade to Lightroom 4. During this time I have experienced one disk crash, but thanks to the file duplication no data was lost. The server is currently equipped with three physical disks; one 1.5TB, one 650 GB and one 2 TB.
    Most of my JPG files are shot with a Canon IXUS 400 (many years ago). My RAW files are all shot with a Canon 5D Mk2, but those seem to be untouched.
    I will report back as soon I have more information.

  • HT3831 i tried to update my iphone 4 and i am getting a message that i am getting corrupt files or check settings on phone what do i check

    i am trying to updating my system and when i do it says something about corrupt files or check phone settings does anyone know about this

    If you open it to take out the battery from the iPhone then you forfeit all service for whatever reason from Apple in the future.
    Have you attempt to connect it to your computer and then restore it from iTunes on your computer?

  • When installing iTunes and extracting the files with Winrar I get corrupted files and cannot complete the download why is this?

    When I dont extract the files and go straight to the installer it says that the download was inturrupted and to try again and it wont work any of the times I try.

    Try clearing your browser's cache before downloading again, or try a different browser, or download the installer on a different machine, check it with Winrar or 7-Zip, then put it on a memory stick to take back to your own computer.
    You may find the direct download links and other information in Troubleshooting issues with iTunes for Windows updates useful.
    tt2

  • Excel files getting corrupted when editing locally

    We are getting corrupted files when using "edit locally". Editing seems to work fine, but when the next user tries to open the file it is corrupted. This error only occurs intermittently. When checking the logs I found below error message:
    #com.sapportals.wcm.repository.service.appproperties.PropertiesManager#irj#com.sapportals.wcm.repository.service.appproperties.PropertiesManager.handleCheckout(431)#System#0#####Client_Thread_13##0#0#Error##Plain###Failed to handle checkout for rid /ithw/it hw documents/Inventory/MU_Inventory.xls: com.sapportals.wcm.repository.service.appproperties.persistence.PersistenceException: [SAP_Portals][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (SAPWCM.WCM_AP_PROP_PRIMARY) violated
    ORA-06512: at "SAPWCM.WCM_AP_COPY", line 1
    ORA-06512: at line 1
    Does this have anything to do with my problem? What do I do about it?
    We're using KM Docuserver Control 6.1.5.1
    Regards
    Carl Schultze

    TSM:
    Thanks for the reply. I'd be "LOST" without you!
    Anyway, the camera only came with a Windows disk. Per the manufacturer, it doesn't need mac drivers, and the windows drivers are only for the web cam function (which i don't use.)
    The camera is formatted under FAT32 (Windows) format. I couldn't run permissions repair. I did do a repair disk under disk utility. Still having the issues.
    I tried iMovie. I can import the avi file from the camera, and it works!!!!
    So it would appear that there's a bad codec in QT/Perian/VLC?

  • HT4623 i get a corrupt file error when trying to update to ios7 anyone else have this issue or know how to fix it?

    Trying to update my iphone and always getting corrupt file error any ideas how to fix it

    If you're doing it over the air, try updating through iTunes.

  • All of a Sudden, lots of corrupted files

    I've never had this issue with lightroom 5.  All of a sudden, I'm getting corrupted files, some of them disappear , and some seem to be corrupted AFTER I've already processed it.  Very odd.  I use a Nikon D7100 with Delkin Devices 64gb SD 633x.  I just got these new Delkin Cards, which up until now, were smokin'!  Now I don't know if its the card or lightroom.  The cards were formatted like usual before I used them.  Any ideas? Thank you in advance.
    Ken

    Ok, I got the Delkin card reader and I only had 7 corrupted photos instead of dozens out of 500 imported.  So there's a positive.
    As for the question of the RAM upgrade, I got the RAM from Out of This World Computing http://eshop.macsales.com/item/Other%20World%20Computing/8566DDR3S8GP/.  It was installed by UbreakIfix (You Break , I fix).  I know the "Mac" guy over there and there have been no other issues otherwise.  This Macbook flies better than ever.
    The fact that you are still seeing corrupted files implies that the reader wasn't the issue. It is possible that the built in reader just maps to different parts of memory than the external one. Normally I would 100% trust RAM from OWC. I've bought memory from them for decades now and never seen a dud. However, you might have some bad memory here. One thing to try is to revert to the old memory and see if you still have the problem. It is strange that you are not seeing massive problems just running the computer though. If images are corrupting that frequently I would expect that to happen to other parts of memory too. Have you checked for a hard disk problem? Open Disk Utility (from /Applications/Utilities) and select the top level of your hard disk. Check if it says "S.M.A.R.T. Status : Verified" in the bottom of the screen. Then click on the hard disk icon that represents your internal disk (usually "Macintosh HD") and click "Verify Disk". If there are any errors found, it will tell you how to repair them. If you don't see any errors, try doing a "repair Disk Permissions".

  • Corrupt files in a Macbook

    I thought Apple computers weren't supposed to be able to get corrupt files... will this screw up things when I sync to a new Apple?

    Corruptiion can happen if you don't maintain it. Did you do the following?
    Try using Disk Utility to do a Disk Repair, as shown in this link, while booted up on your install disk for OS 10.6.8 and under. If you are running 10.7 or 10.8 run Disk Repair from Disk Utility on your Recovery System. It shows you how in the link.
    You could have some directory corruption. Let us know what errors Disk Repair reports and if DU was able to repair them. This could just be a start in repairs and you may need a better utility to finish the job.
    Then Repair Permissions.
    No need to report any Permissions errors........we all get them.
       DALE

  • XSan Corrupt Files Causing Big Problems

    Hello
    We have 2 PPC XServes running 10.4.8 with XSan 1.4.1 on 1x Xraid, xsan user quotes are also setup. This all seems to be working smoothly but we have serious issues when users save files that have exceeded the file space they have been given.
    We get corrupted files ending up 0k or 4k. Basically students think they have saved files correct but when they come back to opening the file it is corrupted so they loose work. It is becoming a big problem as students are loosing work and I dont have any control of notifying the user before they hit the quota limit they have been assigned.
    Does anyone else have this problem or a solution as I would greatly appreciate this.
    Regards.

    Hello Lee,
    When you setup user quotas in XSAN admin, you should be able to set a soft quota and a hard quota, this should result in your users getting warning message when the soft quota is exceed and an error message of -1425 when they try to write over their hard quota.
    There's also a quota application installed with XSAN that tells them how close to their quota they are at at all times.
    Are you not seeing any error messages before the quota is exceeded? And exactly how are these files corrupted? Can they not open them at all or can they open them and it's just not quite right?
      Mac OS X (10.4.8)   XSAN for Video Certified Technician for Hire

  • Can power surges corrupt files?

    I have a 2 Ghz rev. B iMac that every month or so, gets corrupted files that cause it to hang, both during use, and in start-up. It's worse when the computer wakes from sleep (hangs if I try to even move the cursor too soon after waking) and not as often if I set the computer to never sleep. It rarely boots up completely after an unexpected shutdown. Disk Warrior has kept it running, but it has to rebuild the directory every time, and sometimes I have to do an archive and install before the computer will run normally again. Once I had to do a clean install because the partition was corrupted. Running the extended hardware test reveals nothing. It doesn't run hot at all, and I have plenty of RAM.
    I posted this problem before, and was advised it might be the hard drive, but since this has been more of an annoyance than any real threat, I haven't looked into a replacement yet. So I have three questions:
    1. Does this indeed sound like a typical hard drive problem?
    2. If I change the hard drive myself, does that invalidate the Applecare warranty?
    3. Could small power surges have caused this corruption over time? Because I notice room lights sometimes dim when I turn on the TV or ceiling fan. I have since started using a Backup battery supply for the iMac.
    Thanks in advance for any help, and sorry for its length.
    G5 iMac 2.0 Ghz Rev.B   Mac OS X (10.4)  

    Thanks for the input. I do have one further question regarding the logic board.
    After fixing the directory with DiskWarrior and doing an archive and install, the iMac will run perfectly for about a month before suddenly slowing down and hanging with the spinning beach ball if I even move the cursor. Do logic board problems pop up this way, after an extended time of running normally, or are they more constant? I'm trying to narrow the possible causes as much as possible before talking to Apple.
    Thanks again.

  • I am having an issue in PS CS6 (on a Mac) where in the middle of working on a file, it gets corrupted by filling in a grid of squares in my layer masks as well as deleting out those same sections of misc layers throughout the file. I have reset the prefer

    I am having an issue in PS CS6 (on a Mac) where in the middle of working on a file, it gets corrupted by filling in a grid of squares in my layer masks as well as deleting out those same sections of misc layers throughout the file. I have reset the preferences, cleaned up the file. Renamed it to another file and 2 weeks later it is doing the same thing. Luckily I had my main subjects as smart objects and it saved them. This second time I just closed it out and opened it again and it is fine. Anybody else have an issue with this? Also it runs really slow these days on my MacBook Pro Retina 2.6 Core i7 with 16gb Ram.

        Hello APVzW, we absolutely want the best path to resolution. My apologies for multiple attempts of replacing the device. We'd like to verify the order information and see if we can locate the tracking number. Please send a direct message with the order number so we can dive deeper. Here's steps to send a direct message: http://vz.to/1b8XnPy We look forward to hearing from you soon.
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • I'm trying to backup a my harddrive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen

    I'm trying to backup a my hard drive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen and spinning wheel. I've tried everything https://discussions.apple.com/message/20580424#20580424
    any help will be greatly appreciated.

    Check here. Also have you done a TimeMachine back up?
    http://support.apple.com/kb/TS2570

  • How do jpg files in a iWeb domain file get corrupted?  How can I stop it?

    I opened up my Domain file to work on my site and several photos were replaced by a grey box with an X and a question mark in the middle. I close iWeb right click the domain file and "Show Contents". When I inspect those files i get this message.
    *"Couldn’t open the file. It may be corrupt or a file format that Preview doesn’t recognize."*
    I did nothing to the domain file other then move it's location. All the extensions are still jpg or jpeg. I try changing them to png or tiff and I try to open them with every other image editor I have and still same message "Corrupt" file.
    Some of these are images from iPhoto and some are images from Finder. Some of the corrupt files are the thumbs others are not. Unfortunately I do not have a back up of this last large edit and additional pages and I have only published the previous edit to a local folder.
    I had this problem in iWeb '08 and in '09 while using 10.4.9 and iWeb '08 on my G5 iMac and now in 10.5.8 on the Macbook.
    What could I be doing wrong? Will moving the domain file from the desktop to a folder corrupt the jpgs?

    How can I get out of this loop?
    Try deleting iMovie's preference file. This can be found in your user folder Library>Preferences. The file is named "com.apple.iMovie8.plist". Close iMovie before trashing the file. When next opened iMovie will create a new file with the default settings. You may need to change some settings to suit your own preference.
    It's best to delete files from within iMovie - not externally using the Finder. But, rather than delete them, why not store your Events on an external drive - you may need to use some clips in another project later. Project files are quite small as they contain only text references to the various items (assets) that comprise your project - therefore there is little point in deleting them. Also, check out the "Consolidate Media" function in iMovie, which lets you move/copy everything associated with a project (including Events, music etc) to another location.
    John

  • I can't download the new java update for my macbook pro. I get a corrupt file message. Help!

    I can't download the new java update for my macbook pro. I get a corrupt file message. Help!

    "The new java Version 7 Update 13 is not exactly helpful in macbook pro.
    try the version 11 or 12 they should work perfectly."
    The OP is running 10.6.8 so Java 6 is his option at this point.
    For the OP try here:
    http://support.apple.com/kb/DL1573

  • PDF file gets corrupted when generated from BSP

    Hi,
         I am generating a PDF file from a BSP page ( see the code below). The problem is that PDF file gets corrupted and  I am unable to open it. I also tried to use other functions like GUI_Download and DOwnload as suggested by many and they also do not work either. Has any one generated a PDF from BSP and can some one help?
    Data: GG type String.
    event handler for data retrieval
    data : event type ref to cl_htmlb_event.
    class cl_htmlb_manager definition load.
    class CL_HTTP_RESPONSE DEFINITION LOAD.
    DATA : PARAMS TYPE PRI_PARAMS,
             VALID  TYPE C,
    GV_SUCCESS_SPOOL_NO LIKE SY-SPONO.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING DESTINATION           = 'LOCL'
               COPIES                = COUNT
               LIST_NAME             = 'TEST'
               LIST_TEXT             = 'Test NEW-PAGE PRINT ON'
                  IMMEDIATELY           = ''
                  RELEASE               = 'X'
                  NEW_LIST_ID           = 'X'
               EXPIRATION            = DAYS
                  LINE_SIZE             = 140
               LINE_COUNT            = 23
               LAYOUT                = 'X_PAPER'
               SAP_COVER_PAGE        = 'X'
               RECEIVER              = 'SAP*'
               DEPARTMENT            = 'System'
                  NO_DIALOG             = 'X'
        IMPORTING OUT_PARAMETERS        = PARAMS
                  VALID                 = VALID.
      IF VALID <> SPACE.
        NEW-PAGE PRINT ON  PARAMETERS PARAMS NO DIALOG.
    write :/ 'Hello Message1'.
    write :/ 'Hello Message2 '.
    NEW-PAGE PRINT OFF .
      ENDIF.
    data :        spool_no TYPE TSP01-RQIDENT .
    spool_no = sy-spono.
    DATA: itab TYPE TLINE,
            witab TYPE TABLE OF TLINE,
            output TYPE STRING,
            outputx TYPE XSTRING.
    data : l_pdf_len type i.
    data: mi_bytecount type i.
    DATA : APP_TYPE TYPE STRING VALUE  'APPLICATION/PDF' .
    DATA:    cached_response TYPE ref to if_HTTP_RESPONSE.
    data : l_display_url type string .
    data : guid type GUID_32 .
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = spool_no
          NO_DIALOG                = 'X'
       IMPORTING
          PDF_BYTECOUNT            =  mi_bytecount
        TABLES
          PDF                      = witab
        EXCEPTIONS
          ERR_NO_ABAP_SPOOLJOB     = 1
          ERR_NO_SPOOLJOB          = 2
          ERR_NO_PERMISSION        = 3
          ERR_CONV_NOT_POSSIBLE    = 4
          ERR_BAD_DESTDEVICE       = 5
          USER_CANCELLED           = 6
          ERR_SPOOLERROR           = 7
          ERR_TEMSEERROR           = 8
          ERR_BTCJOB_OPEN_FAILED   = 8
          ERR_BTCJOB_SUBMIT_FAILED = 9
          ERR_BTCJOB_CLOSE_FAILED  = 10
          others                   = 11.
      if sy-subrc EQ 0.
        LOOP AT witab INTO itab.
          CONCATENATE
            output
            itab-tdline
          INTO output in character mode.
        ENDLOOP.
    endif.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
            EXPORTING
                text   = output
                mimetype =   'APPLICATION/PDF'
            IMPORTING
                buffer = outputx.
    concatenate cl_abap_char_utilities=>byte_order_mark_little
    outputx
    into outputx in byte mode.
      response->set_header_field( name = 'content-type' value =
    'APPLICATION/PDF; charset=utf-16le'  ).
      response->delete_header_field( name =
    if_http_header_fields=>cache_control ).
      response->delete_header_field( name = if_http_header_fields=>expires
      response->delete_header_field( name = if_http_header_fields=>pragma )
      response->set_header_field( name = 'content-disposition'
                                  value = 'attachment; filename = TEST.PDF'
      l_PDF_len = xstrlen( OUTPUTX ).
      response->set_data( data = OUTPUTx
                          length = l_PDF_len ).
    navigation->response_complete( ).
    Regards
    Amit Agrawal

    HI Craig Cmehil,
                   I have tried this code as well as given in the URL specified by you. But using this also browser shows the following  content. It seems that PDF content is corrupted.
    My Output as shown on Browser Starts below this line----
    DF-1.3
    %âãÏÓ
    2 0 obj
    /WinAnsiEncoding
    endobj
    3 0 obj
    <<
    /Type /Font
    /Subtype /Type1
    /BaseFont /Courier
    /Name /F001
    /Encodg 2 0 R
    >>
    endobj
    4 0 obj
    <<
    /Length 5 0 R
    >>
    stream
    /F001 7.30 Tf 0 0 0.753 rg BT 18.00 570.65 Td 0 Tw <33302E30362E3230302020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020>Tj ET 0 0 0.753 rg BT 2950 570.65 Td 0 Tw
    <20204854545020436F6E74726F6C202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020>Tj ET 0 0 0.753 rg BT 572.40 570.65 Td 0 Tw <2020202020202020202020202031>Tj ET q 0 0 0 RG 0.55 w 18.00 562.90 m
    634. 562.90 l S Q 0 0 0.753 rg BT 18.00 551.45 Td 0 Tw <48656C6C6F20416D6974>Tj ET 0 0 0.753 rg BT 18.00 541.85 Td 0 Tw <48656C6C6F204765726176>Tj ET
    endstream
    endobj
    5 0 obj
    624
    endobj
    6 0 obj
    <<
    /Type /Page
    /MediaBox
    /Parent 1 0 R
    /Resource
    <<
    /ProcSet
    /PDF /Text
    /Font
    <<
    /F001 3 0 R
    >>
    /XObject
    <<
    >>
    >>
    /Contents 4 0 R
    >>
    endobj
    7 0 obj
    <<
    /Author (AMG )
    /CreationDate (20050630 181301)
    /Creator (Form X_58_170 EN)
    /Producer (SAP R/3 Release 620 )
    %SAPinfoStart TOA_DARA
    %FUNCTI=(    )
    %MANDANT=(   )
    %DEL_DATE=(00000000)
    %SAP_OBJECT=(          )
    %AR_OBJECT=(          )
    %OBJECT_ID=(                          )
    %FORM_ID=(                                        )
    %FORMARCHIV=(  )
    %RESERVE=(   )
    %NOTIZ=(                                                                )
    %SAPinfoEnd TOA_DARA
    >>
    endobj
    1 0 obj
    <<
    /Type /Pages
    /Kids
    [ 6 0 R
    /Count 1
    >>
    endobj
    8 0 obj<<
    /Type /Catalog
    /Pages 1 0 R
    /PageMode /UseNone
    >>
    endobj
    xref
    0 9
    0000000000 65535 f
    0000001801 00000 n
    0000000017 0000n
    0000000052 00000 n
    0000000157 00000 n
    0000000840 00000 n
    0000000862 00000 n
    0000001048 00000 n
    0000001869 00000 n
    trailer
    /Size 9
    /Root 8 0 R
    /Info 7 0 R
    >>
    startxref
    1944
    %%EOF
    Browser Displey Content Ends----
    My Coding Starts----
    Data: GG type String.
    event handler for data retrieval
    data : event type ref to cl_htmlb_event.
    class cl_htmlb_manager definition load.
    class CL_HTTP_RESPONSE DEFINITION LOAD.
    DATA : PARAMS TYPE PRI_PARAMS,
             VALID  TYPE C,
    GV_SUCCESS_SPOOL_NO LIKE SY-SPONO.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING DESTINATION           = 'LOCL'
               COPIES                = COUNT
               LIST_NAME             = 'TEST'
               LIST_TEXT             = 'Test NEW-PAGE PRINT ON'
                  IMMEDIATELY           = ''
                  RELEASE               = 'X'
                  NEW_LIST_ID           = 'X'
               EXPIRATION            = DAYS
                  LINE_SIZE             = 140
               LINE_COUNT            = 23
               LAYOUT                = 'X_PAPER'
               SAP_COVER_PAGE        = 'X'
               RECEIVER              = 'SAP*'
               DEPARTMENT            = 'System'
                  NO_DIALOG             = 'X'
        IMPORTING OUT_PARAMETERS        = PARAMS
                  VALID                 = VALID.
      IF VALID <> SPACE.
        NEW-PAGE PRINT ON  PARAMETERS PARAMS NO DIALOG.
    write :/ 'Hello Amit'.
    write :/ 'Hello Gaurav '.
    NEW-PAGE PRINT OFF .
      ENDIF.
    GV_SUCCESS_SPOOL_NO = sy-spono.
    data :        spool_no TYPE TSP01-RQIDENT .
    spool_no = sy-spono.
    write: GV_SUCCESS_SPOOL_NO.
    *write: spool_no.
    IF display_type = 'convertspool'.
      DATA: itab TYPE TLINE,
            witab TYPE TABLE OF TLINE,
            output TYPE STRING,
            outputx TYPE XSTRING.
    data : l_pdf_len type i.
    data: mi_bytecount type i.
    DATA : APP_TYPE TYPE STRING VALUE  'APPLICATION/PDF' .
    DATA:    cached_response TYPE ref to if_HTTP_RESPONSE.
    data : l_display_url type string .
    data : guid type GUID_32 .
           spool_no like TSP01-RQIDENT .
    *spool_no = GV_SUCCESS_SPOOL_NO .
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = spool_no
          NO_DIALOG                = 'X'
       IMPORTING
          PDF_BYTECOUNT            =  mi_bytecount
        TABLES
          PDF                      = witab
        EXCEPTIONS
          ERR_NO_ABAP_SPOOLJOB     = 1
          ERR_NO_SPOOLJOB          = 2
          ERR_NO_PERMISSION        = 3
          ERR_CONV_NOT_POSSIBLE    = 4
          ERR_BAD_DESTDEVICE       = 5
          USER_CANCELLED           = 6
          ERR_SPOOLERROR           = 7
          ERR_TEMSEERROR           = 8
          ERR_BTCJOB_OPEN_FAILED   = 8
          ERR_BTCJOB_SUBMIT_FAILED = 9
          ERR_BTCJOB_CLOSE_FAILED  = 10
          others                   = 11.
      if sy-subrc EQ 0.
        LOOP AT witab INTO itab.
          CONCATENATE
            output
            itab-tdline
          INTO output in character mode.
        ENDLOOP.
    endif.
    *write : output.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
            EXPORTING
                text   = output
                mimetype =   'APPLICATION/PDF'
            IMPORTING
                buffer = outputx.
    *concatenate cl_abap_char_utilities=>byte_order_mark_little
    *outputx
    *into outputx in byte mode.
    CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
    some Browsers have caching problems when loading Excel Format
      response->set_header_field( name = 'content-type' value =
    'APPLICATION/PDF'  ).
      response->delete_header_field( name =
    if_http_header_fields=>cache_control ).
      response->delete_header_field( name = if_http_header_fields=>expires
      response->delete_header_field( name = if_http_header_fields=>pragma )
        l_pdf_len = xstrlen( outputx ).
        cached_response->set_data( data   = outputx
                            length = l_pdf_len ).
        cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                           value = 'application/pdf' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE runtime->application_url '/' guid '.pdf' INTO l_display_url.
        cl_http_server=>server_cache_upload( url      = l_display_url
                                             response = cached_response ).
    RETURN.
    My Coding Ends----
    Any Further help on this.
    Regards
    Amit Agrawal

Maybe you are looking for

  • Can I use AppleTV to stream data (music, pictures) from a NAS and use an iPad as a remotecontrol via WLAN?

    I want to use in my home the NAS as Central-Storage for music and pictures, and send that data via AppleTV on my stereo or TV. The whole I want to control with an iPad (or iPhone), which I will use as a remote control via Wi-Fi. Is this possibel?

  • Exception Raising in Function Module

    Hi, I am having a custom function module that calls a standard function module. Custom function module has following exception defined: manufacture unknown. Standard function module has enhancement sections that I implement. For a defined condition I

  • Custom skin for FLVPlayback

    Hi .. I am trying to create a custom skin for the FLVPlayback componenet... I was wondering if someone could point me in a direction of a comprehensive tutorial.. Thanks a bunch!!

  • Asus vg248qe silverlight/netflix problem

    Hi, I'm having an issue with my Asus VG24QE monitor when using Silverlight/Netflix. I made a video to help illustrate the issue: https://www.youtube.com/watch?v=qsSpz6UcShA

  • Audigy 4 Pro 24/96 drivers issue

    Hi, I got one of these guys a few days back and I'm having some grief making the 24bit ASIO drivers work in Cubase SX. I get get it to work fine with the 16bit ones but when I select the 24bit drivers all the music speeds up to chipmunk speed and the