Please Help Me Find The Reason for The Repeating Event!
The following code is intended to calculate and set metrics at the row-level and document-level of our sales documents (quotation, order, delivery note and invoice) when a new item is added to a line.
If I include 'any' of the assignment statements in this code for the oPrintGrp, oCAGM, oCAGMP, oDocCAGM, oDocCAGMP and oDocCOGS EditText fields (all included below), then the system repeats that item event 50+ times until my code (apparently) times out and crashes. I can't figure out why this might be happening. Any ideas?
If the six assignment statements for these respective variables are commented out, execution through this code snippet flows as expected, without errors and without the 50+ repeated validation events for the ItemCode field in the matrix.
Thank you, in advance, for any and all assistance!
Kind Regards,
Scott
Private Sub oApplication_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles oApplication.ItemEvent
Dim oForm As SAPbouiCOM.Form
Debug.WriteLine("FormType=" & pVal.FormTypeEx & Chr(9) & "FormUID=" & pVal.FormUID & _
Chr(9) & "ItemUID=" & pVal.ItemUID & Chr(9) & "ColUID=" & pVal.ColUID & _
Chr(9) & "EventType=" & pVal.EventType & Chr(9) & "ItemChanged=" & pVal.ItemChanged & _
Chr(9) & "BeforeAction=" & pVal.BeforeAction & Chr(9) & "Row=" & pVal.Row & _
Chr(9) & "CharPressed=" & pVal.CharPressed & Chr(9) & "PopUpIndicator=" & pVal.PopUpIndicator & _
Chr(9) & "Modifiers=" & pVal.Modifiers & Chr(9) & "ActionSuccess=" & pVal.ActionSuccess)
Try
If (pVal.FormTypeEx = "149" Or pVal.FormTypeEx = "139" Or pVal.FormTypeEx = "140" Or pVal.FormTypeEx = "133") _
And pVal.EventType = et_VALIDATE And pVal.ItemUID = "38" And pVal.ColUID = "1" Then
oForm = oApplication.Forms.GetForm(pVal.FormTypeEx, pVal.FormTypeCount)
Dim oMtx As SAPbouiCOM.Matrix
Dim oEditText, oCAGMP, oCAGM, oLineTotal, oCommAmt, oQty, oPrintGrp, oLineNum As SAPbouiCOM.EditText
Dim Price, COGM, LP, LineTotal, CommAmt, CAGMPcnt, CAGM As Double
Dim oCOT As SAPbouiCOM.ComboBox
oForm.Freeze(True)
oMtx = oForm.Items.Item("38").Specific
oPrintGrp = oMtx.Columns.Item("U_PrintGrp").Cells.Item(pVal.Row).Specific ' Print Group
oLineNum = oMtx.Columns.Item("0").Cells.Item(pVal.Row).Specific
oPrintGrp.String = oLineNum.Value ' pVal.Row
oEditText = oMtx.Columns.Item("17").Cells.Item(pVal.Row).Specific
Price = CDbl(Replace(oEditText.Value, "USD", ""))
oEditText = oMtx.Columns.Item("37").Cells.Item(pVal.Row).Specific
COGM = CDbl(Replace(oEditText.Value, "USD", ""))
oCAGM = oMtx.Columns.Item("U_CAGM").Cells.Item(pVal.Row).Specific ' Commission-Adjusted Gross Margin (CAGM)
oCAGMP = oMtx.Columns.Item("U_CAGMPcnt").Cells.Item(pVal.Row).Specific ' CAGM %
oLineTotal = oMtx.Columns.Item("21").Cells.Item(pVal.Row).Specific
LineTotal = CDbl(Replace(oLineTotal.Value, "USD", ""))
oCommAmt = oMtx.Columns.Item("U_CommAmt").Cells.Item(pVal.Row).Specific ' Commission Amount
CommAmt = CDbl(Replace(oCommAmt.Value, "USD", ""))
oCOT = oMtx.Columns.Item("U_COT").Cells.Item(pVal.Row).Specific
oQty = oMtx.Columns.Item("11").Cells.Item(pVal.Row).Specific
If oCOT.Selected.Value <> "Type 2" Then
CAGM = oQty.Value * (Price - COGM + CommAmt)
Else
CAGM = CommAmt
End If
If Price <> 0 Then
CAGMPcnt = Math.Round(100 * (CAGM / LineTotal), 2)
Else
CAGMPcnt = 0
End If
oCAGM.String = CStr(CAGM)
oCAGMP.String = CStr(CAGMPcnt)
Dim Doc_COGS, Doc_SubTotal, Doc_SubTotal2 As Double
Dim oPrice, oCOGS, oDocCAGM, oDocCAGMP, oDocCOGS As SAPbouiCOM.EditText
Dim oLinetype As SAPbouiCOM.ComboBox
Dim i As Integer
CAGM = 0
CAGMPcnt = 0
Doc_COGS = 0
Doc_SubTotal = 0
For i = 1 To oMtx.VisualRowCount - 1
oLineType = oMtx.Columns.Item("257").Cells.Item(i).Specific
If (oLineType.Selected.Value = "") Then
oPrice = oMtx.Columns.Item("17").Cells.Item(i).Specific() ' Price
Price = CDbl(Replace(oPrice.Value, "USD", ""))
oCOGS = oMtx.Columns.Item("37").Cells.Item(i).Specific() ' COGS
COGM = CDbl(Replace(oCOGS.Value, "USD", ""))
oQty = oMtx.Columns.Item("11").Cells.Item(i).Specific() ' Quantity
oCommAmt = oMtx.Columns.Item("U_CommAmt").Cells.Item(i).Specific() ' Commission
CommAmt = CDbl(Replace(oCommAmt.Value, "USD", ""))
oCOT = oMtx.Columns.Item("U_COT").Cells.Item(i).Specific
If oCOT.Selected.Value <> "Type 2" Then
CAGM = CAGM + oQty.Value * (Price - COGM + CommAmt)
Doc_COGS = Doc_COGS + (oQty.Value * COGM)
Else
CAGM = CAGM + oQty.Value * CommAmt
End If
oLineTotal = oMtx.Columns.Item("21").Cells.Item(i).Specific()
Doc_SubTotal = Doc_SubTotal + CDbl(Replace(oLineTotal.Value, "USD", ""))
End If
Next
oEditText = oForm.Items.Item("42").Specific ' <= Document-Level Discounts
Doc_SubTotal = Doc_SubTotal - CDbl(Replace(oEditText.Value, "USD", ""))
CAGM = CAGM - CDbl(Replace(oEditText.Value, "USD", ""))
If Doc_SubTotal <> 0 Then
CAGMPcnt = 100 * (Doc_SubTotal - Doc_COGS) / Doc_SubTotal
Else
CAGMPcnt = 0
End If
oDocCAGMP = oForm.Items.Item("CAGMPcnt").Specific
oDocCAGMP.String = CStr(Math.Round(CAGMPcnt, 2))
oDocCAGM = oForm.Items.Item("CAGM").Specific
oDocCAGM.String = CStr(Math.Round(CAGM, 2))
oDocCOGS = oForm.Items.Item("TTL_COGS").Specific
oDocCOGS.String = CStr(Math.Round(Doc_COGS, 2))
oForm.Freeze(False)
oMtx.AutoResizeColumns()
End If
Catch ex As Exception
oApplication.MessageBox("ItemEvent():" & vbNewLine & _
"Source = " & ex.Source & vbNewLine & _
"Message = " & ex.Message & vbNewLine & _
"HelpLink = " & ex.HelpLink.ToString & vbNewLine & _
"StackTrace = " & ex.StackTrace.ToString)
End Try
End Sub
After entering all my data into the header of the quotation form and having placed the first item into the ItemCode field on the first row of the item matrix, I proceed to hit <TAB>. This is the output from the add-on program to the Debug window in Visual Studio at the point of hitting the <TAB> until a modal dialogue box is presented to me in Business One reading "UI Add-on server is down" with selections to "Continue working without Add-ons" or "Log off current company".
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=2 ItemChanged=False BeforeAction=True Row=1 CharPressed=9 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
The thread '<No Name>' (0xa8c) has exited with code 0 (0x0).
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
FormType=149 FormUID=F_23 ItemUID=38 ColUID=1 EventType=10 ItemChanged=False BeforeAction=False Row=1 CharPressed=0 PopUpIndicator=0 Modifiers=0 ActionSuccess=False
The program '[2076] ABYMods.exe' has exited with code 0 (0x0).
Hi Scott,
the innerEvent means that the event is triggered from within another event.
If you by example check for a lost focus of column1 and in the lost focus event column3 is changed, than from within the lost focus for column1 a got focus and lost focus for column3 is generated. Hence the innerEvent = true.
We had the same problem and solved it also this way.
Kind regards,
Ad
Similar Messages
-
Why doesn't my iPhone 4 have an 'Internet tethering' options? Is it carrier related or iOs related? Please help me find the solution for this. thanx
Personal Hot spot
http://support.apple.com/kb/HT3574
Understanding
http://support.apple.com/kb/HT4517
Trouble Shooting
http://support.apple.com/kb/TS2756 -
Please help me find the error in the annex VI,access
Hello, everyone, this is a program about ACCESS, please help me find the error in the annex VI, why do I always run time error. Thank you very much.
Attachments:
write access test.vi 22 KBThank you for your reply, I have an attachment process map, could you help me change it, I just want to put my number in the array can continue to update the database. And I want to create a table.
this is my msn :[email protected]
Waiting for your reply on line
谢谢你的回复,我的附件中有程序图,能不能帮我改一下,我只是希望,把我的数组中的数能够持续的更新在数据库中。并且创建一个我想要的表。 -
I am currently getting finder error screen saying "Quartz-filter plugin" error, Please report to apple. Can anyone please help me find a resolution for this error?
If it were me I would schedule an appointment at the store where you bought it and meet with the Manager of the store in person. Print this post and bring it with you along with your iMac.
And change the password on your Apple ID and then see if there are in purchases in your account that you did not make. If there are then someone did get your ID and password. If not someone got your Credit Card information from somewhere and used it. -
Please help to find the correct answers
Hi,
Please send an url to study about the below questions with short and easily understandable explanation with simple example.Please help to improve my knowledge for the below concepts.
1. String
2. String Buffer
3. String Builder
4. finally
5. final
6. finalize
7. static
8. Abstract Class
9. Interface
10. Inheritance
11. Overloading
12. Overriding
13. Wrapper class
14. Collection
15. Array
16. Array List
17. Linked List
18. Vector
19. Hash Table
20. Hash Map
21. Hash Set
22. Tree Set
23. Set
24. List
25. Map
26. Itterator
27. Enumeration
28. Comparator
29. Comparable
30. Auto Boxing and Un Boxing
31. Generics
32. JDBC Drivers
33. Statement
34. Prepared Statement
35. Callable Statement
36. ResultSet
37. Stub and Skelton
38. Marshalling and UnMarshalling
39. Sterilization
40. Synchronization
41. Thread
42. Servlet Life Cycle
43. Generic Servlet
44. HttpServlet
45. RequestDispacher
46. Forward
47. Redirect
48. ServletContext
49. ServletConfig
50. Filter
51. Throttle Filter
52. GZip Filter
53. Session Handling
54. Jsp Life Cycle
55. JSP Action tags
56. JSP Include Directives
57. JSP: plug-in
58. MVC Pattern
59. Implementation of struts using mvc with flow
60. Hibernate
61. EJB
62. Session Bean
63. Entity Bean
64. Inner Join
65. Outer Join
66. Left outer Join
67. Right Outer Join
68. Stored Procedure and how to call in java
Thanks in advance,
Regards,
Saravanan.KNote: This thread was originally posted in the [CLDC and MIDP|http://forums.sun.com/forum.jspa?forumID=76] forum, but moved to this forum for closer topic alignment.
To the Original Poster: the forum does not function as your personal homework solving process. If you have specific questions about these subjects that's fine.
Meanwhile I suggest you read [The Java Tutorials|http://java.sun.com/docs/books/tutorial/]
Edited by: dcminter on 08-Sep-2009 15:02 -
Can someone please help me find the correct driver for my audio ca
Hello, it's famke again...Still trying to find drivers.. My sound card is apparently also missing drivers... I've tried many drivers from different sites matching the information i've taken off the card...but for some reason i always get a big red slash through my audigy sound control panel after trying to install the driver and reboot my system... I'm convinced i haven't been able to find the correct driver... The information off the card is...Soundblaster Audigy 2ZS M:SB0350... If anyone can help out i would greatly appreciate this...Famke.
I'm new to this, but I also had trouble for a while in finding and installing the right drivers. Eventually I got it to work with the link below. Follow the steps and select everything it suggests (I did and it worked for me). You might want to try it and see if it works for you too. Good Luck. http://www.creative.com/language.asp...wnloads/su.asp
-
Please help in finding the bug in this BDC for FB01
Please find the bug in the following BDC for FB01 of mine. It picks up the entries from the very first record of the excel file, every time.
report ZFI_BDC
no standard page heading line-size 255.
data: bdcdata1 like bdcdata occurs 0 with header line.
data : vf_index type i.
DATA: BEGIN OF ENTRIES occurs 0,
BLDAT(8),
BUKRS(4),
BLART(2),
WAERS(5),
BUDAT(8),
RECNO(5),
NEWBS(2),
NEWKO(17),
NEWNUM(1),
WRBTR(13),
GSBER(4),
SECCO(4),
zuonr(18),
SGTXT(50),
NEWBS_2(2),
NEWKO_2(17),
NEWNUM_2(1),
WRBTR_2(13),
GSBER_2(4),
SECCO_2(4),
zuonr_2(18),
SGTXT_2(50),
no type i,
END OF ENTRIES.
DATA: BEGIN OF ENTRIES2 OCCURS 0 ,
BLDAT(8),
BUKRS(4),
BLART(2),
WAERS(5),
BUDAT(8),
RECNO(5),
NEWBS(2),
NEWKO(17),
NEWNUM(1),
WRBTR(13),
GSBER(4),
SECCO(4),
zuonr(18),
SGTXT(50),
NEWBS_2(2),
NEWKO_2(17),
NEWNUM_2(1),
WRBTR_2(13),
GSBER_2(4),
SECCO_2(4),
zuonr_2(18),
SGTXT_2(50),
no type i,
END OF ENTRIES2.
DATA: TEMP(8),
DOCDATE(8),
SPLGL(1),
PKEY(2),
GL(17),
VCHAMT(13),
BUSAREA(4),
SECCODE(4),
zzuonr(18),
COSTCEN(10),
AUFNR(3),
SGTXT(50),
item(50) TYPE c,
DS TYPE I,
DS2 TYPE I.
data : vf_start_col type i value '1', "start column
vf_start_row type i value '1', "start row
vf_end_col type i value '256', "maximum column
vf_end_row type i value '65536', "maximum row
p_text(20). "stores error messages
Internal Table
data : it_excel type kcde_cells occurs 0 with header line.
*/ Field symbol
field-symbols : <fs>.
parameters: p_file LIKE rlgrap-filename MEMORY ID M01,
NOHEADER AS CHECKBOX.
parameters: COMPANY(4) TYPE C DEFAULT 'SCL',
GROUP(12) TYPE C DEFAULT 'BDCTEST',
USER(12) TYPE C DEFAULT SY-UNAME,
KEEP(1) TYPE C DEFAULT 'X',
POSTDATE LIKE SY-DATUM DEFAULT SY-DATUM,
DOC_TYPE(2) TYPE C DEFAULT 'SA',
HOLDDATE LIKE SY-DATUM.
***********************************************upload data from excel
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_file
i_begin_col = VF_START_COL
i_begin_row = VF_START_ROW
i_end_col = VF_END_COL
i_end_row = VF_END_ROW
tables
intern = IT_EXCEL
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3 .
IF sy-subrc <> 0.
WRITE: / 'EXCEL UPLOAD FAILED :', p_file, SY-SUBRC.
else.
sort it_excel by row col.
loop at it_excel.
IF NOHEADER = 'X'
AND It_EXCEL-row = 1.
CONTINUE.
ENDIF.
vf_index = it_excel-col.
assign component vf_index of structure ENTRIES to <fs>.
move it_excel-value to <fs>.
at end of row.
append ENTRIES.
clear ENTRIES.
endat.
endloop.
endif.
start-of-selection.
DS = 1.
LOOP AT ENTRIES.
ENTRIES-NO = DS.
MODIFY ENTRIES.
DS = DS + 1.
*ON CHANGE OF ENTRIES-zuonr.
*DS = 1.
*ENTRIES-NO = DS.
*MODIFY ENTRIES.
*DS = DS + 1.
*ENDON.
ENDLOOP.
LOOP AT ENTRIES where no = 1.
MOVE-CORRESPONDING ENTRIES TO ENTRIES2.
APPEND ENTRIES2.
CLEAR ENTRIES2.
ENDLOOP.
DS2 = 1.
LOOP AT ENTRIES2.
ENTRIES2-NO = DS2.
MODIFY ENTRIES2.
DS2 = DS2 + 1.
*ON CHANGE OF ENTRIES2-zuonr.
*DS2 = 1.
*ENTRIES2-NO = DS2.
*MODIFY ENTRIES2.
*DS2 = DS2 + 1.
*ENDON.
ENDLOOP.
LOOP AT ENTRIES.
REFRESH BDCDATA1.
WRITE: / ENTRIES-RECNO,
ENTRIES-NEWBS,
ENTRIES-NEWKO,
ENTRIES-NEWNUM,
ENTRIES-WRBTR,
ENTRIES-GSBER,
ENTRIES-SECCO,
ENTRIES-ZUONR,
ENTRIES-SGTXT.
ENDLOOP.
WRITE: / 'THIS IS THE BDC PROGRAM FOR SAMTEL'.
TEMP = POSTDATE.
DOCDATE = TEMP+6(2).
DOCDATE2(2) = TEMP4(2).
DOCDATE4(4) = TEMP0(4).
*delete ENTRIES where no = 1.
delete ENTRIES2 where no = 2.
clear ENTRIES.
clear ENTRIES2.
LOOP AT ENTRIES .
if ENTRIES-no = 2.
perform bdc_dynpro using 'SAPMF05A' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BKPF-BLDAT' "DOCDATE.
ENTRIES-BLDAT.
perform bdc_field using 'BKPF-BLART' "DOC_TYPE.
ENTRIES-BLART.
perform bdc_field using 'BKPF-BUKRS' "COMPANY.
ENTRIES-BUKRS.
perform bdc_field using 'BKPF-BUDAT' "DOCDATE.
ENTRIES-BUDAT.
perform bdc_field using 'BKPF-WAERS' "INR'.
ENTRIES-WAERS.
perform bdc_field using 'RF05A-NEWBS'
ENTRIES-NEWBS.
perform bdc_field using 'RF05A-NEWKO'
ENTRIES-NEWKO.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_CURSOR'
'BSEG-SGTXT'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
ENTRIES-WRBTR.
perform bdc_field using 'BSEG-SGTXT'
ENTRIES-SGTXT.
perform bdc_dynpro using 'SAPLKACB' '0002'.
perform bdc_field using 'BDC_CURSOR'
'COBL-GSBER'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'COBL-GSBER'
ENTRIES-GSBER.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
ENTRIES-WRBTR.
perform bdc_field using 'BSEG-SGTXT'
ENTRIES-SGTXT.
perform bdc_field using 'RF05A-NEWBS'
ENTRIES-NEWBS.
perform bdc_field using 'RF05A-NEWKO'
ENTRIES-NEWKO.
perform bdc_dynpro using 'SAPLKACB' '0002'.
perform bdc_field using 'BDC_CURSOR'
'COBL-GSBER'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'COBL-GSBER'
ENTRIES-GSBER.
perform bdc_dynpro using 'SAPMF05A' '0301'.
*perform bdc_field using 'BDC_CURSOR'
'BSEG-SGTXT_2'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
ENTRIES-WRBTR_2.
perform bdc_field using 'BSEG-GSBER'
ENTRIES-GSBER_2.
perform bdc_field using 'BSEG-SGTXT'
ENTRIES-SGTXT_2.
perform bdc_dynpro using 'SAPMF05A' '0301'.
perform bdc_field using 'BDC_CURSOR'
'BSEG-WRBTR'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'BSEG-WRBTR'
ENTRIES-WRBTR_2.
perform bdc_field using 'BSEG-GSBER'
ENTRIES-GSBER_2.
perform bdc_field using 'BSEG-SGTXT'
ENTRIES-SGTXT_2.
call transaction 'F-02' using bdcdata1 mode 'A'.
else.
perform bdc_dynpro using 'SAPMF05A' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BKPF-BLDAT' "DOCDATE.
ENTRIES-BLDAT.
perform bdc_field using 'BKPF-BLART' "DOC_TYPE.
ENTRIES-BLART.
perform bdc_field using 'BKPF-BUKRS' "COMPANY.
ENTRIES-BUKRS.
perform bdc_field using 'BKPF-BUDAT' "DOCDATE.
ENTRIES-BUDAT.
perform bdc_field using 'BKPF-WAERS' "INR'.
ENTRIES-WAERS.
perform bdc_field using 'RF05A-NEWBS'
ENTRIES-NEWBS.
perform bdc_field using 'RF05A-NEWKO'
ENTRIES-NEWKO.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_CURSOR'
'BSEG-SGTXT'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
ENTRIES-WRBTR.
perform bdc_field using 'BSEG-SGTXT'
ENTRIES-SGTXT.
perform bdc_dynpro using 'SAPLKACB' '0002'.
perform bdc_field using 'BDC_CURSOR'
'COBL-GSBER'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'COBL-GSBER'
ENTRIES-GSBER.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_CURSOR'
'RF05A-NEWKO'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
ENTRIES-WRBTR.
perform bdc_field using 'BSEG-SGTXT'
ENTRIES-SGTXT.
perform bdc_field using 'RF05A-NEWBS'
ENTRIES-NEWBS_2.
perform bdc_field using 'RF05A-NEWKO'
ENTRIES-NEWKO_2.
perform bdc_dynpro using 'SAPLKACB' '0002'.
perform bdc_field using 'BDC_CURSOR'
'COBL-GSBER'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'COBL-GSBER'
ENTRIES-GSBER_2.
perform bdc_dynpro using 'SAPMF05A' '0301'.
**perform bdc_field using 'BDC_CURSOR'
'BSEG-SGTXT_2'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
ENTRIES-WRBTR_2.
perform bdc_field using 'BSEG-GSBER'
ENTRIES-GSBER_2.
perform bdc_field using 'BSEG-SGTXT'
ENTRIES-SGTXT_2.
perform bdc_dynpro using 'SAPMF05A' '0301'.
perform bdc_field using 'BDC_CURSOR'
'BSEG-WRBTR'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'BSEG-WRBTR'
ENTRIES-WRBTR_2.
perform bdc_field using 'BSEG-GSBER'
ENTRIES-GSBER_2.
perform bdc_field using 'BSEG-SGTXT'
ENTRIES-SGTXT_2.
call transaction 'F-02' using bdcdata1 mode 'A'.
endif.
ENDLOOP.
clear entries.
refresh entries.
Start new screen *
form bdc_dynpro using program dynpro.
clear bdcdata1.
bdcdata1-program = program.
bdcdata1-dynpro = dynpro.
bdcdata1-dynbegin = 'X'.
append bdcdata1.
endform.
Insert field *
form bdc_field using fnam fval.
clear bdcdata1.
bdcdata1-fnam = fnam.
bdcdata1-fval = fval.
append bdcdata1.
endform.Alok,
1) Write upload data from excel in Start of selection
2) I could not find any need for table entries2 in the logic.
3) I feel the data mapping from the uploaded file is wrong. Can you look into http://www.sapdevelopment.co.uk/file/file_upexcelalt1.htm for the proper usage. Actually, this logic will work. Similar way you can map the data to your internal table <b>entries</b>
4) BDC part I feel its ok.
Let me know if you have still error after these steps.
Rgds,
TM -
Socket Closed error please help us finding a fix for the same
Hi everyone,
I have a web application deployed on Weblogic 10.3.4.0. In the application there is hyperlink to download a resouce (say an PDF document). Upon clicking the link, IE shows the Open/Save/Cancel dialog box. If the Open/Save/Cancel dialog box is not acted upon by the user within 1 min after it pops up, Weblogic is closing the socket. This causes IE to only download a part of the file say 784 KB or something. Whereas the entire file maybe 1MB in size. Please help in fixing this issue ASAP.
Thanks in Advance
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
at weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:249)
at weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
at weblogic.servlet.internal.CharsetChunkOutput.implWrite(CharsetChunkOutput.java:396)
at weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:198)
at weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:139)
at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:169)
at com.teja.systemi.util.AroundData.copyStream(AroundData.java:311)
at com.teja.systemi.client.servlet.servant.Newdownloadsingle.producePageData(Newdownloadsingle.java:108)
at com.teja.systemi.client.servlet.servant.BaseViewController.serve(BaseViewController.java:542)
at com.teja.systemi.client.servlet.FrontController.doRequest(FrontController.java:226)
at com.teja.systemi.client.servlet.FrontController.doPost(FrontController.java:128)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Edited by: 910597 on Jan 27, 2012 2:15 AMWhat do you mean by "moo" ?
Huh? You don't know about the moo? Are you livin' in a barn or sumthin'
Sorry, corny joke.
Seriously--if you haven't heard about the moo, then check out the MacBook forums. Nearly every third or fourth post is about the mooing problem.
My own MacBook moos, but it's not so bad that it makes me upset. I understand, though, that others have it much worse.
Black Macbook; Mini 1.5GHz (Late 2005); Mini 1.4GHz; PB G4 1GHz; PB Lombard; PB 2400; PMac G3; Blueberry iMac; iPod nano 4GB; and a talking Bill King bobblehead doll--Holy Toledo! -
Please help in finding the error in this code
Dear Friends,
I am trying to make the value of 'Shift' on the basis of BLDAT CPUDT & CPUTM of MKPF but I am doing something wrong. Kindly have a look at the following code, especially the IF..ELSEIF section and help me in finding the error.
Regards,
Alok.
SELECT MBLNR MJAHR BKTXT BUDAT BLDAT CPUDT CPUTM USNAM
INTO CORRESPONDING FIELDS OF TABLE I_MKPF1
FROM MKPF
WHERE
BUDAT EQ S_BUDAT AND
TCODE2 EQ 'MFBF'.
********************************************************ALOK 01.02.07
LOOP AT I_MKPF1.
I_MKPF-MBLNR = I_MKPF1-MBLNR.
I_MKPF-MJAHR = I_MKPF1-MJAHR.
I_MKPF-BKTXT = I_MKPF1-BKTXT.
I_MKPF-BUDAT = I_MKPF1-BUDAT.
I_MKPF-BLDAT = I_MKPF1-BLDAT.
I_MKPF-CPUDT = I_MKPF1-CPUDT.
I_MKPF-CPUTM = I_MKPF1-CPUTM.
I_MKPF-USNAM = I_MKPF1-USNAM.
IF ( ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM < '160000' )
AND ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) ).
I_MKPF-SHIFT = 'A'.
ELSEIF ( ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM <= '110000' )
AND ( I_MKPF1-BLDAT <> I_MKPF1-CPUDT ) ).
I_MKPF-SHIFT = 'C'.
ELSEIF ( ( I_MKPF1-CPUTM >= '160000' AND I_MKPF1-CPUTM < '000000' )
AND ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) ).
I_MKPF-SHIFT = 'B'.
ENDIF.
APPEND I_MKPF.
CLEAR I_MKPF.
ENDLOOP.Hi.
IF ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM < '160000' )
AND ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) .
I_MKPF-SHIFT = 'A'.
ELSEIF ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM <= '110000' )
AND ( I_MKPF1-BLDAT <> I_MKPF1-CPUDT ) .
I_MKPF-SHIFT = 'C'.
ELSEIF ( I_MKPF1-CPUTM >= '160000' AND I_MKPF1-CPUTM < '000000' )
AND ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) .
I_MKPF-SHIFT = 'B'.
ENDIF.
Try the above code ..
Regards
Sudheer -
Please help me find the right tool for the VGA Card bracket switching job
Okay I found a great PCI-e x16 Half Height Card, however it was installed with a full height bracket. It also included a low profile bracket, but what is the correct tool I need to change out the bracket?
Can I get these tools at Best Buy? Please tell me the exact specifications and dimensions of
the tool I need and I can be gaming as early as tomorrow afternoon!
*******DISCLAIMER********
I am not an employee of BBY in any shape or form. All information presented in my replies or postings is my own opinion. It is up to you , the end user to determine the ultimate validity of any information presented on these forums.Replied to in double post timed 10 minutes later. 'What password protected address book App' etc.
-
Please help me find the most graphically competant PC in existance
Hi there.
This isn't strictly Arch-related, but probably the best place for a post like this nonetheless
The mandatory story (scroll down if you're short on time or are like "TL;DR")
Over the past few weeks, I've posted on forums, listened to people on IRC, thought, thought some more, and tried to get an idea of the kind of the computer I need. And, after way too much stringing myself out over the whole issue, I've finally decided to give up.
You guys know Linux, in the sense that some of you use Linux for the reasons I want/need to run Linux for, and run the applications I want/need to run. So you're walking reviews of how responsive your hardware is under the stress you put it under (if you do at all), and in a prime position to explain to me what I need.
Up until now, I've used old hardware that's anywhere between "OUCH." and "*faints*" behind today's tech - I was using DOS in 1997, Win 3.1 in 2000, and Win98 in 2005-2006. Then things took a turn for the better (I believe in God so I know he had something in that change of events) and I got an old P4 with 512MB RAM. And that's when I was able to finally install XP - and when XP went to the "wow" I could never make my own to the "bleough, get this thing off me" it is, aka I "saw the light". And installed Linux. Arch Linux.
But I've finally outgrown this PC by several Saturn-sized margins, and need a new one. I've processed a lot of information, did quite a cram (that didn't even break a sweat although I thought it would, like this comic strip ) and learned about FSBs, RAM speed/timings and the like in less than a week, finally put my finger on the reason why my PC is so slow, learned about RAM size and so on... and started churning out keywords like a quad-core processor, 8GB RAM, etc... then it went to 16 cores, 32GB RAM, then 64GB RAM... and then things got really bad.
Everything reached a "capacity head" when I noticed that Intel are going to be releasing a 6-core chip as the last of their Penryn line, and mentioned this to a friend (who has a way bigger handle on hardware than I do, and taught me most of what I know), and shortly after other (related) topics were discussed he showed me this motherboard (he actually showed me this URL, the first URL the product page) that would work with it. That board has space for 192GB of RAM... enough said? Enough said. Ooh, right - it also has space for 4 of those 6-core Intel thingies. I don't think anyone can beat 24 cores. Well, AMD will be able to, with their 12-core chips they're releasing sometime... but then Intel will pwn them with their own 6-core Nehalems (which have HT, so 12-core) and we'll have 48 cores... and it will all continue.
Now, that server board is only $1195. I'd think that a few people could manage to do a bit of saving and scrimping to get a board like that, and I was figuring out how to do exactly that... until my friend told me the small issue that that board has 24 RAM slots, and a single 8GB stick of FBDIMM RAM is going to set me back a relatively manageable $1,100! $25k for RAM anybody?!
That board was off the list quickly. Very quickly
And my ideas... they just all ended. I like the idea of 24 cores a lot, because I'd be able to run 24 different Linux distros at once, or perhaps encode a DVD while playing a really intensive game through WINE through while being logged in to 10 Folding@Home accounts while load-testing 8 different Linux distros in VMs to see their performance differences while watching a Blu-Ray disc on another screen while keeping an eye on a full-motion animation I was developing using Blender while I was running Chrome over WINE in another window for the lulz. But... who's going to do that, except for a "look at me" video or two (that would quickly become one of the most viewed videos whereever it went )?
I mentioned the current hardware I have above to give you an idea of what I can, and can't, do right now - what I can't do includes animation. My PC maxes out watching youtube - or any video for that fact. It just makes the CPU hit 100%. And if you think that's because of Flash being absolute garbage on Linux, when I play stuff in mplayer, it typically hits 70% at the default window size. Yes, this is the bane of having a garbage GPU, one of the other things I need to upgrade. But case in point, not only can I not do animation, I can't do a lot of other things, and since pretty much most of my friends are online and not physical (how I like it), I'm not really able to try out other PCs from a "local" standpoint and see how they fare under differing circumstances. Plus, most of my friends' PCs are as bad as mine . If I look at that system from a possibility perspective, I see a system that can do whatever I want it to. Not mainly from a RAM perspective, but from a processing perspective - animation. And I want to get into animation, but I don't know where to start spec-wise. And I think that a server board with 192GB of RAM will be able to render animation really well. Scheduled animation, that is, not realtime animation, and area I want to get into also. Plus, that board doesn't have a lot of PCI slots...
But in case you haven't noticed, I don't know what I need in order to do what I want so I'm massively overcompensating to the extent that I'm breaking the bank.
The point
What I want is to be able to...
...throw any type of visual medium at my PC and expect it to respond in a nanosecond. Be that a high-definition movie from a BD-DVD or my hard disk, a complex realtime animation I just coded (or however you create that sort of thing), or both at the same time, I want it to play with graphics capability to spare for a (considerably) graphically complex game, even one running through WINE.
...run 3 30" displays off my system and expect them all to run at 50 or 70fps with all 12288000 pixels of the 3 screens updating at the same time.
...run a decent number of VMs at once, say 8 or 12.
...edit impossibly large images and still have a responsive system.
...keep an insane (1000+) number of tabs open in Firefox, indefinitely.
I think (read: hope) you're getting an idea of the kind of system I want here. Something that heads heavily into the field of realtime graphics management, but also something that functions just as well as an ordinary PC.
Some other points to note:
* I want to be able to leave my PC on at night without it chewing its way through the local power station's reserves.
* I want a decent amount of diskspace, say 5 or 10 TB. I currently have around 400GB of old files and triplicates of my duplicates, and I've not been able to sort it out. Ever. In 7 years. Meep? Meep. And for the ickies among you lot, FYI, none of that will be for pr0n. Just in case you missed the vague I-am-a-Christian hint in the paragraphs above (or went TL;DR at it).
* I don't need a quiet system. Yes, I'm not joking, I don't care. Provided it's not a jet engine.
* Watercooling is out, Zalman CPU coolers are in.
* Overclocking is out - well, major overclocking anyway. I've never overclocked before, and I'll likely wander into my BIOS one day and be like *read manual* *doublecheck manual* "okay, if I raise that by 1 MHz..."
* Nehalem - no thanks. It's version 1.0 (well it will be when it comes out), and Linux hasn't had a chance to take advantage of all the new stuff that is likely to surface about the new chip. No, that isn't a hint, it's a random realization I just had, and I don't work for and am not related to Intel or anyone who works there.
What I've been thinking is a good target:
* An 8-core system by way of a dual-socket board and two 4-core chips
* Two ATI Radeon 4870X2s for graphics
* 3 HP LP3095 10-bit 30" LCDs
* A G15 keyboard
* Both MX Air and MX Revolution mice (for different situations)
* A Lian-Li PC-V2110B case (yes, $500, but it looks awesome while not looking violent)
* Somewhere between 8 and 64GB of RAM, depending on how much you think I need.
Price isn't really an issue here; I'm interested in knowing what I need for a working system - this is my first big upgrade and big upgrades don't cost $1. Or ¥1. Or €1.
So... that's all I know for sure. Everything else is "?!?!?!?!... *dies*". And I've given up trying to respawn and think about it anymore.
-dav7
Last edited by dav7 (2008-09-15 01:18:28)That's going to be a ridiculous waste of money and energy.
First of all, the current ATI drivers don't support multiple GPUs, so at the moment even a single 4870X2 would be only a 'normal' 4870 (which is quite a speed beast already). GFX drivers evolve rapidly, so things might look different next month, but when it comes to Linux and hardware there's one Golden Rule: stay away from the newest stuff and wait for proper support to get coded.
I also wonder what power supply could possibly cope with the differences between idle and full load; that's way beyond 400W. But then, I'm one of those "quiet&green" types where >100W idle is already a bit much.
I kind of understand that you want to get it done and not worry about hardware for the next 10 years or so, but that's simply not how the hardware world works and never did. At least not for the average consumer. -
Please help to find the error in the following code
REPORT ZTESTSAMPLE.
CLASS C1 DEFINITION.
PUBLIC SECTION.
METHODS M1.
ENDCLASS.
CLASS C1 IMPLEMENTATION.
METHOD M1.
WRITE: /'HELLO'.
endmethod.
endclass.
DATA OREF TYPE REF TO C1.
*CREATE OBJECT OREF.
OREF->M1().Hi,
here is the solution
CLASS C1 DEFINITION
CLASS c1 DEFINITION.
PUBLIC SECTION.
METHODS m1.
ENDCLASS. "C1 DEFINITION
CLASS C1 IMPLEMENTATION
CLASS c1 IMPLEMENTATION.
METHOD m1.
WRITE: /'HELLO'.
ENDMETHOD. "M1
ENDCLASS. "C1 IMPLEMENTATION
DATA : oref TYPE REF TO c1.
START-OF-SELECTION.
CREATE OBJECT : oref.
CALL METHOD oref->m1.
reward if helpful -
Please help me find the location of PSE 12 program download
I need to re-download a copy of PSE 12. Can't find my discs and I have a new computer. So I need a link to downloading a non current copy of PSE. Thanks.
Download Photoshop Elements products | 12, 11, 10
-
Help me find the download link [SB0570 ]
Please help me. I see that my Audigy SE [Model NO. SB0570 ] is listed in win7 driver availability list but everytime I go to the support homepage for Audugy SE http://support.creative.com/Products...ctDetails.aspx I don't see any driver download option. Please help me find the download link for the driver for Win 7 64-BIT os.
Please!Hello LastBOSS,
Get it here. Welcome on board! -
I misplace my iPad mini white with a pink case in eagle Rock mall on Friday may 16,2014 on one of the couches second level. Glendale Cali.please help me find it I got it for my graduation :(
If you had "Find My iPad" enabled in Settings > iCloud then you may be able to locate it. If not, you cannot locate it.
If it was enabled then you can try locating it via http://icloud.com on a computer or the App "Find My iPhone" on another iDevice. Note: this will only work if your device is connected to a network and the device hasn't already been restored as new and/or "Find My iPad" has not been disabled on it. Note: Disabling "Find My iPad" is much more difficult in iOS 7.
If you think that your device was stolen rather than lost then you should report it to the police. In either case you should contact your carrier, change your iTunes account password, your email account passwords, and any passwords that you'd stored on websites/emails/notes etc.
See also here for additional information: http://support.apple.com/kb/HT5668
Maybe you are looking for
-
I apologize if this has already been addressed, I couldn't find anything. I have created a podcast at: http://www.thecreationshop.com/category/blog and built my first enhanced podcast with GarageBand. I believe I have done everything right because th
-
How to print the mirror image of a pdf file?
Hi, Does anyone know if it is possible to print the mirror image of a pdf file? I could have sworn I have done this before in an older version of Acrobat. I am currently working with Adobe Acrobat 8.0 Professional. Thank you, Tina
-
Unable to digitally sign or encrypt messages in Mail
I recently switched from a PC to a Mac and I have been unable to digitally sign or encrypt any of my e-mails. I'm currently running version 3.3 (926.1/926) for Mail and I made sure that my .cer security certificate is located in Keychain Access as we
-
Deploying Oracle Express and Java Application in one installation
Is there a way to deploy a Java application using Oracle express as the back end in one installation? So in other words, rather than installing oracle express separately from the application, we are looking to install from one executable including bo
-
HT1237 BootCamp/Vista problems
I installed Windows Vista on my macbook via bootcamp. The install went well or so i thought. Now that windows is installed, the computer does not see any wireless networks or when plugged into the router the internet. I also do not see how I switch b