REP-1216 Illegal Print Condition Error

I have a report in which i'm trying to add a link which will enable the user to download the report in Excel format. I've added a boilerplate object, which contains the link saying "click here to download", and have written a format trigger that runs behind this to take care of the download process.
When I try to run my report, I'm getting REP-1216 error saying "M_G_Frame" (frame that contains my boilerplate object) has an illegal print condition.
I'm a Reports newbie and am not sure I understand what the error means, and what kind of changes I need to make to eliminate the error.
Any help is greatly appreciated.

in the properties of the frame there is one where you define, when the frame is printed. in most cases this should be "First page" or "All pages" (i also always have to try out).
hope this helps

Similar Messages

  • Print Condition of a margin object

    hi,,
    i want to set the 'Print object on' to Last Page' of oa margin object.
    Actually i want to duplicate a report field for (F_1_Emp_name), on margin just besides page number field
    and that duplicate field (F_1_Emp_name1),should be only on the last page.
    For this, i have created a formula 'CF_1_Name1' outside all the queries groups.
    i added a feild 'F_1_Emp_name1' on my report layout inside margin and set its Print object proprty to 'Last Page'.
    but it gives error - 'F_1_Emp_name1 has an Illegal print condition'
    Kindly suggest. TY

    I don't know if there is an easier solution than this one, but I don't think so. The problem is that the total number of pages is know after formatting. There is a Total pages as a source for a field, but this can't be used in a program unit.
    1. Create a dummy query, like
    select 1  dummy
    from dual2. Create a package spec:
    PACKAGE pkg_globals IS
      totalPages number(3);
    END;2. Create a repeating frame and field for this dummy at the end of the report layout.
    3. Create a format trigger for this frame:
    function R_1FormatTrigger return boolean is
    begin
      SRW.GET_PAGE_NUM(pkg_globals.totalPages);
      return (FALSE);
    end;4. Create a format trigger for your margin field:
    function F_1FormatTrigger return boolean is
      pagenum   number;
    begin
      srw.get_page_num(pagenum);
      if pagenum = pkg_globals.totalPages then 
        return (TRUE);
      else
        return (false);
      end if;
    end;

  • Print an error message (HR)

    I want to print an error message when some conditions take place so I don't want to allow a save procedure in that case ( sy-ucomm = 'UPD') but when the conditions are checked and all are fullfilled and the user presses the save button, the message is not printed and the program returns to control program and it saves the data.
    how to do it ?

    hi
    good
    have you created any message that you want to display after user press the save button.
    if yes than use call that message type after you pressing the save button,
    if not than create the message type as
          MESSAGE MESSAGENAME.
    and call that particular message type after the save button you ll get the approprite message.
    thanks
    mrutyun^

  • REP-0826: Invalid printer driver 'dflt' specified by parameter DESFORMA

    We are using Developer 6. We had .PS Reports that printed fine till yesterday. Since this morning, we are getting the following error:
    REP-0826: Invalid printer driver 'dflt' specified by parameter DESFORMAT.
    What could be wrong?

    Hi,
    restart the reports process.
    If this doesn´t help restart the whole machine including the whole operating system.
    We do relativly often have this problem that the Oracle Reports processes function a long time (over months and more) without problems and then suddenly something does not work anmymore.
    Simply restart the whole machine and in most cases everything will work again.
    regards

  • REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found

    Hi guys,
    I am getting error 'REP-1401: Fatal PL/SQL error occurred. ORA-01403: no data found ' when run the report
    and i m also use formula column in my report.
    can any body help me why it's coming.
    following code is used in formula column plz check and verify:
    function CF_3Formula return Char is
    T1 VARCHAR2(100);
    begin
    SELECT
         VAT_REG_NO INTO T1
    FROM
         JA_IN_HR_ORGANIZATION_UNITS JIHOU,
         HR_LOCATIONS HL--,
         --MTL_TXN_REQUEST_HEADERS MTLH
    WHERE
    JIHOU.ORGANIZATION_ID=HL.INVENTORY_ORGANIZATION_ID AND
    JIHOU.LOCATION_ID=HL.LOCATION_ID AND
    --Jihou.ORGANIZATION_ID = Mtlh.Organization_Id AND
    -- Hl.INVENTORY_ORGANIZATION_ID =Mtlh.Organization_Id AND
    -- MTLH.ATTRIBUTE10=SUBSTR(HL.LOCATION_CODE,1,3) AND
    SUBSTR(HL.LOCATION_CODE,1,3)= :TO_ORG1 ;
    RETURN (T1);
    end;
    plz help me out.

    Hi;
    What is EBS version? Is it custom report or not?
    See below which is mention similar errors
    Autoinvoice Error: ORA-1403: no data found [ID 1209403.1]
    APXIIMPT - Payable Open Interface Import Fails on "REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred. ORA-01403: no data found" [ID 222058.1]
    Regard
    Helios

  • Dunning letter print output error

    Dunning Letter Generate and Custom Dunning Letter Print is not giving an output.
    The message is: "The file cannot be opened because it has no pages."
    Does anyone knows what might be the reason? and how to make Dunning letter work again..this is something urgent because this error is right now in the production and the users are really facing problems without the Dunning Reports
    I really appreciate for the quick response
    Thanks in advance!
    Best,KK

    We have customized Dunning Letter
    It used to work perfectly sometime back ...I dont know what went wrong suddently it is giving error when tried to run Custom Dunning Letter Print gving error "The file cannot be opened because it has no pages." [/b
    Not able to understand what might be wrong??
    I checked data for one customer in EBS (Customers>Customer Standard>Input customer number (xxxxxx)>Button Find>Button Ok>Button Open>Tab Characteristics) Even though in EBS form I saw that Language field contains value but respective field in DB was empty.
    My question when we run Dunning Letter from which level does oracle picks up the language??
    Is it from Address level of the customer??
    We have different environments which are clones of production. when I tried to run Dunning Letter in DEV environment which is used for building and testing which was a recent clone of production, it worked for me...not able to understand why it is not working in production??
    Best, KK

  • Report Admin - Print Preview Error

    In reports admin, I get the following error when I select print preview:error marshalling arguments; nested exception is; java.net.SocketException; Socket write failed.Any ideas?

    Hi
    Are you using <b>crystal wave</b>  a third party add  or the crystal report add on provided by SAP.
    1.Are all your user facing same issue ?
    2.Did it happen to only item or it is happening to all ?
    So far looks to me ,some fields have been deleted from template. It might be the cause .
    Hard to troubleshoot if it is coming from addon ...
    Well try restoring a default template (if you have ) or some other layout to test the issue.
    Thank you
    Bishal

  • REP-1425 report formula DO_SQL error putting value into column

    Hi all
    I have opened a report 2.5 in Oracle9i Reports Developer and, it converted ok. However, when I run the report (paper layout), the message
    rep-1425 report formula DO_SQL error putting value
    into column. Column may not be referenced by parameter
    triggers
    appears. There are several report level formula columns and corresponding placeholder columns that are the cause of this error. The formula has the following :
    SRW.DO_SQL('SELECT RPAD(''DAILY TABLE AUDIT REPORT'',60,''.'')||TO_CHAR(SYSDATE,''DD-MON-YYYY'') INTO :REPORT_TIT FROM DUAL');
    COMMIT;
    RETURN('');
    I can't work out what this error message really means as the column, report_tit is a placeholder column and, the formula column is not a parameter trigger!! The report_tit placeholder is used as a source for a layout field. I noticed that the layout field is defined as a placeholder column in the converted report but in the reports 2.5 version, it is defined as a layout field.
    I can do a work around by replacing the SRW.DO_SQL statement with a normal PL/SQL SELECT statement. However, I wonder if anyone else has had the same problem and, if anyone can help provide an answer as to what this error really means and, also, how I can retain the SRW.DO_SQL statement and/or an alternative work around to the one that I have described.
    Thanks.
    Therese Hughes
    Forest Products Commision

    Hi again
    The firewall proved to be the problem after all! The firewall set in Reports config-files is not used for WebServices, it has to be set within the stub:
    Properties prop = System.getProperties();
    prop.put("http.proxyHost","yourProxyServer");
    prop.put("http.proxyPort","youProxyServerPort");
    I inserted this in my java-code and after some problems (see below), restarting Report Builder turned the trick, the report works now.
    Cheers
    Tino
    Here there mail I set up before I found that restarting Report Builder helped:
    Thanks for your answer, putting in the proxy-settings actually helped some - the same error message is
    popping up, but instantly and not after 10 seconds like before:
    My proxy lines look like this, I also tried "http://proxy.ch.oracle.com", but "proxy.ch.oracle.com" proved to
    be the correct syntax:
    public Float getRate(String country1, String country2) throws Exception
    Float returnVal = null;
    Properties prop = System.getProperties();
    prop.put("http.proxyHost","proxy.ch.oracle.com");
    prop.put("http.proxyPort","8080");
    URL endpointURL = new URL(endpoint);
    Call call = new Call();
    I tested the new proxy-entries by disabling the proxy preference in JDeveloper, so I could verify the added
    proxy-lines in the code work - they do. If I change the proxy to some incorrect value like
    "proxyy.ch.oracle.com", they fail.
    After unsuccessfully trying recompile and re-import of Java classes, I rebuild the report from scratch and
    stumbled over the same problem. Now the question is, whether I'm still doing something wrong with the
    proxy or whether there is another problem after passing the firewall....
    -------------------------------------------------------------------------------------------------------------

  • Iam getting the error REP-1401: '': Fatal PL/SQL error occurred. when i

    When i run the report to generate xml file in report builder the following error messages are displayed.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: '': Fatal PL/SQL error occurred.
    pls help me.Its urgent
    Regards,
    Kranthi

    Hi;
    What is EBS version? Is it custom report or not?
    See below which is mention similar errors
    Autoinvoice Error: ORA-1403: no data found [ID 1209403.1]
    APXIIMPT - Payable Open Interface Import Fails on "REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred. ORA-01403: no data found" [ID 222058.1]
    Regard
    Helios

  • REP-1401 Fatal PL/SQL error occur ORA-06502 numeric or value error

    Hi,
    I am getting following error in reports 6i
    REP-1401 Fatal PL/SQL error occur ORA-06502 numeric or value error.
    I have added a formula column based on other formula column
    function CF_1FORMULA0005 return varchar2 is
    CF_CREDIT varchar2(38);
    begin
    :CF_CREDIT:= :D_CARRY_F_CR+:D_HD_SUM_REP_CR;
    RETURN (:CF_CREDIT);
    end;
    Oracle Standard formula coulmn:
    function D_CARRY_F_DRFormula return VARCHAR2 is
    l_dr VARCHAR2(38);
    l_dr_disp VARCHAR2(38);
    begin
    SRW.REFERENCE(:C_FUNC_CURRENCY);
    SRW.REFERENCE(:C_CARRY_F_DR);
    if (:C_CARRY_F_DR = 0) THEN
    ax_globe_package.g_dr_cf := TRUE;
    --l_dr:= '0.00';
    l_dr_disp := '0.00';
    l_dr := ax_currency_pkg.display_char(:C_FUNC_CURRENCY,l_dr_disp,38);
    else
    -- return(ax_currency_pkg.display_char(:C_FUNC_CURRENCY,:C_CARRY_F_DR,ax_page_pkg.f_maxlength));
    -- Bug2239881. Setting the carried forward totals.
    IF (:P_GLOBAL_ATTR_CAT = 'JE.GR.GLXSTBKS.BOOKS' AND ax_globe_package.g_dr_cf = FALSE) THEN
    ax_globe_package.g_dr_cf := TRUE;
    ax_globe_package.g_dr_total := :C_CARRY_F_DR;
    END IF;
    srw.message(999,'G_DR_TOTAL = ' || ax_globe_package.g_dr_total );
    l_dr := ax_currency_pkg.display_char(:C_FUNC_CURRENCY,to_char(ax_globe_package.g_dr_total),38);
    /*select to_number(l_dr, '999G999G999G999G990D00')
    into l_dr_disp
    from dual;
    end if;
    srw.message(999,'l_dr = ' || l_dr );
    return l_dr;
    --return ltrim(to_char(l_dr_disp,'999G999G999G999G990D00','nls_numeric_characters=,.'));
    end;
    both formula column return types are character.Please help me ASAP.
    Thanks,
    sriharsha.

    Hi,
    First of all: when you should use concatenation operator (||) instead of plus sign when working with strings. So, instead of
    :CF_CREDIT:= :D_CARRY_F_CR+:D_HD_SUM_REP_CR; you should use
    :CF_CREDIT:= :D_CARRY_F_CR||:D_HD_SUM_REP_CR; If :D_CARRY_F_CR and :D_HD_SUM_REP_CR are both numbers then consider to use to_char function before you assign value to :CF_CREDIT.
    I wonder, why your CF's returns varchar's if they operates on numbers?
    regards
    kikolus
    Edited by: kikolus on 2012-11-30 08:03

  • MacBook 2006 w/Snow Leopard; HP B210 printer; print problem; error message: One or more components of the HP printing software are corrupted or missing. Reinstalled software but Mac will not cause printer to print.

    ? MacBook 2006 w/Snow Leopard; HP B210 printer; print problem; error message: "One or more components of the HP printing software are corrupted or missing..." Reinstalled software but Mac will not cause printer to print.  My MacBook Pro works fine with same wireless printer.

    Hi ArielAce , thanks for getting back to me!
    I would recommend downloading and running the HP Print and Scan Doctor.
    Please keep me posted!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Windows 7 64 bit / Server 2012 R2 GUI - Type 4 Print Driver error "Cannot connect to the Printer" 0x00000002

    Hello,  We have multiple Server 2003 Print server and are working on testing a Server 2012 print server.  We have run into an issue where a PRINTER (type 4, normal) works with our Windows 7 32 bit clients, Windows 8.1 64 bit clients and the
    2012 R2 server, but when trying to install to a windows 7 64 bit clients using \\SERVER\PRINTER we are getting the above message.  (The printer is not offered currently in the directory).
    I have been scouring the Google and Bing and have yet to find a satisfactory description that matches this issue.  Nor have I found other information that resolve this issue.  Like, blaming this on the spooler or DLL fixes or Reg hacks (applied
    on the client side). 
    Specifically, we have used the native 2012 R2 drivers "Ricoh Class Driver", "HP LaserJet 4240 PCL6 Class Driver" and "Xerox Phaser 6120 Class Driver"
    If I use a Type 3 driver from Xerox I am able to print from the Windows 7 64 bit client to the print device, but I was hoping to get all of my clients onto 1 driver.  I understand that I might be able to use some sort of WMI filtering in our GPO
    deployments for the Windows 7 64 bit clients when we go live but this sort of <gs class="GINGER_SOFTWARE_mark" ginger_software_uiphraseguid="55af8faf-887d-4ea5-9032-7c14b199df0f" id="db4a1e65-db1b-4c94-bd84-20ffc96288ce">henky</gs>.
    Please, provide some knowledge.  Either a solution to this issue or acknowledgement that separate driver will be required.  Thank You!!!!!

    Hi,
    Firstly, please run this "Fix It" tool (Full mode) to reset the print splooer and driver:
    You experience Print Spooler error messages after installing or upgrading a Third-Party print driver  
    http://support.microsoft.com/kb/2793718
    And then follow this guide:
    http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2012/A_11509-Windows-2012-server-setup-print-server-for-both-32bit-64bit-OS-clients-how-to.html
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Karen Hu
    TechNet Community Support

  • Printer Communication Error

    I've owned an Epson 1280 printer for about a year now, but for some reason it no longer prints. When I print a document the pop-up message reads: "Printer communication error, try reseting printer and try again"
    But that still doesnt work. My system profile can read the printer, but my printer list can not.
    When I try to add a printer via Printer Setup Utility, it can't find the new drivers. Even after installing new drivers from the Epson website.
    What is this communication error? And how can I fix it?
    SOMEONE PLEASE HELP!
    iBook G4   Mac OS X (10.3.9)   Printer: Epson 1280 | DVD RW: Sony DRX 810UL

    I never found an answer to my problem. I just used the lazy way of troubleshooting any problem.
    I just reinstalled my OS and archived the previous system. Everything is fine again. My Epson 1280 prints, YES!

  • Print internal error when tring to print PPA document

    Hello experts,
        We got a problem when we tried to print out PPA document in HR system using t-code PHAP_ADMIN_PA. The system always shows the message Error when printing: Internal error. And message no: HRHAP00_DOCUMENT160.
        I have searched the forum but I have no idea how can I check and how can I do to solve this problem. Can anyone help me?
        Any help will be highly appreciated.

    Hi Joseph,
    This error is usually linked to an incorrect configuration of the printer.
    Please check the following notes for information on the type of printer supported for PDF
       685571 - Printing PDF-based forms
    Check also your ADS settings (or install it if it's not already done as it is required for PDF as well).
    The installation steps you can fbe found in ADS Configuration Guide:
    http://help.sap.com/saphelp_nw04s/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm
    Once installed or if it's there already then please check the following:
    Execute the ADS test program "FP_TEST_00" in your system, check whether form is being displayed once you specify the
    printer name. Also, could you check in transaction SM59 the ADS status?
    In order to print an appraisal form, you need:
    1- the Adobe Document Services (ADS) installed and well configured
       on a J2EE engine in your system landscape
    2- an appropriate connection called ADS maintained in SM59
    ADS configuration guide is available on Help Portal.http://help.sap.com/nw2004s
    -> SAP NetWeaver Library -> Technology Consultant's Guide ->Cross-NetWeaver Configurations -> Adobe Document Services ->Configuration.
    Please also make sure, that ADS is used on a supported platform. You can check the Product Availability Matrix (PAM) for informationabout supported plattforms for ADS.Link: http://service.sap.com/pam
    Notes: 863872, 925741 and 736902  Adobe Credentials
    Hope the above will help you solve this error
    Thanks
    Sarah

  • Photosmart C4599 w. iMac OS 10.6.8 won't print. Error message "pipe broken" gone; still wont print

    Printer would not print. The error message: "Pipe broken. printer cartridges can't move, Open door and release cartridges."  However, when I opened the door they moved to the left and out of sight; I didn't see a broken pipe. When I closed the door, they moved back to the right.  Did this several times, installed a new black cartridge because mine was low, got a message to align printer, which I did.  Printer printed the alignment sheet, which I then scanned in and learned alignment was OK.  Printer still did not print although error message had disappeared. Then I followed all of the steps in HP's troubleshooting support (all of which I'd done on my own before) Got a message Printer Ready, but printer still doesn't print.  I tried some other files too, in case that one was corrupted in some way.
    I just tried again - with a new file.No success.  New error message: Unable to connect with printer; will try in 30 seconds.  All lights on the printer are fine, including the wireless light.
    Can someone help?  Many thanks.

    Printer would not print. The error message: "Pipe broken. printer cartridges can't move, Open door and release cartridges."  However, when I opened the door they moved to the left and out of sight; I didn't see a broken pipe. When I closed the door, they moved back to the right.  Did this several times, installed a new black cartridge because mine was low, got a message to align printer, which I did.  Printer printed the alignment sheet, which I then scanned in and learned alignment was OK.  Printer still did not print although error message had disappeared. Then I followed all of the steps in HP's troubleshooting support (all of which I'd done on my own before) Got a message Printer Ready, but printer still doesn't print.  I tried some other files too, in case that one was corrupted in some way.
    I just tried again - with a new file.No success.  New error message: Unable to connect with printer; will try in 30 seconds.  All lights on the printer are fine, including the wireless light.
    Can someone help?  Many thanks.

Maybe you are looking for