Report print attributes - custom report layout

Hi there,
I've looked for this information in the web and in this forum without luck so far...
We have here BI Publisher and I use the "Enable Report Printing" option in a traditional report in Apex 4.0.2. That works great.
But instead of using the "Default Report Layout", I want to use a custom one based on a RTF file. However I have no idea what the data XML looks like in order to build a custom layout.
To be clear: if you go to Shared Components > Report Queries, you have a Download XML Data option so you can build your report layout based on the XML structure. For instance, you can use <?for-each:ROWSET1_ROW?>, <?COLUMN_NAME?> etc
Any ideas about what that XML structure is for a traditional report?
Thanks
Luis

Found it: change temporarily the output format to XML and download the report. The XML structure is all there. Very helpful to know that all page items are included in the XML as well. It would be good to have this functionality detailed somewhere in the Apex documentation.
What I still need to know is how to access the substitution strings below in my RTF (NOT XSL-FO) template:
Select Default Report Layout to use the built-in generic report layout.
To use a custom generic report layout, select it from the list.
You can use the following substitution strings when building custom XSL-FO report layouts:
#PAGE_HEADER#
#PAGE_HEADERFONT_COLOR#
#PAGE_HEADER_FONT_FAMILY#
...Any ideas?

Similar Messages

  • Calling standard report to my custom report

    Hi ALL,
    i need to call a standard report into my custom report
    for example :
    i am having a report with all PR related data
    now i am having nearly 20000 purchase requisitons and there related data .
    now i will get all the Source of supply for each PR
    using bapi BAPI_SOURCEDETERMINE_GETSOS.
    now i am having all the PR's and source of supply
    then i need to assign source of supply .
    using the standard report RM06BZ00.
    then how to call this report and assign source of supply .
    Will be there any performance considerations for calling this report in a loop (20000)
    and how to catch the result
    if source of supply  was assigned ok
    if not how.
    Thanks in advance .
    siva

    Hi Prabhu,
    Use the Submit Statement for calling the standard report u can use the options available with the submit statement for passing any parameters ,
    for reference u can refer following code....
    MOVE: 'S_LIFNR' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-lifnr TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'S_DOCNO' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-docno TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'S_DOCTYP' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-doctyp TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'P_CT1' TO seltab_wa-selname,
            'P'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            'X' TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      SUBMIT zexc_ct1_prg
       via selection-screen
          WITH  SELECTION-TABLE seltab.

  • Report Print Attributes and Session State Protection

    Hi all,
    I have a report (old style Apex report, not an IR) that I would like to have a Print option, producing a PDF output.
    The report is on a page that takes a number of arguments and uses the page security option "Arguments require checksum".
    When I turn on the Enable Report Printing option in the report, the Print link appears at the bottom of the report. However, clicking Print leads to the following message:
    "Error      No checksum was provided to show processing for a page that requires a checksum when one or more request, clear cache, or argument values are passed as parameters."
    Disabling Session State Protection for that page makes the report link work, but I would prefer not to do that.
    How do I get the built-in report print option to generate the required checksum?
    I'm using Apex 4.0.2.00.07, by the way.
    Alex

    WORKAROUND:
    1.) Create hidden ITEM on page (I named it P23_PREPARED_CSV_DOWNLOAD_URL).
    Enter the following for the ITEM
    as the SOURCE_TYPE : PL/SQL Function Body
    as the SOURCE: return apex_util.prepare_url('f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:CSV:')
    2.) Create BUTTON that executes javascript to open POPUP window with this url.
    a.) Create Button and enter
    &lt;a href="javascript:popupURL('&P23_PREPARED_CSV_DOWNLOAD_URL.')"&gt;Download and Save to CSV file&lt;/a&gt;as the "Text Label/Alt"
    Originally had custom code for javascript POPUP and this is not needed .... just use the APEX javascript function.
    Edited by: Bryce Tuohy on Mar 5, 2009 10:47 AM

  • [Extend DBI] specify the drill-down report for the custom report column

    Hi,
    I realized two custom reports by using the extend DBI tools:
    1st report displays the sum of invoices amounts grouped by Operating Units.
    2nd report display the details of invoices for all Operating Units
    In the 1st report I specified a link on the column Operating Units to drill-down at 2nd report.
    The problem is how specified the drill-down link so that the 2nd report display only the detail of invoices for the selected Operating Unit?
    Thanks.

    Adding the time dimenstions like Year, Quarter, Period, Week is quite possible.
    Steps would be:
    1. make sure your data source (Table/View has these columns). If you don't have them you can generate them by joining the date of the data table with FIII_TIME_DAY.
    2. Map these new columns to appropriate Dimesnions. (Lile Enterprise Year, Enterprise Quarter etc.)
    Once you have done these two your report will work for the Time Dimensions.
    I dont think its possible to get the Prior Period functionality unless you use a generated datasource.
    Regards,
    Sudeep

  • Total No of pages different in report printed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8)

    Currently in our application, we are using Crystal Report XI R2 for generating the reports. We are in the process of upgrading the Crystal Report to SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). I updated that on my machine and all the reports work fine. I didn't have to modify any of the reports.
    However when comparing the reports, we found that there are few reports on which the total no. of pages differ from the report displayed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). Comparing the reports, it looks all the data that were fit on one page earlier with version XI R2 doesn't fit on the same page with version 13.8, thereby increasing the page counts.
    The fonts, page margins everything set on report itself. Nothing being set in the code.
    Both the application is using the same report that is pulling the data from the same database. Our application is a web application.
    Any suggestion, why this is happening.
    Thanks.
    Sanjay

    I am not sure what is being compared here?
    CRXI R2 designer to CRVS?
    CR XI R2 in some version of .NET to CRVS?
    CR XI R2 using RDC SDK to CRVS?
    Also, is this happening on your development computer or after you deploy?
    If you compare the the "Page setup" options dialog between reports that work and those that do not work, do you see any difference?
    Is this a web or a win app?
    Are you seeing the same issue when viewing and exporting - say export to PDF?
    What is the printer driver used and it's version?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Attribute "Report Layout" is missing in the "Print Attributes" tab for IR

    Hallo,
    The attribute “Report Layout” is missing in the “Print Attributes” tab for an interactive report?
    How to alter the report layout (xsl-fo) of an interactive report?
    Has someone any idea where to configure this?
    Btw, for the "classic" SQL Report the XSL-FO "Report Layout" can be cahnged in "Print Attributes" and this works fine for me. But I want to change the xsl-fo for the interactive report.
    "If you do not select a report layout, a default XSL-FO layout is used. The default XSL-FO layout is always used for rendering Interactive Report regions. ... Unlike classic reports, the Interactive Report Print Attributes can only utilize the default XSL-FO layout and is initiated from the Report Attributes, Download section rather than directly from this screen. Once configured, these attributes only apply only to the current region and cannot be used outside the context of the region."
    http://apex.oracle.com/i/doc/bldapp_rpt_print.htm
    How can the "default XSL-FO layout" be changed?
    Changing is necessary because the Apache FOP 1.0 reports the following error (for the transmitted default XSL-FO):
    "fo:simple-page-master", "fo:region-body" must be declared before "fo:region-before"
    http://www.w3.org/TR/xsl/#fo_region-before
    The default report layout is not saved in:
    select * from APEX_040000.WWV_FLOW_REPORT_LAYOUTS
    Thx, Willi

    I've found two workaround for getting Apache FOP 1.0 to work with Oracle Apex 4.0 for PDF printing of interactive reports:
    1, Use an application process to set your custom layout for interactive reports:
    [ ] grant all on APEX_040000.WWV_RENDER_REPORT3 to {YOUR_SCHEMA_NAME};
    [ ] Create an Application Process e.g. "Custom Report Layout" with constraint for request 'PDF' and Process Text:
    declare
    v_xsl varchar2(32767);
    begin
    v_xsl := '<?xml version = ''1.0'' encoding = ''utf-8''?>
    <xsl:stylesheet version="2.0"
      <fo:region-body region-name="region-body" margin-top="54.0pt" margin-bottom="54.0pt"/>
      <fo:region-before region-name="region-header" extent="54.0pt"/>
    </xsl:stylesheet>';
    APEX_040000.WWV_RENDER_REPORT3.g_prn_template := v_xsl;
    end;2, If you have some knowlege in Java change the sequnce of the the nodes in the apex_fop.jsp (or servlet), ie. changing the xsl before you use it for transformation.
    The code depends on the solution you are using to parse the xsl string.
    Hope this may help someone,
    Willi

  • HOWTO: Control Printer Attributes for a Report at Run Time Reports 6i

    HOWTO: Control Printer Attributes for a Report at Run Time
    Like page width , height etc
    my problem is i had installed a printer and it is set for
    printing different reports ( like invoice slips , legal size ,
    A3 etc ) each time i have to manually set the page settup from
    printer folder .instead if there is an option to set the printer
    attributes from Reports 6i it is great
    rajesh

    All the Printer Setup(Page Height and Page Width) must be set in
    the Reprot Program. These can be set at the Layout-Main Section
    in the Object Navigator.
    hth

  • 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

  • Can you create a product report with attributes?

    I have tried create a customer and orders report in order to show a list of people who have purchased classes..
    My product is setup as : SATURDAY CLASSES, with product attributes eg: JAZZ, BALLET, DRAMA etc
    When I run the report, it only shows the initial product, SATURDAY CLASSES, and no attributes.
    Report goes like this:
    Custom Reports > Add a Customer Report
    > Customers and Orders > Then I choose my fields required..  and Generate Report.
    I realise to fix this problem I could change the products to individual products and group them together, but that means the product discounts I have set up wouldn't work....
    Which makes it hard to see who has booked into which class..
    Is there any way to run a report that will show attributes?

    Our reports currently do not include product attributes. I believe that this item is on the wishlist so I would encourage you to go there and vote for it.
    Cheers,
    Mario

  • Printed Purchase Order Report gives no output

    hello,
    The standard report "Printed Purchase Order Report(Landscape)" gives a a zero size output file for a certain po . Although i have checked the tables PO_HEADERS_ALL and PO_LINES_ALL and that purchase order has all the data entered in the tables above.
    what can the problem possibbly be and how can i fix it?
    please help...

    hello,
    as an update i found that the specified purchase orders has 9 lines entered and in PO_LINES_ALL only 5 are there !!!

  • Report printing failed with "Servlet error: An exception occurred. "

    Hi,
    I use Apex 3.1 in Oracle Express edition develop few applications. In one of the application, when I enable report printing in stardard reports and try to print to PDF/Excel, the servlet error occur.
    I had configured FOP in my server and I can download PDF in "interative report", but for stardard report, the report printing failed.
    I can successfully print the reports in my others applications. Anyone know what could be the reason which cause an application failed to print the report.
    Thanks
    Vincent

    Does your application name have special characters? I heard that the app name has to be just letters and numbers for this to work...actually testing right now.

  • Transaction code for Custom report

    Hi,
    How to create transaction code for Custom report ?
    the custom report is a drilldown report of COPA, which can seen in tcode  FDI3.
    then how to add this new transaction to the menu path Easy assess->FI->AR->Information system->Reports->customers:items.
    Thanks,
    Swetha

    Hi Swetha,
    There is a special way to assign tcodes to such reports. Normally you create the report via report painter/writer. These reports are part of library and report group.
    Create the tcode in SE93. Then at the bottom of the screen you would find option to specify report group, report name, variant to lauch with. Don't have system to specify the exact way of specifying, if you need I can provide on monday. You can take some existing COPA standard report and check from SE93.
    --Ram

  • Custom Reports and Custom Fields

    When creating a custom report, it seems the only way to include custom fields and Extend CRM database fields is to include ALL of them in the Filter Criteria > Custom CRM Form Filter section. The business owner wants me to create a custom report that includes only a few custom fields but I'm not seeing how this is possible without including all of them from a specific web form.
    Does anybody have suggestions as to how I can accomplish this?

    Hi Rajeev,
    To the best of My knowledge i know 3 process to Generate Report in E-Recruitment Pool.
    1) Create an Infoset in SQ02 and assign the Role/UserGroup assignment as ERC_RECR and create Query in SQ01, Combining your E-Rec table & OM tables with variant and generate, you can see the Report in E-Rec(Login as Recruiter)->Reporting->Reporting Select your Custom Report and Execute.
    2) Create a Custom Report with Transaction Code.
        Create a IView in Portal and call the Transaction this is the
         job of portal adminstrator.
    3) Make an RFC (Remote Function Call) enabled Function Module with Importing & export parameters as per client requirements.
    Code the logic and Retrive in Internal table in exporting parameter.
    now Portal Job
    Portal administrator will create a WebDynpro front end application for report selections screen or it can be any other portal development tool, for good look and feel, he will just call your RFC Function Module, by passing import parameters for fetching the internal table data he will display report on portal.
    Rajeev,
    standard process is via SAP Queries you only define the Querry with variant as defaulting the selections screen what ever the values in the backend,
    only you select the report name from portal E-Rec and execute report their wont be any selections screen will be shown.
    Coming to I-View yes what ever the report selections screen is their in backend it will be appering the same.
    webdynpro your will your can desing like any thing.
    coming to number colums not very sure.
    yes create only OM reports also on E-Rec.
    Cheer Up dear, if this resolves.
    Thanks & regards
    Ravi Kiran Sabba

  • Custom reports issue

    Hello,
    Grid Controle 11.1.0.1 on 11.2.0.1 database
    OS: SLES10 64 bit
    There are Standard Reports in Oracle Grid Control, not only in Grid 10g , also in my 11g version.
    For example the report:
    Availabilty History (Group)
    shows nice icons for 'Up' and 'Down'. If you examine how this element is being created, it is a Table from SQL. The icon column is a value: 1, 2, 3, etc. There is NO obvious way i see that this value is translated into the icon.
    If we copy the sql statement into a custom report, we don't see icons, but the values. Some way the value should be translated into the icon. HOW?
    If we 'create like' the report into a custom report, the icons are shown!
    If I add elements from different out-of-the-box reports to my custom report, the icons are lost.
    How to fix this?

    Hello,
    well, your question is a very good one!
    I did myself the following test:
    "create like" a new report of my own from the "Availability History (Group)" report.
    Then, in this new report, I have deleted all but the "Member Summary" section, where icons are displayed instead of values.
    To conclude, I have exported this report in the XML format: emcli export_report -title="Availability History 2" -owner="******" -output_file="/tmp/Availability History 2.xml"
    the delete from the Grid and reimport it: emcli import_report -title="Availability History 2" -owner="******" -files="/tmp/Availability History 2.xml"
    I have checked that the icons are still displayed in the imported report, thus the XML file contains everything that is required.
    Here is the file content:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ReportDefinition title="Availability History 2" description="EMR_Availability_Reports_Member_Desc" system_report="0" category="IPMSG_MONITORING_CATEGORY" sub_category="IPMSG_BPEL_REPORTS_SUBCATEGORY" show_navigation="1" generate_context="0" add_toc="0" product_name="EM" is_jit_multi_target="0" target_type="composite" is_jit_target="1" style="BLAF" oms_version="10.2.0.5.0" xmlns="http://www.oracle.com/DataCenter/ReportDefinition">
    <ReportWideParameters parameterName="oracle.sysman.eml.ip.render.elem.TimePeriodParam" parameterValue="0:0"/>
    <ReportWideParameters parameterName="oracle.sysman.eml.ip.render.elem.TimePeriodOption" parameterValue="true"/>
    <ReportWideParameters parameterName="oracle.sysman.eml.ip.render.elem.TimePeriodUserCust" parameterValue="true"/>
    <ReportElement element_row="3" suppress_render="0" element_name_nlsid="IPMSG_USER_TABLE_FROM_SQL" header_nlsid="EMR_Member_Summary" element_type_nlsid="IPMSG_ANY_TARGET_TYPE" element_order="0">
    <ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.numRowsToShow" parameterValue="10"/>
    <ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.resourceBundle" parameterValue="oracle.sysman.resources.eml.ip.OOTBResourceBundle"/>
    <ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.initialSortColumn" parameterValue="1"/>
    <ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.sqlStatementIsPlSql" parameterValue="false"/>
    <ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.availabilityStatusColumn" parameterValue="2"/>
    <ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.initialSortOrder" parameterValue="ascending"/>
    <ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.sqlStatement" parameterValue="SELECT C.target_name TARGET_ID, C.type_display_name TYPE_ID
    ,DECODE (A.availability_status,'Target Down','0','Target Up','1','Metric Error','2',
    'Agent Down','3','Unreachable','4','Blackout','5','Pending/Unknown','6','n/a') STATUS_ID
    FROM mgmt$availability_current A, mgmt$target_flat_members B, mgmt$target C
    WHERE B.aggregate_target_guid = ??EMIP_BIND_TARGET_GUID??
    and A.target_guid(+) = B.member_target_guid
    and B.member_target_guid = c.target_guid
    ORDER BY C.type_display_name,C.target_name"/>
    </ReportElement>
    </ReportDefinition>
    In my opinion, what is important is the line:
    <ReportElementParameters parameterName="oracle.sysman.eml.ip.render.elem.TableRender.*availabilityStatusColumn*" parameterValue="2"/>
    which is documented here => http://download.oracle.com/docs/cd/B19306_01/em.102/b16246/info_pub.htm
    I have no solution for you to specify this in the GUI, BUT, you are still able to design your report using the GUI (and thus display values instead of icons) and when your report is completed, you export the report, insert the line above and reimport the report.
    I hope this helps.
    Regards,
    Noel Talard
    Edited by: N TALARD on Nov 16, 2010 8:36 AM

  • New customized report using PLD or QUERY PRINT LAYOUT to show customers onl

    I am working with a Software Developing firm as an SAP Consultant.
    Please tell me how to create a new     customized     report displaying various details as required by the client in the report using PLD or Query Print Layout.
    Please help me asap.

    Hi,
    You can create queries using the Query Generator or the Query Wizard tools.
    After you have created your own queries, you can link them to a required print layout.
    for user reports.Look at:
    Tools --> Queries --> Query Print Layout
    Set there your query reports.
    Printing User-Defined Queries
    After you had linked a user-defined query to a user report template, you can now print it
    according to its linked print layout.
    There are two ways for printing your user-defined queries.
    1. Using the Query Print Layout window:
    • Select from the upper menu Tools &#1048774; Queries &#1048774; Query Print Layout.
    • Click the Reports tab page.
    • Click to highlight the required query you would like to print.
    • Click on the printer icon or select from the upper menu File &#1048774; Print.
    • The user-defined query is printed according to its linked print layout.
    2. Using the Queries Manager window:
    • Click the Queries Manager icon on the upper tool bar.
    • Click to highlight the required query you would like to print.
    • Click on the printer icon or select from the upper menu File &#1048774; Print.
    • The user-defined query is printed according to its linked print layout.
    Note! You can also print preview user-defined queries. Do so by selecting the Print
    Preview option as described in the methods above for printing your query.
    Btw, you could search the manual training files relate to query PLD in http://www.service.sap.com/smb
    Rgds,

Maybe you are looking for