Dear Pallavi P,
oItem = oForm.Items.Add("cmdview", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 430
oItem.Width = 70
oItem.Top = 8
oItem.Height = 20
oButton = oItem.Specific
oButton.Caption = "&View"
Oform.DefButton = "cmdview"
Thanks for your answer ,