Error in pdf report...pls give me a solution on this

hi all....
i did a small pdf report program...checked successfully but the error in exception comes when executing after the selection screen(when write my report name)...
it says...the exception is:in the function get_print_parameters,the structure parameter "in_archieve_parameters" is typed in such a way that only actual parameters are allowed,which are compatible in unicode w.r.t the fragment view, however the specified one has an incompatible fragment view....
pls rectify...is it any other work i've to do in setting printers info????
expecting ur reply....

Hi sankar,
I use it in this way and i don't have any problems (ECC6).
DATA: BEGIN OF ITAB OCCURS 0,
         TEXT(72),
      END   OF ITAB.
DATA: PDF_FILESIZE TYPE I.
DATA: BIN_FILESIZE TYPE I.
DATA: PARAMS      LIKE PRI_PARAMS,
      VALID       TYPE C.
DATA: SPOOL_NR     LIKE TSP01-RQIDENT,
      SPOOL_NR_DEL LIKE TSP01_SP0R-RQID_CHAR.
DATA: BEGIN OF PDF_OUTPUT OCCURS 0.
        INCLUDE STRUCTURE TLINE.
DATA: END   OF PDF_OUTPUT.
DATA: DATEI TYPE STRING VALUE 'C:\TESTPDF.PDF'.
DATA: RC TYPE I.
START-OF-SELECTION.
  READ REPORT 'ZGRO_ITAB_PDF_SPOOL' INTO ITAB.
  CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
      DESTINATION    = 'LOCA'
      LINE_SIZE      = 080
      IMMEDIATELY    = ' '
      NO_DIALOG      = 'X'
    IMPORTING
      OUT_PARAMETERS = PARAMS
      VALID          = VALID.
  CHECK VALID <> SPACE.
  NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG NO-TITLE NO-HEADING.
  LOOP AT ITAB.
    WRITE:/ ITAB.
  ENDLOOP.
  NEW-PAGE PRINT OFF.
  SPOOL_NR = SY-SPONO.
  CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
    EXPORTING
      SRC_SPOOLID   = SPOOL_NR
    IMPORTING
      PDF_BYTECOUNT = PDF_FILESIZE
    TABLES
      PDF           = PDF_OUTPUT.
  SPOOL_NR_DEL = SPOOL_NR.
  CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
    EXPORTING
      SPOOLID = SPOOL_NR_DEL.
  BIN_FILESIZE = PDF_FILESIZE.
  CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
    EXPORTING
      BIN_FILESIZE = BIN_FILESIZE
      FILENAME     = DATEI
      FILETYPE     = 'BIN'
    CHANGING
      DATA_TAB     = PDF_OUTPUT[].
  CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
    EXPORTING
      DOCUMENT = DATEI.
END-OF-SELECTION.
Regards, Dieter

