Store BP and Item properties in Rows of new table in parallel to columns
Hi Product Development Team,
At present SAP B1 stores BP and Item properties as 64 columns in respective master table.
As the main purpose of property feature is for Reporting and Analysis, Analysis Report developers faces difficulties in preparing analysis report based on properties in the present structure of prperties in column.
I suggest to introduce additional new table (each for Business Partners and Items properties) which contain rows for selected BPs/item's selected properties.
In order to retain present functionality the existing column can remain as it is and also continue to updated as it is.Only additional new table will also get updated and new analysis reports can be build using these newly suggested tables.
Best Regards,
Samir Gandhi
No Body responded very strange !!!!!
Similar Messages
-
Dynamically changing node and items properties in CL_GUI_COLUMN_TREE.
Hello ABAP experts ,
I am printing a tree with cl_gui_column_tree in which there are two checkboxes. i want to give radiobutton effect to these check boxes. i want to update second checkbox if first is ticked and vice versa . is it possible to do so ? i also have seen the standard control examples but it does not contain this functionality. I want the method that will update the node and item and how to build the tables for it . Please response wether this is possible or not. My code is below..
Data : G_TREE TYPE REF TO CL_GUI_COLUMN_TREE.
METHOD HANDLE_CHECKBOX_CHANGE.
" this method handles the checkbox_change event of the tree
" control instance
which method should be used here in order to update the nodes and items?
endmethod.hi,
perhaps this helps:
MESSAGE node_key TYPE 'S' display like 'E'. " display in "command line"
or
MESSAGE node_key TYPE 'I' display like 'E'. " display in popup
moreover perhaps the F1 Doku for "message" helps ?
regards
olaf -
Hi there,
is it ever planned by Oracle to allow runtime changes (set_block_property and set_item_property) for:
- the Block-Property: Records_Displayed
- the Item-Property: Items_displayed
- the Item-Property: Canvas
- the Item-Property: Hint_Text
- the Item-Property: Mirror_Item
- the Item-Property: default_value
I've read the 9.02 Docs and all of them has to be set at designtime.
For building more sohisticated UIs we would need to set them at runtime.
Thanks, MarkusI suppose you are starting in programming with developer.
All who had tried to do nice forms, had a lot of problems.
But you need to find a way to do it.
For example, you could create to canvas and display one of them in some case.
In when new form instance
or when create record in the block you can define de default vaule of the item.
If you are new I suggest you give a check to all the triggers, and most of them can be
create at item, block or form level. -
Display and edit currently selected row of ADF Table in ADF Form
I have an ADF Read-only Table and ADF Form, which were created from the same Data Control.
I need to be able to edit the selected row of the table in the form (just like in "Binding Data Controls to your JSF page" part of "Developing RIA Web Applications with Oracle ADF" Tutorial). However, I can't figure out how to do this :(
I found the following solution on the Web: #{bindings.DeptView1.currentRow.dataProvider.dname} - but it doesn't work, since "the class oracle.jbo.server.ViewRowImpl does not have the property dataProvider".
Sorry for the newbie question.
Thanks in advance for any help!Hi,
AFAIK, dataProvider is not supported on ADF BC, hence the error.
If you have created ADF Read only table and form from the same data control you just need to refresh the form based on table selection to show up the selected record, to do which you just need to add partialTriggers property to the panelFormLayout and set its value to the id of table
Sireesha -
How to move Calculated Item in 3rd row in pivot table.
Hi experts
I have calculated one calculated item in Piovt, Now i want to move it as 3rd row, So how can i achieve it.
Thanks in advance
Regards
FrndsHai Madhu,
It is pretty simple.
First u define a button. and in onAction Event of the button write the following code.
process is as follows:
1)get the node
2)get the element
3)using the method remove_element() ,remove the element.
<u><b>The Sample Code is as follows</b></u>
DATA:
node_flighttab TYPE REF TO if_wd_context_node,
elem_flighttab TYPE REF TO if_wd_context_element.
node_flighttab = wd_context->get_child_node( 'FLIGHTTAB' ).
get element via lead selection
elem_flighttab = node_flighttab->get_element( ).
node_flighttab->remove_element( element = elem_flighttab ).
Follow the above code ,it will definately help you. -
How to change VO's dynamically for a item for each row in advanced table?
Hi All,
We had a requirement to filter the employees based on the search criteria table. I am using advanced table for developing search criteria.
In that table I am having three columns. Operator (messagechoice), Criteria Type (messagechoice), and Criteria value (messageLovInput). Also 'Add Another Row' functionality is available.
My requirement is:
First Row:(Initial Row)
When the user selects a value in Criteria Type, only the values that are relevant to that type should be displayed in the Criteria Value.
Second Row: (when the user selects Add Another Row button)
When the user selects a value in Criteria Type, only the values that are relevant to that type should be displayed in the Criteria Value.
The problem I am facing here is, the Criteria Value column is pointing to only one VO at design time. But wee need to change that VO dynamically without disturbing other rows depending on the Criteria Type value.
Is it possible to do so?
Note: User can add n number of conditions as he want.
Can anyone help how to acheive this.
Regards,
Sundeep.Check Dynamic Poplist section under Standard Web Widgets in Chapter 4 of OA Framework Developers guide.
-
Select and highlight a default row in a table
Hi everybody.
When using a table in WD, the first line is selected and highlighted by default.
I'd like to reproduce the same behaviour but this time, the selected and highlighted row shouldn't be the first row but any other one that has to be defined previously.
How could I do that??
Thanks for any suggestions you may have.
Regards,
C.For example I have a node SFLIGHT which am using to display data in tabular format on my layout. I have attached a supply function POPULATE_DATA to my context node SFLIGHT to fetch & populate the node.
METHOD populate_data .
DATA: lt_sflight TYPE wd_this->elements_sflight.
SELECT carrid
connid
fldate
price FROM sflight INTO TABLE lt_sflight.
node->bind_table( new_items = lt_sflight ).
ENDMETHOD.
And within my WDDOINIT method am programmatically setting the LeadSelection to the 3rd row as how shown below:
METHOD wddoinit .
DATA: wd_node TYPE REF TO if_wd_context_node.
wd_node = wd_context->get_child_node( name = 'SFLIGHT' ).
wd_node->set_lead_selection_index( '3' ).
ENDMETHOD.
Regards,
Uday -
Adding rows to new table.
Hi,
i was wondering if it is possible to Intially start with one row in a jtable and add rows( one by one) when one of the colums in the column get focus or something like that ...
can someone help me with this one...
thanks.Define interface MutableTableModel and implement it.
* @(#)MutableTableModel.java
* All Rights Reserved.
* This software is the proprietary information of
* Use is subject to license terms.
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.table.TableModel;
import java.util.Vector;
public interface MutableTableModel extends TableModel
public static final String UNDO_ACTION="Undo";
public static final String REDO_ACTION="Redo";
public static final String APPLY_ACTION="Apply";
public static final String CONFIRM_ACTION="OK";
public static final String DISCARD_ACTION="Restore";
* Returns the number of rows in the model. A
* <code>JTable</code> uses this method to determine how many rows it
* should display. This method should be quick, as it
* is called frequently during rendering.
* @return the number of rows in the model
* @see #getColumnCount
public int getRowCount();
* Returns the number of columns in the model. A
* <code>JTable</code> uses this method to determine how many columns it
* should create and display by default.
* @return the number of columns in the model
* @see #getRowCount
public int getColumnCount();
* Returns the name of the column at <code>columnIndex</code>. This is used
* to initialize the table's column header name. Note: this name does
* not need to be unique; two columns in a table can have the same name.
* @param columnIndex the index of the column
* @return the name of the column
public String getColumnName(int columnIndex);
* Returns the most specific superclass for all the cell values
* in the column. This is used by the <code>JTable</code> to set up a
* default renderer and editor for the column.
* @param columnIndex the index of the column
* @return the common ancestor class of the object values in the model.
public Class getColumnClass(int columnIndex);
* Returns true if the cell at <code>rowIndex</code> and
* <code>columnIndex</code>
* is editable. Otherwise, <code>setValueAt</code> on the cell will not
* change the value of that cell.
* @param rowIndex the row whose value to be queried
* @param columnIndex the column whose value to be queried
* @return true if the cell is editable
* @see #setValueAt
public boolean isCellEditable(int rowIndex, int columnIndex);
* Returns the value for the cell at <code>columnIndex</code> and
* <code>rowIndex</code>.
* @param rowIndex the row whose value is to be queried
* @param columnIndex the column whose value is to be queried
* @return the value Object at the specified cell
public Object getValueAt(int rowIndex, int columnIndex);
* Sets the value in the cell at <code>columnIndex</code> and
* <code>rowIndex</code> to <code>aValue</code>.
* @param aValue the new value
* @param rowIndex the row whose value is to be changed
* @param columnIndex the column whose value is to be changed
* @see #getValueAt
* @see #isCellEditable
public void setValueAt(Object aValue, int rowIndex, int columnIndex);
* Adds a listener to the list that is notified each time a change
* to the data model occurs.
* @param l the TableModelListener
public void addTableModelListener(TableModelListener l);
* Removes a listener from the list that is notified each time a
* change to the data model occurs.
* @param l the TableModelListener
public void removeTableModelListener(TableModelListener l);
* Ensures that the new rows have the correct number of columns.
* This is accomplished by using the <code>setSize</code> method in
* <code>Vector</code> which truncates vectors
* which are too long, and appends <code>null</code>s if they
* are too short.
* This method also sends out a <code>tableChanged</code>
* notification message to all the listeners.
* @param event this <code>TableModelEvent</code> describes
* where the rows were added.
* If <code>null</code> it assumes
* all the rows were newly added
* @see #getDataVector
public void newRowsAdded(TableModelEvent event);
* Equivalent to <code>fireTableChanged</code>.
* @param event the change event
public void rowsRemoved(TableModelEvent event);
* Replaces the column identifiers in the model. If the number of
* <code>newIdentifier</code>s is greater than the current number
* of columns, new columns are added to the end of each row in the model.
* If the number of <code>newIdentifier</code>s is less than the current
* number of columns, all the extra columns at the end of a row are
* discarded. <p>
* @param newIdentifiers vector of column identifiers. If
* <code>null</code>, set the model
* to zero columns
* @see #setNumRows
public void setColumnIdentifiers(Vector newIdentifiers);
* Replaces the column identifiers in the model. If the number of
* <code>newIdentifier</code>s is greater than the current number
* of columns, new columns are added to the end of each row in the model.
* If the number of <code>newIdentifier</code>s is less than the current
* number of columns, all the extra columns at the end of a row are
* discarded. <p>
* @param newIdentifiers array of column identifiers.
* If <code>null</code>, set
* the model to zero columns
* @see #setNumRows
public void setColumnIdentifiers(Object[] newIdentifiers);
* Sets the number of rows in the model. If the new size is greater
* than the current size, new rows are added to the end of the model
* If the new size is less than the current size, all
* rows at index <code>rowCount</code> and greater are discarded. <p>
* @see #setColumnCount
public void setRowCount(int rowCount);
* Sets the number of columns in the model. If the new size is greater
* than the current size, new columns are added to the end of the model
* with <code>null</code> cell values.
* If the new size is less than the current size, all columns at index
* <code>columnCount</code> and greater are discarded.
* @param columnCount the new number of columns in the model
* @see #setColumnCount
public void setColumnCount(int columnCount);
* Adds a column to the model. The new column will have the
* identifier <code>columnName</code>. This method will send a
* <code>tableChanged</code> notification message to all the listeners.
* This method is a cover for <code>addColumn(Object, Vector)</code> which
* uses <code>null</code> as the data vector.
* @param columnName the identifier of the column being added
* @exception IllegalArgumentException if <code>columnName</code>
* is <code>null</code>
public void addColumn(Object columnName);
* Adds a column to the model. The new column will have the
* identifier <code>columnName</code>. <code>columnData</code> is the
* optional vector of data for the column. If it is <code>null</code>
* the column is filled with <code>null</code> values. Otherwise,
* the new data will be added to model starting with the first
* element going to row 0, etc. This method will send a
* <code>tableChanged</code> notification message to all the listeners.
* @param columnName the identifier of the column being added
* @param columnData optional data of the column being added
* @exception IllegalArgumentException if <code>columnName</code>
* is <code>null</code>
public void addColumn(Object columnName, Vector columnData);
* Adds a column to the model. The new column will have the
* identifier <code>columnName</code>. <code>columnData</code> is the
* optional array of data for the column. If it is <code>null</code>
* the column is filled with <code>null</code> values. Otherwise,
* the new data will be added to model starting with the first
* element going to row 0, etc. This method will send a
* <code>tableChanged</code> notification message to all the listeners.
* @see #addColumn(Object, Vector)
public void addColumn(Object columnName, Object[] columnData);
* Adds a row to the end of the model. The new row will contain
* <code>null</code> values unless <code>rowData</code> is specified.
* Notification of the row being added will be generated.
* @param rowData optional data of the row being added
public void addRow(Vector rowData);
* Adds a row to the end of the model. The new row will contain
* <code>null</code> values unless <code>rowData</code> is specified.
* Notification of the row being added will be generated.
* @param rowData optional data of the row being added
public void addRow(Object[] rowData);
* Inserts a row at <code>row</code> in the model. The new row
* will contain <code>null</code> values unless <code>rowData</code>
* is specified. Notification of the row being added will be generated.
* @param row the row index of the row to be inserted
* @param rowData optional data of the row being added
* @exception ArrayIndexOutOfBoundsException if the row was invalid
public void insertRow(int row, Vector rowData);
* Inserts a row at <code>row</code> in the model. The new row
* will contain <code>null</code> values unless <code>rowData</code>
* is specified. Notification of the row being added will be generated.
* @param row the row index of the row to be inserted
* @param rowData optional data of the row being added
* @exception ArrayIndexOutOfBoundsException if the row was invalid
public void insertRow(int row, Object[] rowData);
* Moves one or more rows starting at <code>startIndex</code>
* to <code>endIndex</code> in the model to the <code>toIndex</code>.
* This method will send a <code>tableChanged</code> notification
* message to all the listeners. <p>
* <pre>
* Examples of moves:<p>
* 1. moveRow(1,3,5);<p>
* a|B|C|D|e|f|g|h|i|j|k - before
* a|e|f|B|C|D|g|h|i|j|k - after<p>
* 2. moveRow(6,7,1);<p>
* a|b|c|d|e|f|G|H|i|j|k - before
* a|G|H|b|c|d|e|f|i|j|k - after
* </pre>
* @param startIndex the starting row index to be moved
* @param endIndex the ending row index to be moved
* @param toIndex the destination of the rows to be moved
* @exception ArrayIndexOutOfBoundsException if any of the indices
* are out of range; or if <code>endIndex</code>
* is less than <code>startIndex</code>
public void moveRow(int startIndex, int endIndex, int toIndex);
* Removes the row at <code>row</code> from the model. Notification
* of the row being removed will be sent to all the listeners.
* @param row the row index of the row to be removed
* @exception ArrayIndexOutOfBoundsException if the row was invalid
public void removeRow(int row) ;
* Inserts a column at <code>column</code> in the model. The new column
* will contain <code>null</code> values unless <code>columnData</code>
* is specified. Notification of the column being added will be generated.
* @param column the column index of the column to be inserted
* @param columnData optional data of the column being added
* @exception ArrayIndexOutOfBoundsException if the column was invalid
public void insertColumn(int column, Object columnName, Vector columnData);
* Inserts a column at <code>column</code> in the model. The new column
* will contain <code>null</code> values unless <code>columnData</code>
* is specified. Notification of the column being added will be generated.
* @param column the column index of the column to be inserted
* @param columnData optional data of the column being added
* @exception ArrayIndexOutOfBoundsException if the column was invalid
public void insertColumn(int column, Object columnName, Object[] columnData);
* Moves one or more columns starting at <code>startIndex</code>
* to <code>endIndex</code> in the model to the <code>toIndex</code>.
* This method will send a <code>tableChanged</code> notification
* message to all the listeners. <p>
* @param startIndex the starting column index to be moved
* @param endIndex the ending column index to be moved
* @param toIndex the destination of the columns to be moved
* @exception ArrayIndexOutOfBoundsException if any of the indices
* are out of range; or if <code>endIndex</code>
* is less than <code>startIndex</code>
public void moveColumn(int startIndex, int endIndex, int toIndex);
* Removes the column at <code>column</code> from the model. Notification
* of the column being removed will be sent to all the listeners.
* @param column the column index of the column to be removed
* @exception ArrayIndexOutOfBoundsException if the column was invalid
public void removeColumn(int column);
* Removes the column with the <code>columnName</code> from the model. Notification
* of the column being removed will be sent to all the listeners.
* @param columnName the name of the column to be removed
* @exception ArrayIndexOutOfBoundsException if the column could not be found
public void removeColumn(Object columnName);
* if the model supports undo
public boolean supportUndo();
* undo the last change
public void undo();
* redo
public void redo();
* check if can undo
public boolean canUndo();
* check if can redo
public boolean canRedo();
* return an array of actions supported by this model
public Action[] actions();
* returns the Action with the given name supported by this model
public Action getAction(String name); -
What table stores delivery header and item texts?
Hi Gurus,
Which table stores header and item text of delivery? We use VBBP text object and provide test id, language to read the texts using function module 'READ_TEXT'.
Can you please tell me which table store the texts?
Best regards,
Pavan>
Pavan1 wrote:
> Hi Gurus,
>
> Which table stores header and item text of delivery? We use VBBP text object and provide test id, language to read the texts using function module 'READ_TEXT'.
>
> Can you please tell me which table store the texts?
>
> Best regards,
> Pavan
This stores in text objects so you need to pass
Here is simple thing to find what to pass to the read_text function module.
Go to delivery - If you want to find header text - GOTO (on application menu) - Header -texts - Double click on the text where you enter text - GOTO (on application menu) - Header - This will give you a popup kind of screen where you can find the
text name (if it is header - only delivery number and if it is item - deliverynumber + item number ) , lang, Text id, Text object
This will give you the required parameters... . -
PO Header Texts and item texts
Dear Experts
PO header texts and item texts are stored in which table. please tell me the table name.
Here i have configured PO version management. in that i want to control some sensitive fields change only version management will get triggered. it is done through for this i have configured the sensitive fields in PO Print relevant changes. in that config the PO header texts and item texts table and field name is not exist.
Now i have change the PO through me22n in header texts version management is triggered for this. i want to control this if some body change the po header texts and item texts version management should not triggered.
is it possible.
Regards
Anand.Hai,
Try this table STXH.
Get the required information(input) for the function module 'READ_TEXT'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ST'
LANGUAGE = sy-langu
NAME = thead-tdname
OBJECT = 'TEXT'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
if sy-subrc eq 0.
loop at lines.
wa_HEADER_TEXTS-TEXT_FORM = lines-TDFORMAT.
wa_HEADER_TEXTS-TEXT_LINE = lines-TDLINE.
append wa_HEADER_TEXTS to lt_tmp_HEADER_TEXTS.
endloop.
Better take the help of abaper.
With Regards,
Jaheer -
Schedule and Items program is not picking the new Billing lines created PN
Hi Gurus,
I am using version 11.5.10. I am populating the data into Property manager billing lines of lease thru API.
Once the Lines are inserted I am calling the Schedule and items program to for authorizatio.
My program is not picking up lines created thru API, I am trying copying the same line and inserting in billing tab and it works fine.
Looking forward to your suggestion/solution....Hi,
I don't know but I think you call of the Schedule and items program is in a new session.
Then you must commit the data before you call the Schedule and items program -
Table name and count of rows in that table through out the database
Hi All,
how to find the table_name and the number of rows in that table for all in a database.
Bhargava S Akula.Hi,
Something like this
create function table_count(
owner dba_tables.table_name%type
,table_name dba_tables.table_name%type)
return number
is
the_count number;
stmt varchar2(2000);
begin
stmt := 'select count(*) from ' || owner || '.' || table_name;
execute immediate stmt
into the_count;
return the_count;
exception
when others
then
return 0;
end table_count;
select owner, table_name, table_count(owner, table_name)
from dba_tables
where 1 = 2; -- remove this Regards
Peter -
Select multiple ROIs and set properties to each of them
Hi all,
I am now working on a project dealing with thermal camera images. What I need to do is to set several regions of interests and assign some specific properties like average temperature and emissivity to those ROIs.
So I was wondering:
1. is that possible to select several ROIs with an array keeping updating ROIs the user has chosen on the front panel? (Or each ROI could have a cluster on the front panel that contains its properties, that can be changed later.)
2. is that possible to set specific properties like temperature to the specfic ROI, and those properties will be updated to the ROI?
Thank you so much, and looking forward to some great ideas or advice.
Cheers,
Sunming
Solved!
Go to Solution.Hi All,
The attachment is what I have currently made. However, instead of creating a .txt file to display information, it would be perfect to display the ROI's name and its properties in the front panel, like in the first column is ROI 1, ROI 2, ROI 3, etc., and the other columns will deal with some information about the specific ROI and its properties.. Since I could not find anything similar here, I really need your help.
Thanks,
Sunming
Attachments:
test.vi 57 KB -
Row chaining in table with more than 255 columns
Hi,
I have a table with 1000 columns.
I saw the following citation: "Any table with more then 255 columns will have chained
rows (we break really wide tables up)."
If I insert a row populated with only the first 3 columns (the others are null), is a row chaining occurred?
I tried to insert a row described above and no row chaining occurred.
As I understand, a row chaining occurs in a table with 1000 columns only when the populated data increases
the block size OR when more than 255 columns are populated. Am I right?
Thanks
dyahavuser10952094 wrote:
Hi,
I have a table with 1000 columns.
I saw the following citation: "Any table with more then 255 columns will have chained
rows (we break really wide tables up)."
If I insert a row populated with only the first 3 columns (the others are null), is a row chaining occurred?
I tried to insert a row described above and no row chaining occurred.
As I understand, a row chaining occurs in a table with 1000 columns only when the populated data increases
the block size OR when more than 255 columns are populated. Am I right?
Thanks
dyahavYesterday, I stated this on the forum "Tables with more than 255 columns will always have chained rows." My statement needs clarification. It was based on the following:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/schema.htm#i4383
"Oracle Database can only store 255 columns in a row piece. Thus, if you insert a row into a table that has 1000 columns, then the database creates 4 row pieces, typically chained over multiple blocks."
And this paraphrase from "Practical Oracle 8i":
V$SYSSTAT will show increasing values for CONTINUED ROW FETCH as table rows are read for tables containing more than 255 columns.
Related information may also be found here:
http://download.oracle.com/docs/cd/B10501_01/server.920/a96524/c11schem.htm
"When a table has more than 255 columns, rows that have data after the 255th column are likely to be chained within the same block. This is called intra-block chaining. A chained row's pieces are chained together using the rowids of the pieces. With intra-block chaining, users receive all the data in the same block. If the row fits in the block, users do not see an effect in I/O performance, because no extra I/O operation is required to retrieve the rest of the row."
http://download.oracle.com/docs/html/B14340_01/data.htm
"For a table with several columns, the key question to consider is the (average) row length, not the number of columns. Having more than 255 columns in a table built with a smaller block size typically results in intrablock chaining.
Oracle stores multiple row pieces in the same block, but the overhead to maintain the column information is minimal as long as all row pieces fit in a single data block. If the rows don't fit in a single data block, you may consider using a larger database block size (or use multiple block sizes in the same database). "
Why not a test case?
Create a test table named T4 with 1000 columns.
With the table created, insert 1,000 rows into the table, populating the first 257 columns each with a random 3 byte string which should result in an average row length of about 771 bytes.
SPOOL C:\TESTME.TXT
SELECT
SN.NAME,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
INSERT INTO T4 (
COL1,
COL2,
COL3,
COL255,
COL256,
COL257)
SELECT
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3)
FROM
DUAL
CONNECT BY
LEVEL<=1000;
SELECT
SN.NAME,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
SET AUTOTRACE TRACEONLY STATISTICS
SELECT
FROM
T4;
SET AUTOTRACE OFF
SELECT
SN.NAME,
SN.STATISTIC#,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
SPOOL OFFWhat are the results of the above?
Before the insert:
NAME VALUE
table fetch continue 166
After the insert:
NAME VALUE
table fetch continue 166
After the select:
NAME STATISTIC# VALUE
table fetch continue 252 332 Another test, this time with an average row length of about 12 bytes:
DELETE FROM T4;
COMMIT;
SPOOL C:\TESTME2.TXT
SELECT
SN.NAME,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
INSERT INTO T4 (
COL1,
COL256,
COL257,
COL999)
SELECT
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3)
FROM
DUAL
CONNECT BY
LEVEL<=100000;
SELECT
SN.NAME,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
SET AUTOTRACE TRACEONLY STATISTICS
SELECT
FROM
T4;
SET AUTOTRACE OFF
SELECT
SN.NAME,
SN.STATISTIC#,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
SPOOL OFFWith 100,000 rows each containing about 12 bytes, what should the 'table fetch continued row' statistic show?
Before the insert:
NAME VALUE
table fetch continue 332
After the insert:
NAME VALUE
table fetch continue 332
After the select:
NAME STATISTIC# VALUE
table fetch continue 252 33695The final test only inserts data into the first 4 columns:
DELETE FROM T4;
COMMIT;
SPOOL C:\TESTME3.TXT
SELECT
SN.NAME,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
INSERT INTO T4 (
COL1,
COL2,
COL3,
COL4)
SELECT
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3),
DBMS_RANDOM.STRING('A',3)
FROM
DUAL
CONNECT BY
LEVEL<=100000;
SELECT
SN.NAME,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
SET AUTOTRACE TRACEONLY STATISTICS
SELECT
FROM
T4;
SET AUTOTRACE OFF
SELECT
SN.NAME,
SN.STATISTIC#,
MS.VALUE
FROM
V$MYSTAT MS,
V$STATNAME SN
WHERE
SN.NAME = 'table fetch continued row'
AND SN.STATISTIC#=MS.STATISTIC#;
SPOOL OFFWhat should the 'table fetch continued row' show?
Before the insert:
NAME VALUE
table fetch continue 33695
After the insert:
NAME VALUE
table fetch continue 33695
After the select:
NAME STATISTIC# VALUE
table fetch continue 252 33695 My statement "Tables with more than 255 columns will always have chained rows." needs to be clarified:
"Tables with more than 255 columns will always have chained rows +(row pieces)+ if a column beyond column 255 is used, but the 'table fetch continued row' statistic +may+ only increase in value if the remaining row pieces are found in a different block."
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.
Edited by: Charles Hooper on Aug 5, 2009 9:52 AM
Paraphrase misspelled the view name "V$SYSSTAT", corrected a couple minor typos, and changed "will" to "may" in the closing paragraph as this appears to be the behavior based on the test case. -
Not able to create rows in a table with dependent columns in an OAF page.
We have a table in an OAF page which has the property "Records Displayed" set as "10". Hence pagination kicks in for more than 10 rows in the table. "Add rows" is enabled in this table. The table also has 'detail' component.
In this table, we have created 2 new columns (dropdowns) using personalization. Dropdown 2 is dependent on the value selected in Dropdown1. Both are required fields.
We are able to add new rows to the table. All the columns render properly. Dropdown 2 also renders properly depending on the values selected in Dropdown1. There is no issue until we add the 10th row (remember the number of displayed records in the tabble is 10). When we add the 10th row, the fields appear properly. Dropdown1 values are displayed as expected. But when we select a value in Dropdown1, Dropdown2 does not refresh and get populated with the expected values (depending on Dropdown1 values). Dropdown2 remains blank. But this happens only when the 10th row is added. Since Dropdown2 is a required field and since Dropdown2 is not refreshed with values depending on Dropdown1, the records cannot be saved.
There seems to be a problem with refresh when the nth row is added to the table where 'n' is the Records displayed in the table (pagination).
If we change the Records Displayed to say 15 then we have the above problem when adding the 15th row. 14 rows can added to the table without an issue.
Can a workaround (other than increasing the number of displayed records) be provided for this issue?Hi,
I suspect you have written a method having String return type but the method does not have return statement.
Go to the Catalogue component->BPM Object->Right click on the BPM object and select New Method->Give the method name. Now the method window will be opened. Go to the propertied tab of the right most panel. Set the return type as string. In the method window editor write your business logic. The below mentioned code is for sample one.
String msg = "Hello World";
return msg;
Bibhu
Maybe you are looking for
-
How to delete a contact when it's no longer in my phonebook but still showing up in my emails?
I deleted my contact fully from my phonebook and then reentered it with the right information, now they both show up in my email when I try to email said person. How do I delete it even though it isn't in my phonebook anymore?
-
Answers Caching Drill Down Filter
Hi Im experiencing an intermittent issue when drilling down from a report and returning to the parent level report, and then selecting a different drill down filter from the header report. It seems as though the drill down filter in the first attempt
-
Hi Experts We have maintained new P exchange rates ( USD >> AUD)yesetday with validity form October 2009. During the costing run today we've noticed that the activity types are not consideriing the latest rate for calculation (completed KP26 with pe
-
Exchange 2013 CU3 Can't view permissions on mailbox in EAC
Recently upgraded to CU3. I'm not sure if my EAC problems are due to that or something else. I could have swore this worked before, but I am not 100% positive. If I go to "Recipients > Mailboxes > Properties on a mailbox > Mailbox Delegation" it sa
-
how can i write a query to fetch date for the previous year, given any date inputted by the user ? (Datatype will be date)