Smartforms table: how to fix the number of rows to be display in the table.
Hello.
I´m having problems with a smartform. I have defined a window with 7 cm high. Then I have define a table to print the content of a table.
I'm using the header, the main area, and the footer. It seems to be ok. But the main area is sizeble. I mean, that if in the table has 2 records, it dispaly the 2 records and inmediatly display the footer. It probably use only 3 cm of the 7 cm defined for the high of the window.
And I want that the footer of the table would be display at the end of the 7 cm of the window. Is that posible ?
Please, tomorrow we will have our kick off the module and this is the last issue we have.
Thanks in advance for your help.
Better idea wud be to create a WINDOW, just Below you Main window (After table) ..
In Form Layout (Form Painter) you can fix this Window on any place , Pass the FOOTER text node over there .. So you will get a Static FOOTER diplay ..
That what you need ?? Let me know
Edited by: Lokesh Tarey on Jul 22, 2010 7:15 AM
Similar Messages
-
How to determine the number of rows to be displayed in a report
hello experts,
Has anyone ever come across this requirement before? Before a report finishes being executed and before it displays the results, is there a way to determine the number of rows to be displayed as the result?
Many thanks in advance.
Regards,
InmaHello Arun,
Thanks for your reply but do you know which method I should use for this purpose if I use the table interface?
Thanks,
Inma -
Is it possible to change the number of rows to be displayed in adf query ?
Hello,
is it possible to change the number of rows that are displayed in an adf query similar to an adf form ?
I need to display approx 5 rows per column instead of displaying all the fields in a single column ? Thanks.Thanks , how do you add in the code ,is it something like follows :
<af:query id="qryId1" headerText="Search" disclosed="true"
value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}">
<af:inputText value="#{bindings.PrtDesc.inputValue}" label="Desc"
required="#{bindings.PrtDesc.hints.mandatory}"
columns="#{bindings.PrtDesc.hints.displayWidth}"
maximumLength="#{bindings.PrtDesc.hints.precision}"
shortDesc="#{bindings.PrtDesc.hints.tooltip}" id="it3">
<f:validator binding="#{bindings.PrtDesc.validator}"/>
</af:inputText>
<af:column>
<af:outputtext/>
<af:outputtext/>
</af:column>
</af:query> -
I'd like to know if it's possible to change the number of weeks to be displayed in the month view in calendar? Thanks!
No.
There are up to six calendar weeks that might be used to display the 31 possible days in a month.
So the month view displays six weeks. -
How to find accurate number of Rows, and size of all the tables of a Schema
HI,
How to find the accurate number of Rows, and size of all the tables of a Schema ????
Thanks.SELECT t.table_name AS "Table Name",
t.num_rows AS "Rows",
t.avg_row_len AS "Avg Row Len",
Trunc((t.blocks * p.value)/1024) AS "Size KB",
t.last_analyzed AS "Last Analyzed"
FROM dba_tables t,
v$parameter p
WHERE t.owner = Decode(Upper('&1'), 'ALL', t.owner, Upper('&1'))
AND p.name = 'db_block_size'
ORDER by 4 desc nulls last;
## Gather schema stats
begin
dbms_stats.gather_schema_stats(ownname=>'SYSLOG');
end;
## Gather a particular table stats of a schema
begin
DBMS_STATS.gather_table_stats(ownname=>'syslog',tabname=>'logs');
end;
http://www.oradev.com/create_statistics.jsp
Hope this will work.
Regards
Asif Kabir
-- Mark the answer as correct/helpful -
How to increase the number of rows to be displayed in BEx Web Analyzer
hi,
I am viewing reports using BEx Web analyzer option. It is displaying only 24 rows of data at a time. How to increase the number of rows? do i need to any kind of settings?
pls reply.Hi,
I think the standard template in 2004s is named 0ANALYSIS_PATTERN. You can find it in Web Application Designer, open, and search for the technical name. If you want to change the number of rows or columns, you can find this setting near the bottom of the XHTML view of the template:
<bi:BLOCK_COLUMNS_SIZE value="4" />
<bi:BLOCK_ROWS_SIZE value="17" />
Then just save, and ignore the error messages.
Message was edited by:
vind Reinsberg -
How to control the number of rows selected from a sybase database table?
Hi, JDBC guru,
I'm working on project using Sybase 11.9.x database.We need to process a record in a table,first select it from the table,then do some computing,finally write it to a dbf file, if the above steps succeed,remove the original row in the table.Quite evidently, all these operation should be put into one transaction. But how can I select just a number of rows from the sybase database table?
Any hints?
Thank you in advance.
Regards,
JusitneStatement stmt...
stmt.setMaxRows(20); -
Restrict number of rows to be displayed in a table
Hi Guys,
I want to display n rows in a table which is output from a query which gives x rows....x>n....is there any way to do this ??
I tried 'No of rows property ' in the table properties..but that just changes the structure of the output table i.e. only 5 rows will be available in the table structure but scroll down option comes if no of rows > 5.....
Regards
Anshul Bhat
SAP BI,VCHi,
it should work once you are restricting the capacity of the out put port then it should provide that much rows only otherwise its a Bug.
Alternativily you are tellin to disaply using sorting then add a Sort operator to the output port and the display ur output port in down order.
But first option should work just check it again.
On which SP u r working?
Regards,
Govindu -
My calls wont go through and and the number and four others are displayed at the top of the screen
I already posted it once. What happened?
If you can't connect to celluar data, you'll need to take that up with AT&T.
-
How to get the number of rows in a DB-Cursor
When i open a database cursor i do not know how much rows are stored in the cursor. To solve this problem i have to send a 'select count(1) ...' to get the number of rows before i set up the cursor. I think that this is not very clever and could possibly cause performance problems. But i need the num of rows to show the percentage of processed rows. Is there any other way to get the num of rows? May be by checking the cursor directly?
Please help!
Thanx a lotIn order to find out how may rows are going to be processed, oracle has to visit every row. So with a cursor, there is no property that will accurately reflect the number of rows until you get to the last one. That said, you could use
select count(*) over() as row_count, <rest of your columns> FROM <your table>
which will give you the total row count agaist each row in the result set. There are performance penalties involved but they will be less than issuing the query twice, once to get the count and once to get the rows.
Have a look on asktom for some very usefull info about all this.
HTH -
How to limit the number of characters a label displays?
Can someone please tell me how I can limit the number of characters a label displays from the text property?
Ok. What I am trying to do is display a number with the format
x.yy
I need the display to show all characters all the time. For example let me show you what I currently get and what I require.
Current Require
0 0.00
0.1 0.10
etc
To me its like the label is truncating the number appropriately and I dont want it to do that. I need a fixed 4 character format.
Hope this clears it up. -
How to set the number of rows per page dynamically
Hello all,
i urgent need the option to set the number of rows per page dynamically.
I've got a parameter.
In dependence of the value of this paramter i want to set the number of rows per page of a repeating frame.
The Reports Builder version i use is 10.1.2.0.2
I defined a report trigger.
My code so far:
function R_G_BEMERKUNGFormatTrigger return boolean is
begin
if :vYN_Display_one_per_page = 'Y' then
--what i've to write right here??
return (TRUE);
else
return (TRUE);
end if;
return (TRUE);
end;
Can anyone help me please??
Best regards
FlorianDo you just need to change back and forth between 1 and some other number? If so, you can create two identical layouts, one with the "number of rows per page" preperty (on the repeating frame) set to 1 and the other layout set to whatever. You would have to have duplicate layouts for each group you wanted to do this with. Your format trigger on the outermost master group frame where num of rows was 1 would look like:
function M_G_ename_GRPFRFormatTrigger return boolean is
begin
if :vYN_Display_one_per_page = 'Y' then
return (TRUE);
else
return (FALSE);
end if;
end;Your format trigger on the outermost master group frame where num of rows was whatever would look like:
function M_G_ename_GRPFR1FormatTrigger return boolean is
begin
if :vYN_Display_one_per_page = 'N' then
return (TRUE);
else
return (FALSE);
end if;
return (TRUE);
end; -
Trying to find the number of rows in a ResultSet
I am trying to find the number of rows in a ResultSet, using the following code:
rs = st.executeQuery(query);
rs.last(); // to move the cursor to the last row
System.out.println(rs.getRow());
However, I am getting this error:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unsupported method: ResultSet.last
Whats going wrong??praveen_potru wrote:
You might have not used scrollable result set..
Try like this:
stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);rs = stmt.executeQuery(sqlString);
// Point to the last row in resultset.
rs.last();
// Get the row position which is also the number of rows in the ResultSet.
int rowcount = rs.getRow();
System.out.println("Total rows for the query: "+rowcount);
cheersAnd I hope the OP would read it because the thread is a year old. -
Number of rows to be displayed in Compensation Planning iView in ECM
Hi Experts,
I want to increase a number of rows to be displayed in the Compensation Planning iView in ECM from 5 to 10. How do I do that? Thanks!
AnthonyWe can set the numnber of rows to be displayed by using the standard table UI of java web dynpro. Thanks!
-
Displayin message and fixing the number of rows in a table
Hi Experts,
I have a requirement like this
there is a table, where i need to diplay a message when there are no records and no rows should be visible on that table.
Also, when the records are populated from the context, i need to fix the number of rows in that table and display the records.
Please let me know hw this can be achieved.
Also in the table I have Link to URL, please let me know how to handle this reference, when i set the reference Property, its giving me an error stating that the file doesn't exist when the table gets loaded.
Thanks in Advance
Regards,
PalaniHi
Oh!! You should to explain it at first thread itself that you want to display a JPG imange or other WDWebResourceTypetaken form the backend.
1. So this is not at all a URL
2. You have to convert binary data to WDWebResource then display it in either Image UI element or other (like PDF , txt etc)
3
try
// Read the datasource of the FileUpload
IWDResource res = wdContext.currentContextElement().getResource();
InputStream in = res.read(false);
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
int length;
byte[] part = new byte[10 * 1024];
while ((length = in.read(part)) != -1)
bOut.write(part, 0, length);
in.close();
bOut.close();
IPrivateUploadCompView.IImageTableElement ele = wdContext.nodeImageTable().createImageTableElement();
ele.setImage(wdContext.currentContextElement().getResource().getUrl(0));
ele.setText(res.getResourceName());
wdContext.nodeImageTable().addElement(ele);
catch (Exception e)
wdComponentAPI.getMessageManager().reportWarning(e.toString());
Here I assume that you convert that data to IWDResource type or
4.
WDWebResource.getWebResource(wdContext.currentContextElement().getresource(), type);
// getResource of type binary which u read from BAPI and set it in local context , type is MIMETYPE or hardcode it as "JPG"
5. Further help
[Help1|To Displayan Image in Webdynpro Java from Standard Function Module;
[Help2|http://wiki.sdn.sap.com/wiki/display/KMC/GettinganimagefromKMDocumentstobeusedinWeb+Dynpro]
[Help3|http://wiki.sdn.sap.com/wiki/display/KMC/GettinganimagefromKMDocumenttobeusedinWeb+DynPro]
It might code look strange at first , please do some reserch in SDN ,I did my best at this level.
Best Regards
Satish Kumar
Maybe you are looking for
-
Addition of new column in standard ALV
Hi, Can somebody help on How to add new col in the ALV and also addition of a custom button.
-
I get 2 tabs when opening firefox, how do I stop 2nd tab from opening
When I open Firefox instead of getting my home page I get 2 windows 1 w/home page one blank. I want to only get my homepage == This happened == Every time Firefox opened == today
-
Cant move content across to center of document
Hi all, I started creating my simple flash movie. I originally selected the default workspace but as i got further into creating my movie many elements are outside of the document space. Now ive finished, obviously when i publish it the parts are cut
-
Importing picture material from Adobe Lightroom
Dear iBook Author Community, I am creating quite some photo and textual content materila and intend to start my own series of iBooks just now. In order to enhance user experience for my travle photo collections, I intend to import my photo material t
-
No "New Folder" option under FILE. hard drive transfer ? too
I want to organize my albums into folders so the source list isn't so long. The iPhoto help area says to click on File>New Folder. I have no such option (shaded or otherwise). Then I attempted to make a new folder in Finder & drag it over. It drags,