Skip to Content
0
Former Member
Apr 16, 2010 at 09:09 AM

UDO as LinkedObject

55 Views

Hi to all,

I have a matrix with one column containing linked button, now what i need is when i click the link Button, it should open my Form, how could i achieve that.

i have gone through the sample code, but it defines for only system LinkedObjects Like lf_Items, lf_BusinessPartner etc but i need to open the form which is user developed.

My UDO Unique ID is "LMUDO" and form id is "frmLFF"

Sample code:

SAPbouiCOM.LinkedButton oLinkButton;

oLinkButton = (SAPbouiCOM.LinkedButton)(oMatrix.Columns.Item("colName").ExtendedObject);

oLinkButton.LinkedObject = ???? should be here to open my form.

Edited by: Bikram304 on Apr 16, 2010 11:10 AM