Skip to Content

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

Choose From list in Matrix UDF

i create a UDF in Sales Order Row, I want to assign choose From list in the Matrix for the UDF once user click on tab button.

How can i assign the Choose from list for the UDF column?

Former Member
Former Member replied


U try this,

When u load the field u declare the Choose from list before that u assign the CFL .

PO_Frm.DataSources.UserDataSources.Add("DS_code", SAPbouiCOM.BoDataType.dt_SHORT_TEXT)

oCol = oCols.Add("TextCode", SAPbouiCOM.BoFormItemTypes.it_EDIT)

oCol.DataBind.SetBound(True, "", "DS_code")

oCol.TitleObject.Caption = "Text Code"

oCol.Width = 150

oCol.ChooseFromListUID = "CFL1"

oCol.ChooseFromListAlias = "TextCode"

oCol.Editable = True

If this answer is helpful give me points,

Thanks & Regards,


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