Custom report #value.FIELD# issue

I've created a report using the custom report layout option. This type of report has field tags #column_name.LABEL# in the heading section and #value.FIELD# in the Body section.
The layout of my report requires that some of the values, #value.FIELD# , be in the heading HOWEVER when I place them there they are returned literally. Values are only substitued when I place them in the Body section.
AND
If I place #column_name.LABEL#'s in the BODY section they are repeated for every row returned. How can I get the #value.FIELD# to return values in the HEADER section?

Dear All,
I have checked that for the company code which has COPA value field as zero there is no settlement posted in c088.
For other company codes there are postings on date 30.11.2010 but for this company code there is no poating on date 31.12.2010.
When I am executing co88 in test run its says:
Invalid posting period (please check your entry)
Message no. CK122
Diagnosis
You are attempting to update in a period that is locked against posting. This error can occur when you attempt to post to a period that is in the past.
Procedure
You can allow posting to the prior period in Materials Management. Choose Logistics -> Materials management -> Material master -> Other -> Post to previous period and activate this function for your company code.
If the posting is to be neither in the current period nor in the previous period, then you cannot change any stock data (such as goods movements, purchasing postings, invoice entries, or settlement to materials) because stock data can only be updated in two periods. Possible entries:
the current period in the material master record
the previous period
the last period of the previous fiscal year
Please suggest on the reason ofl error in order settlement how can I rectify
Regards
Raju

