Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Add New button in CFL for UDO

Dear Experts,

How to add a defined new button in CFL for UDO? Just like CFL for business partner where a new button to add new business partner.

Dim oCFLs As SAPbouiCOM.ChooseFromListCollection

Dim oCFL As SAPbouiCOM.ChooseFromList

Dim oCFLCreationParams As SAPbouiCOM.ChooseFromListCreationParams

Dim oCons As SAPbouiCOM.Conditions

Dim oCon As SAPbouiCOM.Condition

oCFLs = oForm.ChooseFromLists

oCFLCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_ChooseFromListCreationParams)

oCFLCreationParams.MultiSelection = False

oCFLCreationParams.ObjectType = "UDO_PRJTYPE"

oCFLCreationParams.UniqueID = "CFL_ProjectType"

oCFL = oCFLs.Add(oCFLCreationParams)



Not what you were looking for? View more on this topic or Ask a question