Description
Occurs when a report is sent to the printer.
Syntax
Parameters
Example
| Catching report data events (Visual Basic) | Copy Code |
|---|
Private WithEvents SBO_Application As SAPbouiCOM.Application
Private Sub SBO_Application_ReportDataEvent( ByRef reportDataInfo As SAPbouiCOM.reportDataInfo, ByRef BubbleEvent As Boolean) Handles
SBO_Application.ReportDataEvent
If (reportDataInfo.BeforeAction = True) Then
reportDataInfo.RegisterForReport (True)
Else
Dim reportCode As String = reportDataInfo.ReportCode
Dim reportTemplate As String = reportDataInfo.ReportTemplate
Dim count As Long = reportDataInfo.GetPageCount()
Dim size As Long = reportDataInfo.GetReportSize()
Dim xmlDataWithProp As String
xmlDataWithProp = reportDataInfo.GetReportData(1, 1, True)
xmlDataWithProp = reportDataInfo.GetReportData()
End Sub
|
|
See Also