How urgent:how can we know the size of a record from result set
hi proffesionals i attend on problum with arrangment,for that what i am doing is i am fetching datas from database and printing in a row vertically.it is not looking good.i want to print it horizontaly like
ae00023 as3333 a6556 a457864 a6576
ae00025 as3336 a6556 a457866 a6578
i wrote the coding like
<%while(resultsetdisplay.next())
{%>
// try to print the datas in horizontal way
<tr>
for (int i=index;i<resultsetdisplay.getFetchSize()-10;i--)
<td class=display><%=resultsetdisplay.getObject(4)%></td>
int i=index;
</tr>
<%}%>
is it prints horizontaly.
help me soon
Hi
You can the Meta Data for the result set and then get the getColumnCount() from the MataData to get the number of columns in the resultset.
Bye
Similar Messages
-
How can i know the size of client
hi
how can i know the size of client ?
SAP ECC6
OS AIX 5.2
DB ORACLE10g
regards
KaranHi,
1)Test run normal client copy .
=DDt will give the size.
2)There is SAP note for Client size analyse.
Here is 118823
3)run program YSTABSIZ.
Regards,
Muralidhar -
How can I know the size of DB Table
Hi, Guys,
1. How can I know the size of the DB Table in terms of kb
2. If I delete some records from the Table, does the actual size of the Table remains same or will it be reduced.
3. If size remains same after deletion, how to reduce the size ( i.e. occupied space).
thanks
MaheshHi
1. How can I know the size of the DB Table in terms of kb
There is no precise method/tcode/program to know the Table size of a tables.
Just based on the record size of a table(say for example 2kb), and if 200 records are there then, we roughly assume that it occupied 400 kb.
All the tables are stored in Table spaces.
2. If I delete some records from the Table, does the actual size of the Table remains same or will it be reduced.
Time being it remains same. it won't get reduced immediately
during some next DB reorganisation it gets reorganised by reducing it.
3. If size remains same after deletion, how to reduce the size ( i.e. occupied space).
during next DB reorganisation it gets reorganised by reducing it.
Reward points if useful
Regards
Anji -
How can I know the size of a JViewport laid out in BorderLayout.CENTER?
I have a JPanel inside a JScrollPane. The scroll pane is laid out inside of BorderLayout.CENTER. I need to know the size of the JViewport to do stuff like centering and zooming.
Where can I find the size? All these methods return 0 values for X and Y:
myScrollPane.getViewport().getSize()
myScrollPane().getSize()
myScrollPane.getHorizontalScrollbar().getValue()
Yes, even the scrollbars won't give me any values! It's all because of the BorderLayout!
Any ideas? Thanks.Sounds like you are accessing the sizes before the views are realized (that is before a call to frame.pack()/show()) They are available only after the layoutManager had a go on it. What is available earlier are preferred/min/max, though.
Greetings
Jeanette -
How can we know the size of the partition
HI,
can any one give me a query or procedure to know the size of a partition in a table in bytes
Thanks in advanceuser8884944 wrote:
HI,
can any one give me a query or procedure to know the size of a partition in a table in bytes
Thanks in advanceQuery dba_segments
select bytes, segment_name, partition_name from dba_segments
where segment_name = 'Table_name' and partition_name = 'Name of partition'
and owner = 'Owner'Regards
Anurag -
How can I know the name(s) of font from built-in font dialog from Word VSTO AddIns.
Hi, All !!
I would like to extract some values from the built-in font dialogbox "wdDialogFormatFont" through VSTO AddIns.
Figured out short codes;
Microsoft.Office.Interop.Word.Dialog
F_DLG = Globals.ThisAddIn.Application.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFormatFont];
F_DLG.Show();
MessageBox.Show( F_DLG.FontMajor.ToString() );
MessageBox.Show( F_DLG.FontHighAnsi.ToString() );
Ther last two lines (red ones) do not work at all.
How can I know the name of the fonts ? (English and Non-English)
In VBA, it works beautifully.
Thanks !!Hi,
According to the description, you want to get some options from the build-in dialog dispaly by code.
As far as I know, we can declare an dynamic object to achieve the goal. Here is the code for your reference:
dynamic F_DLG = Globals.ThisAddIn.Application.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFormatFont];
F_DLG.Show();
MessageBox.Show(F_DLG.FontMajor);
Also we can use refrection to get the property we wanted like below:
Microsoft.Office.Interop.Word.Dialog F_DLG = Globals.ThisAddIn.Application.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFormatFont];
F_DLG.Show();
MessageBox.Show(F_DLG.GetType().InvokeMember("FontMajor", BindingFlags.GetProperty, null, F_DLG, null).ToString());
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Can you change the size of a book from ITunes
I have noticed booksthat I download from iTunes are very large 190 to 250mb. I usually purchase and download from Audible.com their book sizes are much smaller 15 to 25mb. My question is, is there anyway to control the size of a book from iTunes?
I am using Mac book Pro
Lion OS
iTunes 10.5
iPhone 4 ios5.0Hi
As far as I know - NO not possibly in iMovie
You need either to
• Export out as QuickTime movie - and in QuickTime Pro change size then re-import - or -
• Do the job in FinalCut - where this is easy and straight forward ( BUT FINALCUT in it self can be tough to LEARN - rather steet learning curve - but when into it Very rewarding )
Yours Bengt W -
How can i know the size of ResultSet???
i run a statment
ResultSet rs = cs.executeQuery();
rs.next();
rs.getString(i) ; <-------------------- how can i know what is the max i can i get???????
i didn't find function that returns the size of it !!!!!!!!!!
any one can help meu want to know the number of rows returned or size of columns?
-
How can we know the size of the dimension(in Line item Dim)?
Hi to all experts,
We use Line item dimension if the size of dimension is 20% or more of the fact table. My doubt is that how can v know that the size of the dimesion is 20% or more of FT?. But we never store MD in dimension tables......So please help me to understand this scenario? Thanks in advance.Hi
Normally before modelling you will assume the number of entries in your master data and transactional data..
If your dimension is having 3 characteristics
say A,B .....and these characteristic values are say
A---10,000( Total number of master data records)
B----7,000( Total number of master data records)
then your dimenstion would be 10,000 * 7,000 =700000000
in this case you better keep A in a dimension and B in another dimension.
Normally SAP recommends your dimension table shouldnot exceed 100,000...
so whenever you expect a characteristic is having more values then you should make it as line item...
If you want to add a new characteristic to the existing model then you can decide by comparing the ratio of dimension table to the fact table..
Please have a look at the below url for sizes
dimension size
Hope it helps
Thanks,
Teja
Edited by: Teja badugu on Apr 24, 2008 12:19 PM -
How to check at what time the extractor has picked records from r3 tables
Hi experts ,
If we want to know exactly at what time the Extractor has picked up the records from r/3 tables .
or if we want to know the time stamp of extractor picking the records from r3 tables after r3 entries
Regards ,
Subash BalakrishnanHi,
The following are few function modules which will give you the information you need based upon the area you are working in.
SD Billing: LOG_CONTENT_BILLING
Delivery: LOG_CONTENT_DELIVERY
Purchasing: LOG_CONTENT_PURCHASING etc...
See if the above FMs help you in any way... -
How to know the size of bad sector block after zero out erase?
I found some problems on my USB external harddisk recently. After I backup all the files, I erased the whole volume by choosing "zero out data" option. According to some web articles, "zero out" detects and marks those bad sectors to avoid further read/write action on the damaged area.
My question is that how can I know the size of disk space marked as bad sector? Because I can only see how many space is used or available when I check a disk in disk utility. There are about 600MB used for my 1TB hard drive. I guess there is some storage used by spotlight or other hidden files. But I have no idea for how many MB is occupied by bad sector...Yes you can look at see the original number of spares, the number used, and the number remaining spares.
Disk Warrior for one, writes the SMART data to system.log Other programs can also read and report (not sure which if any write to system.log though) those field values from SMART table entries.
IF the number of spares is declining, time to replace. Trouble is OS X hasn't had a good record of reporting I/O errors, let alone remapping. Some 3rd party utilities will. I've found the vendor (WD, Hitachi etc) have the best utility for their own drives, but those are Windows programs or LinuxCD. Also the best way to zero and map out bad sectors, too. -
How to know the size of the EEPROM after loading any Applet
How can I know the size of the EEPROM after loading any applet..
Any comments on this is appreciated
Thank you in advancekishansaralaya wrote:
Thanks for your suggestion.
But when I try to use
short memRemaining = JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_PERSISTENT);
it always shows 32767. Even after loading some applet.
And I am using 72K Java card then how it can show only 32Kbyte as the remaining memory value.This is because a short isn't big enough to display a number above 32767. One way around this is to use a byte[] to fill up some of the space with your temporary applet.
byte[] memoryFiller = new byte[32767];
short memRemaining = JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_PERSISTENT);The value of memRemaining + 32767 is the amount of persistent memory left on the card. If memRemaining is still 32767, you can add another byte[] starting with small values and increase the size until you get a meaning ful result (less than 32K). -
I have 4 equal oblong shape created with borders How do I go about knowing what size the selection area is so that I can crop an image to fit. I don't want to use paste in then adjust the bounding box to suit
What do you mean a moderator
-
How can we know the return code of BDC Program ?
Hi All,
Please tell me : How can we know the return code of BDC Program when being exceuted in Session or in Transaction mode.
In my program, we are uploading data from Excel sheet to SAP via BDC
The records that are not updated we want to create a log file.
Now to know whether a record is updated ot not, wat syst field shloud be used?
Its urgent....
<b>Reward Point will be there ....</b>
Thanks,
HarishHi harish,
try the logic in this code ...
i had attached input file in the end.
TYPES: begin of errmess,
msgnr type t100-msgnr,
text type t100-text,
end of errmess.
TABLES : t100.
DATA: BEGIN OF DD_VA01,
AUART TYPE VBAK-AUART,
KUNNR TYPE RV45A-KUNNR,
BSTKD TYPE VBKD-BSTKD,
MABNR TYPE RV45A-MABNR,
KWMENG(2) type C,
KBETR(2) type C,
END OF DD_VA01.
DATA:IT_VA01 Like TABLE OF DD_VA01,
WA_VA01 Like LINE OF IT_VA01,
WA_VA01_F Like LINE OF IT_VA01,
IT_BDCDATA TYPE TABLE OF BDCDATA,
WA_BDCDATA Like Line OF IT_BDCDATA,
W_FNAME TYPE STRING,
messtab like bdcmsgcoll occurs 0 with header line,
it_errmess type table of errmess,
wa_errmess like line of it_errmess,
err_message type string.
data: zf1 type i,
zc1 type c value '2',
fn(20) type c.
Main Code ************************************************************
PERFORM get_input using 'C:\Documents and Settings\ic881592\Desktop\Daran_bdc_VA01-e.txt'.
SORT IT_VA01 BY AUART KUNNR BSTKD.
LOOP AT IT_VA01 INTO WA_VA01.
if WA_VA01_F-AUART <> WA_VA01-AUART OR
WA_VA01_F-KUNNR <> WA_VA01-KUNNR OR
WA_VA01_F-BSTKD <> WA_VA01-BSTKD.
PERFORM set_header_flag.
PERFORM create_bdc_header_data.
endif.
PERFORM create_bdc_item_data.
ENDLOOP.
PERFORM call_transaction.
PERFORM errorlog.
Procedures ***********************************************************
form get_input using w_fname.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = W_FNAME
HAS_FIELD_SEPARATOR = '#'
TABLES
DATA_TAB = IT_VA01.
endform.
form call_transaction.
PERFORM bdc_field using 'BDC_OKCODE' '/11'.
CALL TRANSACTION 'VA01' USING IT_BDCDATA MODE 'A' messages into messtab.
refresh it_bdcdata.
endform.
FORM set_header_flag.
WA_VA01_F-AUART = WA_VA01-AUART.
WA_VA01_F-KUNNR = WA_VA01-KUNNR.
WA_VA01_F-BSTKD = WA_VA01-BSTKD.
if zf1 = 1.
PERFORM call_transaction.
endif.
zf1 = 1.
endform. "set_header_flag.
form create_bdc_header_data.
perform bdc_dynpro using 'SAPMV45A' '0101'.
perform bdc_field using 'VBAK-AUART' WA_VA01-AUART.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'KUAGV-KUNNR' WA_VA01-KUNNR.
perform bdc_field using 'VBKD-BSTKD' WA_VA01-BSTKD.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR' '04/06'.
perform bdc_field using 'BDC_OKCODE' '=CHOO'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POAN'.
endform. "create_bdcdata
FORM create_bdc_item_data.
CONCATENATE 'RV45A-KWMENG(' zc1 ')' INTO FN.
perform bdc_field using 'BDC_CURSOR' FN.
perform bdc_field using FN WA_VA01-KWMENG.
CONCATENATE 'KOMV-KBETR(' zc1 ')' INTO FN.
perform bdc_field using FN WA_VA01-KBETR.
CONCATENATE 'RV45A-MABNR(' zc1 ')' INTO FN.
perform bdc_field using FN WA_VA01-MABNR.
perform bdc_dynpro using 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE' '=POAN'.
ENDFORM.
form errorlog.
LOOP AT MESSTAB .
if MESSTAB-MSGNR = '311' or MESSTAB-MSGTYP = 'E'.
SELECT SINGLE msgnr text FROM T100
into wa_errmess
WHERE SPRSL = MESSTAB-MSGSPRA
AND ARBGB = MESSTAB-MSGID
AND MSGNR = MESSTAB-MSGNR.
IF SY-SUBRC = 0.
err_message = wa_errmess-TEXT.
IF err_message CS '&1'.
REPLACE '&1' WITH MESSTAB-MSGV1 INTO err_message.
REPLACE '&2' WITH MESSTAB-MSGV2 INTO err_message.
REPLACE '&3' WITH MESSTAB-MSGV3 INTO err_message.
REPLACE '&4' WITH MESSTAB-MSGV4 INTO err_message.
ELSE.
REPLACE '&' WITH MESSTAB-MSGV1 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV2 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV3 INTO err_message.
REPLACE '&' WITH MESSTAB-MSGV4 INTO err_message.
ENDIF.
CONDENSE err_message.
WRITE: / MESSTAB-MSGTYP, err_message .
ELSE.
WRITE: / MESSTAB.
ENDIF.
endif.
ENDLOOP.
endform. "errorlog
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
WA_BDCDATA-PROGRAM = PROGRAM.
WA_BDCDATA-DYNPRO = DYNPRO.
WA_BDCDATA-DYNBEGIN = 'X'.
APPEND WA_BDCDATA TO IT_BDCDATA.
CLEAR WA_BDCDATA.
ENDFORM.
FORM BDC_FIELD USING FNAM FVAL.
WA_BDCDATA-FNAM = FNAM.
WA_BDCDATA-FVAL = FVAL.
APPEND WA_BDCDATA TO IT_BDCDATA.
CLEAR WA_BDCDATA.
ENDFORM.
input file :
OR 2148 0001235 R-1162 8 17
OR 2148 0001235 R-1161 2 30
OR 2148 0001235 100-400 6 25
OR 2148 0001235 R-1162 4 12
OR 2148 0001236 R-1162 3 12
OR 2148 0001236 R-1161 2 30
OR 2148 0001236 100-400 1 25
OR 2148 0001236 R-1162 7 12
OR 2148 0001236 R-1161 8 30
OR 2148 0001236 100-400 10 25
OR 2148 0001235 R-1161 5 30
OR 2148 0001235 100-400 2 25
OR 2148 0001235 R-11621 3 12
OR 2148 0001235 R-1161 2 30
OR 2148 0001235 100-400 1 25
OR 2148 0001235 R-1162 7 12
OR 2148 0001235 R-1161 8 30
OR 2148 0001235 100-400 10 25
OR 2148 0001236 R-1162 8 17
OR 2148 0001236 R-1161 2 30
OR 2148 0001236 100-400 6 25
OR 2148 0001236 R-1162 4 12
OR 2148 0001236 R-1161 5 30
OR 2148 0001236 100-400 2 25 -
How can I view the size of a particular event in iPhoto '11?
How can I view the size of a particular event in iPhoto '11? The 'Get Info' option is not displaying the size of the event like it used to in iPhoto 8.
But the event does not really have a size - you can export the photos and make the size pretty much what you want - while it is in iPhoto it is an event
I guess that iPhoto could report the size of the original photos as imported - or the size of the modified photos if exported as JPEGs - or the size of the modified photos if exported with a maximum dimension of 1080 - but the event simply is photos and does not have a "size" until you export it
Obviously you want to know the size but the question was
what is your puprose for knowing the size?
WIth that information maybe there is a way to get you what you want
But the basic answer is simply that an event does not have a size - an event is a collection of photos and each photo has either two or three versions in the iPhoto library and each photo can be exported for outside use in several formats and at any size
LN
Maybe you are looking for
-
My 5th generation iPOD isn't recognized by iTunes?
When I plug my iPod into my computer, iTunes opens, but my iPod isn't recognized. Anyone else have this problem or any suggestions?
-
Cannot insert pages into PDFs after signed with a digital signature in adobe 9
Is there any workaround that allows me to insert additional pages into a SIGNED pdf? Background: Author of a form create a form that needs multiple signatures and pages appended and converts to PDF for signing. Person 1 signs it, and sends it to pers
-
Developing Form Distribution for Clients
As a web developer, I've had good success developing an online form and distributing it via my own website. However, I can't seem to figure out how to do this for my clients. The perfect scenario would be this: I create an editable form named: AGREEM
-
WPC navigation....
Hi , We are using WPC on NW 7.0 SP17 . We have four web pages in WPC and created navigation node for the 4 pages and published it . I am able to see the 4 links in the detailed navigation for the pages in my portal role . In my first page content
-
Regarding a criteria.Please see my query
In my table 'Posting' i have the columns id_trade_ref type 5V973781B NEW 5V973781B SET 5V973781B REV Criteria: If the posting is booked having type SET and REV with identical 'id_trade_ref', then display only 'NEW