Removing Index from Table in SAP level
Hi All,
I want to remove the Index from SAP level as in Oracle level Index is already remove / not there.
Please provide the solution how it can be removed.
Waiting for reply ....
Regards
Punit
Hi Punit,
Use the transaction SE14 to do this.
Put the table name for which you need to remove the index at the input box (obj. name) ->select the radio button "Table"-> click on EDIT button->in the next screen->click on the "index" button->a screen will pop-up with all the available indexes for the table->select one(double click)-> in the next screen, you will have the "Delete database index" button, click this and the index will be deleted.
Note: You can't delete the indexes which are not defined as DB index in the ABAP Dictionary.
Regards,
Srihari
Similar Messages
-
Problem when removing elements from table after apply sort
Hi,
I have big problem with <af:table> and sorting.
When I removed objects from a table without sorting, there is no problem but when I removed
items from the table after sorting, the remain items are not correct.
For example, i have in my table these items :
Item AA
Item CC
Item ZZ
Item BB
Item AA
Item BB
Item CC
Item ZZ
I sort the table and i select the following Items : Item BB a Item CC
The remains item is only Item AA, Item ZZ disappear.
If i resort the table, the missing Item zz appear again in the table.
Here is my jspx :
<af:table var="row" rowBandingInterval="1" width="1050" rows="5"
rowSelection="multiple"
value="#{pageFlowScope.editNotificationBackingBean.ingredients}"
binding="#{pageFlowScope.editNotificationBackingBean.ingredientsTable}"
autoHeightRows="10" id="t2">
<af:clientListener method="goEditRow" type="dblClick"/>
<af:serverListener type="doubleClickOnRow" method="#{pageFlowScope.editNotificationBackingBean.handleRequestIngredientsSelectBtn_action}"/>
<af:column headerText="#{bundle.col_fr_name}" width="240"
sortable="true" sortProperty="name.FR_Description" id="c1">
<af:outputText value="#{row.name.texts['fr'].value}" id="ot1"/>
</af:column>
In my backing bean i call this method to remove selected elements :
public void unselectBtn_action(ActionEvent actionEvent) {
RowKeySet rowKeySet = selectIngredientsTable.getSelectedRowKeys();
int i = 0;
Iterator it = rowKeySet.iterator();
while (it.hasNext()) {
Integer index = (Integer)it.next() - i;
selectIngredientsTable.setRowKey(index);
CompositionIngredient compositionIngredient =
(CompositionIngredient)selectIngredientsTable.getRowData();
notification.getProductDetail().getCompositionIngredients().remove(compositionIngredient);
i++;
selectIngredientsTable.getSelectedRowKeys().clear();
AdfFacesContext.getCurrentInstance().addPartialTarget(selectIngredientsTable);
Thanks in advance.I have made a mistake, i don't paste the right <af:table> from my jspx.
Here is the correct one :
<af:table var="row" rowBandingInterval="1" width="1050"
rowSelection="multiple" id="tableSelectedIngredients"
value="#{pageFlowScope.editNotificationBackingBean.notification.productDetail.compositionIngredients}"
binding="#{pageFlowScope.editNotificationBackingBean.selectIngredientsTable}"
partialTriggers="::tab_ingredients_list_expressed_per">
<af:column sortable="true" headerText="#{bundle.col_name}" id="c5" width="180"
sortProperty="ingredient.name.FR_Description">
<af:outputText value="#{row.ingredient.name.texts['fr'].value}"
id="ot18"/>
</af:column>
... -
Process chain delete index from TABLE
is it possible to put a step in a process chain (/rspc) to delete and rebuild indexes from a normal table?
I can only find a way to do this for cubes... ?
thanks!Hi,
You have to export the table name and index name using the following str to FM :RSDU_DROP_INDEX
begin of rsdu_s_index,
tabname like ddstorage-tabname,
indexname type rsdu_indexname,
dbidxname type rsdu_index,
fieldname type rsd_fieldnm, "like dd17v-fieldname,
type_expected type rsdu_indextype,
type type rsdu_indextype,
type_check type rsdu_check,
unique_expected type rsdu_indexunique,
unique type rsdu_indexunique,
unique_check type rsdu_check,
partitioned_expected type rs_bool,
partitioned type rs_bool,
partitioned_check type rsdu_check,
status type rsdu_indexstatus,
status_check type rsdu_check,
end of rsdu_s_index,
so, you need to pass table name and index name through this structure.
hope it help....
Regards,
Raju -
Pages 5.0 removing images from tables.
After upgrading to Pages 5.0 I now receive a message when opening any file with a table that has images in the cells. Basically Pages is removing all images from table cells. Anyone having this problem and is there an easy fix?
DrBrian, this is what I did to resolve this issue. I found out that we may still have Pages 09 installed on our systems! Go into Finder - Applications. If you have a folder titled iWork 09 click it and you may find Pages 09 there. Double click to open Pages version 09 where you will be able to open all of your files just as they should be.
I will not be using the new Pages upgrade. I have too much time invested in creating documents and templates for my business and I am not willing to re-learn a new package which has much less functionality. Hope this helps you. -
I define a customize table (maintenance only by cust., not SAP import).
5 of the fields are the table keys.
When I remove 2 fields from the key and adjust the table I get the following errors
Primary key change not permitted for value table ZT7IL60
Activation of Table ZT7IL60 not possible (please check)
Any clue why and how to remove some fields from the key?hi there,
the reason for this error can be any....
may be you are using that field in the foreign key reference of another table. thats y it is not allowing the change option as it will affect other table's values.
another thing can be the one suggested in the above post.
do reply if any of the methods mentioned helps.
Do reward if helpful./ -
Remove row from table when adding values to another table
hi am adding value programticaly how can i remove the row i just add from the table
this is how am adding value
public void addMember(javax.faces.event.ActionEvent actionEvent) {
List<String> tempTable = new ArrayList<String>();
//Code to get the bindings for TargetVO :
RowKeySet selectedEmps = getEmpTable().getSelectedRowKeys();
Iterator selectedEmpIter = selectedEmps.iterator();
DCBindingContainer bindings =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding empIter = bindings.findIteratorBinding("UserDetailsViewVO1Iterator");
RowSetIterator empRSIter = empIter.getRowSetIterator();
while(selectedEmpIter.hasNext()){
Key key = (Key)((List)selectedEmpIter.next()).get(0);
Row currentRow = empRSIter.getRow(key);
onRowCreate(currentRow);
boolean b = selectedEmps.remove(currentRow);
i what to clear the row i just selected from the table
AdfFacesContext.getCurrentInstance().addPartialTarget(empTable);
// empTable
public void onRowCreate( Row currentRow ) {
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
//access the name of the iterator the table is bound to.
DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("addmemberBeanIterator");
//access the underlying RowSetIterator
RowSetIterator rsi = dciter.getRowSetIterator();
//get handle to the last row
Row lastRow = rsi.last();
//obtain the index of the last row
int lastRowIndex = rsi.getRangeIndexOf(lastRow);
/*check if the user is added already*/
/*OperationBinding oper2 = (OperationBinding) bindings.get("check if user exists method binding");
oper2.getParamsMap().put("attributeName1", uniqueUserAttributeValue);
Object ret = oper2.execute();*/
//create a new row
Row newRow = rsi.createRow();
String f = (String)currentRow.getAttribute("Firstname");
String s = (String)currentRow.getAttribute("Surname");
String u = (String)currentRow.getAttribute("Username");
String n = (String)currentRow.getAttribute("Emailaddress");
// String orgid = (String)currentRow.getAttribute("Organisationid");
newRow.setAttribute("firstname", f);
newRow.setAttribute("surname", s);
newRow.setAttribute("name", u);
newRow.setAttribute("emailaddress", n);
// newRow.setAttribute("Organisationid1",orgid);
//initialize the row
newRow.setNewRowState(Row.STATUS_INITIALIZED);
//add row to last index + 1 so it becomes last in the range set
rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
//make row the current row so it is displayed correctly
rsi.setCurrentRow(newRow);
System.out.println("Username " + u);
System.out.println("firstname " + f);
System.out.println("surname " + s);
System.out.println("email " + n);
// refereshpage();
// return null;
am in jdevloper 11.1.1.6.0
my table is
public void onRowCreate( Row currentRow ) {
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
//access the name of the iterator the table is bound to.
DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("addmemberBeanIterator");
//access the underlying RowSetIterator
RowSetIterator rsi = dciter.getRowSetIterator();
//get handle to the last row
Row lastRow = rsi.last();
//obtain the index of the last row
int lastRowIndex = rsi.getRangeIndexOf(lastRow);
/*check if the user is added already*/
/*OperationBinding oper2 = (OperationBinding) bindings.get("check if user exists method binding");
oper2.getParamsMap().put("attributeName1", uniqueUserAttributeValue);
Object ret = oper2.execute();*/
//create a new row
Row newRow = rsi.createRow();
String f = (String)currentRow.getAttribute("Firstname");
String s = (String)currentRow.getAttribute("Surname");
String u = (String)currentRow.getAttribute("Username");
String n = (String)currentRow.getAttribute("Emailaddress");
// String orgid = (String)currentRow.getAttribute("Organisationid");
newRow.setAttribute("firstname", f);
newRow.setAttribute("surname", s);
newRow.setAttribute("name", u);
newRow.setAttribute("emailaddress", n);
// newRow.setAttribute("Organisationid1",orgid);
//initialize the row
newRow.setNewRowState(Row.STATUS_INITIALIZED);
//add row to last index + 1 so it becomes last in the range set
rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
//make row the current row so it is displayed correctly
rsi.setCurrentRow(newRow);
System.out.println("Username " + u);
System.out.println("firstname " + f);
System.out.println("surname " + s);
System.out.println("email " + n);
// refereshpage();
// return null;hi,
make the table selection single and use this links 4 ur task.
http://www.baigzeeshan.com/2010/06/deleting-multi-selected-rows-from-adf.html
http://deepakcs.blogspot.com/2013/01/ejb-dc-deleting-multi-selected-rows.html
https://forums.oracle.com/thread/2534813
https://blogs.oracle.com/jdevotnharvest/entry/iterating_selected_rows_in_an
txs -
Removing Index From Glossary?
I only want a glossary. Not an index. How do I remove the Index field from appearing?
Hi Punit,
Use the transaction SE14 to do this.
Put the table name for which you need to remove the index at the input box (obj. name) ->select the radio button "Table"-> click on EDIT button->in the next screen->click on the "index" button->a screen will pop-up with all the available indexes for the table->select one(double click)-> in the next screen, you will have the "Delete database index" button, click this and the index will be deleted.
Note: You can't delete the indexes which are not defined as DB index in the ABAP Dictionary.
Regards,
Srihari -
How to find out index from table?
Hi all,
I've tried to create indexes to some columns from some tables to use for Oracle Text.
I ve got a error message saying that I can not create an index:
"cannot create multiple domain indexes on a column list using same indextype".
I was wondering if an index already exists for that column, how do I find out the name of the index that points to that paticular colum?
Thanks a lot
E.Check the view dba_ind_columns
That will tell you.
something like;
select index_name, column_position, column_name from dba_ind_columns
where table_name = '<table name>'
order by 1,2 -
Reporting on Strategic Skills Priority from table T5W8P (SAP-HR)
Hi all,
I have a requirement to report on Strategic Skills Priority which is held in table T5W8P in ECC6.
So I need to load this through to BW somehow, and I guess create it as an attribute of the Qualification.
However I cannot see this field in any of the standard extractors and don't seem to be able to create this table as a datasource using RSO2.
Can anyone tell me how I can bring this field through to BW?
Many thanks
MischaHi,
I tried that and get an error message "Entry T5W8P does not exist in DD02L (check entry)"
I am not sure if this is something that has to be done on the SAP side, or if this is something specific to our system. Has anyone seen this error before?
Thanks again
Mischa -
REMOVE Enrty from Table IDXIDOCINB
Hi Guys,
I found from help that i can use a report "IDX_SELECT_IDOCTYP_WITHOUT_IS"
where i can specify that idoc which need not pass IS for generating XML.
well i run the report selecting the IDOC now those IDOCs came into exception table
DXIDOCINB
That table is not allowing me to delete the entries is there any way to delete those entries
Regards
sriniHi,
You can use report IDX_DELETE_IDOCTYP_WITHOUT_IS to delete the records.
Cheers!
Juan Insuasti -
StopCellEditing () removes focus from table
Hi,
i have created a custom cellEditor, when the user presses enter a popupwindow is shown which shows a list of possible values.
When the popup closes i call stopCellEditing (), in a DefaultCellEditor the focus then remains on the table...but in this case the focus just disappears...
Anybody with the same focusproblems?
NickHi,
i have created a custom cellEditor, when the user presses enter a popupwindow is shown which shows a list of possible values.
When the popup closes i call stopCellEditing (), in a DefaultCellEditor the focus then remains on the table...but in this case the focus just disappears...
Anybody with the same focusproblems?
Nick -
Indexes on Oracle Level Missing at Data Dic. (SAP) Level
Hello Masters,.
My Question is, There are 3 standard tables in CRM server Say for example table A, table B, table C.
Table A has 2 index , B have 1 Index, C has 2 Index in Database level.
These Indexes are not available or somehow deleted from Data Dictionary (SAP) level.
Are these Indexes working if i am writing ABAP Code Select statement or in any situitions...??The one way that I can see to find that out quickly is to do a trace on a query performed against the table(s)... through ST05 and then drilling down into the Execution Plan in the Trace List..
Those indexes that are being used will be listed there.
Your queries will need to encourage use of these indexes, though, to avoid false negatives...
Regards,
Dushyant Shetty -
Function module to find out the changed values from tables
What is the standard function module to find out the changed values (the old & new values) from tables in SAP ?
Hi Harish,
Please elaborate your requirement...
Please have a look on CDHDR AND CDPOS tables... it contains changed data... but all chages are not being tracked using it..
Try Below FMs as well..
For Header Level...
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
date_of_change = cdhdr-udate
objectclass = cdhdr-objectclas
objectid = cdhdr-objectid
time_of_change = cdhdr-utime
username = cdhdr-username
TABLES
i_cdhdr = icdhdr
EXCEPTIONS
no_position_found = 1
OTHERS = 2.
For Item Level
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
changenumber = icdhdr-changenr
IMPORTING
header = cdhdr
TABLES
editpos = icdshw
EXCEPTIONS
no_position_found = 1
OTHERS = 2.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
Reg:-How to delete PO from Table
Hi,
I need to know how to delete PO from the table.I know for item deletion.
Edited by: Venkadesh on May 22, 2009 2:53 PMHi
PO's cannot be deleted from the table, we can only archive them from the data base being used.
Deletion flag in the PO will not remove data from table.
Thanks & Regards
Kishore -
White patch after removing row from JTable
I am working with JTable and removing item from table on clicking on button but after removing row there is white Patch on that row. I don�t want to show this white patch.
I did repaint table but that is also not working.
Any thoughts !!!!!!!javax.swing.SwingUtilities.invokeLater(new Runnable(){
public void run(){
museTable.setBackground(Color.black);//your color here
});
Maybe you are looking for
-
Below is the Itunes Diagnostics that I have - Microsoft Windows Vista x64 x64 Home Premium Edition Service Pack 2 (Build 6002) Dell Inc. Studio 540 iTunes 11.2.2.3 QuickTime 7.7.5 FairPlay 2.6.12 Apple Application Support 3.0.3 iPod Updater Library 1
-
How to create an EIT in Oracle apps with custom table?
Hi, I have a custom table in APPS schema where training information is loaded everyday by running a control file. I've to pick the training end date and status of 5 particular trainings and create an EIT. When I try to create an EIT which is basicall
-
Iphoto just imported thousands of images from games on my computer.
Iphoto just imported thousands of images from games on my computer, how can i get rid of them without having to sit for hours deleting all of them?
-
I am running Mac OS 10.2.8 and the finder will not run
When My computer starts the fined is not running and there is nothing on the desktop but the icons on the bottom of the screen. How do I get it the file to show up agean and the hardrive?? I there a way to rebild the desktop??? Cooper
-
Update all fields in Jtable in java
for example : String query = "UPDATE Mkdb SET" + " Name='"+tf1.getText()+"',Age="+tf2.getText()+",Tel='"+tf3.getText()+"',Email='"+tf4.getText()+"' where ID="+gmk.sti+"