Tabular report with variable-height 2nd line?
I have a simple tabular (Tablix) report. The last field is a message (varchar(1000)) which I would like to place by itself on a second line (while still preserving the tabular format), with variable height.
The problem is, when I add a second row to the detail region, I can add the message field, but it is limited to the size of the field just above it. I'm trying to allow that message field to take almost the entire width of the second detail line. Can
this be done?
Thanks.
If you add a row inside the Details group, then select all cells inside the details group that are on the new row, you should be able to merge cells by right-clicking and choosing merge cells.
You cannot merge cells across different scopes (row groups, column groups, etc) so be certain that you are not selecting cells that span different groups.
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek.
Similar Messages
-
Accordion with variable height
Hi -
I have a 2-panel accordion with variable heights, and spry
data in both the top and bottom panels. Selections made in the top
panel will load data into the bottom panel, and the page opens to
the top panel by default. My problem is that the bottom panel will
only display enough height to show the initial HTML markup, and not
the spry data generated after the initial page load. Is there any
way to use an observer to "refresh" the accordion to reset its
height to accommodate the new data?
Also, is there a way to require that at least one panel
remain open when using variable heights?
Thanks in advance,
RodHi,
We have a similar question on this
post.
To fit exactly with your request you should change the line:
regionHeight =
document.getElementById("myRegion").scrollHeight;
with:
document.getElementById("myRegion").style.height =
document.getElementById("myRegion").scrollHeight + 'px';
Diana -
Start with all Accordion panels closed with variable height panels
I inserted a Spry Accordion on this page: http://www.brucebarrdesign.com/video_new.htm
I want the panels to open to a size depending upon the content within them so I set the height to auto. The problem is that when you go to the page, the first panel is open. I want all of the panels to be closed when you first go to the page. Per the Help docs and some posts I've seen in the forum, I tried inserting this code:
<script type="text/javascript">
var acc1 = new Spry.Widget.Accordion("Acc1", { useFixedPanelHeights: false, defaultPanel: -1 });
</script>
However, this only works with fixed height panels. If I use it with the variable height, it opens all of them, so I commented it out for now. How can I get this to work?
ThanksGPDMTR25 wrote:
I located the answer to my own question (how to get all the accordion panels to remain closed when the browser opens) but I still don't understand the answer. Can someone explain this?
This feature is only supported when using variable height panels, so you must pass a false into the Accordion's constructor for the "useFixedPanelHeights" constructor options, and a -1 for the "defaultPanel" option:
<script type="test/javascript">
var acc1 = new Spry.Widget.Accordion ("Acc1", { useFixPanelHeights: false, defaultPanel: -1});
</script>
Angela
Hi Angela,
You are right, the only way it will work is by setting the fixed height to false. As for the for the default panel option, -1 is not a panel and if you had 3 panels we could have used the number 3 (panel1 = 0) or 99 or whatever as long as there is no panel with that number. If we had used the number 1 for instance, then the 2nd panel would be opened by default.
Hope this helps.
Ben -
Matrix Report with variable@incontext not working
I had built a matrix report, using variable@incontext. I'm having a problem with my cell data. It seems that it is always using the value from the first record in the column instead of the actual value.
ie in the example below, the data should make it come out like:
Staff____01____02____03______
Bob_____Bob_________Bob
John____John__John___John
Joe_____Joe___Joe____Joe
but it's coming out like this (the data for John is wrong in column1 and 3 and the data for Joe is wrong in all columns) :
Staff____01____02____03______
Bob_____Bob_________Bob
John____Bob___John___Bob
Joe_____Bob___John___Bob
Staff Column(Down):
<?for-each-group:ROWSET2_ROW;./STAFF_NAME?><?variable@incontext:STAFF;STAFF_NAME?>
<?STAFF_NAME?>
Number Column (Across)
<?for-each-group@cell://ROWSET2_ROW;PERIOD?>
<?sort:current-group()/PERIOD;'ascending';data-type='text'?>
<?if:count(current-group()[STAFF_NAME=$STAFF])?><?STAFF_NAME?><?end if?>
<?end for-each-group?>
<?end for-each-group?>
It looks like the value for '$STAFF' and ?STAFF_NAME are not right when there was data in a previous column.
Can anybody Help me?Hi,
Can you please help me to solve the problem.
Thanks in Advance
Adina. -
Information Broadcasting: Monthly Reporting with variable dates
Dear all,
we have created a lot of reports with RD and have pubished the reports in the portal. Our reports have a lot of selection screens. Now we would like to use information broadcasting. We have already created information broadcasting settings. We have maintained fix variants for our reporting
For example:
Variant x1
Organization: C110
Scenario: Actual
Date: is filled by the user Exit
Now we tried to shedule the report. We are using Variant x1 to find the correct selection. The problem is, that we have already saved a fix date in the variant (for example 01.01.2008), because the field is obligatory.
The User-Exit for the variables works with step 1, but the problem ist, that the variant x1 is overwriting our User-Exit value.
How can I avoid, that the Variant is not overwriting the User-Exit. Of course for reporting without variant, the manual entry has priority before the user exit.
Thanks for a soon feedback.
XmxhXhi,
in order to update months, firstly create variants for the reports. Then implement the below program modifying the users inputs. For current month or last month you have to hard something like sy-datum(6), an you have to hard code the field name for the month variable that you use in query.
Below program is for BI 7.0, you can also check the document. It also contains a method for bw 3.5 variants.
You can schedule this program in a process chain or make variations of this as needed.
[How To Troubleshoot Information Broadcasting (BEx Workbooks)|http://www.sapadvisors.com/resources/HowtoInformationBroadcasting.pdf]
*& Report Z_MASS_VARIANT_MAINTENANCE *
*& Program to mass update BEx Variants within SAP NetWeaver 2004s *
REPORT Z_MASS_VARIANT_MAINTENANCE.
parameter variable like RSRVARIANT-VARI.
parameter vname like RSRVARIANT-VNAM.
parameter sign_01 like RSRVARIANT-SIGN.
parameter opt_01 like RSRVARIANT-OPT.
parameter low_01 like RSRVARIANT-LOW.
parameter high_01 like RSRVARIANT-HIGH.
tables: RSRVARIANT.
select * from RSRVARIANT.
if rsrvariant-VARI = variable AND rsrvariant-vnam = vname.
rsrvariant-SIGN = sign_01.
rsrvariant-OPT = opt_01.
rsrvariant-LOW = low_01.
rsrvariant-HIGH = high_01.
elseif rsrvariant-vnam = vname.
rsrvariant-SIGN = sign_01.
rsrvariant-OPT = opt_01.
rsrvariant-LOW = low_01.
rsrvariant-HIGH = high_01.
endif.
update rsrvariant.
if sy-subrc 0. insert rsrvariant. endif.
endselect.
RSRVARIANT-VNAM must be your month variable.
RSRVARIANT-LOW and HIGH must be your automatic month like sy-datum(6)
regards, -
Tabular report with return popups
Hi,
i have a tabular report in which, for each cell the user must enter a code. i want a popup to appear when the user clicks in the cell with a list of codes to chose from, and then i want the selected code to populate the cell. i dont care if the popup closes automatically, but that would be nice.
i saw this site:
http://spendolini.blogspot.com/2009/04/returning-value-from-popup-page.html
but i don't know how to reference individual cells in a tabular report.
this code works to create a popup using another page : onclick="popUp2('f?p=' + $v('pFlowId') + ':5:' + $v('pInstance'),250,600);" but i dont know how to return the values to a cell.
thanks
kesterHi,
781759 wrote:
but i don't know how to reference individual cells in a tabular report.Individual items in a tabular form have IDs like fcc_rrrr where cc is the field number and rrrr is the row number. For example:
<input type="text" name="f06" size="16" maxlength="2000" value="2" id="f06_0002" autocomplete="off">
For this example, just 'f06_0002' as 'that' in the $v_PopupReturn function.
Luis -
TileList with variable height renderer example?
I am desperately searching for an example of how to implement
a TileList with a variable height renderer. Well I guess to be more
clear, I am sort of able to do this, but I have a renderer that
uses a VBox, then an mx:Image. My single column TileList will hold
a collection of images, that are all scaled to the same width. I
need the height of the renderer to be based on the scaled height of
the image.Google "FlowBox".
Tracy -
Question about creating a report with variable columns
Post Author: Archmage
CA Forum: General
Hi,
Is there a way to create a Crystal report based on the following situation?
Run a stored procedure with two date parameters:
If you run from 9/1/07 to 9/30/07, then the data result would be as follows: (example only) and the report format would follow
Cust Sept 07
AB100 2000
If run from 8/01/07 to 9/30/07
Cust Aug 07 Sept 07
AB100 1000 2000
if run from 7/01/07 to 9/30/07
Cust July 07 Aug 07 Sept 07
AB100 1000 1000 2000
So Basically, based on the parameters chosen, it could be a report with one, two, three, or even 40 columns, each column representing the month.
Thanks for any ideasPost Author: Archmage
CA Forum: General
Does this require that the stored procedure has already created the different columns by month first? Or can the raw data be a three column source
like
CUSTNO DATE AMT
AA100 8/1/07 1000
AA100 9/1/07 2000
AA100 10/1/07 2500
And checking the format with multiple columns will create the Crystal report like:
CustNo Aug 07 Sept 07 Oct 07
AA100 1000 2000 2500 -
SAP-Script - Draw Table (Boxes) with variable number of lines
Hello,
I want to create a Table with Frames in a SAP-Script Form. First of all I don´t know the position of the table in the window main. It can be page 2 or 3 on top or in the middle. But i have to describe a position like
POSITION YORIGIN '12.95' CM. How can i position the table in a variable way?
And i don´t know the number of lines of the table. How can I manage to draw the correct numbers of boxes as numbers of lines exist?
Kind Regards
Carsten FuchsHi carsten,
1. Drawing GRID (just like excel, matrix)
is very cumbersome in sapscript layout.
(either dynamically, or hardcoded)
2. Moreover, the final look,
may or maynot appear as requried,.
ie. exactly with proper alignment and grid lines.
3. If the font size is required to change,
then the dynamic position also changes.
4. If the grid is supposed to go to the next page,
again the calculation and logic becomes tougher.
5. To use grid, its better to use smartform,
which provided FINE CONTROL of the grid
and its lines and width, height, style etc.
6. In sapsctip, at most we can use
UNDERLINE (_) and PIPE (|)
regards,
amit m. -
Master-detail reports with variable number of pages in a big report
I am designing with Reports 6.0.5.32.0 a master-detail report such as a
combination between a customer with his name, address etc, at the top of
the page (always 60% of the first page) and then as details lines with his orders.
For one customer seems relatively OK with the variable number of pages in accordance with the number of his orders.
When the main query finds more customers I present always the customer at the top of
a new page (that's easy), but how can I control the number of the next pages for the orders, variable for every customer.
I can not predict how many pages are necessary for a customer and white pages are
not desirable. When the number of Max. Vertical Body Pages is too low I can get the next pages for every customer, but appears an
uncontrollable shift to the left.
For instance, a customer with 40 orders needs 3 pages, one with 4 orders only 1 page, one with 15 orders 2 pages, etc.
What's the magic property for a secure and precise layout?Hi Andreas,
did you try setting vertical spacing to expand or variable on master repeating frame (and posible other frames surrounding master repeating frame)?
Hope this helps -
General Ledger report with Op Bal , Trans Line Items and Closing Balance
Hi Experts,
My clients needs a General Ledger report which should show Opening balance and all transactions line items with closing figure in a single report for a fiscal year in the given date range wise. Can I get a report in standard sap. Waiting for your reply.
Thanks in Advance,
Arabinda ParidaHi Parida,
There is no such report in SAP. Basically all standard report gives line items not with opening and closing balances. Anyway check mentioned transaction which may help to you.
S_ALR_87012309....It is cash journal report. Anyway you can enter GL account get opening and closing balances with all relavent transactions.
Regards
Suma -
Broken Link Report with Variables
In my broken links report, I have many links that contain dynamic variables that will be realized at execution time and are not static links.
I have included some code from our page(s) below.
This process works extremely well for our web pages, but I would like to clear up the broken link report.
Is there a way to keep the code as is and have them removed from the broken link report, or is there better way to do this?
Example:
<cfoutput query = “getDBcontent”>
<cfset FileName =“../projectweb/images/#getDBcontent.FileType#.gif”>
<cfset FileTitleAlt = “The title of this document is: #getDBcontent.FileTitle#”>
<img src=”#FileName#” alt=”#FileTitleAlt#”> #currentrow# <a href=”../projectweb/files/#getDBcontent.Table_FileName#”
target=“_blank”>#getDBcontent.Table_FileNameTitle#</a><br />
</cfoutput>
After Execution:
<img src=”pdf.gif” alt=”The title of this document is: Search Lists for Dummies”> 1
<a href=”../projectweb/files/Search_Lists_for_Dummies.pdf” target=“_blank”> Search Lists for Dummies </a><br />
<img src=”pdf.gif” alt=”The title of this document is: Adobe Dreamweaver CS5 with PHP”> 2
<a href=”../projectweb/files/Adobe_Dreamweaver_CS5_with_PHP.pdf” target=“_blank”>
Adobe Dreamweaver CS5 with PHP </a><br />
<img src=”doc.gif” alt=”The title of this document is: How to Build a House”> 3
<a href=”../projectweb/files/How_to_Build_a_House.doc” target=“_blank”> How to Build a House </a><br />
<img src=”docx.gif” alt=”The title of this document is: Adobe Dreamweaver CS5 Classroom in a Book”> 4
<a href=”../projectweb/files/Adobe_Dreamweaver_CS5_Classroom_in_a_Book.docx” target=“_blank”>
Adobe Dreamweaver CS5 Classroom in a Book </a>
The broken link report shows the following:
FILES Broken Links
/Books.cfm ../projectweb/files/#getDBcontent.Table_FileName#
/Books.cfm #top
/Books.cfm #bottom
Thank you in advance...
RogerThanks for taking a look Murray. Here are some samples (The domain for our page is www.insurance.wa.gov)
social/index.shtml
http://www.facebook.com/WSOIC
social/index.shtml
http://twitter.com/WAinsuranceblog
social/index.shtml
http://access.wa.gov/washington/blogs.aspx
social/index.shtml
http://access.wa.gov/washington/facebook.aspx
social/index.shtml
http://access.wa.gov/washington/twitter.aspx
Our page to the left, the broken link to the right of course. -
PLSQL-generated SQL report with variable number of columns
I created an app to track college football bowl picks:
http://apex.oracle.com/pls/otn/f?p=21723
The main report region includes columns for the various games as well as a column for each participant. In order not to hard code the number of participants, I used PLSQL to generate the SQL so that new columns could be added on the fly.
However, whenever I add a new user I get this result -
report error:
ORA-01403: no data found
If I copy and paste the PLSQL into a new report region and then delete the old one, however, all is well.
Is there something I can do to overcome this?
Thanks.
BillRoberto
<br><br>
Here are the tables:
<br><br>
BOWL_GAMES<br>
ID NUMBER<br>
NAME VARCHAR2(30)<br>
FAV VARCHAR2(20)<br>
DOG VARCHAR2(20)<br>
BDATE DATE<br>
LINE NUMBER(3,1)<br>
FAV_SCORE NUMBER(4,0)<br>
DOG_SCORE NUMBER(4,0)<br>
<br>
BOWL_USERS<br>
ID NUMBER<br>
USERNAME VARCHAR2(20)<br>
PW VARCHAR2(20)<br>
NAME VARCHAR2(20)<br>
EMAIL VARCHAR2(50)<br>
<br>
BOWL_PICKS<br>
ID NUMBER(5,0)<br>
USERID NUMBER(10,0)<br>
GAMEID NUMBER(10,0)<br>
PICK NUMBER(1,0)<br>
<br>
<br>
Below is my PLSQL. Feel free to try out the app. Thanks.
<br><br>
Bill<br><br>
declare<br>
p_sql varchar2(32767);<br>
cursor c1 is select * from bowl_users order by id;<br>
begin<br>
p_sql := q'! select to_char(b.bdate, 'Mon FMdd') "Date", b.name, '< a href="javascript$pickEm(''' || b.fav || ''')">' || b.fav || '</ a> -' || b.line || ' < a href="javascript$pickEm(''' || b.dog || ''')">' || b.dog || '</ a>' "Line" !';<br>
for a1 in c1 loop<br>
p_sql := p_sql || q'! , bowl_strike(b.id, !' || a1.id || q'! , 0) || (select decode(p.pick, 0, substr(b.dog,1,4), 1, substr(b.fav,1,4), 'No pick') from bowl_picks p where p.userid = !' || a1.id || q'! and p.gameid = b.id) || bowl_strike(b.id, !' || a1.id || q'! , 1) "!' || upper(a1.name) || q'!" !';<br>
end loop;<br>
p_sql := p_sql || q'! , bowl_score(b.id) "SCORE" from bowl_games b order by b.bdate !';<br>
return replace(p_sql,'$',':');<br>
end;
<br><br>
Message was edited by:
[email protected] -
Deploying/creating linked reports with script or command line
Hi,
Working with SSRS 2012.
I have a couple of report folders with reports in it. Now I want to create linked reports of some of them in an existing reportfolder. I know how to do that manually, but it there a way to do that with for example
RS.exe
(or an other script solution).I'm not sure what the cause of the problem is, in my environment we don't utilize rs.exe. I can, however, provide example code in PowerShell that i got to work. It's very basic, but works.
[string]$webServiceUrl = "https://myreportserver.com/ReportServer/ReportService2010.asmx"
$ssrsProxy = New-WebServiceProxy -Uri $webServiceUrl -UseDefaultCredential
#File name of new linked item
$itemPath = "LinkedReportTest_JJ"
#Path of where the linked report should be created in
$parent = "/Test"
#Report we are basing our linked report on
$link = "/Test/My_Test_SSRS_Report"
#Create property object
$type = $ssrsProxy.GetType().Namespace
$linkPropertyType = ($type + '.Property')
$linkProperty = New-Object ($linkPropertyType)
$linkProperty.Name = "Description"
$linkProperty.Value = "Test Linked Report"
$ssrsProxy.CreateLinkedItem($itemPath,$parent,$link,$linkProperty) -
Reports with variables on fiscal year and want to display the current fiscal period values
Hi
i wan to display the fiscal periods in one of the reports when i give input for fiscal year, let say i will pass the fiscal year as 2012 , then i need to display the revenue for 2012.01,2012.02,2012.03,....2012.12 and in another selection i need to restrict the revenue with the previous year.
how can we achieve that.Hi,
Refer this thread:Same thing has been discussed.
http://scn.sap.com/thread/3365593
Regards,
AL
Maybe you are looking for
-
Plan application not visible in Workspce - 11.1.2.1
Hi, I am facing some problem with my workspace. I am not able to see any plan applications listed in workspace. more over apart from navigate button te home icon is disabled and there is no explore button activated in workspace. i verified all the pr
-
My time machine back up is taking 98 days through a thunderbolt connection is there something wrong
My time machine back up is taking 98 days through a thunderbolt connection is there something wrong
-
RESTORE IPOD SHUFFLE WINDOWS 7
RESTORE IPOD SUFFLE.WHEN I WENT TO CHARGE IT IT SAID TO RESTORE THOUGH ITUNES, BUT I HAVE WINDOWS 7. DELL PC
-
I keep getting an error message...
When I go into mail, it doesn't seem to retrieve mail. I see a triangle with an "!". When I click on it, I get the error message: The server "mail.mac.com" cannot be contacted on port 993. I'm not sure what I'm supposed to do. Can anyone help me? Tha
-
Hi, I am using CCM version 6.0 and CUAE version 2.5, while using SendExecute i am getting a error <CiscoIPPhoneError Number="4"/>. can you please tell me why it is occurring.Has anyone else also faced this problem please help me its urgent. Thanks. P