Similar Messages

  • Pls give me the solution for this requirement

    Hi experts ,
    pls give me the solution for this requirement
    what we have to do when basis guys are tranported my object to the production without completting . how can we rectiify this .
    thanks in advance

    Hi
    After Transporting a request or released a request you cant do any thing in that so now you have to create a new Transport request for your report continue with that. After completion transport it . It will makes no difference it will just over write already existing report
    Reward alll helpfull answers
    Regards
    Pavan

  • I want to install an mail Id on Ipad Mini other than yahoo an google but it is showing an error message about SSL could not connect. Please give me the solution on this.

    Hi
    i want to install an mail Id on Ipad Mini other than yahoo an google but it is showing an error message about SSL could not connect. Please give me the solution on this.

    Hello there ypda75,
    I have an article here that has a list of settings to get from your Email provider so you can make sure that the settings are correct. It has troubleshooting steps to try as well. Also I would recommend restarting the router, and/or testing a differnet network.
    iOS: Unable to send or receive email
    http://support.apple.com/kb/ts3899.
    If you are unable to send or receive email, try the following steps:
    Restart the iOS device.
    Tap Safari and attempt to load a webpage to ensure that the device has Internet access. If you're unable to load a webpage, try the Wi-Fi assistant.
    Try an alternative Internet connection.
    If your email is provided by your Internet provider, try connecting from the home network.
    If your iOS device has an active cellular data plan, try to disable Wi-Fi:  Tap Settings > Wi-Fi and turn off Wi-Fi.
    If not, try a different Wi-Fi network.
    Log in to your email provider's website to ensure that the account is active and the password is correct.
    Delete the account from Settings > Mail, Contacts, Calendars and then add the email account again on the iOS device.
    If you're still unable to send or receive email, contact your email provider and verify the account settings are correct. You will need to gather this information (PDF).
    All the very best,
    Sterling

  • When i connect my iphone 4,an error message saying usb device is malfunctioning is appearing...can anyone give me a solution for this?

    when i connect my iphone 4,an error message saying usb device is malfunctioning is appearing...can anyone give me a solution for this?i tried using on a different pc.but still get the same result..

    First thing i would try is to use another cable if available.

  • TS1559 halooo sir/madam,I am using iphone4s,after update ios 7 my device wifi is not working wifi button also not enable pls give me the solution

    i am using iphone 4s,after update ios7 the wifi is not working and wifi button also not eneble its dimmed pls give me the solution.

    http://support.apple.com/kb/ts1559

  • HT1430 Hi I am having a problem to delete call log in iPhone 3GS from last 1 month, I have restore iPhone many times but it doesn't works, pls give me a solution , whenever I try to delete call log it's hang for some time.

    Hi I am having a problem to delete call log in iPhone 3GS from last 1 month, I have restore iPhone many times but it doesn't works, pls give me a solution , whenever I try to delete call log it's hang for some time, pls tell me how to restore call delete option

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

  • I have installed 2010 microsoft office 2010 home and business version for my laptop,and i have installed lync 2013.Now i want create online lync meeting from outlook,but i am unable view that lync icon in outlook.Please give me the solution for this que

    I have installed 2010 Microsoft office 2010 home and business version for my laptop,and I have installed lync 2013.Now i want create online lync meeting from outlook,but i am unable view that lync icon in outlook.Please give me the solution for this issue.
    Regards
    Raghavendar

    Hi Raghavendar,
    Generally, when you install Lync 2013 in the computer with Office 2010, a Lync Meeting Add-in will be installed and enabled in Outlook 2010. Please follow these steps to check it:
    1. In Outlook, click the File tab, click Options, and then click
    Add-Ins.
    2. Please take one of the following actions:
    If the add-in is in the Inactive Application Add-ins list, follow these steps:
    a. In the Manage drop-down list at the bottom of the dialog box, click
    COM Add-ins, and then click Go.
    b. Click to select the check box next to the add-in, and then click OK.
    The New Online Meeting button should now be available in
    Calendar View, and the Online Meeting button should be available when you create a new calendar item.
    If the add-in is in the Disabled Application add-ins list, follow these steps:
    a. In the Manage drop-down list at the bottom of the dialog box, click
    Disabled Items, and then click Go.
    b. Select the add-in, and then click Enable.
    c. Restart Outlook, and then verify that the add-in is displayed in the
    Add-ins dialog box.
    The New Online Meeting button should now be available in
    Calendar View, and the Online Meeting button should now be available when you create a new calendar item.
    3. In Event Viewer, view the Application log to see whether an error was logged for Outlook, for Lync 2013, the Lync Meeting Add-in for Microsoft Office 2013.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Can anyone solve (or) give me a solution for this problem.....?

    Hi Everyone!
    Can anyone solve (or) give me a solution for this problem.....?
    We have used two folders Source & Finalwork. We have get image from Source folder and put silo path & Moved to Finalwork folder.
    Is this possible to check whether both folder images Embedded color profile same or not.
    -yajiv

    Could you elaborate what you mean by this
    We have get image from Source folder and put silo path & Moved to Finalwork folder.
    Possibly again with a screenshot to illustrate the task?
    // 2012, use it at your own risk;
    #target photoshop
    var theFolder = Folder.selectDialog ("select source folder");
    if (theFolder) {
    var theFiles = theFolder.getFiles(/\.(jpg|tif|eps|psd)$/i)
    var theOtherFolder = Folder.selectDialog ("select target folder");
    if (theOtherFolder) {
    var theOtherFiles = theOtherFolder.getFiles(/\.(jpg|tif|eps|psd)$/i)
    var missingFiles = new Array;
    var unmatchedProfiles = new Array;
    // work through files;
    for (var m = 0; m < theFiles.length; m++) {
              var check = false;
              var theFile = theFiles[m];
    // find name of the same name;
              for (var n = 0; n < theOtherFiles.length; n++) {
                        var theOtherFile = theOtherFiles[n];
    // if one is found;
                        if (theFile.name == theOtherFile.name) {
                                  check = true;
                                  var oneFile = app.open(File(theFile));
                                  var otherFile = app.open(File(theOtherFile));
    // check profiles;
                                  if (oneFile.colorProfileName == otherFile.colorProfileName) {
    // collect umages with unmatched profiles;
                                  else {unmatchedProfiles.push(theFile)};
    // collect missing files;
              if (check == false) {alert ("hahaha");missingFiles.push(theFile)}
    // alert of problems;
    if (unmatchedProfiles.length > 0) {
    alert ("the corresponding files for these do have a different color space:\n"+unmatchedProfiles.join("\n\n"));
    if (missingFiles.length > 0) {
    alert ("these files miss corresponding ones:\n"+missingFiles.join("\n\n"));
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
        if (theFile.name.match(/\.(jpg|tif|psd|pdf|)$/i)) {
            return true

  • Could you please give me a solution for this

    Hi,
    I am doing BPC migration project from MS to SAP NW.In this,
    I added 20 Dimesion properties in the Entity dimension, It is not accepting 21st property in that Entity dimension.
    Could you please give me a solution for this at the earliest.
    Thanks and Regards
    Krishan
    Edited by: chinnikrishna on Aug 10, 2011 11:28 AM

    Hi Krishan,
    The length of property ID should not be more that 20 characters and the description has a limitation for 60 characters. Otherwise there is not limit as such to add properties.
    Hope this helps.
    Rgds,
    Poonam

  • Error in PDF report

    Hi experts!!
    I'm trying to get the deductions certificate (RPC190E0) in PDF format.
    If we customize to get this certificate in SAPSCRIPT (table V_T799BSFT) the result is correct.
    But if we customize to get this certificate in PDF when we run the report we get this error:
    Device type unsuitable for ADS documents
        Message no: SPADS011
    Kind regards,
    Julian

    Julian,
    Talk to your system guy, Adobe Document Server (ADS) need to be setup correctly in your landscape.
    Further help on printer configuration for ADS
    [http://help.sap.com/saphelp_nw70/helpdata/en/25/6fa8fd27837846990a7a6813b06f80/content.htm]
    Your message is probably issued after evaluation of the following function:
          CALL FUNCTION 'ADS_GET_DEVTYPE_ATTRIBUTES'
            EXPORTING
              prtype  = prts-type
            IMPORTING
              adstype = adstype.
          IF adstype IS INITIAL.
            sy-subrc = 3.
            MESSAGE s011.
            RETURN.
          ENDIF.
    So you can always debug and check what parameter is missing.
    I have had the same problem in the past, talked with my system guy who solved it out.... misconfiguration of printers...
    Hope it helps.
    Regards.

  • I have hp g series its spyker not working properly pls give me any solution

    i have hp pavilion g series. i was listening music first its left spesker turn off and after its both speaker turn off. i have cheaked all settings the all settings are correct pls give me any sollution.

    I do not really know much about this kind of problem, but i may be your internet connection.
    If you are on your own #G network then:
    Go to Settings > then enable "Airplane Mode". Count to 10 and then disable it.
    Then wait patiently until you get a good connection and then try again.
    If you are on a nearby Wi-Fi connection then:
    Go to Settings > Wi-Fi > then disable then enable after counting to 10. Make sure that you are connected and then try again.
    If all else fails, then you need to contact your provider for assistance.
    Sprint:888-211-4727
    AT&T:?
    Verizon:?

  • Critical error: HP LaserJet 100 color MFP M175 Series - Please give me a solution to this problem.

    I am having a problem trying to install a new printer. As an administrator on a active directory domain on a Windows XP machine; when I go to install the software on the HP LaserJet Pro 100 Color MFP M175nw CD with serial number CE866-60105 v1.1, the installation which says "product has been detected - waiting for product setup to finish. This may take several minutes..." takes about ~40min to go through the installation. After this time passes the installation progress bar gets to 99% and then it says "Error - An install operation took too long to execute. This is a fatal error preventing product use. Please restart your computer and run the installer again. If the problem persists, please check the product support web site for your product.
    I've attached this error screen to this post. What do I need to do to get this printer installed?
    Thanks,
    Jeremiah O'Neal - NST
    [email protected]

    Hi Mario,
    I have a similar installation error like Jeremiah-NST.
    I was sucessful installing CD setup on my Dell XPS Laptop  but have spent 2 days trying to go through the same installation process on my Toshiba Satellite laptop.
    i'm using the setup Hp printer cd to do the installation on the computer hence the same error post like the one of Jeremiah-NST.
    please assist.
    Eben

  • Adobe Reader error with PDF reports created using AS Reports Server 10g

    Hi,
    Recently when trying to run reports in our system (which uses Oracle Application Server Forms & Reports Services 10g - 10.1.2.0.2), sometimes when we try to run a report in PDF format the following happens:
    1. A new window appears as expected
    2. This window hangs/appears to try to load for a couple of minutes
    3. Eventually an Adobe Reader error message appears saying the following:
    *"There is a problem With Adobe Acrobat/Reader. Please exit Adobe Acrobat/Reader and try again".*
    I have noticed that this problem only seems to occur when the client has Adobe Reader 9.3 installed (8.2 works fine).
    Has anyone else encountered this problem? Is there a known workaround or is this a known issue?
    Many thanks,
    Chris

    Does anyone have any ideas on this or has anyone encountered the same problem?
    thanks

  • While using firefox often i come across application error dialog box.if i click any option in this dialog box my firefox restarts. pls give me a solution to get rid of this problem

    this problem happens when i click websites of search results

    Install Java via http://www.java.com/en/
    Also install the Quicktime plugin via http://www.apple.com/quicktime/download/
    If the problem persists, try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, then one of your add-ons is the culprit.

  • Hi I am using an iphone 4 and its was working fine.  Presently its giving browsing error.  Whenever I am trying to browse internet by using safari or any other browser it retruns with "server not responding" Can somebody give me a solution for this ?

    Hi I am using an iphone 4 and its was working fine.  Presently its giving browsing error.  Whenever I am trying to browse internet by using safari or any other browser it retruns with an error message "server not responding" Even the same thing is happening with youtube also. The worst part is am able to check my mails, able to chat and so on... only thing not able to browse through the browser.  I have tried restore option also.  This is happening with both Wlan and Data con. too
    Please help...

    I do not really know much about this kind of problem, but i may be your internet connection.
    If you are on your own #G network then:
    Go to Settings > then enable "Airplane Mode". Count to 10 and then disable it.
    Then wait patiently until you get a good connection and then try again.
    If you are on a nearby Wi-Fi connection then:
    Go to Settings > Wi-Fi > then disable then enable after counting to 10. Make sure that you are connected and then try again.
    If all else fails, then you need to contact your provider for assistance.
    Sprint:888-211-4727
    AT&T:?
    Verizon:?

Maybe you are looking for

  • I want to clean out my hard drive and re-install Tiger

    I am copying my user folder and bringing it on to an external Hard drive. Is there anything that I should know before I do this. How do I make sure that I'm not deleting anything that I don't want to be deleted. What are some things I need to know. t

  • Final Cut Studio Videos

    Hi Guys, A while ago I found a bunch of really good 'getting started' videos on the apple website for products within the Final Cut Studio such as Final Cut Pro, but now I cant seem to find them anywhere, have they been removed? I think the first vid

  • How to do Validations on Incomming Idoc-XML In XI

    Hi all, I have Scenario Idoc--File, in this if my Idoc generated with 5 line items say 5 Materials. Say If the 3rd Material data is wrong , then the whole Idoc wil be failing in MONI. We implemented in mapping on how to through exceptions if there is

  • Ssh in virtual machine

    I want to connect to my virtual machine (vm player) archlinux (and CentOS ) with my host - arch linux through ssh. I searched in archwiki secure shell but found nothing related to the task except installation of ssh which i did in both guest and host

  • OS 10.5.6 working with iMovie 06 and iDVD 08

    Just a report that it works (for me).