CProjects - Define new value in urgency field
Hi All,
I have a cProject & has few resources also. And now i need to fill the urgency field with some pre defined values. Right now i can see 4 values here under drop down list & i want to change these description with our own description. How can i do this ?
Path : Open cProject >> Click on resources tab >> Under General tab there is a field called Urgency. Pls help me out to meet this rqmt.
regds,
CB
Try this
Private oBusinessForm As SAPbouiCOM.Form
Set oBusinessForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType,pVal.FormTypeCount)
''Initialize kpkonto item here as
kpkonto=oBusinessForm.Items,Item("UID").specific
kpkonto.Value = "100"
Regards,
Mahendra
Similar Messages
-
No possibility to control rights by defining new values in activities
Hello,
there is no possibilty to control rights by defining new values in activities.
In servicecalls there is the possibility to fobit users define e.g a new status value over authorities.
The same issue is exposed in activities. But there is no authority which you can use to forbit users defining new values under e.g Type or topic.
It is very neccessary to control the user rights in this case.
It is very illogical to forbit users creating new values in servicecalls but under activities they are allowed to do that!!!!!Not all of the listed email recipients on my contact form are receiving the inquiries. Muse allows me to add several email addresses separated by a semi-colon (see below from Corey Wrote) but only one of the three addresses are receiving the contact form inquiries.
Corey@Adobe wrote:
Forms
We've added a new Form widget to the widget library.
You can easily configure the form to send the form submissions to multiple email addresses, and optionally redirect users to another page after submitting the form.
You can add and remove fields, and style the form as you would other Adobe Muse elements. You can independently style the various states of the form, and form fields to provide a compelling user experience, with visual cues for error states, empty states, and more.
Because Form processing requires server-side support, Adobe Muse forms are configured to work when published to Adobe Business Catalyst. If you make changes to your form and publish again, Adobe Muse will make the appropriate changes to your Adobe Business Catalyst forms.
Adobe Muse will safeguard data when redesigning your Adobe Business Catalyst forms
If a field with no data submitted is removed, it will be deleted from the database.
If a field that has submitted data is removed, it will be preserved in the database, but can be deleted from the Adobe Business Catalyst admin console if desired. -
How to set a new value for formula field in crystal reports xi?
<p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text = "'Subreport Formula'" or</p><p>crxSubreport.FormulaFields.Item("description").Text = "'Subreport Formula'"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>
Hi,
This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
Regards,
<p>Blair Wheadon</p>
<p>Product Manager, Crystal Reports</p> -
SDK: adding new value in custom fields
Hello,
I wanted to add new value in custom field of the resource table... I used this code (taken from SDK example) :
//Create and fill request for CustomData Service
SaveCustomDataRequest request = new SaveCustomDataRequest();
List<CustomValue> customData = new ArrayList<CustomValue>();
CustomValue attribute = new CustomValue();
//Field name
attribute.setName("NOTIFICATION_NUMBER");
//value received from ERP
attribute.setValue(notification);
customData.add(attribute);
request.setCustomData(customData);
//table name
request.setObjectAlias("RESRCE");
request.setRef(handle);
customDataService.saveCustomData(request);
But get a validation error, complaining about no ModifiedDateTime providen... How can I initialize this date or avoid the validation ?
I also tried using the ResourceDOService, using the setCustomData method, but same error...
ThanksI'm using ME 5.2.2.2, sdk 5.0.1.8, for the moment locally on my laptop for development.
There is no stack trace, I can just see the error when debugging :
com.sap.me.frame.domain.RequiredValueValidationException: class com.sap.me.domain.model.CustomFieldDOmodifiedDateTime
The resource exist, I do a read request before to check if the custom field has value or not. Anyway, it's a collaboration plug-in, executed when we change the resource status, so I got the resource handle as input ;o)
I can confirm there are some resource with custom value in other fields with date = null. It occurs when I'm saving the data in the GUI (so entering data's manually in custom field, do a save => fields are not initialized)
Regards -
FM - Add new value to WRTTP Field
Hi experts,
I would like to add a new value to the table Value types.
Currently this table contains values form 1- 3C.
Could Anybody tell me how I 'd add a new value?.
Thanks in advance,
Greetings,
NachosHi,
I dont think you will be able to add more values to this field from configuration.
If you check the data element and domain associated with this field (LTAK_SPEZI) in SE11. You can see that the value range for the domain has been defined there as A and B only.
So if you want to add a new value you can ask and ABAP/technical consulatnt to add new values to this Domain.
However i am not sure it will be useful (unless you have a specific requirement and want to modify the standard programs) as the field is checked in different program (eg in inculde LL03AF4V , LL03AF7F ) against these fixed values A and B. -
Adding a new value to messagechoice field.
I have a field called messagechoice type .
I have 4 drop down list values in messagechoice type , my requirement is ,
I have to delete existing one and need to add a new value in drop down list.
how to achieve this . please do the needful help.
thanks,I have a field called messagechoice type .
I have 4 drop down list values in messagechoice type , my requirement is ,
I have to delete existing one and need to add a new value in drop down list.
how to achieve this . please do the needful help.
thanks, -
How to modify person or group field value with new value
Hi
I have person or group field having property Person Only.
Thsi firls already have one value. Now I want to update it but this code to update value is not working.
string myName = @"ABC\myname";
web.EnsureUser(myName);
SPUser myUser = web.SiteUsers[myName];
SPFieldUserValue myNamevlaue = new SPFieldUserValue(web, myUser.ID, myUser.LoginName);
oSplistItem["My_x0020_User"] = myNamevalue;
oSplistItem.Update();
I am getting myNamevalue correct in the veriable. But why its not updating in the list?
is there any issue in the above code?
Do I need to delete previous value and then update new value in this field? How?Hi,
The format of the user value in people/Group field must be
ID;#Name, you can use the following code snippets to update the people/group field.
string loginName = "ABC\\myname";
SPUser user = web.SiteUsers[loginName];
SPList list = web.Lists.TryGetList("ListName");
if (list == null)
Console.WriteLine("list is not exist!");
return;
SPListItem item = list.GetItemById(3);
item["My_x0020_User"] = user.ID.ToString() + ";#" + user.Name;
item.Update();
Thanks,
Jason
Please remember to mark the reply as answer if it help, and unmark the answer if it provide no help. -
Field "Value field texts" is disabled to enter new values
Hi there,
I'm trying to enter new values on the field "Value field texts" from Depreciation Area, in Config Asset Value Display(Financial Accounting (New) > Asset Accounting > Information System > Configure Asset Value Display). The fields are disbled to enter new text values.
I don't know what's happening. I've see the SAP Note 121433, but I don't intend to request the creation of a program to fill these fields. Does anyone know if there's another way to deal with this?
Thanks in advance.Hi Srinivasa,
Thanks for reply. I've checked the transaction ANSICHT following the steps said and the Master Data fields are with "No authorization" for all Depreciation areas.
Do you know if there's another way of enable these fields? We cannot change the Authorization settings from one Depreciation Area to another.
Thanks a lot. -
Hai , How to create 'Define New ' ?
hai,
How to create 'Define New ' in Combo box and then Enter the value in the user defined table how to get the value from the database table and display combo box ?Hi.
I used this example for the matrix column. It's work and open a form for defining new values.
Your need to add an event to refresh values in combobox.
Think I help you.
Best regards
Sierdna S.
P.S. How to proceed.
1) Fill the combobox with valid values:
Try
' Add first value to combobox
oCombo.ValidValues.Add("", "")
Dim oRS As SAPbobsCOM.Recordset
oRS = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Dim sSql As String = "SELECT Code, Name FROM [@" & sLinkedTable & "]"
oRS.DoQuery(sSql)
oRS.MoveFirst()
While oRS.EoF = False
oCombo.ValidValues.Add(oRS.Fields.Item("Code").Value, oRS.Fields.Item("Name").Value)
oRS.MoveNext()
End While
' Last value
oCombo.ValidValues.Add("Define","Define")
If Not oRS Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(oRS)
oRS = Nothing
End If
System.GC.Collect() 'Release the handle to the table
Catch ex As Exception
' log exception
Finally
oCombo = Nothing
End Try
2) In Item event handler
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT _
And pVal.FormUID = sFormUID _
And pVal.ItemUID = sMatrixUID _
And pVal.ColUID = sColUID _
And pVal.BeforeAction = False _
And pVal.ItemChanged = True _
Then
Try
Dim oMatrix As SAPbouiCOM.Matrix
oMatrix = oForm.Items.Item(MatrixID).Specific
If oMatrix Is Nothing Then Throw New Exception("ERROR: matrix object is nothing"))
Try
Dim oCombo As SAPbouiCOM.ComboBox
Dim sValue As String = ""
oCombo = oMatrix.Columns.Item(sColUID).Cells.Item(pVal.Row).Specific
sValue = oCombo.Selected.Value
If sValue.Equals("Define") Then
Try
oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
oForm.Refresh()
Catch ex As Exception
' log exception
End Try
SBO_Application.Menus.Item("<menu id to activate>").Activate()
End If
BubbleEvent = False
Catch ex1 As Exception
' log exception
End Try
Catch ex As Exception
' log exception
End Try
End If -
Hi.
When i click Define New in the combo box the datas that i enter should be displayed in the combo.but it is not displayed.how to do itHi try this one
CREATE FORM SUB
Public Sub CreateForm(...)
If oMatrix.RowCount > 0 Then
Call InitializeMatrixCombo(oForm, _
MatrixID, _
"DSU_Linked", _ ' Combobox Column
"@LINKED_TABLE", _
"<Default_Value>" _
End If
End Sub
InitComboBox sub when we initializing combobox to combobox values we add also 2 new values:
- "","" : NULL value, if database column accept null value
- "Redefine","Redefine" : When selected with ItemEvent we activating menu with form uid where are we can define new values.
Public Sub InitializeMatrixCombo( _
ByRef oForm As SAPbouiCOM.Form, _
ByVal sMatrixID As String, _
ByVal sComboColumnName As String, _
ByVal sLinkedTable As String, _
Optional ByVal sDefaultValue As String = "" _
Try
oForm.Freeze(True)
If SBO_Company.Connect Then
' Matrix
Dim oMatrix As SAPbouiCOM.Matrix
oMatrix = oForm.Items.Item(sMatrixID).Specific
If oMatrix Is Nothing Then Throw New Exception("ERROR: matrix object is nothing"))
' Matrix column
Dim oColumn As SAPbouiCOM.Column
oColumn = oMatrix.Columns.Item(sComboColumnName)
' Matrix column cell
Dim oCell As SAPbouiCOM.Cell
oCell = oColumn.Cells.Item(oMatrix.VisualRowCount)
' Matrix column cell combo
Dim oCombo As SAPbouiCOM.ComboBox
oCombo = oCell.Specific
If ClearCombo(oCombo) Then
Try
' Add 1-st value if database field accept NULL
oCombo.ValidValues.Add("", "")
Dim oRS As SAPbobsCOM.Recordset
oRS = SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Dim sSql As String = "SELECT Code, Name FROM [@" & sLinkedTable & "] ORDER BY 1"
oRS.DoQuery(sSql)
oRS.MoveFirst()
While oRS.EoF = False
oCombo.ValidValues.Add(oRS.Fields.Item("Code").Value, _
oRS.Fields.Item("Name").Value)
oRS.MoveNext()
End While
' Add DEFINE NEW value +++++++++++++++++++++++++++++++
' Note: Code can have length up to 8 caracters
oCombo.ValidValues.Add("Redefine", "Redefine")
If Not oRS Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(oRS)
oRS = Nothing
End If
System.GC.Collect() 'Release the handle to the table
' Select dafault value if not null
If Not sDefaultValue.Equals("") Then
If oCombo.ValidValues.Count > 0 Then
oCombo.Select(sDefaultValue, SAPbouiCOM.BoSearchKey.psk_ByValue)
End If
Else
If oCombo.ValidValues.Count >= 1 Then
oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
End If
End If
Catch ex As Exception
' log exception
Finally
oCombo = Nothing
oCell = Nothing
oColumn = Nothing
oMatrix = Nothing
End Try
End If
End If
Catch ex As Exception
' log exception
Finally
oForm.Freeze(False)
System.GC.Collect() 'Release the handle to the table
End Try
End Sub
Item Event to handle selection of "Redefine" voice in combobox.
Private Sub SBO_Application_ItemEvent( _
ByVal FormUID As String, _
ByRef pVal As SAPbouiCOM.ItemEvent, _
ByRef BubbleEvent As Boolean _
) Handles SBO_Application.ItemEvent
Dim oForm As SAPbouiCOM.Form
oForm = SBO_Application.Forms.Item(FormUID)
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT _
And pVal.FormUID = sgloFormUID _
And pVal.ItemUID = MatrixID _
And pVal.ColUID = "DSU_Linked" _
And pVal.BeforeAction = False _
And pVal.ItemChanged = True _
Then
Try
Dim oMatrix As SAPbouiCOM.Matrix
oMatrix = oForm.Items.Item(MatrixID).Specific
If oMatrix Is Nothing Then Throw New Exception("ERROR: matrix object is nothing")
Try
Dim oCombo As SAPbouiCOM.ComboBox
Dim sValue As String = ""
oCombo = oMatrix.Columns.Item("DSU_Linked").Cells.Item(pVal.Row).Specific
sValue = oCombo.Selected.Value
If sValue.Equals("Redefine") Then
Try
oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
oForm.Refresh()
Catch ex As Exception
' log exception
End Try
' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' Here place your menu uid to call the form for adding new value
' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
SBO_Application.Menus.Item("51207").Activate()
End If
BubbleEvent = False
Catch ex1 As Exception
' log exception
End Try
Catch ex As Exception
' log exception
End Try
End If
' Other events +++
End Sub -
How to create define new?
i have taken combo box in form . i want to select define new option in combo box.
is it possible....?Imports SAPbobsCOM
Imports SAPbouiCOM
Public Class Class1
'// At the begining of every UI API project we should first
'// establish connection with a running SBO application.
Private WithEvents SBO_Application As SAPbouiCOM.Application
Private oForm As SAPbouiCOM.Form
Dim oButton As SAPbouiCOM.Button
Dim oOptionBtn As SAPbouiCOM.OptionBtn
Dim oCheckBox As SAPbouiCOM.CheckBox
Dim oComboBox As SAPbouiCOM.ComboBox
Dim oItem As SAPbouiCOM.Item
Dim oStatic As SAPbouiCOM.StaticText
Dim oEdittext As SAPbouiCOM.EditText
Dim oEditItem As SAPbouiCOM.EditText
Dim oFolder As SAPbouiCOM.Folder
Private oMatrix As SAPbouiCOM.Matrix
Private Matrix2 As SAPbouiCOM.Matrix
Private oLink As SAPbouiCOM.LinkedButton
Private oColumns As SAPbouiCOM.Columns
Private oColumn As SAPbouiCOM.Column
Private sPath As String
Private oDBDataSource As SAPbouiCOM.DBDataSource
Private oCompany As SAPbobsCOM.Company
Private rs As SAPbobsCOM.Recordset
Private oLineRec As SAPbobsCOM.Recordset
Private rs1 As SAPbobsCOM.Recordset
'// declaring a User data source for the "Remarks" Column
Private oUserDataSource As SAPbouiCOM.UserDataSource
Public sErrMsg As String
Public lErrCode As Long
Public lRetCode As Long
Private Sub SetApplication()
'// Use an SboGuiApi object to establish connection
'// with the SAP Business One application and return an
'// initialized appliction object
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
'// by following the steps specified above, the following
'// statment should be suficient for either development or run mode
'sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
sConnectionString = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056" 'Environment.GetCommandLineArgs.GetValue(1)'
Try
SboGuiApi.Connect(sConnectionString)
'// connect to a running SBO Application
'// get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
Catch ex As Exception
MsgBox("Make Sure That SAP Business One Application is running!!! ", MsgBoxStyle.Information)
Exit Sub
End Try
End Sub
Private Function ConnectToCompany() As Integer
'// Make sure you're not already connected.
If oCompany.Connected = True Then
oCompany.Disconnect()
End If
'// Establish the connection to the company database.
ConnectToCompany = oCompany.Connect
End Function
Private Function SetConnectionContext() As Integer
Dim sCookie As String
Dim sConnectionContext As String
' Dim lRetCode As Integer
'// First initialize the Company object
oCompany = New SAPbobsCOM.Company
'// Acquire the connection context cookie from the DI API.
sCookie = oCompany.GetContextCookie
'// Retrieve the connection context string from the UI API using the
'// acquired cookie.
sConnectionContext = SBO_Application.Company.GetConnectionContext(sCookie)
'// before setting the SBO Login Context make sure the company is not
'// connected
If oCompany.Connected = True Then
oCompany.Disconnect()
End If
'// Set the connection context information to the DI API.
SetConnectionContext = oCompany.SetSboLoginContext(sConnectionContext)
End Function
Public Sub New()
MyBase.New()
Try
SetApplication()
' Set The Connection Context
If Not SetConnectionContext() = 0 Then
SBO_Application.MessageBox("Failed setting a connection to DI API")
End ' Terminating the Add-On Application
End If
If Not ConnectToCompany() = 0 Then
SBO_Application.MessageBox("Failed connecting to the company's Data Base")
End ' Terminating the Add-On Application
End If
'SBO_Application.MessageBox("DI Connected To: " & oCompany.CompanyName)
Catch
System.Windows.Forms.MessageBox.Show("SBO application not found")
End Try
diplay_DNEWform()
End Sub
Private Sub diplay_DNEWform()
Dim oForm As SAPbouiCOM.Form
Try
oForm = SBO_Application.Forms.Item("SM_DNFM")
SBO_Application.MessageBox("Form Already Open")
Catch ex As Exception
Dim fcp As SAPbouiCOM.FormCreationParams
fcp = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
fcp.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
fcp.FormType = "SM_DNFM"
fcp.ObjectType = "SM_DNEW"
fcp.UniqueID = "SM_DNFM"
oForm = SBO_Application.Forms.AddEx(fcp)
oForm.AutoManaged = False
DrawDNEWForm(oForm)
End Try
oForm.Visible = True
End Sub
Public Sub DrawDNEWForm(ByVal oform As SAPbouiCOM.Form)
Dim oItem As SAPbouiCOM.Item
Dim oButton As SAPbouiCOM.Button
''Form specifications
oform.Title = "define new"
oform.Left = 335 '340
oform.ClientWidth = 550 '350
oform.Top = 55
oform.ClientHeight = 200 '500
'oForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE
ShowAllItems(oform)
'// Adding a OK button
oItem = oform.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 27
oItem.Width = 65
oItem.Top = 175 '300
oItem.Height = 20
oButton = oItem.Specific
'// Adding a Cancel button
oItem = oform.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 101
oItem.Width = 65
oItem.Top = 176 '300
oItem.Height = 20
oButton = oItem.Specific
End Sub
Private Sub ShowAllItems(ByVal oForm)
oDBDataSource = oForm.DataSources.DBDataSources.Add("@TESTDNEW")
Dim oEditordr As SAPbouiCOM.ComboBox
oItem = oForm.Items.Add("amtTxt", SAPbouiCOM.BoFormItemTypes.it_STATIC)
oItem.Left = 5
oItem.Width = 100
oItem.Top = 10
' oItem.AffectsFormMode = False
oItem.LinkTo = "amtVal" '"Vndval"
oStatic = oItem.Specific
oStatic.Caption = "location"
oItem = oForm.Items.Add("amtVal", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
oItem.Left = 110
oItem.Width = 160
oItem.Top = 10
' oItem.LinkTo = "OrdrTxt"
oItem.AffectsFormMode = True
oEditordr = oItem.Specific
'' Adding Choose From List
oEditordr.DataBind.SetBound(True, "@TESTDNEW", "U_name")
Dim scombo As String = "Define New"
Call InitializeMCombo(oForm, scombo, "@TEST_TABLE", "<Default_Value>")
End Sub
Public Sub InitializeMCombo( _
ByRef oForm As SAPbouiCOM.Form, _
ByVal sCombo As String, _
ByVal sLinkedTable As String, _
Optional ByVal sDefaultValue As String = "" _
Try
oForm.Freeze(True)
Dim oCombo As SAPbouiCOM.ComboBox
oCombo = oForm.Items.Item(sCombo).Specific
Try
' Add 1-st value if database field accept NULL
oCombo.ValidValues.Add("", "")
Dim oRS As SAPbobsCOM.Recordset
oRS = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Dim sSql As String = "SELECT Code, Name FROM [@" & sLinkedTable & "] ORDER BY 1"
oRS.DoQuery(sSql)
oRS.MoveFirst()
While oRS.EoF = False
oCombo.ValidValues.Add(oRS.Fields.Item("Code").Value, _
oRS.Fields.Item("Name").Value)
oRS.MoveNext()
End While
' Add DEFINE NEW value +++++++++++++++++++++++++++++++
' Note: Code can have length up to 8 caracters
oCombo.ValidValues.Add("Redefine", "Redefine")
If Not oRS Is Nothing Then
System.Runtime.InteropServices.Marshal.ReleaseComObject(oRS)
oRS = Nothing
End If
System.GC.Collect() 'Release the handle to the table
' Select dafault value if not null
If Not sDefaultValue.Equals("") Then
If oCombo.ValidValues.Count > 0 Then
oCombo.Select(sDefaultValue, SAPbouiCOM.BoSearchKey.psk_ByValue)
End If
Else
If oCombo.ValidValues.Count >= 1 Then
oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
End If
End If
Catch ex As Exception
' log exception
Finally
oCombo = Nothing
End Try
Catch ex As Exception
Finally
oForm.Freeze(False)
System.GC.Collect()
End Try
End Sub
Private Sub SBO_Application_ItemEvent( _
ByVal FormUID As String, _
ByRef pVal As SAPbouiCOM.ItemEvent, _
ByRef BubbleEvent As Boolean _
) Handles SBO_Application.ItemEvent
Dim oForm As SAPbouiCOM.Form
oForm = SBO_Application.Forms.Item(FormUID)
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT _
And pVal.FormUID = "SM_DNFM" _
And pVal.ItemUID = "amtval" _
And pVal.BeforeAction = False _
And pVal.ItemChanged = True _
Then
SBO_Application.MessageBox("30")
Try
Try
Dim oCombo As SAPbouiCOM.ComboBox
Dim sValue As String = ""
oCombo = oForm.Items.Item("amtval").Specific
sValue = oCombo.Selected.Value
If sValue.Equals("Redefine") Then
Try
oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index)
oForm.Refresh()
Catch ex As Exception
'log exception
End Try
SBO_Application.Menus.Item("51207").Activate()
End If
BubbleEvent = False
Catch ex1 As Exception
' log exception
End Try
Catch ex As Exception
' log exception
End Try
End If
' Other events +++
End Sub
End Class
its not working , please check it why this is hapening.
please help me..... -
Not sure if this is by design (if so, would love to know why!) or if this is a bug. Let's say I have auditing turned on for Accounts. I change the phone number in the Main Phone field from 555-1111 to 555-5555, and an audit record is
created showing the Old Value (555-1111) and New Value (555-5555). Great. Now I turn off auditing. The system goes back to the audit record that had previously been created, and modifies it so that it shows the Old Value (555-1111),
and inserts an icon into the New Value field indicating auditing was turned off. The tool tip for that icon states "Auditing was stopped and restarted. The new values for the fields that changed during this period cannot be identified or recorded."
First of all (minor picky issue) auditing hasn't been turned back on yet, despite what the tool tip says (says the same thing whether or not auditing is turned back on). But the real problem is
why the existing audit record's New Value would be removed... why would that happen?!? We're talking about a historical update. It really did change, and the system knew what it changed from/to, so why would the system remove that new value
from the audit record? Logically I would expect that any changes made
while auditing is off would not be logged, and that once auditing is turned back on, Old/New values would correspond to whatever was/is in the system at the time that any new audit record is created, so there may be a disconnect between an older audit
record and a new one (old record's New Value not matching the new record's Old Value, because changes were made while auditing was off). And it's quite apparent when auditing is turned off, because an audit record is created stating "Auditing Disabled".
Any ideas if there's a logical reason why it would do this, or if this is really a bug that Microsoft needs to fix? We have a client with a business need to periodically turn off auditing while integration updates run between CRM and another system
(otherwise hundreds of thousands of unnecessary audit records would be created). But if they're going to lose audit data every time they disable auditing, the auditing is worthless.We wouldn't ever temporarily turn auditing off on purpose... it's happening when we import managed solutions. We have vendors with managed solutions that contain system entities such as Contacts. When importing their solution, it momentarily
turns auditing off on those entities. The only evidence of this is audit records indicating "Entity Audit Stopped", and of course the loss of all the most recent "new value" on all audit records. The interesting (?) parts of this are:
1. When importing the managed solution, the recommended option to keep all existing customizations is selected. I would think this would include the audit settings on the entity, but apparently not (sort of... see #2).
2. As soon as the managed solution is imported, in addition to creating an "Entity Audit Stopped" audit record on relevant entities and wiping out new values, it apparently turns auditing back on, yet there's no record of this (in customizations, the entity
still (or once again) indicates auditing is enabled; but on records for that entity, there is no "Entity Audit Enabled" record.
So, now it's on to working with the vendors, to dig into their managed solutions and see if there's a way to prevent this! -
First occurence of a value from a field in the internal table.
How to select the first occurence of a value from a field in an internal table ?
I don think , we can use select query .
Any suggestions?
provide syntaxs also .Hi...
You have to use this code.
DATA : Begin of IT_MARA occurs 0,
mtart type mara-mtart,
matnr type mara-matnr,
meins type mara-meins,
END OF IT_MARA.
START-of-SELECTION.
SELECT MTART MATNR MEINS FROM MARA INTO TABLE IT_MARA.
END-OF-SELECTION.
LOOP AT IT_MARA.
<b> AT NEW MTART. "This will trigger for every first/new value of the field
<<<<WRITE YOUR CODE here>>
ENDAT.</b>
ENDLOOP.
You can also use.
LOOP AT IT_MARA.
<b> <b> ON CHANGE OF IT_MARA-TART.
<<<<WRITE YOUR CODE here>>
ENDON.</b></b>
ENDLOOP.
<b>Reward if Helpful.</b> -
Server 2010 SP2 - New values in lookup table are not updated in the user client
Hello,
I added a value to a lookup table in the PWA.
Most users see the new value in the field based on this lookup table.
One user doesn't see the update for 2 weeks now. He did close and opened the application over these 2 weeks.
Any Idea?
Thanks,
BarakHi Barak,
I am assuming the issue is with PWA? Has the user tried to access PWA from a different machine/browser?Other things you can try are:
- Reset IE settings
- CTRL+F5 (on the page)
If it is MS Project that doesn't have the new value, try closing MS Project and re-open it
Hope this helps
Paul -
Features (pe03) Can wildcard characters be used in Value of Decision Field
Hi
When modifying a Feature using transaction PE03. Is it possible to use a wildcard character (ie.. *, ? or +) when defining the "Value of Decision Fields"?
For example in feature CSTV1
My tree looks as follows:
CSTV1 Cost Grouping
> BAREA Benefit Area
> CA Canada
> WERKS Personnel Area
> CAA*
> ON
> CAB*
> PQ
> otherwise
My Personnel Areas are CAA1, CAA2, CAA3, CAA4....etc. Rather than hardcode them I'd like to use a wild card for the last character. In my testing I can't seem to get it to work.
Any ideas or suggestions?
Thanks
Edited by: bluezerby on Jul 31, 2009 6:50 PMDear Blue,
this is not possible .. as u knw... even in SAP Programs also we cannot use Wild Cards/sysmboles in Identifying Codes...
Anywhere, u cn use wild cards to search text but not CODE
Regards
...Sadhu
Maybe you are looking for
-
oracle form 6.0, how to do 3D chart, calender,mouser over changing....in we form, like microsoft style. Or it's better use 9i or 10g jdeveloper? or other tchnology?
-
All_tab_columns says NULLABLE = 'Y' while there is a NOT NULL constraint
Hi all, I created a table MANT (here is the script) : CREATE TABLE DMI.MANT MANT NUMBER(7) NOT NULL, SPER NUMBER(7) NOT NULL, RANT VARCHAR2(10 BYTE) NOT NULL,
-
MacBook won't go to sleep automatically
Just recently, I've noticed that my MacBook won't go to sleep. It was fine for the last year. If I go to the Apple Menu and tell it to sleep, it will. But, it doesn't sleep in the prescribed amount of time set in the control panels. Does anyone know
-
Not able to recognize any video/audio devices using jmf and java soun
Hi , I need one help from your side. Here I am expecting some clarifications from you. Before that let you my environement. My working environment : Eclipse tool and added jmf jar to my project I did not do any thing more. If any thing I need to do j
-
Macros in a future version of numbers
I just had an idea about how macros could be implemented in Numbers the "Apple way". I imagine an editor that is similar to Quartz Composer, letting you simply add and connect the functions needed. I mean, we have a great GUI on the Mac and the GUI w