UCCX 8.5 prompts get corrupted and play scratch

I have a uccx prompt that was working fine and it now sounds scratchy and distorted. I've refreshed the prompt, application and script. I can play the wav file and it sounds fine. I've done everything but reboot uccx.
I recycled the prompt a few weeks ago and it worked but tonight nothing seems to  help.

Hi
How was this prompt recorded?
It sounds like it may be in the wrong format, perhaps post it up here to get it checked.
It should be CCITT u-Law, 8 kHz, 8 bit mono...
Regards
Aaron

Similar Messages

  • My ipod keeps getting corrupted and I have to reset it

    My ipod keeps getting corrupted, and I have to keep resetting it. I have owned four ipods. Yes that's right. Four. I have been returning them but every single one does this. It is the same every time. I press the middle button when "Music" is selected, and the device completely shuts off when I do this and goes to the Apple icon. If I press play, then it will play songs, but only at random, and I cannot access my playlists. I have to reset the ipod to fix this problem. What's going on with this?
    ipod Nano   Windows XP  

    Im not sure EXACTLY what would cause this, but if you have had 4 nanos do the exact thing, its either a issue with the nanos being sold at the place your getting them at, like the local store in your area, or its a issue with your PC. I know some people report a issue with a certain malware program that sneaks on there system and causes havoc with the iPod service and in turn causes weird things with there pod.
    The iPOd Service is a program that runs in the background of windows and, in basic terms, acts like the "Middle guy" translating things from the PC to the pod.
    Scan your system for any viruses with a antivirus program and scan for malware with Ewido http://www.ewido.net/en/download Then download install and run the latest iPod updater on your nano here http://www.apple.com/ipod/download/

  • Adobe Acrobat X Pro gets corrupted and will not open

    After a month or so Adobe acrobat gets corrupted and will not open, so I have to uninstall it and reinstall it again. I am using windows 8 64bit professional version. Even the updates did not solve the problem.

    The advantage of the repair if it works is that you don't have to repeat the updates. AA X is currently at 10.1.7. The best way to do the updates is typically from the Help>Updates selection. They can also be downloaded from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows (or MAC equivalent) and installed in order -- most are not cummulative.

  • On receiving jpegs via email, sometimes they get corrupted, and there are horizontal blocks appearing on the image

    On receiving jpegs via email, sometimes they get corrupted, and there are horizontal blocks appearing on the image that distort the image. Help???

        Hi Bruce523,
    Let's get to the bottom of this, your efforts are greatly appreciated! What is the software version on your device:http://vz.to/ZVhZsh ? I look forward to hearing from you soon.
    Thanks for your contribution to our community forums,
    AyaniB_VZW
    Follow us on Twitter @VZWSupport

  • I was having issues with my 80G Video iPod and had to restore it, but now it seems all of my music on it previously is "corrupt" . How did all my songs get corrupted and how do I fix them?

    I was having issues with syncing my 80G video iPod, so I restored it, and now all my songs in my library are "corrupted" and I can't get them back on my iPod. I keep getting error(-69). How did my songs all get corrupted, and how do I fix this without having to purchase these songs all over again?

    Go to the iTunes Store, log into your account, and click the Purchases link under the Quick Links. From there you should be able to re-download some or all of your purchased content. Note that not all content has been licensed for re-downloading in all countries at this time; you can see what content you can download here:
    http://support.apple.com/kb/HT5085
    You can also re-download content using an iOS device.
    For more information, see:
    http://support.apple.com/kb/ht2519
    This if course will not apply to songs you did not buy through the iTunes Store.
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • UCCX 9.1 - Enhanced - Place call and play prompt STEPS

    Hello,
    I try to create a script that could place call and play a prompt (wav files).
    The step place call works but the play prompt do not play something.  Do I need something special to do to make my play prompt works.
    My wav files is in the good format.
    Thanks

    Hello,
    I finally found the problem.  In fact, this is my error.  In my place call Step, I did not configure a valid dialog group.
    Thank you,

  • The songs being synced to my iphone would get corrupted and then everytime i plugged in my ipod or iphone itunes said they needed to be restored but that didnt work so i uninstalled itunes and now when i try to install it it doesnt install.

    At first everytime i tried to sync songs to my iphone the songs got corrupted and wouldnt play or they would skip. Then my ipod and my iphone wouldnt sync and itunes said they needed to be restored to factory settings, I tried doing that a few times and it never would work, the restore would run into various errors and never work out. I recentlly tried uninstalling itunes to see if that would help but now when i try to install and download itunes it doesnt work and the install runs into an error.
    Also my ipod is stuck in recovery mode but my itunes doesnt even read the fact that its there. Can someone please help.

    I recentlly tried uninstalling itunes to see if that would help but now when i try to install and download itunes it doesnt work and the install runs into an error.
    What does the error message say? (Precise text, please.)

  • I tried to sync my iPod Classic but if I try to sync more than 700 songs, everything freezes and the iPod gets corrupted, and I have to restore it. Can I fix this?

    I recently bought a new Mac laptop. When I tried to erase all the songs on my iPod and sync it to my new library, 700 songs synced before the sync froze. I could still play songs on iTunes but no more songs would sync.
    It wouldn't let me stop the sync and safely eject my iPod, so I just unplugged it. I plugged it back in and iTunes said the iPod was corrupted, so I restored it. I tried to sync it again, but the same thing happened, and it still happens every time I try.
    Is there a way to fix this?

    Are you running any sort of AntiVirus or security software on your system?  If so, try disabling it temporarily and then resyncing your iPod. 
    Otherwise, try sync content to your iPod in smaller batches to see if that heps.
    B-rock

  • After using an ExtendScript (via ESTK) Illustrator becomes corrupted and "Can't open illustration."

    Hey, thanks for reading.
    I'm having a strange problem with Illustrator CS5 and ESTK CS5. I'm new to writing ExtendScripts, so I haven't a clue what could be going wrong here but here's the skinny:
    I've written the following code, which is very specialized to the exact document I'm working with. Using the ExtendScript Toolkit, the script goes through the following loops:
    The primary problem:
    For some reason, running this script causes Illustrator to become somehow corrupted. I can continue working with the document as long as it is open, but if I try to close it and re-open it, I get the infuriatingly unhelpful error dialog "Can't open illustration." With no extra details.
    The same error comes up if I try to open any other .ai files. Shutting down and rebooting doesn't fix the problem. I have to completely uninstall Illustrator, then re-install it before it will work again. And even then, if I try to open the ExtendScript-corrupted file the whole Illustrator app gets corrupted and needs to be reinstalled.
    Oh, also Illustrator itself shows up as "(Not responding)" while the script is running, but the ESTK console clearly shows that the script is chugging along as expected.
    Specifics about the script:
    There are 4 "Buttons" on the document, and a library full of nearly-identical symbols in the Library (different colored backgrounds for the buttons).
    The script cycles through every symbol in the library, replacing and deleting instances of the previous symbol.
    Then, for each symbol, it cycles through an array (technically an object-literal) of { language-code: "string" } pairs, and saves a .png of each artboard for each word.
    What follows is a pared-down version of the full script:
    (I tried to add a few $.sleep(10); calls, hoping that maybe just a brief slowdown in the processes might help. It didn't.)
    This script (in its original form) outputs a ton of files very, very quickly.
    Script Example
    var folder = Folder.selectDialog();                     // Ask for a folder choice.
    var aDoc = app.activeDocument;                        // Declare an active Document reference.
    var textLayer = aDoc.layers.getByName('text');   // Get the text layer, for moving it back/forward
    var textFrms = aDoc.textFrames;                       // Get all text frames, for language swap
    var allSymbols = aDoc.symbols;                         // Get array of all symbols in the symbol library
    var allSymbolItems = aDoc.symbolItems;            // Get an array of all symbol instances in the active document
    var helpTextArray =
        en: "help",
        az: "Kömək",
        cs: "Nápověda",
        da: "Hjælp",
        de: "hilfe",
        el: "Bοήθεια",
        en: "help",
        es: "ayuda",
            * There's normally 3 arrays with many more languages / translations
    if( aDoc &&                                      // We have an activeDocument
         folder &&                                    // and we have a selected output folder
         allSymbols.length > 0 &&             // We've got symbols
         allSymbolItems.length > 0 &&      // and we've got symbol instances "symbolItems"
         textFrms.length > 0 ) {                 // and we've got textFrames to manipulate.
        // For each symbol in our symbol library...
        for(var i = 0; i < allSymbols.length; i++) {
            // Run through all instances of symbols (symbolItems), and replace with a different symbol.
            for(var ii = 0; ii < allSymbolItems.length; ii++) {
                // Move text layer out of the line of fire.
                $.writeln('Move text to back');
                textLayer.zOrder(ZOrderMethod.SENDTOBACK);
                var currObj = allSymbolItems[ii];
                var newObj = aDoc.symbolItems.add(aDoc.symbols[i]);
                var symbolColor = aDoc.symbols[i].name;
                // Add the new / replacement symbol.
                newObj.left = currObj.left;
                newObj.top = currObj.top;
                newObj.width = currObj.width;
                newObj.height = currObj.height;
                // Remove the old symbol.
                currObj.remove();
                // Bring text back up to the front.
                $.writeln('Bring text to front');
                textLayer.zOrder(ZOrderMethod.BRINGTOFRONT);
                redraw();
                $.sleep(10)
            // Run through each language and each buttonText and save a copy.
            var currArray = helpTextArray;
            var currArrayName = "help";
            for(currLang in currArray) {
                switchText(currLang, currArray);
                $.sleep(10)
                // Run function to save .pngs of each artboard
                exportAll(currLang, symbolColor, currArrayName);
            } // end for (currLang in currArray)
        } // end symbols.length
    } // end if
    function switchText(lang, array) {
        //var textFrms = activeDocument.textFrames;
        var newText = array[lang];
        newText = (newText === "") ? array["en"] : newText;
        for(var i = 0; i < textFrms.length; i++) {
            var isHorizontal = ( textFrms[i].width > textFrms[i].height );
            var scale = 100;
            var scaleMatrix;
            textFrms[i].contents = newText;
               * There's normally an automatic text-resizer here
        } // for var i
    function exportAll(lang, color, buttonText) {
        var artBds = aDoc.artboards;
        var options = new ExportOptionsPNG24();
            options.antiAliasing = true;
            options.transparency = true;
            options.artBoardClipping = true;
        for(var i = 0; i < artBds.length; i++) {
             var currBoard = artBds.setActiveArtboardIndex(i);
             var buttonPosition =  artBds[i].name;
             var newFile = new File(folder.fsName+"/"+buttonText+"_"+color+"_"+buttonPosition+"_"+lang+".png");
             aDoc.exportFile(newFile,ExportType.PNG24,options);
             $.writeln('A file was saved with the name:: '+buttonText+'_'+color+'_'+buttonPosition+'_'+lang+'.png');
             $.sleep(10)
    function revertToOriginal() {
        $.writeln('Revert');
        // Switch the text back to help.
        switchText("en", helpTextArray);
        // For each symbol instance...
        for(var i = 0; i < allSymbolItems.length; i++) {
            // Move text layer out of the line of fire.
            $.writeln('Move text to back');
            textLayer.zOrder(ZOrderMethod.SENDTOBACK);
            var currObj = allSymbolItems[i];
            // Add in the placeholder since we're reverting.
            var newObj = aDoc.symbolItems.add(aDoc.symbols[0]);
            var symbolColor = aDoc.symbols[0].name;
            // Add the new / replacement symbol.
            newObj.left = currObj.left;
            newObj.top = currObj.top;
            newObj.width = currObj.width;
            newObj.height = currObj.height;
            // Remove the old symbol.
            currObj.remove();
            // Bring text back up to the front.
            $.writeln('Bring text to front');
            textLayer.zOrder(ZOrderMethod.BRINGTOFRONT);
            redraw();
            $.sleep(10)
            $.writeln('REVERT');
    revertToOriginal();
    Are there best practices that I'm unaware of here that could be causing this corruption?
    Does anyone know what could be happening?
    The only error I ever get is "Can't open illustration." There's never anything more helpful, so I have no idea what could be going wrong.
    If there's any more information that would be of use to anyone I'd be happy to share. This is wasting a lot of my time and making me pull my hair out like crazy,

    I have not had the time to look over your script but at a glance there are a few things I would handle differently…
    Firstly returning a document to a given state… If you play with this snippet you can see that app.undo() returns to the last called app.redraw() if there is one else it undo's the whole script…
    #target illustrator
    doSymbols();
    function doSymbols() {
        var doc = app.activeDocument;
        var sym = doc.symbols[0];
        for ( var i = 0; i < 4; i++ ) {
            var foo = doc.symbolItems.add( sym );
            foo.position = Array( i * 72, -( i * 72 ) );
            app.redraw(); // Comment this out to see…
        app.undo(); // Returns to last redaw state if any…?
    Secondly your symbols… You know you can just change the symbol instance's symbol reference…? If they are almost the same particualy size then its an easy swap…?
    #target illustrator
    doSymbols();
    function doSymbols() {
        var doc = app.activeDocument;
        var sym = doc.symbols[1]; // Next symbol in the palette
        for ( var i = 0; i < 4; i++ ) {
            doc.symbolItems[i].symbol = sym;
            app.redraw();

  • Why do music files get corrupted in iTunes?

    Why do music files get corrupted in iTunes? All kinds of files;( mp3, mp4, aac, etc., either purchased from iTunes, Store, downloaded from online, or uploaded from an audio disc) SUDDENLY GET CORRUPTED AND STOP PLAYING! Even if I delete the file from my iTunes and then re-open it from the source, it appears to be corrupted. My system has been thoroughly scanned and does not have and never has hAd, a virus. Music files should not have a shelf life. They're just non-living pieces of information. So why should they suddenly go bad? It is unacceptable that over the past year I have had to delete many files from my iTunes library and find some other source for the same song. It has been an exhausting headache and an exasperating waste of my time.

    this is not necessarily the case, I had an itunes library go bad on me. I noticed the corrupt files on my ipod, they were either skipping real bad or sounded like there was some crazy modulation filter applie. Anyways, i went to iTunes and the files were bad there, so I played them in WMP, also bad, so obviously it was a file issue, BUT, what was the source of the corruption.......also, this happened ONLY to mp3s, no other audio file.......so i had backups and copied the bad files from a dvd and played them in WMP, files were good, then i import them to iTunes, and the files are crap again, so I tried just adding to library, still bad. So the file was fine before, once iTunes touched it, the file went bad, I **** you not. So I uninstalled iTunes from my PC, downloaded the newest version and reinstalled, same problems, so i continued trying with a different version, and making sure all registry entries were cleared before installing etc. NOTHING, so in the end i had to start using Winamp and all those files have not since caused me problems. So NO, it does not have to be hard drive issues, assess your own situation and you should be able to figure out if it is your HDD. My problem seemed to be iTunes library corrupting my metadata. However, I could never get it to work. I am glad to say I have since abandoned my PC and bought a new iMac on which i once again happily running iTunes with all the same audio files as before

  • AE CC 2014 Corrupted and Glitched frames when rendering to Quicktime

    Ever since upgrading to the newest version of After Effects, I've been getting corrupted and glitched frames when rendering videos with a Quicktime holder.  My normal workflow is rendering the video straight out of AE, but it also happens when rendering with Adobe Media Encoder, or even while using the "BG Renderer" script for AE that renders from the terminal.  It happens whether I have multiprocessing enabled or not.
    The corruption differs depending on what codec I'm using, but in the Cineform Codec it shows up as green frames:
    On DNxHD they show up as Red frames (don't have a screencap of this one but you get the idea).
    Using the QT Animation Codec they show up as static or distortion:
    I have not found a codec that does not become corrupted when encased in the QT holder.  Image sequences render out fine, and Cineform with an AVI holder renders out fine.
    Even more strangely, I can fix the problem if I link the AE composition to Premiere, then render the QT file out through Premiere itself.  The fact that Premiere calls and renders the Comp fine but AE does not, makes me think this is a bug in AE's treatment of Quicktime rather then a driver/system incompatibility on my end.  But I'm certainly willing to try any suggestions the community might have for me =]
    Specs:
    Windows 7 64-bit
    AMD Firepro V7800
    AMD Phenom II X6 1090T
    16 GB RAM
    Rendering to a local drive
    Fully Updated AE
    Latest version of Quicktime

    solutions for problems with QuickTime files in After Effects CC (12.0) because of conflict with DVCPROHDVideoOutput Quic…

  • 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

  • AddressBook corrupt and Internet Passwords wiped

    Hello--
    SOHO network running from ML 10.8.5/Server 2.2.2.  My primary workstation upgraded to Mavericks.  After spending most of last week rebuilding the server and getting other things fixed, I had hoped to be doing work this week.  Unfortunately, the system, in particular my account on Mavericks, remains unreliable (I never thought I'd say this but good thing I had Windows running in a VM so I got some work done!). 
    The particular problem seems to include at least three issues, which may in part be related.
    1) Corruption/zero out of local copy of addressbook (AddressBook-v22.abcddb).  My addressbook is served from the ML server which, thus far, has remained intact.  However, I find the locally synced copy on Mavericks gets corrupted and then wiped.  Here are part of the log entries when this seemed to occur last:
    12/9/13 10:44:25.934 AM CalendarAgent[201]: Database file is empty: /Network/Servers/<path_to_user_home>/Library/Application Support/AddressBook/Sources/<a long uid>/AddressBook-v22.abcddb
    12/9/13 10:44:29.101 AM CalendarAgent[201]: Database file is empty: /Network/Servers/<path_to_user_home>/Library/Application Support/AddressBook/AddressBook-v22.abcddb
    12/9/13 10:44:44.923 AM com.apple.quicklook.satellite[249]: Move Address Book store at /Network/Servers/<path_to_user_home>/Library/Application Support/AddressBook/Sources/<a long uid>/AddressBook-v22.abcddb to /Network/Servers/<path_to_user_home>/Library/Application Support/AddressBook/Sources/<a long uid>/AddressBook-v22.abcddb.8CA923C4-4447-46F4-B9F4-CC6C5B36A0E7.unknown
    12/9/13 10:44:46.093 AM com.apple.quicklook.satellite[249]: Could not replace store at file:///Network/Servers/<path_to_user_home>/Library/Application%20Support/AddressBook/Sources/<a long uid>/AddressBook-v22.abcddb.8CA923C4-4447-46F4-B9F4-CC6C5B36A0E7.unknown from file:///Network/Servers/<path_to_user_home>/Library/Application%20Support/AddressBook/Sources/<a long uid>/AddressBook-v22.abcddb: Error Domain=NSSQLiteErrorDomain Code=3 "The operation couldn’t be completed. (NSSQLiteErrorDomain error 3.)" UserInfo=0x7fade0c27a20 {NSFilePath=/Network/Servers/<path_to_user_home>/Library/Application Support/AddressBook/Sources/<a long uid>/AddressBook-v22.abcddb.8CA923C4-4447-46F4-B9F4-CC6C5B36A0E7.unknown, reason=Failed to replace destination database} {
        NSFilePath = "/Network/Servers/<path_to_user_home>/Library/Application Support/AddressBook/Sources/<a long uid>/AddressBook-v22.abcddb.8CA923C4-4447-46F4-B9F4-CC6C5B36A0E7.unknown";
        reason = "Failed to replace destination database";
    And another entry indicates the Addressbook-v22.abcddb file is corrupted. 
    I also can note that I had a profile set up through Profile Manager that aimed to log users off after 30 minutes of activity.  The profile has not executed successfully yet on either Lion or Mavericks clients.  Because it wasn't work, I removed it today. 
    My first console entry this morning when I tried to use the computer which was hung on Reminders trying to logout:
    12/9/13 5:50:23.147 AM AddressBookSourceSync[4917]: 0x7faa506328a0: ManagedObjectContext (ABAddressBook) could not create the store at path: </Network/Servers/<path_to_user>/Library/Application Support/AddressBook/Sources/<a long uid>/AddressBook-v22.abcddb> - creation error: Error Domain=NSCocoaErrorDomain Code=134090 "A timeout error occurred while connecting to the persistent store." UserInfo=0x7faa5062eac0 {NSSQLiteErrorDomain=5, NSUnderlyingException=error during SQL execution : The database operation timed out after 44321.40 seconds.} {
        NSSQLiteErrorDomain = 5;
        NSUnderlyingException = "error during SQL execution : The database operation timed out after 44321.40 seconds.";
    While the computer is in the condition I've described, I cannot start apps for most of the collaborative services (Mail, Reminders, Calendars, Addressbook, Messages).  I assume this is because they all rely upon a healthy AddressBook-v22.abcddb file.
    2) All passwords in Internet Accounts (poorly named IMO) and Safari get wiped.  So far I haven't found any log entries useful to this.
    3) Notes associated with my server-provided email account do not behave properly.  Again, this appears to be a local syncing issue as the Notes on the server remain and are available via my iPad.  However, on Mavericks when I start Notes it bounces and bounces and then will finally start with zero notes.  If I close it, and go into Internet Accounts, I have  to (re)check the box next to Notes, and then restart.  At that point, the app pulls down the current notes from the server.  With this third issue, it has been occuring ever since I upgraded to Mavericks and is a condition that exists even when the AddressBook database problem described above is not in place.
    My first question then is, what might be causing these addressbook, password and Notes problems, and how do I fix the issue?
    I've found if I delete the AddressBook folder from Application Support, I can set up a new Contacts account profile and get the contacts from the server.  Everything runs okay for a little bit, but then the problem starts up again.
    My second question is whether or not the profile I had been pushing to log off users after 30 mins of inactivity could be a cause of the other issues?  Since I removed the package, I'll partially be able to test that myself.  The profile was only in place for a few days so the issues with the Notes pre-dates that.  Curious if others have thoughts about this.
    Thank you.
    Tim

    Logged in this morning and having same basic issues so it does not appear that forced logoff profile was the culprit.
    I'm walking through the log trying to track this down.  This seems to be the first significant error:
    12/10/13 5:21:33.894 AM
    com.apple.quicklook.satellite[3007]
    CoreData: error: (3) access permission denied
    12/10/13 5:21:34.235 AM
    com.apple.quicklook.satellite[3007]
    Unknown error reading database file, will attempt reimporting: Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo=0x7fdb286129f0 {NSSQLiteErrorDomain=3, NSUnderlyingException=error during execution of SQL string 'pragma journal_mode=wal' : access permission denied} {
        NSSQLiteErrorDomain = 3;
        NSUnderlyingException = "error during execution of SQL string 'pragma journal_mode=wal' : access permission denied";
    12/10/13 5:21:34.237 AM
    com.apple.quicklook.satellite[3007]
    Move Address Book store at /Network/Servers/<server-volume-path_to_user>/Library/Application Support/AddressBook/Sources/D5151080-51E2-4642-9C96-3947D4C49511/AddressBook-v22.abcddb to /Network/Servers/<server-volume-path_to_user>/Library/Application Support/AddressBook/Sources/D5151080-51E2-4642-9C96-3947D4C49511/AddressBook-v22.abcddb.FFB47C2D-950D-448F-B646-22F0BDE878EB.unknown
    12/10/13 5:21:34.281 AM
    com.apple.launchd.peruser.1025[167]
    (com.apple.speech.synthesisserver) The following job tried to hijack the service "com.apple.speech.synthesis.SpeakingHotKeyPort" from this job: com.apple.speech.synthesis.SpeechSynthesisServer.31360
    12/10/13 5:21:34.606 AM
    com.apple.quicklook.satellite[3007]
    Could not replace store at file:///Network/Servers/<server-volume-path_to_user>/Library/Application%20Support/AddressBook/Sources/D5151080-51E2-4642-9C96-3947D4C49511/AddressBook-v22.abcddb.FFB47C2D-950D-448F-B646-22F0BDE878EB.unknown from file:///Network/Servers/<server-volume-path_to_user>/Library/Application%20Support/AddressBook/Sources/D5151080-51E2-4642-9C96-3947D4C49511/AddressBook-v22.abcddb: Error Domain=NSSQLiteErrorDomain Code=3 "The operation couldn’t be completed. (NSSQLiteErrorDomain error 3.)" UserInfo=0x7fdb28500f80 {NSFilePath=/Network/Servers/<server-volume-path_to_user>/Library/Application Support/AddressBook/Sources/D5151080-51E2-4642-9C96-3947D4C49511/AddressBook-v22.abcddb.FFB47C2D-950D-448F-B646-22F0BDE878EB.unknown, reason=Failed to replace destination database} {
        NSFilePath = "/Network/Servers/<server-volume-path_to_user>/Library/Application Support/AddressBook/Sources/D5151080-51E2-4642-9C96-3947D4C49511/AddressBook-v22.abcddb.FFB47C2D-950D-448F-B646-22F0BDE878EB.unknown";
        reason = "Failed to replace destination database";
    Indications seem to continue to point towards file permission issues but not sure where they are being generated.  All the files and directories in ~/Library/Application Support/Addressbook have a min of RW for the user.  I guess I will create a brand new test user on the server and set up dummy addressbook to check other file permissions. 
    Still welcome other thoughts/suggestions from folks.
    Tim
    p.s., I thought Apple moved away from SQLite?
    p.p.s. In my Addressbook folder, under sources, I seem to have three generated directories, each with different unique names.  Is this normal?

  • Essbase.Sec corruption and relation with Planning

    Hi all,
    Is there any relation for Essbase security file with other Hyperion tools ?
    We have security in Shared Services and have variety of Hyperion tools. If Essbase security file gets corrupted and restored backup is historical then will it has impact on security of other tools like Planning, FR, etc ? I understand we have to rebuilt security for Essbase since the historical restored file.
    Thanks in Advance.

    HN,
    You should really have a nightly backup of your security file. It's easy to force it to a backup file (or just take whatever the latest backup is but I think I like the force backup approach even better) and thus not have to stop Essbase to get the critical information. See this thread:
    http://www.network54.com/Forum/58296/thread/1365190013/Essbase-sec+Backup
    Regards,
    Cameron Lackpour

  • ActiveX Automation Reference getting corrupted when sharing with Teststand

    I am using ActiveX Automation to interact with a 3rd Party Software. I use LabVIEW Functional Global to store the activeX reference. I have some low-level APIs with the Automation Refnum In and Out and few high level APIs which use the reference from Functional Global. I am also using these APIs in Teststand. When I store the Automation Reference in the Teststand Local Variable and pass it to the low-level APIs, It was working fine. But when I pass the Reference from the Teststand Local Variable to the Functional Global and use it afterwards, the reference is getting corrupted and I am getting error.
    I have created a prototype of the situation using ActiveX call to Skype from LabVIEW. The attached file has 3 Teststand sequences explaining the situation. 
    Debug1.seq : Passes the reference from TS Local to LV Functional Global  : Generates error
    Debug2.seq : Uses the reference from TS Local alone : No error
    Debug3.seq : Uses the reference from LV Functional Global alone : No error
    Can anyone suggest why is the reference loses its validity or any solutions?

    Hello, Nandini,
    I am using the WinXP and I am calling the DLL provided by Pirouette for their chemometrics software. I just solved the error -2147467262, but the new error comes out is :
    Error code: -2147467259 Exception occured in IxAsObjs.CoSIMCAPredict.1, Language Server QueryInterface failed: No such interface supported.
    Here is a few word for the problem from priouette:
    " just a few more words that might help you understand the nature of the problem. your LabView client talks to AlgSuite.dll using IDispatch interfaces AlgSuite.dll communicates with the language server on an IUnknown interface.
    Your client knows nothing about the internal workings of AlgSuite.AlgSuite communicating with objects that do not have IDispatch interfaces should be irrelevant to your client."
    Since the VB demo works fine in my machine, so they though it is percular to labview. Any comments? I appreciate it.
    LvvL

Maybe you are looking for

  • Best Resoltion for the 7" Digital Photo Frame

    Hello, I have got a *Digital Photo Frame II, 7"W, 720 x 480, Sensor Touch, MP3 Player-Funktion PA3637K-1ETC* The Manual doesn't tell me about the best Resolution for the Pictures to put on. on the Web you can Find: 800 x 480 Pixel WVGA-Screen (720 x

  • Is there any way in RH9 to search on the text that appears in images?

    I have a Webhelp project with many screen shots. Some of these screen shots contain messages. I think users mights want to search the help project when these messages appear on the screen. Are there any options in RH9 that would allow this? Thank you

  • Do I need original fce project to create dvd if I have a quicktime version

    Hi, Need to free up space. I finished a project in FCE and exported it as a quicktime movie. I am ready to make a dvd and need to clear up some space. Can I delete the original project and still be able to create the dvd from the quicktime movie? ...

  • Divider lines in SALV Tree, need to remove?

    Hi, I am using SALV Tree . I am seeing divider lines between ICONs in the Tree toolbar. I need to avoid these divider lines? Why? becuase it is utilizing lot of spaces. so that other ICONs gone into hide mode, for users view these icons they need to

  • Belkin Bluetooth Headset Adapter

    I am not happy with the stereo BT support on my MacbookPro (10.4x). I have a Belkin model F8T013 USB Bluetooth adapter and the documentation says go to Apple for the driver. I can not find it anywhere. Does anyone know were I can get the driver or if