Dynamic Margins in Reports??
I need to be able to dynamically change the values of my header
and footer in the Margin of a report. The values can change from
page to page. I'm not sure how or even if it is possible to
dynamically control the values in the Margin. If you know a way
to accomplish this, please let me know.
Thanks.
null
Tod Ostrander (guest) wrote:
: Petr Valouch (guest) wrote:
: : Tod Ostrander (guest) wrote:
: : : I need to be able to dynamically change the values of my
: : header
: : : and footer in the Margin of a report. The values can
change
: : from
: : : page to page. I'm not sure how or even if it is possible
to
: : : dynamically control the values in the Margin. If you know
a
: : way
: : : to accomplish this, please let me know.
: : : Thanks.
: : if it only depens on page number then use format trigger and
: : srw.get_page_num to get page number and then
srw.set_filed_char
: : to change filed value.
: : hope this helps
: The main problem I'm having is trying to change the values of
: fields on the top and bottom Margins based on a primary key
: change within a repeating frame. Been trying to reset a
: parameter when the primary key changes. Not having much luck
: with this so far. Also, because the Margins are outside of
the
: frames, I can't directly change the values using the primary
key
: within the frame.
: Any ideas?
: Thanks.
Hi,
May be you should try like this,
1. Define a User defiend Parameter.
2. Try to reset the value in the format trigger of the
Primary key repeating frame.
null
Similar Messages
-
Applying a Template to a Dynamic PL/SQL Report
I have an application in which there are several reports, all based on the wizard and using standard templates.
One of my reports, however is a Dynamic PL/SQL Report, using htp.print statements to create the output.
I'm not quite sure, how I can specify that I want to use the same template as the rest of my reports, so as to maintain the look and feel of the whole application.
Can someone tell me how this is done, or where I can read about it?
Thank you.Sergio,
I have a table with two columns I want to display. The columns aren't wide but there are 15 or 20 rows. What I would like is that after 10 rows the report starts another set of colums beside the first ones. The standard report continues on down so you have to scroll down to see the bottom. I'm not sure if my explanation is clear so instead of:
1 info1
2 info2
3 info3
4 info4
5 info5
6 info6
I want:
1 info1 4 info4
2 info2 5 info5
3 info3 6 info6
Not being too picky, it could also be:
1 info1 2 info2
3 info3 4 info4
5 info5 6 info6
I don't see a way of doing this with standard reporting so a PL/SQL report seems to be the way to go (which works fine except for the formatting). Sorry if I've just missed it in the options. I'd prefer to do it using standard HTMLDB
Thanks.
Paul -
How to show the columns dynamically in OBIEE report based on the selection?
Hi,
I have a requirement where the columns should be dynamically shown in report based on what we select in propmt page.
I'm creating a report in OBIEE where i want to give an option to the end user to select the columns whichever he wants to see in the report.
For example I have the following columns in the report already:
Customer Name,
Customer Number,
Bank Account,
Address
I want to give an option to the user to select 'Customer Mail ID' dynamically and see the column to be displyed in the report along with the existing columns.
Through 'Column Selector' user can select a single column at a time, but if he want to select more than one column, how can we do this ?
Please help me out in resolving this issue.
Thanks,
Chaithanya.Hi Chaithanya,
there's not a straight solution for this. You can create different analysis containing different number of columns and then directing the user to this analysis using Action Links or you can also use View Selector to switch from one view (analysis) to the other. But it's not going to be very flexible nor dynamic.
J. -
Dynamic seleciton in report variant FBL1N
Hi,
Problem Description
I am trying use dyanamic selection in report variant of FBL1N but its not working.
My working
I am using dyanamic date variant.
In the selection screen of FBL1N, we have posting date in dynamic selections.
While creating a variant for the selection screen of FBL1N, I am selecting Posting Date of dyanamic selection and choosing selection variant as "D" (D: Dynamic date calculation) along with Current Date as variable.
However system is not accepting this and the current date is not coming up while choosing this variant.
Solution required
Can anyone please help me out with dyanamic date calculation in dates from dynamic selection in report FBL1N.
Thanks,
NitishDear
You did not specify in which version you are working. If you are in new GL instead of using FBL1N you can as well use T.Code S_AC0_52000888 and here you can make dynamic selections.
Regds -
Dynamic lenght in report heading
Hi experts,
I need to pass dynamic length in report heading.
i.e.., REPORT zrep LINE-SIZE dyn_len NO STANDARD PAGE HEADING.
So that my report output width will be in different length based on value dyn_len.
Any solution or alternative in simple list display. Pls suggest ....
Thanks in advance.
Zak.Hello,
Do not specify LINE SIZE in that case.
Thanks,
Jayant -
Hello
Can i use dynamic sql in report builder , so as to allow user-defined reports .
Thanx
Shrikantread in the help system about lexical variables (these are variables with & at the begining).
So you can define a query as select &P_1 where you get P_1 as a parameter. -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
How to spilt columns dynamically in the report based on Date Parameters
Hi All,
We have an XML Publisher report in which the parameters are Fom date and To date.
User wants the data in the report to be split dynamically based on the months in the From date and To date interval.
Eg. if the From date is 01-JAN-2013 and To date is '31-MAR-2013' then the report should show 3 columns JAN,FEB and MAR and the corresponding data.
if the From date is 01-JAN-2013 and To date is '31-MAY-2013' then the report should show 5 columns JAN,FEB,MAR,APR and MAY and the corresponding data.
Can anyone please advise, how can we spilt the months and data dynamically in the report.
Regards,
Shrutiwell you wanted the columns to be added dynamically. the easiest way would be to use a Pivot since the columns are based on the values in the data. and if the values of that column are Month Name/Abbreviation for that date then you will get month columns.
Have you worked with Pivots before? -
Hi, I was wondering if its possible to build a dynamic query on reports 6i. on the report wizard I cant get a user parameter...
here is what im trying to do: I have a query where the fileds am retrieving are always the same, what its going to change is the where clause, it can be like betwwen 2 different dates ot it also could be a lot of ORs, like, Company_ID = 1 or Company_ID = 2 and such.
Thanksyes, the thing is when I build the query on the report wizard it goes like this:
select field1,field3, field4 from Table
where p_clause
so I get an error, and the query cannot be build like that, it says ORA-00920 invalid relational operator Where p_clause ==>
So I thing my problem basically is how to build the query... any idea on how to do it? thanks
can you explain me how this After Parameter works a little bit more
Edited by: user10798811 on Mar 24, 2009 1:11 PM -
Change image size dynamically in BIP report
Can we change the size of image dynamically in bip report. If yes can I get some doccument or samples on it.
Thanks
AjI am doing small POC
I have a rtf template with three sample images on it with three different sizes for 1” by 1” , 3” by 3” and 5” by 5”.
I have a standard size of 2” by 2” image in my server (Could change size in future depending on req)
Now when I run the report the template should call the standard image from server and replace the sample images on the rtf and show the the standard image in three different sizes.
Pls let me know if i am missing something -
Adding the columns dynamically in crystal report
Hi,
I am developing a application using asp.net and crystal report. In a report the column is created dynamically( ie, the report gets input from a sp which returns N no. of columns). Since i dont know the column name and no. of columns at design time i am not able to create the report. If any of you have any idea on adding the columns dynamically please send me the code or the link.
Thanks
SankarHello Sankar,
please see CS code for VS 2005 below to add a database field to a report using inproc RAS.
This sampels retrieves the table column name from the database and adds it to the report.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.ReportAppServer.Controllers;
using CrystalDecisions.ReportAppServer.ClientDoc;
using CrystalDecisions.ReportAppServer.DataDefModel;
namespace CS_Add_Field_inproc
public partial class Form1 : Form
// CR Declarations
ReportDocument boReportDocument;
ISCDReportClientDocument boReportClientDocument;
CrystalDecisions.ReportAppServer.ReportDefModel.Section boSection;
CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject boFieldObject;
public Form1()
InitializeComponent();
//Create a new ReportDocument
boReportDocument = new ReportDocument();
// load the RPT file
boReportDocument.Load("..
AddField.rpt");
//Access the ReportClientDocument in the ReportDocument (EROM bridge)
boReportClientDocument = boReportDocument.ReportClientDocument;
//Get the first section in the details section
boSection = boReportClientDocument.ReportDefController.ReportDefinition.DetailArea.Sections[0];
//Create the field object that we will add to the report and set all of its properties
boFieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();
//Set which field to use for the data to be displayed
boFieldObject.DataSourceName = "{Customer.City}";
boFieldObject.FieldValueType = CrystalDecisions.ReportAppServer.DataDefModel.CrFieldValueTypeEnum.crFieldValueTypeStringField;
boFieldObject.Left = 4 * 1440; //1440 twips per inch
boFieldObject.Width = 3 * 1440;
boFieldObject.FontColor = new CrystalDecisions.ReportAppServer.ReportDefModel.FontColor();
boFieldObject.FontColor.Font.Name = "Arial";
boFieldObject.FontColor.Font.Size = 10;
boFieldObject.Format.HorizontalAlignment = CrystalDecisions.ReportAppServer.ReportDefModel.CrAlignmentEnum.crAlignmentLeft;
//Add the object to the report
boReportClientDocument.ReportDefController.ReportObjectController.Add(boFieldObject, boSection, -1);
// show in reportviewer
crystalReportViewer1.ReportSource = boReportDocument;
private void button1_Click(object sender, EventArgs e)
//Get the first section in the details section
boSection = boReportClientDocument.ReportDefController.ReportDefinition.DetailArea.Sections[0];
//Create the field object that we will add to the report and set all of its properties
boFieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();
//Set which field to use for the data to be displayed
boFieldObject.DataSourceName = "{Customer.City}";
boFieldObject.FieldValueType = CrystalDecisions.ReportAppServer.DataDefModel.CrFieldValueTypeEnum.crFieldValueTypeStringField;
boFieldObject.Left = 4 * 1440; //1440 twips per inch
boFieldObject.Width = 3 * 1440;
boFieldObject.FontColor = new CrystalDecisions.ReportAppServer.ReportDefModel.FontColor();
boFieldObject.FontColor.Font.Name = "Arial";
boFieldObject.FontColor.Font.Size = 10;
boFieldObject.Format.HorizontalAlignment = CrystalDecisions.ReportAppServer.ReportDefModel.CrAlignmentEnum.crAlignmentLeft;
//Add the object to the report
boReportClientDocument.ReportDefController.ReportObjectController.Add(boFieldObject, boSection, -1);
// show in reportviewer
crystalReportViewer1.ReportSource = boReportDocument; -
'Plant Location' field in dynamic selection of report
Hi Experts,
I have entered some value in plant location in WBS org. data tab and want to filter the report by giving this field in dynamic selection of reports. But this field is not availble in dynamic selection. how we can add the same, even this is standard field in PRPS table (PRPS-STORT). Pls help.
Regards
Dinesh ChauhanIn standard SAP this field is not set for dynamic selection
you can create your customer view with STORT activated or you can change the STD view
SE36
enter PSJ as logical database
go to menu path (in that same screen)
Extras -> selection views
this will default to CUS (short for CUS view)
change this to SAP and change button
In the table node section scroll down till you come to table PRPS_R then double click on that
in the table field section below enter B2 next to the stort field (you may to scroll) - this means that this will now be visible in the org unit section for WBS in dyn selection
save etc and then re try -
Dynamic XR2 webi reports on an Internet portal
How to integrate dynamic XR2 webi reports on an Internet portal? (Not Infoviews naturally)
Is the report on the same R/3 system than the others?
You can see it on the iview, attribute "System"
If it is on the same machine, then I can only give some generic hints:
Do the outside users have the same HR Permission than the inside user?
Are there any elements (i.e. htmlb, controls etc) that would be cut of by a tight set firewall? (some see extensive scripts as virus)
We have a VPN-Server that does "HTTP REWRITE" for security reasons and often "eats" cookies etc, which leads to particular behaviour of single reports
Is there a "http redirect" to the report somewhere
Is it a generic ESS transaction?
That is all (basic) things that come to my mind. It is difficult to give more specific hints without knowing the detailed architecture and sit in front of the systems -
Embed dynamic smart view report into power point
Hello All.
can amyone help with How to Embed dynamic smart view report into power point
Thanks.Have you tried dragging and dropping onto a ppt slide? I just did and showed up sheet one of the workbook. If you have many sheets in the workbook and want to show a particular sheet/data, you may want to save workbook with that sheet visible when you reopen. One thing I have not checked is dynamic content of the worksheet.
Venu -
Dynamic Rows in Report Painter
Hello everyone,
I'm new to report painter and m using the SAP Library help material to understand report painter. I've one query though i.e
Is it possible to create a report hrough report painter with dynamic rows ? if yes then pls let me know how.
Regards
AnikThank you.
See I have the below Rows
Total Revenue
Cost2
Cost3
Direct Cost
Gross = Total revenue - Direct Cost
Gross % = (Gross/Total revenue ) * 100
I have Columns as with basic Key figures and Formulas
Year(basic key Figure)
Year+1(basic key Figure)
Total = Year + (Year+1)
Its giving me correct values in case of Basic Key figures and not in the formula case.
It giving error when there is formula both in Row and Column.
In the above case last row and last colum. Only Column formula is getting implemented.
Here for example I have mentioned 4 rows and 4 columns.. But I have 15 Rows and 30 columns .. out of which 15 rows and columns have formulas...
% Rows are problem.. which gives me errors... I tried using Special cells, but I am not 100% sure how to use them.
I would be very thankful if you can help me out.. Please
Maybe you are looking for
-
Sales order item data & sales order schedule data
Hello, I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries f
-
Adobe Story Desktop App - unable to get past login
This problem is not present on all my home computers or laptops which leads me to believe this will be an issue with my computer. On my 2012 iMac I was recently able to launch, login and work inside Adobe Story Desktop. Last night I went to launch th
-
My database is a 10.2.0.4 database running on HPUX IA64 box. I have a requirement to move a Package and a Trigger from DEV to QA. Package ETH_OWAI.CAI_E1_Trigger_pkg Trigger ETH_OWAI.CAI_F4311_AIUDR Could someone please help me with the steps as to h
-
Searching multiple databases...
I have a number of databases, all using the same schema, which I would like to search. I'm wondering what the best way forward is. Options:- Open a connection to each database, search them all separately, and then amalgamate the results into a single
-
I accidentally removed a document in review from my Tracker window. Others have reviewed and added their comments but the review can't be completed because I can't add my comments. Once you delete a document from Tracker, is there a way to get it bac