on 08-20-2007 8:03 AM
Dear friends,
it possible to add crystal report viewer to sbo form if yes then pl give me code for that .following is my code
Dim oFormTST As SAPbouiCOM.Form
Dim oCreatP As SAPbouiCOM.FormCreationParams
Dim oItemX As SAPbouiCOM.Item
Dim oActivX As SAPbouiCOM.ActiveX
oCreatP = SBO_ApplicationPur.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
oCreatP.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Sizable
oCreatP.FormType = "ViewerType"
oCreatP.UniqueID = "VIEWER"
Try
oFormTST = SBO_ApplicationPur.Forms.AddEx(oCreatP)
Catch ex As Exception
MsgBox(ex.Message)
End Try
oFormTST.Height = 400
oFormTST.Width = 400
oFormTST.Title = "Print View"
oItemX = oFormTST.Items.Add("Activex1", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
oActivX = oItemX.Specific
oActivX.ClassID = "CrystalReports11.CrystalReportViewer.10.2"
oFormTST.Visible = True
Check this Thread, perhaps it will help you with the code.
https://forums.sdn.sap.com/click.jspa?searchID=4728272&messageID=3680575
Regards,
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
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.