Row - Invalid index [66000-31] in batch detail
Hi,
I try to block in inventory--> item management --> batch --> batch detail expiry date which if the expiry date is inputted has already expired.
My Code is like this
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
' Form Batch Setup in good receipt
Dim mat As SAPbouiCOM.Matrix
Dim currow As String
Dim currcol As String
If (pVal.FormTypeEx = "65053") And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD Then
oForm = SBO_Application.Forms.Item(FormUID)
If pVal.Before_Action = True Then
If pVal.ItemUID = "37" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
' SBO_Application.MessageBox("Test")
Dim today As String
Try
Dim expdate As SAPbouiCOM.EditText
mat = oForm.Items.Item("48").Specific
currow = pVal.Row.ToString
expdate = mat.Columns.Item("7").Cells().Item(currow).Specific
expdate = mat.Columns.Item("7").Cells.Item(mat.GetCellFocus).Specific
expdate = mat.Columns.Item("7").ValidValues
Dim tgl As String = expdate.Value
today = Format(Date.Now(), "yyyyMMdd")
If tgl < today Then
SBO_Application.MessageBox("Back Date is Not Allowed")
End If
Catch ex As Exception
Debug.Print(ex.Message)
Debug.Print(ex.ToString)
End Try
End If
Else
If pVal.ItemUID = "37" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
End If
End If
End If
End Sub
The expiry date field in batch detail sap B1 actually refer to column. When i try to look for the system information for this field the information is like this:
[Form = 65053 Item = 48 Pane = 0 Column = 7 Row = 1 Variable = 1 OBTN,Expdate]
I try to debug but the error message is "Row - Invalid index [66000-31]"
I try to debug the code above and try to watch the variable currrow. The currow position is -1.
Does anyone can help me ?
Thanks in advance
Regards
KK
hi,
you may check the ff threads
Row - Invalid index
index
Find the warehouse in Cell of system matrix
regards,
Fidel
Similar Messages
-
Hi,
I created on form "Sheet".I am attaching user defined cfl on the first column of the matrix named "Specs".on the choose button click of the cfl i am pesting the seleted value in that column.at that time i am getting the following message.
"Row-Invalid Index" on the following line
OCT_Matrix.Columns.Item("specs").Cells.Item(lngSpecPval).Specific.value = strSpecifications
May i know how to overcome this issue?
Regards,
Mahendra'ON THE TAB OF THE SPECIFICATION
'**' OPENING THE SPECIFICATION HELP FORM
If pVal.FormUID = "frmWorkOrder" And pVal.ColUID = "specs" And pVal.ItemUID = "3" And pVal.CharPressed = "9" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_KEY_DOWN Then
If pVal.BeforeAction = False Then
Dim i As Integer
Dim strSpecs As String
Try
lngSpecPval = pVal.Row
OCT_WorkOrderForm = GOD_Application.Forms.Item("frmWorkOrder")
OCT_Matrix = OCT_WorkOrderForm.Items.Item("3").Specific
If pVal.ItemUID = "3" Then
If OCT_Matrix.Columns.Item("specs").Cells.Item(pVal.Row).Specific.value = "" Then
For i = 0 To GOD_Application.Forms.Count - 1
If GOD_Application.Forms.Item(i).UniqueID = "frmSpecs" Then
GOD_Application.Forms.Item(i).Select()
Exit Sub
End If
Next
GOD_Loadfromxml("SpecsHelp.xml")
OCT_Form = GOD_Application.Forms.Item("frmSpecs")
OCT_Grid = OCT_Form.Items.Item("3").Specific
OCT_Form.Items.Item("3").Enabled = False
OCT_Grid.SelectionMode = SAPbouiCOM.BoMatrixSelect.ms_Single
OCT_Grid.Columns.Item("RowsHeader").Width = 10
OCT_Form.Items.Item("find_item").Click(SAPbouiCOM.BoCellClickType.ct_Regular)
Dim strSubAgent As String
Dim edittecxtcol As SAPbouiCOM.EditTextColumn
OCT_Form.DataSources.DataTables.Add("Specstable")
strSpecs = "select * from OCT_VIEW_CFL_Specs order by [Specification|https://forums.sdn.sap.com/]"
OCT_Form.DataSources.DataTables.Item(0).ExecuteQuery(strSpecs)
If OCT_Grid.DataTable.Rows.Count = 1 And OCT_Grid.DataTable.GetValue(0, 0) = "" Then
OCT_Matrix.Columns.Item("specs").Cells.Item(pVal.Row).Click(SAPbouiCOM.BoCellClickType.ct_Regular)
GOD_Application.SetStatusBarMessage("No Specification Found.", SAPbouiCOM.BoMessageTime.bmt_Short, True)
OCT_Form.Close()
Exit Sub
End If
OCT_Form = GOD_Application.Forms.Item("frmSpecs")
OCT_Grid = OCT_Form.Items.Item("3").Specific
OCT_Grid.Columns.Item("RowsHeader").Click(0, False, 0)
OCT_Form.DefButton = "btnChoose"
OCT_Form.Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE
OCT_Form.Visible = True
End If
End If
GOD_Application.Forms.Item("frmWorkOrder").Mode = SAPbouiCOM.BoFormMode.fm_OK_MODE
Catch ex As Exception
GOD_Application.MessageBox(ex.Message)
End Try
End If
End If
'ON THE KEY DOWN OF THE "FIND" TEXT BOX
'**' ADDING THE SEARCH FUNCTIONALITY
'19 FEB - KEY DOWN OF THE SEARCH EDIT TEXT BOX ITEM CODE LIST
If pVal.FormUID = "frmSpecs" And pVal.ItemUID = "find_item" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_KEY_DOWN And pVal.BeforeAction = False Then
Dim i As Integer
Try
OCT_Form = GOD_Application.Forms.Item("frmSpecs")
OCT_Grid = OCT_Form.Items.Item("3").Specific
Dim rmitm As String
Dim rmlen As Integer = 0
Dim x As SAPbouiCOM.GridRows
rmitm = OCT_Form.Items.Item("find_item").Specific.value
rmlen = Len(rmitm)
If rmitm "" Then
For i = 0 To OCT_Grid.Rows.Count - 1
If UCase(rmitm) = UCase(Left(OCT_Grid.DataTable.GetValue(0, i), rmlen)) Then
OCT_Grid.Rows.SelectedRows.Add(i)
OCT_Item = OCT_Form.Items.Item("btnChoose")
OCT_Item.Enabled = True
Exit For
End If
Next
End If
Catch ex As Exception
GOD_Application.MessageBox(ex.Message)
End Try
End If
'---19 FEB CHOOSE CLICK OF LIST OF THE SPECIFICATION LIST
If pVal.FormUID = "frmSpecs" And pVal.ItemUID = "btnChoose" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK And pVal.BeforeAction = True Then
Try
'BubbleEvent = False
Dim i As Integer
Dim isRowSel As Boolean = True
Dim strSpecifications As String
Dim OCT_Column As SAPbouiCOM.Column
OCT_Form = GOD_Application.Forms.Item("frmSpecs")
OCT_Grid = OCT_Form.Items.Item("3").Specific
For i = 0 To OCT_Grid.Rows.Count - 1
If OCT_Grid.Rows.IsSelected(i) = True Then
isRowSel = False
strSpecifications = OCT_Grid.DataTable.GetValue(0, i)
Exit For
End If
Next
If isRowSel = True Then
isRowSel = False
GOD_Application.SetStatusBarMessage("Please select the proper Specification.", SAPbouiCOM.BoMessageTime.bmt_Short, True)
BubbleEvent = False
Exit Sub
End If
'OCT_Form = OCT_Application.Forms.GetForm(pVal.FormType, pVal.FormTypeCount)
'OCT_Form.Close()
If strSpecifications "" Then
OCT_WorkOrderForm = GOD_Application.Forms.Item("frmWorkOrder")
OCT_Matrix = OCT_WorkOrderForm.Items.Item("3").Specific
*OCTForm.DataSources.UserDataSources.Item("spcesDS").Value = strSpecifications*_
*'OCTMatrix.Columns.Item("specs").Cells.Item(lngSpecPval).Specific.value = strSpecifications_
End If
OCT_Matrix.Columns.Item("specs").Cells.Item(lngSpecPval).Click(SAPbouiCOM.BoCellClickType.ct_Regular)
Catch ex As Exception
GOD_Application.MessageBox(ex.ToString)
End Try
End If
Thanks and Regards,
Mahendra -
Message: Row - Invalid index
Hello,
I have a big problem. I created simple form (only one matrix with three columns) with screenpainter. I added datasources to this form, bind data for this form. I used my function for get data from datasource.
Here is code of function.
private void getDataFromDataSourceCiselnikUrovni(SAPbouiCOM.Form oForm,
SAPbouiCOM.Matrix oMatrix, string tableName, string tableMatrix) {
SAPbouiCOM.DBDataSource oDBDataSource =
oForm.DataSources.DBDataSources.Item("@" + tableName);
SAPbouiCOM.UserDataSource oUserDataSource =
oForm.DataSources.UserDataSources.Item(tableMatrix);
oDBDataSource.Query(null);
for (int i = 0; i < oDBDataSource.Size; i++) {
//oUserDataSource.Value = "nejaka hodnota";
oDBDataSource.Offset = i;
oUserDataSource.Value = ((int)(i + 1)).ToString();
oMatrix.AddRow(1, -1);
SAPbouiCOM.EditText oEditText =
(SAPbouiCOM.EditText)oMatrix.Columns.Item("Col2").Cells.Item(oMatrix.RowCount).Specific;
if (oEditText.Value != ""){
switch (oForm.Type){
case 2000060302:{ //-- Ciselnik urovni
setUpNewRowCiselnikUrovni(oForm, oMatrix, oForm.DataSources.UserDataSources,oDBDataSource);
break;
When i want open form the system write message: Row - invalid index. I dont know what does it means. I used the same function at SAP B1 6.5 and everything is OK.
Thanks for your answer?Alexey, you are right, I didn't read well, sorry...!
Does the AddRow method accepts '-1' as position parameter? That looks a invalid row to me... (I could be wrong)
My code, for something simular:
<b>Code (C#):</b>
oMatrix.AddRow(oDBDataSource.Size, 0);
for(int i = 1; i <= oDBDataSource.Size; i++)
oUserDataSource.Value = i.ToString();
oDBDataSource.Offset = i - 1;
oMatrix.SetLineData();
Hope it helps! -
Auth against trsuted domain - 500 Internal Server Error Invalid index.(1413
Hi all,
we are publishing a SAP portal via ISA 2006. <br /><br />
I have eventually managed to get single sign on working all the way through for company.local users, however we also have a domain where all our customer accounts sit - extcustomers.local, which has a two way trust with company.local. <br /><br />
When logging on with a company.local account, via an ISA form, and we are getting an error below.<br /><br />
<strong>"500 Internal Server Error. Invalid index. (1413) " </strong><br />
I'm struggling to find why this error is occuring - and was hoping you guys may be able to point me in the right direction. <br />
Also in Portal Logs i can see the fallowing.<br />
LOGIN.FAILED<br />
User: N/A<br />
Authentication Stack: ticket<br /><br />
Login Module Flag Initialize Login Commit Abort Details<br />
1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule SUFFICIENT ok false true <br />
2. com.sap.security.core.server.jaas.SPNegoLoginModule OPTIONAL ok exception true Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31))<br />
3. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok false false <br />
4. com.sap.security.core.server.jaas.CreateTicketLoginModule OPTIONAL ok false true <br />
And Fallowed by .<br />
<strong>CreateContext failed: GSSException: Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31)) </strong><br />
[EXCEPTION]<br />
GSSException: Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31)) <br />
at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:734) <br />
at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:300) <br />
at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:246) <br />
at com.sap.security.core.server.jaas.SPNegoLoginModule.doHandshake(SPNegoLoginModule.java:749) <br />
at com.sap.security.core.server.jaas.SPNegoLoginModule.login(SPNegoLoginModule.java:365) <br />
at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185) <br />
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70) <br />
at java.security.AccessController.doPrivileged(Native Method) <br /><br />
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181) <br />
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90) <br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) <br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) <br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) <br />
at java.lang.reflect.Method.invoke(Method.java:324) <br />
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675) <br />
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129) <br />
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) <br />
at java.security.AccessController.doPrivileged(Native Method) <br />
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607) <br />
at javax.security.auth.login.LoginContext.login(LoginContext.java:534) <br />
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:149) <br />
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:303) <br />
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:96) <br />
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:186) <br />
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524) <br />
at java.security.AccessController.doPrivileged(Native Method) <br />
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407) <br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) <br />
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) <br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) <br />
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321) <br />
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377) <br />
at com.sap.portal.navigation.Gateway.service(Gateway.java:126) <br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) <br />
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) <br />
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) <br />
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) <br />
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) <br />
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) <br />
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) <br />
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) <br />
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) <br />
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process<br />(ApplicationSessionMessageListener.java:33) <br />
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) <br />
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) <br />
at java.security.AccessController.doPrivileged(Native Method) <br /><br />
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) <br />
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
<br /><br />
Any Ideas regarding would be greately appritiated.<br /><br />
Kind Regards,<br />
vamsi<br />
Edited by: Vamsi Krishna Koganti on Jun 30, 2009 8:01 AM
Edited by: Vamsi Krishna Koganti on Jun 30, 2009 9:27 AM
Edited by: Vamsi Krishna Koganti on Jun 30, 2009 5:41 PMHi All,
Thanks for having a look at this.
The Problem is that at ISA wron g server is maintained and wrong service principal name is maintained adn after changing this the problem is solved.
From the research i can say that there are 2 things we need to look at when we have this issue.
1. Password
2. Serviceprincipalname
Kind Regards
Vamsi -
Unable to boot: Mac HD verify error - invalid index key
Thank you in advance for your assistance. Please provide a detailed response. There is a lot I have to learn about computers.
I allowed my macbook air mid-2013 os x 10.10.2 to update yesterday. I didn't look at what the update was (just saw the notification and clicked restart). It shut down, but did not restart. When I try to boot, the loading bar slows and tops at approx 35%, and the computer shuts off. I can boot in recovery mode. In disk utility, on the left side the first line is Macintosh HD. I can verify this without errors. The second line is also Macintosh HD written in lighter grey. I cannot interact with this until I click unlock and type in my password. After doing so, it is written in dark black, and I then have the option to verify disk. Doing so, I am given the follow error in the log:
(in red) Invalid index key.
(in red) Invalid record count.
(in red) The volume Macintosh HD could not be verified completely.
(in black) File system check exit code is 8.
(in red) Error: This disk needs to be repaired. Click Repair Disk.
A pop-up message says:
Disk Utility stopped verifying "Macintosh HD"
This disk needs to be repaired.
I click an "ok" box, but the Repair Disk button is not available.
At this point, I noticed the "mount" button is available. If I click this, it says:
Mount Failed
The disk "Macintosh HD" could not be mounted.
Try running First Aid on the disk and then retry mounting.
Of course, the only option in First Aid is Verify Disk, which I have already done.
I also tried reinstalling OS X from safe mode, but the installation failed. I would ideally like to fix this without losing any data, but my computer is backed up so it won't be terrible if I have to start fresh. My SSD failed on my macbook air 2012, so I hope this isn't happening again.
Thank you.Startup Issues - Resolve
Startup Issues - Resolve (2)
Startup Issues - Resolve (3) -
How to open Batch Details Form using a LinkedButton?
Hi all,
I just want to know how can I open the Batch Details system Form, using a LinkedButton from my user form.
Just like the Batch Number Transaction Report window, from the Batch Column.
It's difficult because this document don't have the ObjectType.
Thanks a lot.
Cheers
DavidSolved!
I did this:
From the MatrixLinkPressedEvent:
if (pVal.BeforeAction)
switch (pVal.ColUID)
case "column":
BubbleEvent = false;
AddOnApplication.Application.ActivateMenuItem("12290");//Form for Batch Details
form.EnableMenu("12290", true);
bool _runThread = true;
while (_runThread)
Thread.Sleep(500);
try
((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("40").Specific).Value = _dtGrid.GetValue("ItemCode", pVal.Row - 1).ToString();
((SAPbouiCOM.EditText)AddOnApplication.Application.Forms.ActiveForm.Items.Item("62").Specific).Value = _dtGrid.GetValue("Batch Hide", pVal.Row - 1).ToString(); ;
AddOnApplication.Application.Forms.ActiveForm.DefButton = "38";
AddOnApplication.Application.SendKeys("{ENTER}");
_runThread = false;
catch (Exception){}
finally
_runThread = false;
form.Freeze(false);
And that's it.
Hope this help to someone
Cheers -
Crash recovery: recreating invalid indexes
I want to discuss a phaenomen, which we often have saw during crash recoveries:
The "startsap db" is hanging, because after the crash recocvery itself is completed (according to db2diag.log), the connection to the database ist still hanging because the database recreate invalid indexes.
sf503:db2p02 10% db2 list utilities
ID = 2
Type = RESTART RECREATE INDEX
Database Name = P02
Partition Number = 0
Description = Recreating Invalid Index Objects
Start Time = 05/08/2007 09:37:42.721072
Sometimes this can take up to 25 minutes until this is finished and the connect is finished.
The strange thing is:
If a 2. connection to the database is made during "recreating indexes", this 2. connection is successfull and selects from t000 are successfull.
So, it is possible to execute "startsap r3" while the first connection is still blocked with recreating indexes.
I don't understand this behaviour:
- If the database really needs the recreation of invalid index objects for sucessfull database operation, then it should block ALL connections and not only the first one.
- If it's not urgently necessary, the database should done the recreating indexes in background and not block the first connection.
Also in the Recovery& High Availibility IBM Handbook I have nothing found about the "recreating invalid index objects"-feature.
Kind regards
UtaHello Jens,
thanks for the detailed answer!
As you wrote, the only workarond with changing db cfg parameter from "restart" to "access" needs some manual intervention if we don't want to risk the limit of maximum dialog runtime. So actually we will leave it as it is. We have a workaround with starting sap in a second window, when the crash recovery is finished according to db2diag.log and the 1. connection (startsap db) ist still recreating invalid indexes.
How can one determine the invalid indexes, who need recreation ?
Joachim: we don't have a real problem at our site. Fortunatelly we have crash recoveries only in the rare cases of system crashes, etc. So we are lucky not to have it every day....
Hopefully the behaviour will be changed to background index recreation in some later DB release. -
Data row does not have a matching index row in index
Dear All,
While checking Database Consistency, i m getting following error.
Please Advice
reagrds,
Hiten.
Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86)
Apr 14 2006 01:12:25
Copyright (c) 1988-2005 Microsoft Corporation
Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
Msg 8951, Sev 16, State 1, Line 17 : Table error: Table 'fsg.JEST' (ID 451949132). Data row does not have a matching index row in index 'JEST~I' (ID 2). Possible missing or invalid keys for the index row matching: [SQLSTATE 42000]
Msg 8955, Sev 16, State 1, Line 17 : Data row (3:3447709:85) identified by (MANDT = '009' and OBJNR = 'OR015000015467' and STAT = 'I0010') with index values (MANDT = '009' and STAT = 'I0010' and INACT = ' ' and OBJNR = 'OR015000015467'). [SQLSTATE 42000]
Msg 8951, Sev 16, State 1, Line 17 : Table error: Table 'fsg.JEST' (ID 451949132). Data row does not have a matching index row in index 'JEST~I' (ID 2). Possible missing or invalid keys for the index row matching: [SQLSTATE 42000]
Msg 8955, Sev 16, State 1, Line 17 : Data row (4:3526223:65) identified by (MANDT = '009' and OBJNR = 'OV000005347300000001' and STAT = 'I0010') with index values (MANDT = '009' and STAT = 'I0010' and INACT = ' ' and OBJNR = 'OV000005347300000001'). [SQLSTATE 42000]
Msg 8951, Sev 16, State 1, Line 17 : Table error: Table 'fsg.JEST' (ID 451949132). Data row does not have a matching index row in index 'JEST~I' (ID 2). Possible missing or invalid keys for the index row matching: [SQLSTATE 42000]
Msg 8955, Sev 16, State 1, Line 17 : Data row (4:3526223:66) identified by (MANDT = '009' and OBJNR = 'OV000005347300000001' and STAT = 'I0052') with index values (MANDT = '009' and STAT = 'I0052' and INACT = ' ' and OBJNR = 'OV000005347300000001'). [SQLSTATE 42000]
Msg 8951, Sev 16, State 1, Line 17 : Table error: Table 'fsg.S022' (ID 1022587377). Data row does not have a matching index row in index 'S022~A' (ID 2). Possible missing or invalid keys for the index row matching: [SQLSTATE 42000]
Msg 8990, Sev 16, State 1, Line 17 : CHECKDB found 0 allocation errors and 3 consistency errors in table 'fsg.JEST' (object ID 451949132). [SQLSTATE 01000]
Msg 8955, Sev 16, State 1, Line 17 : Data row (3:3369530:8) identified by (MANDT = '009' and SSOUR = ' ' and VRSIO = '000' and SPMON = '000000' and SPTAG = '20080913' and SPWOC = '000000' and SPBUP = '000000' and WERKS = '7100' and ARBPL = 'METALST4' and KAPAR = '003' and MATNR = 'JGR0500236G0WL8JH' and AUFNR = '015000015467' and PLNUM = '00000000' and POSNR = '0001' and PLNFL = '000000' and VORNR = '0020') with index values (MANDT = '009' and SSOUR = ' ' and VRSIO = '000' and WERKS = '7100' and ARBPL = 'MMsg 8951, Sev 16, State 1, Line 17 : Table error: Table 'fsg.AFRU' (ID 1166000397). Data row does not have a matching index row in index 'AFRU~ZA1' (ID 31). Possible missing or invalid keys for the index row matching: [SQLSTATE 42000]
Msg 8955, Sev 16, State 1, Line 17 : Data row (3:3409400:2) identified by (MANDT = '009' and RUECK = '0000223395' and RMZHL = '00000001') with index values (MANDT = '009' and BUDAT = '20080913' and ARBID = '10000042' and AUFPL = '0000053473' and AUFNR = '015000015467' and STOKZ = ' ' and STZHL = '00000000' and RUECK = '0000223395' and RMZHL = '00000001'). [SQLSTATE 42000]
Msg 8990, Sev 16, State 1, Line 17 : CHECKDB found 0 allocation errors and 1 consistency errors in table 'fsg.S022' (object ID 1022587377). [SQLSTATE 01000]
Msg 8990, Sev 16, State 1, Line 17 : CHECKDB found 0 allocation errors and 1 consistency errors in table 'fsg.AFRU' (object ID 1166000397). [SQLSTATE 01000]
Msg 8989, Sev 16, State 1, Line 17 : CHECKDB found 0 allocation errors and 5 consistency errors in database 'FSG'. [SQLSTATE 01000]
Msg 8958, Sev 16, State 1, Line 17 : repair_rebuild is the minimum repair level for the errors found by DBCC CHECKDB (FSG). [SQLSTATE 01000]
Job 'SAP CCMS Check Database FSG [20080802184156]' : Step 1, 'Step1' : Began Executing 2008-09-16 03:00:39
DBCC CHECKDB (FSG) started at Sep 16 2008 3:00AM with Logfile: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\CCMS_CHECK_DB_HIST_2008.txt [SQLSTATE 01000]Hi,
1. Go SE14
2. Enter table name JEST and press Edit
3. Click on Indexes Button
4. Double click on index JEST~I
5. Click "Delete Database Index" it will delete the index
6. Now Click "Create Database Index", it will create Database index
7. Click "Activate and adjust Database" button.
This way Index recreated as per the table field.
Repeate above steps for all the indexes which gives error.
This way you can repair all the indexes which gives error -
I've Main Report + 5 sub report. All of this in a 1 file named _rptBorang.rpt.
This _rptBorang.rpt consists of
1. Main Report
2. _spupimSPMBorang.rpt
3. _spupimSTPMBorang.rpt
4. _spupimSijilDiploma.rpt
5. _spupimKoQ.rpt
6. _spupimPilihanProg.rpt
When I preview the report, the Enter values dialog box ask 7 parameters. It's
1. idx
2. tbl_MST_Pemohon_idx
3. tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)
4. tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)
5. tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)
6. tbl_MST_Pemohon_idx(_spupimKoQ.rpt)
7. tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)
My ASP.NET code as following,
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="_cetakBorang.aspx.vb" Inherits="_cetakBorang" title="SPUPIM" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1n" runat="server">
<div align="center">
<asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="true" />
</div>
</form>
</body>
</html>
Imports System.configuration
Imports System.Data.SqlClient
Imports System.Web.Security
Imports CrystalDecisions.Shared
Imports CrystalDecisions.CrystalReports.Engine
Partial Class _cetakBorang
Inherits System.Web.UI.Page
Private Const PARAMETER_FIELD_NAME1 As String = "idx"
Private Const PARAMETER_FIELD_NAME2 As String = "tbl_MST_Pemohon_idx"
Private Const PARAMETER_FIELD_NAME3 As String = "tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)"
Private Const PARAMETER_FIELD_NAME4 As String = "tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)"
Private Const PARAMETER_FIELD_NAME5 As String = "tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)"
Private Const PARAMETER_FIELD_NAME6 As String = "tbl_MST_Pemohon_idx(_spupimKoQ.rpt)"
Private Const PARAMETER_FIELD_NAME7 As String = "tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)"
Dim myReport As New ReportDocument
'rpt connection
Public rptSvrNme As String = ConfigurationManager.AppSettings("rptSvrNme").ToString()
Public rptUsr As String = ConfigurationManager.AppSettings("rptUsr").ToString()
Public rptPwd As String = ConfigurationManager.AppSettings("rptPwd").ToString()
Public rptDB As String = ConfigurationManager.AppSettings("rptDB").ToString()
Private Sub SetCurrentValuesForParameterField(ByVal reportDocument As ReportDocument, ByVal arrayList As ArrayList, ByVal paramFieldName As String)
Dim currentParameterValues As New ParameterValues()
For Each submittedValue As Object In arrayList
Dim parameterDiscreteValue As New ParameterDiscreteValue()
parameterDiscreteValue.Value = submittedValue.ToString()
currentParameterValues.Add(parameterDiscreteValue)
Next
Dim parameterFieldDefinitions As ParameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields
Dim parameterFieldDefinition As ParameterFieldDefinition = parameterFieldDefinitions(paramFieldName)
parameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
End Sub
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
publishReport(Convert.ToInt32(Session("applicantIdx")), Convert.ToInt32(Session("applicantIdx")))
End If
End Sub
Private Sub publishReport(ByVal idx As Integer, ByVal tbl_MST_Pemohon_idx As Integer)
Try
Dim reportPath As String = String.Empty
reportPath = Server.MapPath("_rptBorang.rpt")
myReport.Load(reportPath)
myReport.SetDatabaseLogon(rptUsr, rptPwd, rptSvrNme, rptDB)
Dim arrayList1 As New ArrayList()
arrayList1.Add(idx)
SetCurrentValuesForParameterField(myReport, arrayList1, PARAMETER_FIELD_NAME1)
Dim arrayList2 As New ArrayList()
arrayList2.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList2, PARAMETER_FIELD_NAME2)
Dim arrayList3 As New ArrayList()
arrayList3.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList3, PARAMETER_FIELD_NAME3)
Dim arrayList4 As New ArrayList()
arrayList4.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList4, PARAMETER_FIELD_NAME4)
Dim arrayList5 As New ArrayList()
arrayList5.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList5, PARAMETER_FIELD_NAME5)
Dim arrayList6 As New ArrayList()
arrayList6.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList6, PARAMETER_FIELD_NAME6)
Dim arrayList7 As New ArrayList()
arrayList7.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList7, PARAMETER_FIELD_NAME7)
Dim parameterFields As ParameterFields = CrystalReportViewer1.ParameterFieldInfo
CrystalReportViewer1.ReportSource = myReport
Catch ex As Exception
lblMsg.Text = ex.Message
End Try
End Sub
Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
myReport.Close()
End Sub
End Class
The result was, my ASP.NET return error --- > Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
I'm stuck
Really need help
Edited by: WKM1925 on Feb 22, 2012 11:49 AMFirst off, it would really be nice to have the version of CR you are using. Then
1) does this report work the CR designer?
2) What CR SDK are you using?
3) If .NET, what version?
4) Web or Win app?
5) What OS?
Then, please re-read your post and see if it actually makes any sense. To me, it's just gibberish...
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Goods Receipt DTW - Possible to update existing batch details?
Hello experts,
Using the three templates OIGE, IGE1, and BTNT I've managed to perform some Inventory Adjustments BY BATCH using DTW.
The issue I am having is that some of the fields in BTNT are not updating in SAP despite a successful DTW instance depending on whether the batchnumber is pre-existing or is new.
If the batch already exists, quantities are being receiving as expected but additional data such as "Notes", "InternalSerialNumber", and even some user-defined fields we have created for Appearance, Inventory Tag Number, etc. will not update. I have checked DTW mapping and it is setup correctly.
In fact, if the batch number defined in BTNT is NEW to the system these additional details load up as expected, only when it is a quantity update on the batch number do they not. I thought that since the quantity of a pre-existing batch is being update successfully via this method the other "Batch Details" should update as well.
Can anyone provide insight as to whether it is possible (and if so how) to update these batch details during a Goods Receipt or Goods Issue DTW for pre-existing batches or will it only do it for a brand new batch #?
Thanks very much,
RichardHi Richard,
Welcome you post on the forum.
I am afraid you could only update batch details when you imported them as new. You may only update the existing batch details through UI.
Thanks,
Gordon -
Stock details of a material with batch details
Hi.
I am developing a PP report for which i require the available material (un restricted stock) details and their batch details which are being displayed in MMBE (tcode). Is there any function module or BAPI or else what is the table name for finding this. Please help me for this for which i ll be very gr8 ful.
Thanks.
AshokHi Ashok,
Check these tables MARDMSEGMKPF.
Try this FM's also,
MB_READ_MATERIAL_STOCKS
MD_STOCK_REQUIREMENTS_LIST_API
Check this link.
https://forums.sdn.sap.com/click.jspa?searchID=3418879&messageID=291518
Thanks,
reward If Helpful. -
Post Author: mhamill
CA Forum: .NET
I have a report which is being published and viewed on the web via a CrystalReportViewer app to display the reports (.rpt files)All other reports are running fine.
When I run this new report in Crystal on my desktop- It works fine. When I publish to the web I get this error:
System.Runtime.InteropServices.COMException: Invalid index
[COMException (0x8002000b): Invalid index.] CrystalDecisions.ReportAppServer.DataDefModel.FieldsClass.get_Item(Int32 Index) +0 CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(Int32 index) +30 CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(String fieldName) +46 CrystalDecisions.CrystalReports.Engine.ReportDocument.SetParameterValue(String name, Object val) +144 webViewer.webViewer.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\reportTool\webViewer\webViewer.aspx.vb:68 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750
I have REMOVED the parameter field from the report and still get this error. When I view the SQL there is no WHERE clause in the statement.
Any Ideas? It is an elaborate report and I dont want to start over.Post Author: alembic
CA Forum: .NET
Hi, were you able to resolve this problem? I'm getting the same exception when I deploy my report. It works fine on my development machine. The only difference in my case is that SetParameterValue bombs when I try to set a value for a subreport parameter. -
Invalid Index Error when Report is run on Web
Post Author: mhamill
CA Forum: Crystal Reports
I have a report which is being published and viewed on the web via a CrystalReportViewer app to display the reports (.rpt files)All other reports are running fine.
When I run this new report in Crystal on my desktop- It works fine. When I publish to the web I get this error:
System.Runtime.InteropServices.COMException: Invalid index
[COMException (0x8002000b): Invalid index.] CrystalDecisions.ReportAppServer.DataDefModel.FieldsClass.get_Item(Int32 Index) +0 CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(Int32 index) +30 CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions.get_Item(String fieldName) +46 CrystalDecisions.CrystalReports.Engine.ReportDocument.SetParameterValue(String name, Object val) +144 webViewer.webViewer.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\reportTool\webViewer\webViewer.aspx.vb:68 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +750
I have REMOVED the parameter field from the report and still get this error. When I view the SQL there is no WHERE clause in the statement.
Any Ideas? It is an elaborate report and I dont want to start over.Post Author: Ted Ueda
CA Forum: JAVA
The PSReportFactory service, CR Page Server, is only for viewing Crystal Report formats, and not instances in other formats.
For the other formats, ensure you list the SI_FILES property in the InfoStore query, then cast the resulting InfoObject to IContent. The IContent interface support methods to stream the file content from the File Repository Server.
Sincerely,
Ted Ueda -
Oracle.security.jazn.JAZNRuntimeException: Invalid index
Hi all,
I'm getting this exception very often:
oracle.security.jazn.JAZNRuntimeException: Invalid index
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:480)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalStateException: Invalid index
at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreKey(StateUtils.java:68)
at org.apache.myfaces.trinidad.bean.util.StateUtils.restoreState(StateUtils.java:142)
at org.apache.myfaces.trinidad.bean.util.FlaggedPropertyMap.restoreState(FlaggedPropertyMap.java:194)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.restoreState(FacesBeanImpl.java:342)
at org.apache.myfaces.trinidad.component.UIXComponentBase.restoreState(UIXComponentBase.java:898)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:57)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processRestoreState(UIXComponentBase.java:872)
at org.apache.myfaces.trinidad.component.TreeState.restoreState(TreeState.java:96)...{code}
Usualy when I click on refresh button on browser and in many other cases that I can't recognize as some rule...
Thanks in advance,
s o v i e tHi Frank!
This error occur for me when I have "pending" PPR and I start a new one (e.g. fast clicking same button twice). Also, it may happen when I have pending lazy fetching of some table or graph and I hit some action button, or when I refresh a page using browser refresh button (while PPR is still not finished).
And I notice that it doesn't occur when I don't use ADF Controller.
I have not found cause nor workaround, expect to keep users patient until the PPR is finished (blocking attribute is not working in TP4, and your very nice glasspane trick is not appropriate for each and every button click).
Regards,
PaKo -
Report to view the batch details of the products sold month wise
Report to view the batch details of the products sold month wise.
Please send it .Dear Goutam
Use <b>MB51</b> where you can select the field "Batch".
Thanks
G. Lakshmipathi
Maybe you are looking for
-
im working at a friends and one of his computers has it installed and one doesnt. is it a third party effect/plug in? thanks, A
-
X60s...need a single keyboard key replacement...
I need to purchase a single key for my laptop (SHIFT key on the left hand side) I am not seeing this option anywhere in the parts catalog...help! Solved! Go to Solution.
-
Hi, i was wondering when the new year sale ends for creative items its not shown on the website
-
How to: Add special fonts
Hello. I will teach you how to add fonts. To make a bold font, use: " * " at the beginning and end of your text. Example: *Hello!* Will look like: Hello! To make a strike font, use: "~" at the beginning and end of your text. Example: ~Hello!~ Will l
-
I can´t hear my videos in my ipod video
hi I Bought an ipod video this week, I put a couples of video on it, but even I can the video, I can not hear it, I have tried to do severals things, but I can´t hear the videos. Please, could anybody tell me what´s going on whit my ipod video? I hav