on 03-12-2010 7:02 AM
Hi All
CFL Popup not assigning value to edittext and CFL popup screen is not getting closed automatically
1. I Have created a screen painter form and attached UDO for the same
2. i have added CFL For one of the edit textbox for itemcode using object type 4 with filter criteria as itemcode should start with word RM
3. Now when i click on CFL button for Edittext, popup comes up and when i click choose button,selected value does not get copied to associated Edittext (Proper Binding is there) and secondly popup (CFL form) dose not get closed.
Please help me to find out the problem
Hi,
You can checkout this thread first.
or use this below code, write the choose from list event for your form
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_CHOOSE_FROM_LIST Then
oForm = oSBOApplication.Forms.Item("IS_RES")
Dim oCFLEvento As SAPbouiCOM.IChooseFromListEvent
oCFLEvento = pVal
Dim sCFL_ID As String
sCFL_ID = oCFLEvento.ChooseFromListUID
Dim oCFL As SAPbouiCOM.ChooseFromList
oCFL = oForm.ChooseFromLists.Item(sCFL_ID)
If oCFLEvento.BeforeAction = False Then
Dim oDataTable As SAPbouiCOM.DataTable = oCFLEvento.SelectedObjects
Dim val As String
Try
With oForm.DataSources.DBDataSources.Item("@IS_RES") '@TABLE is the name of the DBDataSource the form's connect to
.SetValue("Code", .Offset, oDataTable.GetValue(0, 0)) 'U_txtGRNNo is the id of the field the EditText is connected to.
End With
Catch ex As Exception
End Try
End If
End If
Regards,
Noor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can yu show yur CFL code of item event
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.