on 04-28-2015 6:07 AM
Hi ALL,
How to Set set Choose from List fields for grid Column in User Defined Window?
Hi Edy,
Where to give this code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshmi,
//Create the CFL Object
SAPbouiCOM.ChooseFromListCreationParams cpCFL = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams) as SAPbouiCOM.ChooseFromListCreationParams;
cpCFL.MultiSelection = false;
cpCFL.ObjectType = "4";
cpCFL.UniqueID = "cflItem";
_oForm.ChooseFromLists.Add(cpCFL);
//Assign the CFL to a grid column
_grd.Columns.Item(1).Type = SAPbouiCOM.BoGridColumnType.gct_EditText;
SAPbouiCOM.EditTextColumn colEdt = _grd.Columns.Item(1) as SAPbouiCOM.EditTextColumn;
colEdt.LinkedObjectType = "4";
colEdt.ChooseFromListUID = "cflItem";
colEdt.ChooseFromListAlias = "ItemCode";
Peace be with you.
Edy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.