Similar Messages

  • Error creating custom reports. Permissions issue with custom reports

    I am having permission issues with reports. I am building a new Configuration Manager  2012 infrastructure and I have configured the Site server on Server1 and the DB is on Server2. Server2 also hosts the Reporting Point and SSRS roles/features. If
    I look in Monitoring at the Site Status and Component Status are all green no issues with the setup.
    Running SQL 2008 SP2 (no CUs). I have a service account that I used to install Configuration Manager and SQL. This service account is running the SQL service on Server2 and i am using the same account as the Reporting Services Point Account.
    I log into the SCCM console with a different user account, lets call it Admin1. This account is a member of the Full Administrator role. I can run any built in report.
    When I open the SSRS website and try to create a custom report I connect the DataSource using Windows Authentication. So the Datasource is connecting using the logged in users account. In this case Admin1. I test the connection and it connects fine.
    I test this query. (Select * from v_R_System) I only have about 10 workstations discovered so the report shouldn’t be very big. I get an error “The Select permission was denied on the object ‘v_R_System’, Database ‘CM_XXX’, schema ‘dbo’. (Microsoft sql server,
    Error: 229)”
    I have fixed the SELECT permission error by going into the database (using SQL Management studio) and granting Admin1 Select rights to the Configuration Manager database. I can now run the above query and make custom reports.
    My 2<sup>nd</sup> problem is that other members of the Full Administrator role cannot run these custom reports unless I go into the database and grant them the SELECT permission.
    Question:
    Should I have to manually go into the database to add SELECT permissions(i could use a group)? shouldnt Configuration Manager take care of this for me?
    Maybe the built in reports use the SQL service account rights and the custom ones do not? Am I doing something wrong with the Datasource when I create these custom reports?
    What is the correct process for creating custom reports?

    I think i am getting closer to a solution. After the Custom report is created. i can go back into the report. Delete the DataSource. Then browse for a dataSource. there is a datasource located in http://server2/reportserver/ConfigMgr_XXX/
    That datasource is used by all builtin reports. if you view the properties on the Credentials tab it is set to "do not use credentials" and the option is greyed out / cannot be changed.
    it looks like i still need the SELECT permissions on the database to create the report initially but at least i have solved the problem with viewing these reports.
    Can anyone confirm that what i did is correct?

  • GRC 10.0: Customizing Reporting with field ID's

    Hi everybody,
    we need some reports which are delivering some special information. These informations aren't exist in any of the standard reports. So we would like to customize them.
    I know there is a customizing table V_GRFNREPCOLUMN how to adjust the available reports and I do it like the instruction:
    1) Copy an existing report
    2) Check all the technical adjustments
    3) change the columns for this report
    But there is one problem: The field ID that I need is not available. There are more than 2000 field ID's but not the one that I need. I don't need a custom field because the information is still excisting in the data dictionary. I know the SAP table and the field ID.
    For example:
    We need a list/report where you could see all the control owners of every organisation. I couldn't found a report and I guess there is no one in the SAP standard. After copying a standard report I couldn't find the right field ID. There is one for owners of subprocess and processes and also one for cross regulation control owners, but not for the e.g SOX control owner.
    I try to search in which SAP databse table the information is saved. It is HRP1852. The field ID is (I guess) USERNAME, but this field ID is not available in the customizing of the reports.
    So is there a possibility to enlarge the range of the field ID's?
    We could programm our own report, but this would be too expansive and I just want to use the possibility of the standard report customizing.
    Thanks a lot
    Regards Timo

    Hi,
    I have just checked my SICF settings and found that we have not actually activated those services at all and our NWBC sessions work fine now.
    Have you activated the sap/bc/nwbc and sap/bc/webdynpro services?
    Also, have you activated the required BC sets for the standard content on Access Controls? This removes the need to do a lot of the basic setups but you still need to follow through the event linkages to check the successful generation etc.
    Simon
    Edited by: Simon Persin on Sep 21, 2011 5:51 PM

  • Migration from Windows 32 bit to 64 bit Customized reports PDF output issue

    Hi Gurus,
    Product Version: 12.1.1
    Operating System:  Linux x86-64
    Database Version: 11.1.0.7
    We have migrated from Windows 32 bit to Linux 64 bit, our PDF reports shows some Greek Charters
    vi /opt/oracle/apps/tech_st/10.1.2/bin/reports.sh 
    NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
      SELECT * FROM NLS_DATABASE_PARAMETERS
    NLS_CHARACTERSET=AR8MSWIN1256 
    Regards,

    Mean the result of query SELECT * FROM NLS_DATABASE_PARAMETERS
    NLS_CHARACTERSET=AR8MSWIN1256
    and 11g database character set is AR8MSWIN1256
    vi /opt/oracle/apps/tech_st/10.1.2/bin/reports.sh' refers to 10g. Oracle EBS R12 oracle home not a DB Oracle HOME
    Hope you understand now.

  • COPA Value Field +/- Error while releasing Billing Document for Return orde

    Hi,
    We have done Sale Order - PGI - Delivery and Billing for Quantity 10 and the customer returned 10 Qty due to some problem.
    When i am doing the return process billing, I am getting the below error...
    9000000892 000000 Check value field assignment for condition SGL1*
    When condition "OR01" (application "V") was transferred to the value field "ERLOS" in operating concern "OR01" in
    Profitability Analysis, the following became apparent:
    o   The condition can take both positive and negative
        values
    o   The flag "Transfer values with +/- signs" has not be
        set in Customizing for value field assignment.
    Inconsistencies in the data could occur as a consequence.
    Can any body help me on this issue
    Is there any consequences if i activate +/- sign in KE4I for the above value field Please suggest me
    Thanks
    KC

    Hi Kischow
    You shud tick the +/- indicator only if
    1. any One condition type repeats in the pricing procedure and can have +ve and -ve values
    2. Two cond types in pricing procedures are assigned to same Value Field and the cond types can have +ve and -ve values
    In COPA, all values are transferred as absolute values without + or - sign, with some exceptions ofcourse....
    So, if you dont check + / -  indicator in the cases mentioned above, say, +100 and -80 will be transferred as 100and 80 and the result will be 180 instead of 20
    Regards
    Ajay M

  • Statistical and value field

    hi,
    i would like to seek advice on below.
    1) when say post statistically, like "A profit center is always posted to statistically", it means no FI accounting document generated?
    so statistical means no fi accounting document generated?
    2) profit segment is value field or combination of characteristic value?
        combinations of characteristic values example: product X sales to customer A in the eastern region
        value field like revenues, costs.
    3) what is the difference for characteristic and characteristic value?
    thanks

    1) For postings in external accounting that use a cost element as the account you need to use a special account assignment logic. This enables the SAP system to ensure that data is reconcilable with all the relevant application components. so if there is no posting in fi how do you reconcile the external posting to fi.
    2) Profit segment is a combination of characteristic
         Eg: Characteristics : Sales organization, region, product, customer group
         Value fields: Revenue, sales deductions, costs and quantities
    3) Segments of your organization for which you want to analyze your data in CO-PA. Eg: Plant/Division/Material/Customer/Product.
    In the above example as mentioned by you product, customer, region would become characteristics. In other words  you are analyzing data on this segments so they become characteristics.
    Value fields: what things you would take in consideration to get the data for the characteristics would become value fields.
    Eg: In the above example you are trying to find how the product x sales is to a particular customer A . So in other to find values you would take what are actual sales for that product , any deductions etc so these would become value fields.

  • In custom report, is it possible to get value of field only? No style info?

    I need to build the following string in the results of a custom report:
    http://my.domain.org/myapp?A1=<#ORACLE.FIELD#>
    but when I run my report as a portlet, I get this instead, which leads to a "Page not Found" -
    http://my.domain.org/myapp?A1=<FONT CLASS=PortletText1><STYLEINFO PortletText1>ORACLE FIELD VALUE</STYLEINFO>
    When running my custom report as a portlet, is there a way to get the value of the field only, without the style info?
    Thanks for an help offered....
    Message was edited by:
    I_LOVE_PORTAL
    Message was edited by:
    I_LOVE_PORTAL

    Hi
    Feild status at entry time looks for the following combination
    S- Supressed
    D- Display
    R- Required
    O- Optional
    System looks for this above combination at first in Posting Key and then in FSV of account which we enter. For this partical purpose the the feilds in posting key are kept optional.
    Check the feild status of posting key & account T-code FBKP.
    thanks
    Colin Thomas

  • Enhancement-ABAP Code-Customized Field issue

    Hi Experts,
    Currently I am working on the BW3.5 version. We are using the standard SRM standard extractor 0BBP_TD_SC_1 and we enhance same extractor(populate the filed through CMOD - ABAP Code) with one customized field also. We are having issue on the customized field data which post from SRM system. I have verified the field value and value is fine in RSA3 in SRM source system. But while posting into the BW(PSA itself), its loading correct & wrong value. When i check the PSA for the particular load, It looks little strange. In the PSA, I can see correct value on my first record of the same SC and then next records has incorrect value of the same SC. Currently I am using the ODS as a data target. So finally i am getting the incorrect value on the customized field.
    Ex Scenario:
    Ex Customized Field: ZORGID
    In SRM source system RSA3 Extractor Checker value:
    Shopping Card No: 100
    Customized Field: ZORGID=1
    Shopping Card No: 200
    Customized Field: ZORGID=2
    In BW posting-PSA:
    Shopping Card No: 100
    Customized Field: ZORGID=2
    Shopping Card No: 200
    Customized Field: ZORGID=2
    At the same time, if i do the selective deletion of the particular Shopping Card or group of SC in BW and do the full repair, then it gets a correct ZORGID=1 for the same Shopping Card.
    I strongly believe, something wrong in the ABAP code. But when we tried to debug the customized filed value in RSA3. The value is fine. so we unable to trace out the issue. Please help me to fix the code. Thanks in advance.
    CMOD ABAP Code:
    *Populate approver ID even though it doesn't require approval this is required to make sure BW reports have restrict access to respective Org Unit approvals only
    IF l_s_bbp_sc-approver_id IS INITIAL AND l_s_bbp_sc-itm_guid IS NOT INITIAL.
    CALL FUNCTION 'Z_BBP_FIRST_APPROVALGET'
    EXPORTING
    iv_header_guid = l_s_bbp_sc-guid
    iv_itm_guid = l_s_bbp_sc-itm_guid
    IMPORTING
    approver_no = l_s_bbp_sc-approver_id
    EXCEPTIONS
    no_data = 1
    OTHERS = 2
    IF sy-subrc 0.
    ENDIF.
    ENDIF.
    To ensure that the Org Unit passed in into the field
    l_s_bbp_sc-zzapprov_orgunit belongs to the Actual Level 1
    Budget Owner and not any other manager such as Added Approver.
    CLEAR : ls_ln_approvers, l_userid, lv_bpartner_guid.
    DATA : lv_f_apprv_part TYPE BU_PARTNER.
    READ TABLE lt_ln_approvers INTO ls_ln_approvers
    WITH KEY INITIAL_INDEX = '0000000001'.
    IF sy-subrc EQ 0.
    MOVE ls_ln_approvers-approval_agent+2(12) TO l_userid.
    CALL FUNCTION 'BP_CENTRALPERSON_GET'
    EXPORTING
    iv_username = l_userid
    IMPORTING
    ev_bu_partner_guid = lv_bpartner_guid
    EXCEPTIONS
    no_central_person = 1
    no_business_partner = 2
    no_id = 3
    OTHERS = 4.
    IF sy-subrc = 0.
    CALL FUNCTION 'BUPA_NUMBERS_GET'
    EXPORTING
    iv_partner_guid = lv_bpartner_guid
    IMPORTING
    ev_partner = lv_f_apprv_part.
    ENDIF.
    ENDIF.
    We get the BP number of the first Budget Owner 1
    Here, we superseed the field l_s_bbp_sc-approver_id
    whereby it may be wrong due to Added Approver.
    IF l_s_bbp_sc-approver_id IS NOT INITIAL.
    IF lv_f_apprv_part IS NOT INITIAL.
    IF l_s_bbp_sc-itm_guid IS NOT INITIAL.
    CALL FUNCTION 'RH_STRUC_GET'
    EXPORTING
    act_otype = 'BP'
    act_objid = lv_f_apprv_part
    act_wegid = 'EBP-UP'
    act_begda = sy-datum
    act_endda = sy-datum
    act_tdepth = 4
    TABLES
    result_tab = lt_result_tab
    EXCEPTIONS
    no_plvar_found = 1
    no_entry_found = 2
    OTHERS = 3
    IF sy-subrc = 0.
    READ TABLE lt_result_tab INTO ls_result_tab WITH KEY
    otype = 'O'.
    IF sy-subrc EQ 0.
    l_s_bbp_sc-zzapprov_orgunit = ls_result_tab-objid.
    ELSE.
    ENDIF.
    ENDIF.
    ENDIF.
    Thanks,
    RR

    Hi Experts,
    Any suggestions. Thanks.
    Thanks,
    RR

  • Custom report -Mb51 -EBELN,AUFNR,KDAUF & KUNNR -Data issues

    Hi,
    This custom report is related to material document list (MB51).
    I was trying to retrieve Purchase Order(EBELN),Order number(AUFNR),Sales order(KDAUF) & Ship-to-party( KUNNR) from MSEG & MKPF.
    Unfortunately
    It looks like for Sales Orders, it picks up the Customer Number but no Order Number. For STO’s, it looks like it picks up the STO # but no Customer #.
    How to over come this?
    FYI..I also tried adding fields to standard report(MB51) and it is also doing the same manner .
    Am I pulling it from Wrong tables? or is it related to DATA issues?
    Regards
    Praveen
    Message was edited by:
            PRAVEEN s

    Hi,
    This custom report is related to material document list (MB51).
    I was trying to retrieve Purchase Order(EBELN),Order number(AUFNR),Sales order(KDAUF) & Ship-to-party( KUNNR) from MSEG & MKPF.
    Unfortunately
    It looks like for Sales Orders, it picks up the Customer Number but no Order Number. For STO’s, it looks like it picks up the STO # but no Customer #.
    How to over come this?
    FYI..I also tried adding fields to standard report(MB51) and it is also doing the same manner .
    Am I pulling it from Wrong tables? or is it related to DATA issues?
    Regards
    Praveen
    Message was edited by:
            PRAVEEN s

  • Custom Report issue

    Hi Gurs,
    I am in middle of a custom report developement which proivdes PO numbera and some of its relative dat, PR number and its relative data againust all the status of invoices(posted,parked,cancelled etc)
    the issue i m facing is client wants Purchasing group in input screen, i took the purchasing group from EBAN, but when i run the report its taking lot of time to execute,
    Could any one tell me how can i filtter the data so that i can get all the above mentioned data for a PG, or can i add any other field and make it mandatory to filter,
    please suggest any other approches /idea/ how can i reduce the time interval
    Thanks
    Ravi

    HI,
    At present we are using logic based on input example PR number first program will extract data for PR and then It checks EKKO and EKPO for PO numbers and for filter PO number program will check RBKP for invoice numbers,
    Its real Logic or you give example only?
    But if i provice Purchasing group it checks the whole EBAN and next process the same steps,
    its throwing run time errore,
    As you said your company code and invoice document date are mandatory field
    so your logic should flow from invoice table and end on PR number like below
    RBKP and RSEG you will get invoice document date and Po number
    Now pass Po number into table EKPO and get PR number ,if you want report for purchasing group wise then
    add table EKKO and pass Po number  there and ask ABAP consultant  that when Purchasing group on selection screen ,output show only that Purchase group related
    Regards
    Kailas Ugale

  • Font issue in Custom Reports in oracle Apps R12.1.1

    Hi Friends,
    I am using Oracle Apps R12.1.1. Vision Instance.
    i develop custom report (using 10g DS ) and i used Ariel a font and i deployed custom report.it works fine
    The same report i opened in report builder and add a new parameter and used the same font Ariel and saved and then deployed but the concuurent report is showing all the columns in symbol(western) font not in arial font.
    what could be the issue? the first report shows proper font.Please let me kno the fix
    Regards

    yes i have used template.fmb only , and am using FND_KEY_FLEX.DEFINE as i mentioned earlier ,
    i have not given any where clause -- should we give any where clause to retrieve the data into the combinations(LOV)?It depends on what values you want to retrieve.
    i mean my requirement is if i give % and press tab all the valid combinations should be displayed.
    its showing no entries found.Did you review 420787.1 referenced above?
    Thanks,
    Hussein

  • Assign direct material cost to value field in copa while issue to Prod orde

    Dear All,
    My requirement is like this:
    There are some 16 material groups from A to P each containing some materials(finished goods).
    I want to allocate overhead to different material groups(Charecteristic in copa) in COPA using the periodic assesment cycles. I am able to allocate overhead(admin & sales cost) to different value fields in copa from different cost centers.
    I want to analyse the product cost and also the profitability of each material group in COPA using Report painter. Iam able to pull all the costs which i assign to value fields using assessment. But, i am NOT able to get the direct material cost which is issued to production orders using BOM.
    My question is whether we can assign the direct material cost to any user defined value field(material cost value field) while the material is being issued to production orders. Is there any automated way where we can directly assign the direct material cost to value field in copa while issuing the material to Production orders.
    Pls explain me whether we can do it. if yes how?
    Thank you very much in advance.
    Regards,
    Vishnu
    VST-IT.

    PA is a Profitability analysis tool. That means it gets updated when a sale is made, not before. (Except for settlements and assessment of overheads.)
    Goods issues for production gets updated in CO-PC, and needs to be analysed there. If you don't, you loose all the inbuilt tools for variance analysis, cost estimate comparisons, Wip Calculation etc. To the best of my knowledge, a Profitability Segment cannot be used as a cost object in Production Planning, because amongst others, you need to be able to capitalise the produced materials to stock at the end of the production run, or to WIP at the end of the Financial period,which is not possible with PS.
    Similarly, overheads are recorded in CCA and needs to be analysed there.
    If one goes against these big groupings in SAP, you always run into problems.

  • How to populate the data for additional fields in custom report of fbl5n tr

    hallo friends,
    i ha ve to add some fields to the output of custome report of transaction FBL5N.
    Till now i have only added the fields to the output.
    Now i have to write the code to populate the data for those fields in the program.
    1.     Customer Credit Group(ACM/RCM): (Table: KNKK; Field Name: VKORG )
    2.     Credit Representative Group: (Table: KNKK; Field Name: SBGRP)
    3.     Customer Account Number(CAN#): (Table: KNKK; Field Name: KNKLI)
    4.     Alternative Payer(ALTP#) : (Table: KNA1; Field Name: KUNNR)
    5.     Risk Category: (Table: KNKK; Field Name: CTLPC)
    6.     Credit Info Number: (Table: KNKK; Field Name: KRAUS)
    7.     Rating: (Table: KNKK; Field Name: DBRTG)
    8.     Payment Index: (Table: KNKK; Field Name: DBPAY)
    9.     Credit control area: (Table: KNKK; Field Name: KKBER)
    10.     Company code: (Table: KNB1; Field Name: BUKRS)
    11.     Sales Organization: (Table: KNVV; Field Name: VKORG)
    These are al fields i have to populate in the program..
    MY ATTEMPTS:
    I tried getting the data for KNKK table by GET KNKK ,but it is giving some garbage values...
    And Logical database used here is DDF,and i have to add the VKORG of KNVV too...but KNVV is not there in DDF...
    Can anybody tell me how should i proceed..
    thanks in advance.

    Thnx Andreas,
    i have following doubts again..
    I have to add sales organisation field to the selection screen...(this is given in the req.)
    now if i will say GET KNKK...it would not keep account of this 'sales organisation' field...so how should i fetch the data with these input data( i.e. 'compny code' and 'customer' are the fields given by LDB and 'sales oraganisation' is the field i put it on the selection screen)
    And what about the KNVV-VKORG ,because the KNVV is not present in the LDB.

  • Report needed: Customer master TAXKD field changes

    We are looking to track changes made to TAXKD (tax code) in customer master.   Is there any report we could generate weekly that would detail changes made to the field. 
    Also, we'd like what change was made.  (i.e. customer number, date, field changed from 0 to 2)
    Thanks,
    Michelle

    Hi Michelle,,
    Those changes will be recorded in the CDHDR and CDPOS tables with your field name based on the dates..
    and also with the Old value and the New value
    from the CDPOS
    pass
    OBJECTCLAS = 'DEBI'.
    OBJECTID      =  Your document number "optional
    TABNAME    =  'KNV1.
    FNAME       =   'TAXKD'.
    if you pass these thins you will get the in the fileds VALUE_NEW and VALUE_OLD
    hope these informatino useful to you.
    Thanks
    Edited by: Prasanth on Apr 13, 2009 7:40 PM

  • Custom Report Template Issue

    Hi,
    I have a Custom Report Template, it is a Named Column(Row) Report that I have created. It seems I can get the look and feel I want on a per row basis. But when I try and convert it to be able to loop through for a specific type, like a break on the first column, it gets all messed up. I was wondering if someone might be able to shed some light for me on this I have tried everything
    Here is the row template
    <table width="100%"  border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
       <tr  class="Tabledetail">
          <td class="SectionHeading" width="100%" bgcolor="#336699" valign="middle">
             <img src="spacer.gif" width="1" height="1">  <b>#1#</b> 
          </td>
       </tr>
       <tr class="Tabledetail">
          <td>
             <table width="100%"  border="0" cellspacing="1" cellpadding="1" bgcolor=white>
                <tr class="Tabledetail">
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td class=formlabel>
                      #2#
                   </td>
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
                      <b>Evaluation Trips</b> 
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td colspan=4 class="SectionHeading" bgcolor="#336699" align=middle valign="bottom">
                      <b>All Other Trips</b> 
                   </td>
                </tr>
                <tr class="Tabledetail">
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td  class=formlabel>
                      #3#
                   </td>
                   <td  align=right class=formlabel>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td align=right class=formlabel>
                      #4#
                   </td>
                   <td align=right class=formlabel>
                      #5#
                   </td>
                   <td align=right class=formlabel>
                      #6#
                   </td>
                   <td align=right class=formlabel>
                      #7#
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td align=right class=formlabel>
                      #4#
                   </td>
                   <td align=right class=formlabel>
                      #5#
                   </td>
                   <td align=right class=formlabel>
                      #6#
                   </td>
                   <td align=right class=formlabel>
                      #7#
                   </td>
                </tr>
                <tr class="Tabledetail" width=50%>
                   <td>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td  class=formlabel>
                      #8#
                   </td>
                   <td class=formlabel>
                      <img src="spacer.gif" width="5" height="1">
                   </td>
                   <td align=right>
                      #9#
                   </td>
                   <td  align=right>
                      #10#
                   </td>
                   <td align=right >
                      #11#
                   </td>
                   <td align=right >
                      #12#
                   </td>
                   <td>
                      <img src="spacer.gif" width="10" height="1">
                   </td>
                   <td align=right >
                      #13#
                   </td>
                   <td align=right >
                      #14#
                   </td>
                   <td align=right >
                      #15#
                   </td>
                   <td align=right >
                      #16#
                   </td>
                </tr>
             </table>
          </td>
       </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td><img src="spacer.gif" width="1" height="10"> </td>
    </tr>
    <tr>
    <td>Here is the before rows
    <table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
      #TOP_PAGINATION#
      <tr>
        <td>
          <table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">Here is the after rows
            </table>
        </td>
      </tr>
      #PAGINATION#
    </table>But when I try and pull the upper level html tables out of the row template the format goes to heck. Anyone have any ideas?
    Thanks in advance!

    goochable wrote:
    Thanks for the input! Yeah it is based on a query from a collection as all this data is summations that i am pre-populating.
    Yes this html is probably from 1998 or 1999 I think they told me actually lol
    So there is no way to accomplish what I am trying to do then?
    There is no way I could use a break on first column and modify the header info to get the same sort of look and feel?Still not really clear what you are trying to accomplish, and in my view there are so many problems with the "look and feel" that it's not worth perpetuating.
    Making a lot of assumptions, I've come up with the kind of HTML structure I'd use when marking up this kind of data. I added a page 2 to your example on apex.oracle.com, showing a basic presentation of this structure alongside the original for comparison, and another styled using the default theme L&F.
    <li>Given the requirement to use multi-level headers (and because I prefer to have total control over the HTML), I stayed with a custom report template rather than trying to utilise column breaking with a generic column report template. This also permits use of more advanced table structures than can be supported by standard templates, such as s<tt>colgroup</tt>s to organize the table columns as well as the rows:
    Before Rows
      <table cellpadding="0" border="0" cellspacing="0" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
      #TOP_PAGINATION#
      <tr>
        <td>
          <table class="fish">
            <caption>Some fishy summaries</caption>
            <colgroup span="1"></colgroup>
            <colgroup span="4" class="evaluation-trips" align="right"></colgroup>
            <colgroup span="4" class="other-trips" align="right"></colgroup>
    After Rows
          </table>
        </td>
      </tr>
      #PAGINATION#
    </table><li>Rather than separate tables, the report is contained in one HTML table, utilizing the <tt>tbody</tt> element to subdivide this into separate row groups to meet the "break on first column" requirement. This is achieved using conditional row templates, with PL/SQL Expressions based on the values of metadata columns added to the query:
    Row Template 1
    Header rows and first data row for each row group. <tt>scope</tt> attributes are added to multi-column headers for improved accessibility:
      <tbody>
        <tr>
          <th colspan="9" scope="rowgroup">#C1#</th>
        </tr>
        <tr>
          <th></th>
          <th colspan="4" scope="colgroup">Evaluation Trips</th>
          <th colspan="4" scope="colgroup">All Other Trips</th>
        </tr>
        <tr>
          <th>#C2#</th>
          <th>#C4#</th>
          <th>#C5#</th>
          <th>#C6#</th>
          <th>#C7#</th>
          <th>#C4#</th>
          <th>#C5#</th>
          <th>#C6#</th>
          <th>#C7#</th>
        </tr>
        <tr class="#ALT#">
          <td class="desc">#C8#</td>
          <td>#C9#</td>
          <td>#C10#</td>
          <td>#C11#</td>
          <td>#C12#</td>
          <td>#C13#</td>
          <td>#C14#</td>
          <td>#C15#</td>
          <td>#C16#</td>
        </tr>
      #CLOSE_ROW_GROUP#
    Row Template 1 Expression
    This template is used when the row metadata shows that the current row is in a different row group from the previous row:
    #ROW_GROUP# != #PREVIOUS_ROW_GROUP#
    Row Template 2
    This is the "default" template, used for any subsequent data rows in the row group:
        <tr class="#ALT#">
          <td class="desc">#C8#</td>
          <td>#C9#</td>
          <td>#C10#</td>
          <td>#C11#</td>
          <td>#C12#</td>
          <td>#C13#</td>
          <td>#C14#</td>
          <td>#C15#</td>
          <td>#C16#</td>
        </tr>
      #CLOSE_ROW_GROUP#Both templates make use of a <tt>#CLOSE_ROW_GROUP#</tt> column value conditionally generated in the query that returns a <tt>&lt;/tbody&gt;</tt> tag if the current row is the last data row in the row group. (Mixing logic and structure in this way is not good practice, but APEX only allows up to 4 conditional row templates, which is completely insufficient for any moderately complex structure.)
    <li>Several metadata columns (incorporating heavy use of analytic functions) are added to the report query for use in the report template or CSS presentation:
    with fish as (
          select
                    c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16
                      Generate a fixed order for separate report sections/row groups.
                      (This is a guess as the actual requirement is not specified.)
                  , case c1
                      when 'OTC Summary' then 1
                      when 'Retained Catch Summary' then 2
                      when 'Discarded Catch Summary' then 3
                      when 'Discarded Species Composition Summary' then 4
                      when 'Retained Species Composition Summary' then 5
                      when 'Priority Species Biospecimen Summary - Discarded Catch' then 6
                      when 'Other Species Biospecimen Summary - Discarded Catch' then 7
                      when 'Dissection Summary - Discarded Catch' then 8
                    end row_group
                      Calculate row number within row group.
                      Copes with row order in some row groups being determined
                      numerically, while others used standard character semantics.
                  , row_number()
                      over (
                        partition by  c1
                        order by      to_number(regexp_replace(c8, '[^[:digit:]]')) nulls last
                                    , c8) group_rn
                      Calculate number of rows in row group.
                  , count(*)
                      over (
                        partition by c1) group_rows
          from
                  test)
    select
              c1
                Not clear on meaning of "Weight"/"Method" values: assumed this is
                column heading equivalent to "Species".
                Combine both source DB columns into one for HTML heading, dealing
                with various null/space/blank issues...
            , nullif(c2 || ' ', '  ') || c3 c2
            , ' ' c3
            , c4
            , c5
            , c6
            , c7
            , c8
            , c9
            , c10
            , c11
            , c12
            , c13
            , c14
            , c15
            , c16
            , row_group
                Get the rowgroup for the previous row
            , lag(row_group, 1, 0)
                over (
                  order by row_group) previous_row_group
            , group_rn
            , group_rows
                Determine odd/even row number: used for standard or alternate style.
            , mod(group_rn, 2) alt
                Generate a closing element if the row is the last row in the
                row group.
            , case
                when group_rn = group_rows
                then
                  '</tbody>'
                else
              end close_row_group
    from
              fish
    order by
               row_group
             , group_rnThis makes major assumptions about the sort order(s) and break(s) required in the report.
    <li>Finally, the visual presentation is applied using CSS rather than (mainly deprecated) HTML attributes, via an embedded style sheet in the page HTML Header:
    <style type="text/css">
    .fish {
      empty-cells: show;
      border-collapse: collapse;
    .fish tbody tr:first-child th {
      border-top: 1px solid #fff;
      font-weight: bold;
    .fish th,
    .fish td {
      padding: 3px 6px;
    .fish th {
      border-bottom: 1px solid #fff;
      border-left: 1px solid #fff;
      background-color: #275096;
      color: #fff;
      font-weight: 300;
      text-align: left;
    .fish td {
      text-align: right;
      .fish tr.\30  td {
        background-color: #dde;
      .fish td:first-child {
        text-align: left;
    </style>The default theme L&F report adds vertical borders to separate columns and column groups (latter may not be fully effective on IE: I'm not wasting my time on quirks mode fixes for that).
    The resulting report uses 60% less vertical space, and 87% less HTML code[1] than the original. Usability and accessibility are improved by eliminating nested tables and useless table cells and shim images, increasing the contrast between text and background colours, and using alternating row backgrounds for better visual tracking.
    [1] Including whitespace, but neither template is compressed in any way: both are in fully readale format including normal whitespace indentation.

Maybe you are looking for

  • Jsp page does not open with firefox! plz help..urgent!!

    hi, i have a wierd problem... i am hosting my website currant.hos.ufl.edu/mutail/rahul/testing2.jsp if i open it in IE, it works fine... but it doesnt work if i open it in mozilla. it just shows me the java code (maybe it takes the jsp code as html t

  • Question about ALTER SYSTEM ARCHIVE LOG START

    Good morning, I'm trying (unsuccessfully) to get my database to be in archive log mode. These are the steps I followed: SQL> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL> startup mount; ORACLE instance star

  • Micro on the way--questi

    I'm awaiting deli'very of a 6gb zen micro (dark blue), and would like some educated opinions before I start using it. I'm probably a geezer compared to most of you and not quite as high tech, but not a dummy, and I've got a Muvo N200 that I've been u

  • Making popup menus stop painting over the current window

    I'm making up a game that relies on a regular menu bar for it's menus. But for some reason the drop-down menus insist on rendering themselves over the current window instead of creating a new object over it like it should. This causes them to vanish

  • How to search a content item based on content id?

    I'm having a requirement to search a document based on an Id. (something similar to KB search based on KB id) I'm aware that a document uploaded to publisher has two Id's that get generated 1) UUID 2) ITEMID (DA_*****) I'm planning to develop a portl