FORMAT TRIGER 'B_5' REFERENCES COLUMN 'DT' AT WRONG FREQUENCY

I have a field B_5 as page footer & I have written the following code
function B_5FormatTrigger return boolean is
begin
-- Automatically Generated from Report Builder.
if :dt >= '02-oct-2007'
then
return (FALSE);
end if;
return (TRUE);
end;
when I execute the report it returns an error that
FORMAT TRIGER 'B_5' REFERENCES COLUMN 'DT' AT WRONG FREQUENCY
How can I get rid of this error ?

Hi
Check if DT belong to the correct frame or repeating-frame.

Similar Messages

  • Field F_1 references column colname at a frequency below its group.

    Hi
    I have 2 queries in my report. One for Summary section and one for detail section. The detail is nothing but details of the summary section on the top.
    I created a repeating frame for the detail and have set the source to the 2nd query -that is for the detail section.
    However, when I add a field and set the source to a column from query I get the following error:
    Field F_1 references column <colname> at a frequency below its group.
    What am I doing wrong here?
    Ant help appreciated.
    Thx!

    Hi
    If that was the case then it wouldnt be like summary and detail as I specified in earlier posts. It is not 1:1.
    Another thing I was tryng to accomplish was that in the detail section, I need the country and then the cities and rest of the details specific to that country below it. This way I want the categorization by country.
    Example:
    Country: USA
    New York
    San Francisco
    Chicago
    Boston
    Country: Canada
    Toronto
    Montreal
    Halifax
    What I am getting right now is:
    Country: Canada
    Toronto
    Country: Canada
    Montreal
    Country: Canada
    Halifax
    and so on
    Each of these cities within Canada occur in different repeating frames. I want one frame per country.
    How may I accomplish that?
    Again, Query1 = Selects distinct countries on a specific criteria
    Query 2: Selects details for all the countries selected in query 1
    Thx!
    Message was edited by:
    b~o~s~t~o~n

  • REP-1213:  Field F_1 references column EMPNO at a frequency below its group

    Hii guys
    My goal is to display my desired database column where ever i want to on the report layout.For this Purpose
    I ran the following query
    1.SELECT * FROM EMP WHERE EMPNO='7369' in the Data Model.
    2.I then created a field in layout view and gave field source as EMPNO
    3.On Report Run following error was encountered.
    REP-1213: Field F_1 references column EMPNO at a frequency below its group
    Kindly help me in fixing this problem
    Regards
    Fahad Hameed

    dsegard
    Thanks for the tip.I fixed that and now i feel i've some control over my layout.
    How can i apply an image as a water mark throughout my report ??
    Regards
    Fahad Hameed

  • REP 1316 at wrong frequency

    Hi all,
    I have a report and i want to create a Before_Report trigger which is like this :
    function BeforeReport return boolean is
    no_print exception;
    begin
              dbms_application_info.set_client_info(:P_ORG_ID);
              if :CF_cust_trx_type in (1080,1002,1005,1018,1022) then
                   raise no_print;
              end if;
              exception when no_print then
                   fnd_file.put_line(1,'You cannot print this invoice!');
      return (TRUE);
    end;It's compiling without errors, but after triyng to generate XML it throws me REP-1316:Before Report Trigger references column 'CUST_TRX_TYPE' at wrong frequency.
    Any ideas what to do?
    Report Builder 10.1.2.2.0
    Thanks in advance,
    Bahchevanov.

    Solved!
    modified:
    function BeforeReport return boolean is
    no_print exception;
    lv_cust_trx_id number;
    begin
         dbms_application_info.set_client_info(:P_ORG_ID);
         begin
              select distinct ra.cust_trx_type_id
              into lv_cust_trx_id
              from ra_customer_trx_all ra
              where ra.customer_trx_id = :p_customer_trx_id;
         exception when no_data_found or too_many_rows then return(false);
         end;
              if lv_cust_trx_id in (1080,1002,1005,1018,1022) then
                   raise no_print;
              else return(true);
              end if;
              exception when no_print then fnd_file.put_line(1,'You cannot print this invoice!') ;
                   return(FALSE);
      return (TRUE);
    end;But the problem is that in the log file of the concurrent program the message: You cannot print this invoice! is not there....
    It's just : REP-1825: Before Report trigger returned FALSE.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1825: Before Report trigger returned FALSEAny ideas?
    Thanks in advance,
    Bahchevanov.

  • REP - 1213 Reference column frequency below its group

    Hi,
    In a report (6i) it is showing Error like "REP - 1213 field F_SUM_COLLECTIONS_RATIO
    Reference column CS_COLLECTION_RATIO at a frequency below its group"
    As I know this is a problem of repeating frame problem:-
    1. How can I check this error ? And How can resolve this problem?
    Note:-
    In this sales_ratio,collection_ratio,sales?coll._ratio I added Corr. formula columns and create summary
    columns corr. to each.
    This summary columns having problem.

    Good morning,
    What I have found is that every time I have this problem, it is because during the manipulation of report items, I have inadvertently moved an item outside of its parent block.
    If you expand the size of your report layout editor (control-key and PLUS key [ ctrl+]), you can usually see where the item has strayed outside of its parent report block.
    I hope this helps,
    Don.
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :)

  • REP-1314: Format Trigger columnname references at wrong frequency

    Hi,
    I have the following trigger.
    When I launch the report I get the error:
    REP-1314 error Format Trigger :color references at wrong frequency
    Trigger is as follows:
    function CT_1FormatTrigger return boolean is
    begin
      -- Automatically Generated from Reports Builder.
      if (:color = 'CR')
      then
        srw.set_foreground_fill_color('red');
        srw.set_fill_pattern('solid');
      end if;
      -- Automatically Generated from Reports Builder.
      if (:color = 'MJ')
      then
        srw.set_foreground_border_color('r100g88b0');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('r100g88b0');
        srw.set_fill_pattern('solid');
      end if;
      -- Automatically Generated from Reports Builder.
      if (:color = 'MN')
      then
        srw.set_foreground_border_color('yellow');
        srw.set_border_pattern('solid');
        srw.set_foreground_fill_color('yellow');
        srw.set_fill_pattern('solid');
      end if;
      return (TRUE);
    end;I have one group named G_COLOR to which there are 2 columns cnum and color
    Any ideas to resolve this issue?
    Thanks

    The field CT_1 should be either in the G_COLOR group, or in a group below that. Otherewise, multiple values for the color column may exist for the CT_1 column.

  • Format of external NF number/series is wrong

    Hi,
    When i was trying to create a returns order on reference field i need to enter the nota fiscal number but when i enter something which is more than 6 characters it is giving this error:
    "Format of external NF number/series is wrong"
    Can anyone please tell me where this format is defined??
    Many thanks...

    Hello,
    This issue is related to the localization Brazil process. I know that exists some SAP notes to similar issues. But I'd recommend you to check the SPED & NFe forum in the SDN portal.
    They can advise you better in this area since it's not related to FI.
    REgards,
    REnan

  • How can i change the Format of my DATE column?

    I need to change the date format for a whole column. At present i can do MM-DD-YYYY. I need to change this this to DD-MMM-YYYY.
    I know about the to_date function, i tried to apply it to change the format of my whole column by doing the following.....
    CREATE TABLE "IT220_DATEHOLIDAY"
    "DEPARTID" VarChar(2)NOT NULL ENABLE,
    "HOLCODE" VARCHAR2(2)NOT NULL ENABLE,
    "DEPARDATE" DATE,
    to_date('DATE','DD-MMM-YYYY'), <<<change DATE column to DD-MMM-YYYY
    CONSTRAINT "DATEHOLIDAY_PK" PRIMARY KEY ("DEPARTID") ENABLE
    ORA-00902: invalid datatype <<<<This was the error message i received.
    I am aware that the to_date function is supposed to be used to change strings into a certain format. I guess this means you cant do it with columns? Is there anyway i can format the whole column or do i have to do each string of data entered one by one?
    Thanks in advance!

    Hello Jay,
    I'm not sure you hit the right forum, as this doesn't seem to be a problem with APEX.
    Anyway:
    You can't use that function on a table like that, and as you already suggested, the to_date-function expects a string value.
    It seems you also have a misunderstanding of the basic datatypes in the database. DATE is such a datatype and is stored an internal format you don't need to care about. Each time your request the value, the database will give you a string representation according to either your locale or you give a certain formatting mask.
    The same applies to insert or update operations: you hand in either a variable of type DATE or use a function like to_date to create an "object" of type date.
    You may be interested in reading the documentation of the [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/toc.htm]Oracle Database Concepts. The section concerning datatype DATE can be found here:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/tablecls.htm#CBBGJHJC
    An overview of formatting options can be found here:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements004.htm#SQLRF00212
    So to answer your question: You would format it as part of your insert operation, taking a string and convert it using to_date.
    -Udo

  • Order Source Reference Column in Sales Order Form

    Hi All,
    When copying a sales order that is imported from EDI, the order source reference column in the new order refers to the original order. Is there a way to make this field refer to the same field of the original order? Or at least make it editable/updatable?
    Thanks
    A/H

    Not sure personalization will solve this problem. Other options:
    1. Workflow
    2. Post Hook Events
    3. trigger?
    Thanks
    Nagamohan

  • I am having trouble getting a numbers spreadsheet to hold different formats in the same column.  A column with a date formatted heading will not convert to $ for the cells below.   Any suggestions would help.

    I am having trouble getting a numbers spreadsheet to hold different formats in the same column.  A column with a date formatted heading will not convert to $ for the cells below.   Any suggestions would help.

    Hi Wayne,
    Thank you for this response.  I have tried this but when I start enterring $ amounts some, such as $6.00, go in OK others such as $4.00 appear as a date ie 4 Oct 12.  
    Kind regards
    Paul

  • How to Display  Formatted Text  IN ALV Column?

    HI experts ,
    I am displaying  ALV with Multiple Column's , One of the Column is TEXT(Fomatted text).
    When ALV is Displayed  TEXT Column Comes as Continues TEXT . and is Not Formatted .
    Now when i want to edit this text i am Calling another View  which contains text edit . This Text edit will display correct Formatted Text . but when i save it and Come back to ALV again i do see continues text .
    Is there  any way where in i can display  the Formatted text in ALV Column ?
    Any body have any clue with this ...
    Thanks in Advance
    Patil
    Edited by: Badarinarayan Patil on Feb 22, 2008 3:45 PM

    Hi Juergen,
    I found Your blog and found it  really interesting... though I was not able to use it: I (like Jun Li is asking, I guess) need to use a dynamic text, containing formatting informations (according the xhtml syntax).
    I tried to pass it to the form by an ABAP-dictionary based interface and by means of the context (in a webdynpro page), but both tries failed.
    Some suggestion will be greatly appreciated.
    Thankyou
    Simone

  • Implicit date format conversion of report column

    Hello,
    The following expression defines date format for report column implicitly and doesn't reflect FSP_LANGUAGE_PREFERENCE with language independent format mask of the column attribute anymore:
    decode(end_date, to_date('31.12.2047', 'dd.mm.yyyy'), null, end_date) closed
    end_date is of TIMESTAMP(0) WITH LOCAL TIME ZONE type, format mask of the column attribute: DS TS
    Is it expected behavior?
    Thanks

    Edward Shevtsov wrote:
    Hello,
    The following expression defines date format for report column implicitly and doesn't reflect FSP_LANGUAGE_PREFERENCE with language independent format mask of the column attribute anymore:
    decode(end_date, to_date('31.12.2047', 'dd.mm.yyyy'), null, end_date) closed
    end_date is of TIMESTAMP(0) WITH LOCAL TIME ZONE type, format mask of the column attribute: DS TS
    Is it expected behavior?
    ThanksThe reason might be that you compare different datatypes in the SQL statement. The output of decode depends on those parameters.
    You can cast the column to a specific datatype or you make sure that your wanted datatype is used during the decode.
    example
    decode(end_date, to_timestamp_tz('31.12.2047', 'dd.mm.yyyy'), null, end_date) closed
    or
    cast(decode(end_date, to_date('31.12.2047', 'dd.mm.yyyy'), null, end_date) as timestamp(0) with local time zone) closed

  • REP-1213: Field  references column at a frequency below its group

    Is there a way of making a field which is on a lower level group to be displayed in a group which is at a higher level in the report?
    I have a field which is within a lower level group on a report and I want it to appear as a header, within a group which is a level above its own group. The field should remain in its original group but should not appear on the report as a column within its original group but should appear as part of the heading.
    I have tried it and got error REP-1213: Field references column at a frequency below its group, but how can I achieve what I want to do without getting this error? Is there a way of showing this field on the header without actually moving it into the header group? Should I create an alias or a function or what and how?
    Please help.

    user8655468 wrote:
    Sorry, I don't seem to get you. MY report has 2 repeating groups. The first group has student_name, course_code, course_name and the 2nd group has academic_year, module_name, module_code and module_grade. Academic_year which is in the 2nd group has to appear as a heading together with the items in the first group but it can not be moved from its original group as it goes together with modules. The report displays a history of a student's modules from 1st year to current year so the Academic year on the header will have to show the current Academic year for a student.
    I don't understand how I should use a summary column to achieve what I want to do. Please can you explain further. Thanks.I think you know about summary column. If your academic year is number filed, you can use it at summary column. Where summary function is sum. You take this summary column at 1st group and select source from 2nd group. Then display it at 1st frame.
    Hope this will help you..
    If someone's response is helpful or correct, please mark it accordingly.

  • What is data format "Hypertext Link" in column properties??

    Hi,
    What is data format "Hypertext Link" in column properties? How to use it?
    Can I use column value to navigate to other report without using "Value Interaction" in column properties.

    By changing the data format to say HTML, or Hypertext link, you can add HTML content/HTML tags within the column formula.
    You can create a column formula that would resolve into a dynamic hyperlink and pass parameters by using Go Url. Check out Chapter 11 in the Oracle® Business Intelligence Presentation Services Administration Guide
    Check out an example:
    Re: Dyanmic display of the Image Link URL
    Search the forum as well for several similar examples.

  • File containing format changes done to columns in OBIEE 10g

    Hi
    Please, let us know the file and its location in which the format changes done to columns are stored in OBIEE 10G.
    Thanks.

    Hi,
    the formatting options for columns are stored in xml file in web catalog. the location of xml files is OracleBIData/web/catalog/catalog_name/root/system/metadata
    assign points if found helpful.

