Hi Nilmini,
I guess you should catch the ChooseFromListAfter event of the text box that you have bind with CFL. docNumTxt in your case.
private void docNumTxt_ChooseFromListAfter(object sboObject, SAPbouiCOM.SBOItemEventArg pVal)
{
SAPbouiCOM.SBOChooseFromListEventArg chooseFromListEvent = ((SAPbouiCOM.SBOChooseFromListEventArg)(pVal));
var currentForm = Application.SBO_Application.Forms.Item(pVal.FormUID);
//if your text box is bind to a user data source
SAPbouiCOM.UserDataSource dataSource = currentForm.DataSources.UserDataSources.Item("UD_0");
dataSource.ValueEx = chooseFromListEvent.SelectedObjects.GetValue(0, 0).ToString();
//else
EditText1.Value = chooseFromListEvent.SelectedObjects.GetValue(0, 0).ToString();
}
Hope this would be helpful.
Best Regards, J S L Geeganage