Maybe you are looking for

  • Credit memo -- with ref to invoice

    Hello All, This is my scenario: 1 Invoice with value 100. 2 Credit memo whith value 100 with ref. to invoice. 3 The system let me create more credit memos for the same invoice exceeding de invoice original value. (it just informes me that there are o

  • Time Machine not backing up other external hard drive

    Hi, I recently upgraded to Leopard and am trying to use Time Machine. I have one external hard drive that is used specifically for the Time Machine Backup, it's called "Backup Drive". The other hard drive is called "Captured Memories" and is used to

  • DSL/ Col Adj/ B&W section missing in Develop module

    Hi there, I'm probably being an idiot here (usually the case) but I seem to have lost the DSL/ Col Adj/ B&W section down the right hand side in the develop module. Running top to bottom I have: Basic Tone Curve Split Toning Detail Lens Corrections Ef

  • Change from case-sensitive disk format to the normal Mac OS Extended.

    Hi, I need to change from a case-sensitive disk format to the normal Mac OS Extended Journaled version. I have no external HD fitted, but I do have some DVD-Rs. I need to restore the data from 2 users, including iTunes and iPhoto files. What's the be

  • Two ipod's - How to merge contents of both?

    I just purchased a second ipod and need help merging songs from my original mini ipod to the new ipod...I tried dragging the songs from the original ipod into the itunes library without sucees. Please help. Thanks.