sap crystal reports for visual studio .net sdk 开发人员指南

864
SAP Crystal ReportsMicrosoft Visual Studio 开发人员版) 文档版本: Support Package 13 - 2015-01-24 SAP Crystal Reports for Visual Studio .NET SDK 开发人员指南

Upload: vokhuong

Post on 29-Jan-2017

466 views

Category:

Documents


9 download

TRANSCRIPT

  • SAP Crystal ReportsMicrosoft Visual Studio Support Package 13 - 2015-01-24

    SAP Crystal Reports for Visual Studio .NET SDK

  • 1 SAP Crystal Reports .Net SDK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    SAP Crystal ReportsMicrosoft Visual Studio . . . . . . . . . . . . . . . . . . . . . . . . . 4

    SAP Crystal Reports .Net . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

    1.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

    1.3 SDK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

    CrystalReportViewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

    SAP Crystal Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

    Web Web SAP Crystal Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66

    Web Crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98

    1.4 SDK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144

    CrystalReportViewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .198

    SAP Crystal Reports RPTR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213

    1.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214

    CrystalReportViewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214

    ReportDocument . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297

    Visual Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .440

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511

    1.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .536

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536

    Visual Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .546

    1.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562

    SAP Crystal Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562

    2 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 679

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739

    1.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 861

    SAP Crystal Reports for Visual Studio .NET SDK 2015 SAP 3

  • 1 SAP Crystal Reports .Net SDK

    1.1

    SAP Crystal Reports .NET SDK Web Windows SAP Crystal Reports .NET SDK

    1.1.1 SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal ReportsMicrosoft Visual Studio GUI ADO.NET GUI

    SAP Crystal Reports Web Windows Windows HTML 4.0

    SAP Crystal ReportsMicrosoft Visual Studio SDK SDK

    CrystalReportViewer ReportDocument ReportClientDocument RAS InfoObject SAP Crystal Reports Server SAP BusinessObjects

    Business Intelligence

    CrystalReportViewer ReportDocument SAP Crystal ReportsMicrosoft Visual Studio ReportClientDocument InfoObject 58 SAP BusinessObjects Business Intelligence

    Visual Studio

    Web Crystal SAP Crystal Reports Server RAS

    4 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • SAP BusinessObjects Business Intelligence SAP BusinessObjects Business Intelligence RAS

    1.1.1.1 SAP Crystal Reports

    SAP Crystal Reports SAP Crystal ReportsMicrosoft Visual Studio

    Flash Flash SAP Crystal Reports

    /

    SAP Crystal Reports

    SAP Crystal Reports Code39

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 5

  • Windows

    1.1.2 SAP Crystal Reports .Net

    SAP Crystal Reports .Net SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal ReportsMicrosoft Visual Studio Visual Studio 2010 SAP Crystal Reports SAP Crystal ReportsMicrosoft Visual Studio

    6 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • SAP Crystal Reports

    SAP Crystal Reports

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 7

  • SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal Reports

    SAP Crystal Reports ASPX web.config

    58 SAP BusinessObjects Business Intelligence

    1.1.2.1

    .NET 4.x Framework ADO.NET

    .NET 4.x Framework ADO.NET Additional information: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. v2.0.50727 4.x

    .config

    1.1.2.2 64

    SAP Crystal ReportsMicrosoft Visual Studio x64 (AMD64) 64 IA64 (Itanium)

    64

    HTML

    8 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Azalea

    1.2

    SAP Crystal ReportsMicrosoft Visual Studio Windows

    1.2.1

    SAP Crystal Reports .Net SDK Windows

    1.2.1.1

    SAP Crystal ReportsMicrosoft Visual Studio SAP Crystal Reports Web Windows

    1.2.1.1.1 Visual Studio

    SAP Crystal ReportsMicrosoft Visual Studio Visual Studio SAP Crystal Reports

    Visual Studio 2010 Visual Studio UltimatePremium Professional SAP Crystal Reports Visual Studio Express

    58 SAP BusinessObjects Business Intelligence

    1.2.1.1.2 SAP Crystal Reports

    SAP Crystal Reports SAP Crystal Reports

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 9

  • 1.2.1.1.2.1 SAP Crystal Reports

    1. GACC:\WINNT\Assembly C:\Windows\Assembly2. CrystalDecisions.CrystalReports.Engine

    SAP Crystal Reports CrystalDecisions.CrystalReports.Engine SAP Crystal Reports

    3.

    4.

    5. SAP Crystal Reports

    1.2.1.1.2.2 SAP Crystal Reports

    SAP Crystal ReportsMicrosoft Visual Studio (.NET 4.0 Framework)

    13.0.2000.0

    SAP Crystal Reports 2008 (.NET 2.0 Framework) 12.0.2000.0

    SAP Crystal Reports 2008 (.NET 1.1 Framework) 12.0.1100.0

    SAP Crystal Reports XI Release 2 11.5.3300.0

    SAP Crystal Reports XI Release 1 11.0.3300.0

    SAP Crystal Reports Basic for Visual Studio 2008 10.5.3600.0

    SAP Crystal Reports for Visual Studio 2005 10.2.3600.0

    SAP Crystal Reports 10 10.0.3300.0

    SAP Crystal Reports 9 9.2.3300

    SAP Crystal Reports for Visual Studio 2003 9.1.5000

    SAP Crystal Reports 2008 SAP Crystal Reports 2008 SP1 SAP Crystal Reports 2008 SP1 12.1 12.0

    10 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.2.1.1.3 SAP Crystal Reports

    SAP Crystal ReportsMicrosoft Visual Studio SAP Crystal Reports SAP Crystal Reports

    SAP Crystal ReportsMicrosoft Visual Studio

    1. SAP Crystal ReportsMicrosoft Visual Studio Visual Studio Windows

    2.

    3. Crystal

    4. Test.rpt

    SAP Crystal Reports SAP Crystal Reports

    SAP Crystal Reports

    5. Crystal Reports

    SAP Crystal Reports

    6.

    SAP Crystal Reports

    7. SAP Crystal Reports

    8. Visual Studio

    9. Test.rpt

    SAP Crystal Reports

    10. Crystal Reports

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 11

  • 1.2.1.1.4 SAP Crystal Reports

    19 SAP Crystal ReportsMicrosoft Visual Studio Windows Web Windows

    1.2.1.2

    SAP Crystal Reports .NET SDK Windows Crystal Reports Visual Studio Web

    SAP Crystal Reports .NET

    9 Visual Studio

    1.2.1.2.1 SAP Crystal Reports

    Visual Studio SAP Crystal Reports SAP Crystal Reports Visual Studio

    1. Visual Studio

    2. Web Windows Web Windows

    3.

    Visual Studio Crystal

    4. Crystal Reports

    12 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.2.1.2.2

    SAP Crystal Reports SAP Crystal Reports SAP Crystal Reports

    1.2.1.2.2.1

    SAP Crystal Reports

    1

    SAP Crystal ReportsMicrosoft Visual Studio

    4.x Framework ASP.NET

    \Windows\Microsoft.NET\Framework\v4.0.30319\ASP.NETClientFiles\crystalreportviewers13

    IIS

    \inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13

    SAP Crystal ReportsMicrosoft Visual Studio

    2.0 ASP.NET

    \Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles\crystalreportviewers13

    IIS

    \inetpub\wwwroot\aspnet_client\system_web\2_0_50727\crystalreportviewers13

    1.2.1.2.2.2

    1. Internet

    2. Internet

    3. crystalreportsviewers13 4. crystalreportsviewers13 5. SAP Crystal Reports Visual Studio

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 13

  • 1.2.1.2.3

    SAP Crystal Reports

    http://www.sdn.sap.com/irj/boc/downloads

    1.2.2

    SAP Crystal ReportsMicrosoft Visual Studio Windows Web /

    1.2.2.1 Visual Studio

    Visual Studio

    1.2.2.1.1 Visual Studio

    1. Visual Studio

    2.

    3. ASP.NET

    4.

    5.

    6. C:\WebSites\ C:\WebSites\MyProjectName

    7.

    14 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

    http://help.sap.com/disclaimer?site=http://www.sdn.sap.com/irj/boc/downloads

  • 1.2.2.1.2 Web

    1.2.2.1.2.1 Web

    Web

    Web ASPX Default.aspx

    1. Default.aspx Web

    2.

    _Default Default.aspx.cs Default.aspx.vb

    Default.aspx ASPX ASPX

    3. Visual Basic Option Strict On

    Visual Basic Option Strict On

    1.2.2.1.2.2 Imports/Using

    1. Default.aspx

    2. Web

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 15

  • 3. Imports[Visual Basic] using[C#] SAP Crystal Reports

    Imports CrystalDecisions.CrystalReports.EngineImports CrystalDecisions.Shared using CrystalDecisions.CrystalReports.Engine;using CrystalDecisions.Shared;

    1.2.2.1.2.3 SAP Crystal Reports

    ConfigureCrystalReports() Private Sub ConfigureCrystalReports()End Sub private void ConfigureCrystalReports(){}

    ConfigureCrystalReports()

    ConfigureCrystalReports() Page_Init ConfigureCrystalReports() Crystal

    1.2.2.1.2.4 Page_Init

    Page_Load ASP.NET Web Web Page.Load Page.Init Crystal

    16 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1. Page_Init

    Visual Basic Page Init Page_Init Private Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.InitEnd Sub

    C# Page_Init

    private void Page_Init(object sender, EventArgs e){}

    Visual Studio 2005 C# Web Page_InitPage_Load Page_PreRender InitLoad PreRender

    HTML ASPX Page AutoEventWireup True

    Visual Studio .NET AutoEventWireup Page False Visual Studio 2005 C# Web AutoEventWireup Page True

    2. Visual Basic C# Page_Init ConfigureCrystalReports()

    ConfigureCrystalReports() ConfigureCrystalReports();

    3.

    1.2.2.1.3 CrystalReportViewer

    1. Default.aspx

    2.

    3. CrystalReportViewer

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 17

  • SAP Crystal ReportsMicrosoft Visual Studio CrystalReportViewer Crystal Reports

    4. CrystalReportViewer Web

    5.

    CrystalReportViewer SAP Crystal Reports

    1.2.2.1.4 Web.Config

    ASP.NET Web Web.Config XML

    SAP Crystal Reports Web.Config

    .NET 2.0 Web.Config section

    CrystalImageCleaner

    CrystalImageCleaner CrystalReportViewer CrystalReportViewer Web.Config CrystalImageCleaner

    CrystalImageCleaner-Sleep

    18 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • CrystalImageCleaner-Age CrystalImageCleaner-AutoStart CrystalImageCleaner

    ASP.NET

    CrystalImageHandler

    CrystalImageHandler CrystalReportViewer ASP.NET CrystalImageHandler.aspx Web.Config CrystalImageHandler CrystalReportViewer Web.Config

    documentView

    documentView

    printlayout weblayout

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 19

  • EnableTextClipping

    EnableTextClipping true

    globalResourcePath

    globalResourcePath Web SAP CrystalReports.NET SAP BusinessObjects http://help.sap.com Web.Config

    maxNumberListOfValues

    maxNumberListOfValues LOV n maxNumberListOfValues 180 maxNumberListOfValues 50 50 180 50 30

    0 200

    20 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

    http://help.sap.com

  • printControl

    printControl C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\crystalreportviewers

    .cab SAP Crystal Reports.NET Web.Config

    processingIndicatorDelay

    processingIndicatorDelay 0 200

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 21

  • processingIndicatorText

    processingIndicatorText

    reportMappings

    Visual Studio 2005 Visual Studio 2003 reportMappings Visual Studio 2003 .dll Visual Studio 2005 2008 Web.Config Visual Studio Web.Config reportMappings

    Visual Studio 2005 Visual Studio 2008

    22 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • resourceURI

    resourceURI Web crystalreportviewers crystalreportviewers

    serverFileReportManager

    serverFileReportManager Web c:\inetpub\wwroot Web.Config

    serverFileReportManager

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 23

  • UseAsynchronousRequests

    DHTML DHTML false

    UseAsynchronousRequests false

    crystal_use_asynchronous_requests false

    UseBrowserLocale

    UseBrowserLocale CrystalReportViewer True CrystalReportViewer False Web.Config

    Web.Config

    24 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Web Web Visual Studio SAP Crystal Reports

    1.2.2.2 Visual Studio Windows

    SAP Crystal ReportsMicrosoft Visual Studio Windows

    Windows Form1 Windows

    1.2.2.2.1 Visual Studio Windows

    1. Visual Studio

    2.

    3. C# Visual Basic

    4. Windows

    5.

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 25

    http://help.sap.com/disclaimer?site=http://msdn2.microsoft.com/en-us/library/ms225384(VS.80).aspxhttp://help.sap.com/disclaimer?site=http://msdn2.microsoft.com/en-us/library/ms227611(VS.80).aspxhttp://help.sap.com/disclaimer?site=http://msdn2.microsoft.com/en-us/library/ms227574(VS.80).aspxhttp://help.sap.com/disclaimer?site=http://msdn2.microsoft.com/en-us/library/wkze6zky(VS.80).aspxhttp://help.sap.com/disclaimer?site=http://msdn2.microsoft.com/en-us/library/ms225607(VS.80).aspx

  • Pascal

    6.

    1.2.2.2.2 Visual Basic

    Visual Basic

    1.

    2.

    3. OptionStrictOn

    4.

    5.

    Visual Basic OptionStrict

    1.2.2.2.3 Visual Windows

    1.2.2.2.3.1 Windows

    Visual Basic 6 Windows Form1 Windows Form1 .cs .vb

    26 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1. Form1Form1

    Form1

    2.

    Form1 Windows Visual Basic C#

    C# Form1

    (Form1)

    Visual Basic Form1

    Form1

    Form1 C# Visual Basic Windows

    1.2.2.2.3.2 SAP Crystal Reports

    1. Form1 ConfigureCrystalReports() Private Sub ConfigureCrystalReports()End Sub private void ConfigureCrystalReports(){}

    Form_Load ConfigureCrystalReports() Form_Load ConfigureCrystalReports()

    2.

    3. Form1 Form1 Form1 Form1_Load

    4. Form1_Load ConfigureCrystalReports()

    ConfigureCrystalReports()

    ConfigureCrystalReports();

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 27

  • 5.

    1.2.2.2.4 CrystalReportViewer

    1.2.2.2.4.1 Windows CrystalReportViewer

    1. Windows

    2. CrystalReportViewer

    Visual Studio CrystalReportViewer Crystal Reports

    3. CrystalReportViewer

    4.

    CrystalReportViewer SAP Crystal Reports

    1.2.2.2.4.2 Imports/Using

    1.

    2.

    3. SAP Crystal Reports

    CrystalDecisions.CrystalReports.Engine CrystalDecisions.Shared

    4. Form15. Imports[Visual Basic] using[C#] SAP Crystal Reports

    Imports CrystalDecisions.CrystalReports.Engine

    28 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Imports CrystalDecisions.Shared using CrystalDecisions.CrystalReports.Engine;using CrystalDecisions.Shared;

    1.3 SDK

    1.3.1

    1.3.1.1

    CrystalReportViewer CrystalReportViewer

    SAP Crystal Reports

    CrystalReportViewer

    Web

    ASP.NET

    CrystalReportViewer .NET Web Windows

    ReportDocument ReportClientDocument InfoObject SAP Crystal Reports Server SAP BusinessObjects Business Intelligence

    CrystalReportViewer

    CrystalReportViewer

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 29

  • CrystalReportViewer

    CrystalReportViewer

    CrystalReportViewer CrystalReportViewer

    CrystalReportViewer

    CrystalReportViewer ReportDocument

    CrystalReportViewer CrystalReportViewer

    CrystalReportViewer ReportDocument

    CrystalReportViewer

    ReportDocument

    ReportDocument CrystalReportViewer SAP Crystal Reports .NET SDK

    SAP Crystal Reports Server SAP BusinessObjects Business Intelligence SAP Crystal Reports SDK ReportDocument

    SAP Crystal Reports 10 SAP Crystal Reports for Visual Studio 2005 ReportDocument ReportClientDocument

    1.3.1.2

    CrystalReportViewer

    CrystalReportViewer

    ReportDocument ReportClientDocument CrystalReportViewer CrystalReportViewer

    30 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • CrystalReportViewer

    ReportDocument CrystalReportViewer ReportDocument CrystalReportViewer

    CrystalReportViewer

    1.3.1.3 SAP Crystal Reports

    SAP Crystal Reports SAP Crystal Reports SAP Crystal ReportsMicrosoft Visual Studio SAP Crystal Reports

    SAP Crystal Reports

    SAP Crystal Reports SAP Crystal ReportsMicrosoft Visual Studio SAP Crystal Reports SAP Crystal Reports SDK

    562 SAP Crystal Reports

    1.3.1.4

    SAP Crystal ReportsMicrosoft Visual Studio GUI

    CrystalReportViewer

    CrystalReportPartsViewer

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 31

  • Web Windows ReportSource

    39

    1.3.1.5

    SAP Crystal ReportsMicrosoft Visual Studio SDK SDK

    SDK SDK

    CrystalReportViewerWeb Windows CrystalReportViewer CrystalReportViewer CrystalReportViewer Windows Web Windows Web Web CrystalDecisions.Web Windows CrystalDecisions.Windows.Forms

    ReportDocumentReportDocument Engine DatabaseDataDefinitionExportOptionsPrintOptionsReportDefinitionReportOptions SummaryInfo CrystalDecisions.CrystalReports.Engine

    ReportClientDocument

    SDK CrystalDecisions.ReportAppServer ReportClientDocument RAS SAP Crystal Reports Server SAP BusinessObjects Business Intelligence

    InfoObject SAP Crystal Reports Server SAP BusinessObjects Business Intelligence SAP Crystal Reports Server SAP BusinessObjects Business Intelligence SAP Crystal Reports Server SAP BusinessObjects Business Intelligence CrystalDecisions.Enterprise

    32 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • InfoObject SAP Crystal Reports Server SAP BusinessObjects Business Intelligence

    29 58 SAP BusinessObjects Business Intelligence

    1.3.1.5.1 CrystalReportViewer

    CrystalReportViewer

    Web Windows CrystalReportViewer .NET .NET 31

    Web Windows CrystalReportViewer SDK

    Web Windows CrystalReportViewer CrystalReportViewer ReportSource

    ReportDocument ReportClientDocument CrystalReportViewer

    CrystalReportViewer

    CrystalReportViewer Windows Web CrystalReportViewer

    CrystalReportViewer Windows Windows Web

    CrystalReportViewer Web Windows ASPX

    31

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 33

  • 150 CrystalReportViewer

    1.3.1.5.2 ReportDocument

    ReportDocument SDK CrystalReportViewer

    ReportDocument CrystalDecisions.CrystalReports.Engine Engine

    ReportDocument

    CrystalReportViewer CrystalReportViewer

    ReportDocument ReportDocument ReportDocument

    CrystalReportViewer ReportDocument ReportDocument CrystalReportViewer

    CrystalReportViewer

    ReportDocument ReportClientDocumentRAS

    SAP Crystal Reports 9 SAP Crystal Reports 10 ReportDocument ReportClientDocument

    SAP Crystal Reports 2008 ReportDocument.ReportClientDocument ReportClientDocument

    297 ReportDocument 176 ReportDocument 33 CrystalReportViewer

    34 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 29

    1.3.1.5.3 ReportClientDocument RAS

    ReportClientDocument RASRASBOE

    ReportClientDocument CrystalDecisions.ReportAppServer SDK

    ReportClientDocument SDK

    ReportDefinition SAP Crystal Reports DataDefinition SAP Crystal Reports RowsetController

    ReportClientDocument

    ReportClientDocument SDK .rpt

    ReportClientDocument SDK

    ReportClientDocument (.rpt)

    ReportClientDocument SAP BusinessObjects RAS .NET SDK

    SAP Crystal Reports 9 ReportClientDocument

    SAP Crystal Reports 9 RAS ReportClientDocument RAS .NET ReportClientDocument .NET

    SAP Crystal Reports ReportDocument RAS ReportClientDocument

    SAP Crystal Reports 10 ReportClientDocument

    SAP Crystal Reports 10 ReportDocument ReportClientDocument ReportDocument

    ReportClientDocument

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 35

  • SAP Crystal Reports RAS ReportClientDocument SAP Crystal Reports ReportDocument ReportDocument ReportClientDocument SAP Crystal Reports RAS

    RAS ReportClientDocument ReportDocument RAS ReportDocument ReportClientDocument ReportClientDocument

    1.3.1.5.4 InfoObject (BOE)

    InfoObject SAP Crystal Reports Server SAP BusinessObjects Business Intelligence

    58 SAP BusinessObjects Business Intelligence

    InfoObject SDK InfoObject Enterprise CrystalDecisions.Enterprise.Desktop.Report

    SAP BusinessObjects Business Intelligence SDK InfoObject

    InfoObject

    InfoObject SDK PDF FTP

    InfoObject InfoObject ReportUserServerFolderProgramFtpSmtpWordExcel Pdf

    InfoObject

    InfoObject

    InfoStore InfoStore InfoObject (CMS) InfoStore CMS InfoObject

    36 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • InfoObjects

    InfoObjects InfoObject InfoStore InfoObject CMS

    InfoObject InfoStore InfoObjects InfoObject

    SAP Crystal Reports Server SAP BusinessObjects Business Intelligence SDK SAP Crystal Reports Server SAP BusinessObjects Business Intelligence SDK

    29

    1.3.1.6 SAP Business Intelligence

    SAP Business Intelligence

    SAP Crystal ReportsMicrosoft Visual Studio SAP Crystal Reports RAS SAP Crystal Reports Server SAP BusinessObjects Business Intelligence

    (.rpt) SDK AP Crystal Reports Server SAP BusinessObjects Business Intelligence

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 37

  • (.rpt) SDK

    SAP Business Intelligence

    SAP Crystal ReportsMicrosoft Visual Studio

    RAS

    RAS SAP Crystal Reports Server 58 SAP BusinessObjects Business Intelligence

    SAP Crystal Reports Server SAP BusinessObjects Business Intelligence RASRAS

    1.3.2 CrystalReportViewer

    Crystal CrystalReportViewer .NET Framework CrystalReportViewer CrystalReportViewer UI

    CrystalReportViewer Windows CrystalReportViewer CrystalDecisions.Windows.Forms.CrystalReportViewer CrystalReportViewer CrystalDecisions.Web.CrystalReportViewer SAP Crystal Reports .NET API ReferenceSAP Crystal Reports .NET API

    Crystal CrystalReportViewer

    38 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • CrystalReportViewer

    SAP Crystal Reports

    CrystalReportViewer CrystalReportViewer CrystalReportViewer CSS

    198 CrystalReportViewer 144

    1.3.2.1

    Windows Web .NET

    SAP Crystal Reports SDK SDK SAP Crystal ReportsMicrosoft Visual Studio

    .NET

    Microsoft .NET Visual Studio GUI Web Windows .NET ButtonDropDownListCheckBoxTextBox DataGrid

    Microsoft .NET Web Windows .NET

    Microsoft .NET Windows Web .NET Framework Web Windows

    SAP Crystal Reports .NET

    GUI .NET Web Windows GUI

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 39

  • .NET SAP Crystal Reports .NET

    SAP Crystal ReportsMicrosoft Visual Studio CrystalReportViewer Web Windows CrystalDecisions.Web CrystalReportViewer ASP.NET Web CrystalDecisions.Windows.Forms CrystalReportViewer Windows

    CrystalReportPartsViewer Web

    CrystalReportViewer

    CrystalReportViewer ReportSource ReportSource

    crystalReportViewer1.ReportSource = "C:\WorldSalesReport.rpt" crystalReportViewer1.ReportSource = "C:\\WorldSalesReport.rpt";

    CrystalReportViewer

    CrystalReportViewer

    CrystalReportViewer

    CrystalReportViewer .NET .NET SAP Crystal Reports CrystalReportViewer

    .NET CrystalReportViewer

    2

    .NET DataGrid DataSetDataReaderDataViewIDictionaryICollectionDataTable

    40 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • .NET CrystalReportViewer

    Crystal

    Crystal ODBC OleDb DataReader DataSet

    CrystalReportViewer ReportSource DataSource

    CrystalReportViewer .NET

    144

    1.3.2.1.1 Windows CrystalReportViewer

    1. Windows

    2. CrystalReportViewer

    Visual Studio CrystalReportViewer Crystal Reports

    3. CrystalReportViewer

    4.

    CrystalReportViewer SAP Crystal Reports

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 41

  • 1.3.2.1.2 CrystalReportViewer

    1. Default.aspx

    2.

    3. CrystalReportViewer

    SAP Crystal ReportsMicrosoft Visual Studio CrystalReportViewer Crystal Reports

    4. CrystalReportViewer Web

    5.

    CrystalReportViewer SAP Crystal Reports

    1.3.2.1.3 CrystalReportViewer

    CrystalReportViewer Crystal ReportSource

    CrystalReportViewer

    1. CrystalReportViewer Windows

    2. Web Windows

    3.

    4. ReportSource

    Windows

    myCrystalReportViewer.ReportSource = "C:\MyReport.rpt"

    42 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • crystalReportViewer.ReportSource = "C:\\MyReport.rpt";

    WPF

    myCrystalReportViewer.ViewerCore.ReportSource = "C:\MyReport.rpt" crystalReportViewer.ViewerCore.ReportSource = "C:\\MyReport.rpt";

    1.3.2.2

    Visual Studio 2005 Web Windows .NET .NET

    ASPX XML

    Windows Windows .NET Framework 2.0

    CrystalReportViewer CrystalReportSource CrystalReportViewer CrystalReportSource

    CrystalReportViewer Web Windows

    1.3.2.2.1 Windows CrystalReportViewer

    Windows CrystalReportViewer Crystal CrystalReportViewer

    Windows

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 43

  • Crystal ...

    SAP Crystal Reports

    CrystalReportViewer

    Crystal

    Crystal

    Crystal CrystalReportViewer ReportDocument

    CrystalReportViewer

    CrystalReportViewer ReportSource

    CrystalReportViewer

    CrystalReportViewer

    44 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Dock NoneFill CrystalReportViewer Windows Dock FillNone Dock CrystalReportViewer Windows Windows Panel

    1.3.2.2.2 CrystalReportViewer

    CrystalReportViewer Crystal CrystalReportViewer

    CrystalReportViewer

    ...

    ...

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 45

  • CrystalReportViewer

    CrystalReportViewer

    Web

    SQL Server

    43 Windows CrystalReportViewer

    46 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.3.2.3 CrystalReportPartsViewer

    .NET Framework CrystalReportPartsViewer Crystal Web

    Windows

    CrystalReportPartsViewer Web ASP.NET 2.0

    Web Web

    433 CrystalReportPartsViewer

    1.3.2.4 CrystalReportSource

    CrystalReportSource ASP.NET 2.0

    CrystalReportSource

    DataSource .NET DataSource DataSource Web .NET

    Visual Studio

    .NET DataSource SqlDataSource Microsoft SQL ServerOracleDataSource Oracle

    SAP Crystal Reports CrystalReportSource ASP.NET 1.0 1.0 CrystalReportViewer ReportSource DataSource

    CrystalReportSource DataSource CrystalReportSource DataSource SqlDataSource

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 47

  • 1.3.3 SAP Crystal Reports

    SAP Crystal Reports SDK Web

    Web Web Web

    Web Crystal Web Crystal

    CrystalReportViewer CrystalReportViewer

    ASP ASP.NET

    ASP ASP.NET Web Web

    3

    ASP* Web /

    ASP* URL URL Web /

    ASP* Cookie / Cookie Cookie

    48 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • ASP* Web Session Session Session

    ASP* Web Application Application Application

    ASP.NET ViewState ASP.NET Web ViewState

    ASP.NET Web Cache Application

    * ASP ASP.NET

    SAP Crystal Reports

    SAP Crystal Reports ViewStateSession Cache

    49 ViewState CrystalReportViewer

    1.3.3.1 ViewState CrystalReportViewer

    ViewState

    ViewState ASP.NET Web Web

    Web Web Windows Visual Basic Windows

    Web Windows Windows Web Web Windows Web GUI ButtonTextFieldDropDownListDataGrid

    Web Windows Web Web

    ViewState Web Session

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 49

  • ViewState Web ViewState EnableViewState True

    ViewState Web Web ViewState ViewState ASP.NET Web ViewState HTML

    ViewState

    CrystalReportViewer

    CrystalReportViewer Crystal html

    ViewState CrystalReportViewer

    3 CrystalReportViewer ViewState

    ViewState CrystalReportViewer 3 4

    CrystalReportViewer

    CrystalReportViewer CrystalReportViewer

    ViewState

    CrystalReportViewer

    CrystalReportViewer ReportDocument SDK

    50 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • CrystalReportViewer ViewState

    CrystalReportViewer 151

    CrystalReportViewer ReportDocument Session Cache

    48 SAP Crystal Reports 51 Session ReportDocument 29

    1.3.3.2 Session ReportDocument

    Session

    Session ASP ASP.NET Web Session Web

    Session

    Web

    Session Web PDA

    Session Web Session Session

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 51

  • Session Web Session Session

    49 ViewState CrystalReportViewer 53 Cache ReportDocument

    Session ReportDocument

    ReportDocument Session Cache ReportDocument

    Session ReportDocument ReportDocument Session

    SAP Crystal Reports ASP.NET Web Session ReportDocument

    Session ReportDocument

    ReportDocument Cache Session

    Session ViewState

    Session ViewState Web Web Session ViewState

    ViewState CrystalReportViewer Session ReportDocument

    297 Session ReportDocument

    52 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.3.3.3 Cache ReportDocument

    Cache ASP.NET Cache ASP ASP.NET Application

    Application

    Cache Application

    Cache

    Cache Application Application Cache

    .Net 2.0 Framework

    .Net 2.0 Framework

    Cache Cache Cache Session Cache Session Cache Session Cache Session Cache Web Session

    Session

    49 ViewState CrystalReportViewer 51 Session ReportDocument

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 53

  • Cache ReportDocument

    ReportDocument Session Cache ReportDocument

    Cache ReportDocument

    Session Cache ReportDocument ReportDocument Cache ReportDocument

    ICachedReport SAP Crystal Reports SDK ICachedReport Session

    Cache ReportDocument

    Cache ReportDocument Cache Cache Session

    Session ReportDocument Cache ICachedReport

    Cache ViewState

    Cache ViewState Web Web Cache ViewState

    ViewState CrystalReportViewer Cache ReportDocument

    48 SAP Crystal Reports

    54 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 56 Page_Load

    1.3.3.3.1 ICachedReport

    1.

    2.

    3. CrystalReportViewer

    180

    1.3.3.3.2 ICachedReport

    1. ICachedReport

    2. ReportDocument.Load()

    3. CreateReport() ReportDocument

    4.

    5. CrystalReportViewer

    182

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 55

  • 1.3.3.4 Page_Load

    ASP.NET Web Page_Load Page.Load

    Page_Load ViewState

    ViewState ViewState ViewState Page.Load ViewState Page_Load

    ViewState DropDownList Page_Load Not

    IsPostBack

    ViewState CrystalReportViewer ReportDocument ReportClientDocument InfoObject

    CrystalReportViewer ViewState CrystalReportViewer Not IsPostBack

    CrystalReportViewer ViewState

    Not IsPostBack ViewState

    ViewState

    CrystalReportViewer

    CrystalReportViewer Init

    CrystalReportViewer ViewState Init

    Load Init Visual Studio .NET 2003 Web Windows Init Web

    56 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • CrystalReportViewer ConfigureCrystalReports()

    Web Page_Init() OnInit() ConfigureCrystalReports()

    ConfigureCrystalReports() 14

    297 Session ReportDocument

    1.3.4

    SAP Crystal Reports SDK

    SAP Crystal Reports .Net SDK

    Web

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 57

  • 1.3.4.1

    1.3.4.1.1 SAP BusinessObjects Business Intelligence

    SAP BusinessObjects Business Intelligence

    SAP BusinessObjects

    SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal ReportsMicrosoft Visual Studio Visual Studio

    SAP Crystal ReportsMicrosoft Visual Studio SAP Crystal Reports CrystalReportViewer SAP Crystal Reports SDK

    SAP Crystal Server SAP BusinessObjects Business Intelligence

    SAP Crystal Reports Server SAP BusinessObjects Business Intelligence RAS

    SAP Crystal Reports Sever Web Web Crystal

    SAP BusinessObjects Business Intelligence BI BI SAP BusinessObjects Business Intelligence SAP Crystal Reports Explorer Encyclopedia Process Tracker

    SAP Crystal Reports Server SAP BusinessObjects Business Intelligence

    1.3.4.1.2 SAP BusinessObjects Business Intelligence

    SAP BusinessObjects Business Intelligence

    58 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 4

    SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal Reports SAP Crystal Reports Server SAP BusinessObjects Business Intelligence

    ASP.NET X X X

    X X X

    X X X

    Windows X X X

    X X

    X X

    X X

    OLAP X X

    X X

    X X

    X X

    X

    X

    X

    X

    X

    X

    X X

    CrystalReportViewer

    X X X

    ReportDocument X X X

    ReportClientDocument

    X X

    RAS X

    InfoObject X

    .Net Framework

    X X

    37 SAP Business Intelligence

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 59

  • 1.3.4.1.3 RAS

    RAS Crystal

    RAS SAP BusinessObjects RAS SDK RAS Crystal RAS

    RAS SAP Crystal Reports Server SAP BusinessObjects Business Intelligence

    RAS

    Enterprise RAS RAS SAP Crystal Reports Server SAP BusinessObjects Enterprise Web RAS Web RAS SDK

    RAS ReportClientDocument InfoObject

    RAS RAS API

    SAP Crystal Reports CR .NET SDK ReportClientDocument .NET RAS API

    RAS API RAS API SAP Crystal Reports Server SAP BusinessObjects Business Intelligence RAS

    API CrystalDecisions.CrystalReports.Engine.ReportDocument ReportClientDocument

    37 SAP Business Intelligence 35 ReportClientDocument RAS

    60 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.3.4.2

    1.3.4.2.1

    SELECT field 1, field 2 FROM table

    SAP Crystal Reports SAP Crystal Reports

    477 ADO.NET

    1.3.4.2.2

    SAP Crystal Reports ASPX

    ASP.NET Cache Cache

    139 ADO.NET 581 ADO.NET

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 61

  • 1.3.4.2.3 Close()

    Close()

    SAP Crystal ReportsMicrosoft Visual Studio Close()

    Close()

    SAP Crystal Reports ReportDocument.Close() RAS SDK ReportClientDocument.Close()

    ReportDocument.Close()

    ReportDocument.Close() Crystal Web

    ReportDocument.Close()

    ReportDocument Close()

    ReportDocument ReportDocument Close()

    Crystal ReportDocument ReportDocument

    Web ReportDocument .NET ReportDocument Web ReportDocument

    Web ReportDocument Web

    ReportDocument.Close() Web

    ReportDocument.Close()

    ReportDocument.Close() ReportDocument Close()

    Close() Page_Unload

    ReportClientDocument.Close()

    RAS RAS Web ReportClientDocument ReportClientDocument

    62 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • ReportClientDocument.Close() Web

    ReportClientDocument.Close()

    ReportClientDocument.Close()

    Close()

    ReportClientDocument Close() Close()

    Close() Page_Unload

    145

    1.3.4.2.4 Web Web

    Web Web CPU CPU Web

    66 Web Web SAP Crystal Reports

    1.3.4.3

    1.3.4.3.1

    SAP Crystal ReportsMicrosoft Visual Studio

    15 Web

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 63

  • Web

    SAP Crystal Reports

    CrystalReportViewer CrystalReportViewer SelectionFormula ViewTimeSelectionFormula

    ReportDocument ReportDocument RecordSelectionFormula

    253

    1.3.4.3.2

    SAP Crystal ReportsMicrosoft Visual Studio

    CrystalReportViewer dynamic_images JPG Web

    CrystalReportViewer dynamic_images

    18 Web.Config 13

    1.3.4.3.3

    SAP Crystal ReportsMicrosoft Visual Studio

    64 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 100 101

    .NET DataGrid

    /

    .NET DataGrid .NET DataGrid

    DataGrid ID DataGrid ID URL ID

    DataGrid DataGrid

    1.3.4.3.4

    SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal Reports

    N M

    1.3.4.3.5

    SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 65

  • Crystal

    108

    1.3.5 Web Web SAP Crystal Reports

    Web Web SAP Crystal ReportsMicrosoft Visual Studio

    Web Web CPU CPU Web

    1.3.5.1 Web Web

    Web

    Web TCP/IP

    Web Web

    66 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Web

    Windows Server

    Web

    Web Web CPU

    SMP ASP.NET CPU ASP.NET CPU

    1.3.5.2 ASP.NET

    ASP.NET ASP.NET ASP.NET

    Web ASP.NET Web Web

    Web ASP.NET ASP.NET

    Web ASP.NET SMP CPU ASP.NET

    ASP.NET

    Web Web Web ASP.NET

    Web ASP.NET Web ASP.NET ASP.NET

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 67

  • ASP.NET

    ASP.NET Web ASP.NET Web Web

    Web Web Web Session State ASP.NET Cache

    Session Cache ASP.NET Web Web ASP.NET ASP.NET Session Cache

    Session State Web Web ASP.NET

    68 Session State 48 SAP Crystal Reports

    1.3.5.3 Session State

    Web Web Session State Session State

    ASP.NET Session State Web Session State SQL Server

    SAP Crystal Reports SDK SAP

    69 SAP Crystal Reports

    68 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.3.5.4 SAP Crystal Reports

    SAP Crystal Reports SAP Crystal Reports

    Session State

    Session State 68 Session State

    CrystalReportViewer

    CrystalReportViewer CrystalReportViewer API ReportDocument

    CrystalReportViewer Web Web CrystalReportViewer Web Web ASP.NET Web ASPX ASP .NET

    ReportDocument

    ReportDocument CrystalReportViewer SAP Crystal Reports

    SAP Crystal Reports 9 ReportDocument Web Web Session State

    SAP Crystal Reports 10 ReportDocument ReportClientDocument

    ReportClientDocument

    Web Web ReportDocument ASP.NET Session State ReportDocument RAS Crystal .rpt

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 69

  • RAS ReportDocument.ReportAppServer ReportDocument.EnterpriseSession ReportDocument

    ReportClientDocument

    ReportClientDocument ReportClientDocument

    InfoObject

    InfoObject Crystal SAP Crystal Reports Server SAP BusinessObjects Business Intelligence SAP Crystal Reports Server SAP BusinessObjects Business Intelligence Web Web

    66 Web Web SAP Crystal Reports 29 49 ViewState CrystalReportViewer

    1.3.5.5 Web Web SAP Crystal Reports

    Web Web

    ASP.NET Session State ReportDocument Crystal .rpt RAS

    58 SAP BusinessObjects Business Intelligence

    70 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • ReportDocument

    Web Web ASP.NET Session State ReportDocument ReportDocument SAP Crystal Reports

    ReportDocument.Load() ReportDocument.FileName ReportDocument RAS

    .rpt RAS Web Web ASP.NET .rpt

    RAS ReportDocument

    ReportDocument RAS

    ReportDocument Crystal RAS .rpt RAS

    RAS ReportDocument RAS ReportDocument FileName

    Session State ReportDocument RAS .rpt

    ReportDocument RAS Crystal ASP.NET

    ReportDocument ReportDocument Crystal .rpt RAS

    Web Web ASP.NET ReportDocument ReportDocument RAS .rpt

    Web

    ASP.NET ASP.NET

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 71

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Viewer] "CrystalImageDir"="\\fileserver\images"

    Web Web SAP Crystal Reports

    1.3.6 Web Crystal

    Web Crystal

    Web Web

    Web

    HTTP Web XML (SSL)

    Web

    SAP Crystal Reports Web Web Windows Web Crystal

    1.3.6.1 Web

    SAP Crystal ReportsMicrosoft Visual Studio Web Crystal

    Web

    SAP Crystal ReportsMicrosoft Visual Studio Crystal Web Web DLL .NET Web .asmx XML ASMX Web DLL ASMX Web Web Web Web URL Web XML HTTP Web

    72 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Web

    Web Windows URL CrystalReportViewer ReportSource

    74 Crystal 72 Web Crystal

    1.3.6.1.1 Web

    Crystal Web CrystalReportViewer.ReportSource Web

    1. Visual Studio

    2.

    3. Visual Studio ASP.NET Web

    4. Web

    C:\WebServices\MyCrystalReportsWebServices 5.

    6. ...

    7. (*.*)

    8. Crystal

    9. Web

    10. Web

    Web Web Web URL CrystalReportViewer

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 73

  • Visual Studio 2005 IIS Web Visual Web Developer Web Server Web Web URL Web URL Web IIS URL

    1.3.6.1.2 Web

    Web

    1. CrystalReportViewer Windows

    2.

    3. Web URL CrystalReportViewer ReportSource

    myCrystalReportViewer.ReportSource = "http://localhost/MyCrystalReportsWebService/Hierarchical_GroupingService.asmx"

    crystalReportViewer.ReportSource = "http://localhost/MyCrystalReportsWebService/Hierarchical_GroupingService.asmx";

    CrystalReportViewer Web

    1.3.6.2 Crystal

    SAP Crystal ReportsMicrosoft Visual Studio Crystal Web Crystal

    Web Windows SAP Crystal Reports

    74 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Crystal SAP Crystal Reports 2005

    Visual Studio 2005 Crystal Crystal Web

    SAP Crystal ReportsMicrosoft Visual Studio

    Crystal Web

    Crystal SAP Crystal Reports for Visual Studio .NET 2003

    SAP Crystal Reports for Visual Studio 2003 Crystal

    Crystal SAP Crystal Reports Crystal

    Crystal Web

    RAS SAP Crystal Reports Server SAP BusinessObjects Business Intelligence Web

    SAP BusinessObjects Business Intelligence CMSCMS 6400 SAP BusinessObjects Business Intelligence SAP BusinessObjects Business Intelligence

    Visual Studio .NET 2003 Crystal Web Windows

    13

    1.3.6.3 Crystal

    SAP Crystal ReportsMicrosoft Visual Studio Crystal Web

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 75

  • Visual Studio

    1.3.6.3.1 Visual Studio .NET 2003

    IIS Web Visual Studio .NET 2002 SAP Crystal Reports Crystal SAP Crystal Reports SDK

    Web

    Crystal SAP Crystal Reports for Visual Studio 2003

    SDK ServerFileReport SDK SAP Crystal Reports .NET

    IIS

    web.config

    Visual Studio .NET 2003

    Visual Studio .NET 2003 web.config

    web.config SAP Crystal Reports web.config Visual Studio .NET

    Internet (IIS) Web Web SAP Crystal Reports IIS SAP Crystal Reports

    SAP Crystal Reports ServerFileReport WebServiceURL ServerFileReport

    76 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 78 Visual Studio 2005 72 Web Crystal 13

    1.3.6.3.1.1 ServerFileReport WebServiceURL

    1. ServerFilesReport WebServiceURL

    2.

    3. SAP Crystal Reports

    4.

    web.config Visual Studio .NET 2002

    1.3.6.3.1.2 web.config Visual Studio .NET 2002

    1. SAP Crystal Reports

    2. Web URL

    Visual Studio 2003 http://localhost/CrystalReportWebFormViewer2/ServerFileReportService.asmx?wsdl

    SAP Crystal Reports 2008 http://localhost/crystalreportviewers12/ServerFileReportService.asmx?wsdl

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 77

  • 3. web.config

    Web web.config

    4. web.config configSections sectionGroup (crystalDecisions) section (serverFileReportManager)

    5. configSections sectionGroup section

    C:\program files\Microsoft Visual Studio .NET 2003\Crystal Reports\Samples\Reports\Feature Examples

    6. web.config

    1.3.6.3.2 Visual Studio 2005

    IIS Web Visual Studio .NET 2002 SAP Crystal Reports Crystal SAP Crystal Reports SDK

    Web

    78 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Visual Studio 2005 Web Web web.config Visual Studio 2005 Visual Studio .NET 2002 web.config

    web.config Web web.config

    82 Web 72 Web Crystal

    1.3.6.3.2.1 Web

    1. Visual Studio

    2.

    3. Visual C#

    4. ASP.NET Web

    5.

    CrystalReportsWebServices C:\InetPub\wwwroot\ C:\InetPub\wwwroot\CrystalReportsWebServices\

    6.

    7.

    Web.config

    8.

    9. Service.asmx

    10. App_Code Service.cs

    11.

    12.

    a. Web b. ServerFileReportService.asmxc.

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 79

  • d.

    13. ServerFileReportService.asmx

    14.

    15.

    16.

    a. Web b. ServerFileReportManager.asmxc. d.

    17. ServerFileReportManager.asmx

    18.

    1.3.6.3.2.2 ServerFileReport WebServiceURL

    1. ServerFilesReport WebServiceURL

    2.

    3. SAP Crystal Reports

    SAP Crystal Reports SAP Crystal Reports for Visual Studio 2005 Web

    4.

    13

    80 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.3.6.3.2.3 web.config

    1. Web.Config

    2. Web.Config XML

    C:\program files\Microsoft Visual Studio 8\Crystal Reports\Samples\en\Reports\Feature Examples

    PUT_FILE_DIRECTORY_PATH_TO_REPORTS_FOLDER_HERE

    3. web.config

    4. Web URL

    http://localhost/CrystalReportsWebServices/ServerFileReportService.asmx?wsdl

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 81

  • 1.3.6.3.2.4

    SAP Crystal Reports IIS Web Web SAP Crystal Reports IIS SAP Crystal Reports

    SAP Crystal Reports ServerFileReport WebServiceURL Web ServerFileReport

    13

    1.3.6.4 Web

    SAP Crystal ReportsMicrosoft Visual Studio Web Crystal

    Web Web Web

    Web Web RemoteReportProxy Internet (IIS) NT

    Web Web

    72 Web 75 Crystal

    1.3.6.4.1 Web NT

    1.3.6.4.1.1 NT Web

    NT 72 Web Web

    Web

    82 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 82 Web

    1.3.6.4.1.1.1 Web

    1. Internet

    2. Internet

    3. Report Web Service4.

    5.

    6.

    7.

    8. Internet

    Windows

    1.3.6.4.1.1.2

    1. Windows Web

    2.

    3. ...

    4.

    5.

    6.

    7.

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 83

  • 1.3.6.4.1.2

    NT Web

    1.3.6.4.1.2.1 Web

    1. Web 72 Web

    2. Web

    HTTP 401

    1.3.6.4.1.2.2

    1. References ...2. Add Reference.NET CTRL

    CrystalDecisions.ReportSource System.Web.Services

    3. Select4. Selected ComponentsOK5. 14 Web Windows

    6. ViewCode7. "Imports" [Visual Basic] "using" [C#]

    Imports CrystalDecisions.ReportSourceImports System.NetImports System.Web.Services using CrystalDecisions.ReportSource;using System.Net;using System.Web.Services;

    84 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Web RemoteReportProxy

    1.3.6.4.1.2.3 GetReportWebServiceWithAuthentication()

    GetReportWebServiceWithAuthentication() NT

    GetReportWebServiceWithAuthentication() URL Credentials GetReportWebServiceWithAuthentication() CrystalReportViewer ReportSource RemoteReportProxy

    RemoteReportProxy

    1. RemoteReportProxy GetReportWebServiceWithAuthentication()

    Private Function GetReportWebServiceWithAuthentication() AsRemoteReportProxyEnd Function private RemoteReportProxy GetReportWebServiceWithAuthentication(){}

    2. ConfigureCrystalReports() CrystalReportViewer ReportSource Web URL

    CrystalReportViewer ReportSource

    3. reportWebServiceURL URL Dim reportWebServiceURL As String ="http://mywebserviceserver.com/MyWebServiceDirectory/Hierarchical%20GroupingService.asmx" string reportWebServiceURL =

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 85

  • "http://mywebserviceserver.com/MyWebServiceDirectory/Hierarchical%20GroupingService.asmx";

    4. RemoteReportProxy Dim myRemoteReportProxy As RemoteReportProxy = New RemoteReportProxy() RemoteReportProxy remoteReportProxy = new RemoteReportProxy();

    5. reportWebServiceURL RemoteReportProxy URL myRemoteReportProxy.Url = reportWebServiceURL remoteReportProxy.Url = reportWebServiceURL;

    6. ConfigureAuthentication() True Boolean reportWebServiceURL RemoteReportProxy Credentials

    myRemoteReportProxy.Credentials = ConfigureAuthentication(True,reportWebServiceURL) remoteReportProxy.Credentials = ConfigureAuthentication(true,reportWebServiceURL);

    7. AddFirewallProxySettings() False URI RemoteReportProxy

    URI

    myRemoteReportProxy = AddFirewallProxySettings(False, ">",myRemoteReportProxy) remoteReportProxy = AddFirewallProxySettings(false, ">",remoteReportProxy);

    8. RemoteReportProxy Return myRemoteReportProxy return remoteReportProxy;

    86 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.3.6.4.1.2.4 ConfigureAuthentication()

    ConfigureAuthentication()

    82 NT Web NTLM

    True Boolean Web False Boolean NTLM Web

    ConfigureAuthentication() GetReportWebServiceWithAuthentication()

    1. ICredentials ConfigureAuthentication() isUserSpecific reportWebServiceURL

    Private Function ConfigureAuthentication(ByVal isUserSpecific AsBoolean, ByVal reportWebServiceURL As String) As ICredentialsEnd Function private ICredentials ConfigureAuthentication(bool isUserSpecific,string reportWebServiceURL){}

    2. isUserSpecific Boolean If isUserSpecific ThenElseEnd If if(isUserSpecific){}else{}

    3. Web

    4. If usernamepassword domain

    Dim userName As String = "fchen" Dim password As String = "1234"Dim domain As String = "Enterprise" string userName = "fchen";[NonSerialized()] string password = "1234";

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 87

  • string domain = "Enterprise"; 5. NetworkCredential usernamepassword domain

    Dim myNetworkCredential As NetworkCredential = NewNetworkCredential(userName, password, domain) NetworkCredential networkCredential = newNetworkCredential(userName, password, domain);

    6. If NetworkCredential

    Else Web URI NTLM NetworkCredential Return myNetworkCredential return networkCredential;

    7. Else CredentialCache Dim myCredentialCache As CredentialCache = New CredentialCache() CredentialCache credentialCache = new CredentialCache();

    8. Uri ConfigureAuthentication() reportWebServiceURL

    Dim myUri As Uri = New Uri(reportWebServiceURL) Uri uri = new Uri(reportWebServiceURL);

    9. NTLMntlmAuthorization

    Dim ntlmAuthorization As String = "NTLM" string ntlmAuthorization = "NTLM";

    10. NetworkCredential Dim myNetworkCredential As NetworkCredential = NewNetworkCredential() NetworkCredential networkCredential = new NetworkCredential();

    11. Uri ntlmAuthorization NetworkCredential CredentialCache Add()

    myCredentialCache.Add(myUri, ntlmAuthorization,myNetworkCredential) credentialCache.Add(uri, ntlmAuthorization, networkCredential);

    12. Else CredentialCache DefaultCredentials ICredentials Return CredentialCache.DefaultCredentials

    88 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • return CredentialCache.DefaultCredentials;

    1.3.6.4.1.2.5 AddFirewallProxySettings()

    RemoteReportProxy AddFirewallProxySettings() Web RemoteReportProxy

    AddFirewallProxySettings() GetReportWebServiceWithAuthentication()

    Web

    1. RemoteReportProxy AddFirewallProxySettings() RemoteReportProxy

    Private Function AddFirewallProxySettings(ByVal isFirewallProxy AsBoolean, ByVal webProxyURI As String, ByVal remoteReportProxy AsRemoteReportProxy) As RemoteReportProxyEnd Function private RemoteReportProxy AddFirewallProxySettings(boolisFirewallProxy, string webProxyURI, RemoteReportProxyremoteReportProxy){ }

    2. isFirewallProxy Boolean If isFirewallProxy ThenEnd If if(isFirewallProxy){}

    3. WebProxy webProxyURI True Boolean

    Dim myWebProxy As WebProxy = New WebProxy(webProxyURI, True) WebProxy webProxy = new WebProxy(webProxyURI, true);

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 89

  • 4. WebProxy RemoteReportProxy Proxy myRemoteReportProxy.Proxy = myWebProxy remoteReportProxy.Proxy = webProxy;

    5. RemoteReportProxy Return myRemoteReportProxy return remoteReportProxy;

    False isFireWallProxy Web NT

    isFireWallProxy True Web URI webProxyURI

    82 Web

    1.3.6.4.1.3 NT NTLM

    1.3.6.4.1.3.1 NT

    ConfigureCrystalReports()

    ConfigureCrystalReports() GetReportWebServiceWithAuthentication() CrystalReportViewer ReportSource

    myCrystalReportViewer.ReportSource =GetReportWebServiceWithAuthentication() crystalReportViewer.ReportSource =GetReportWebServiceWithAuthentication();

    Web NT

    90 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Web NT

    1.

    2.

    3.

    Web

    4. Visual Studio

    NTLM

    AddFirewallProxySettings() Boolean

    92 NT

    1.3.6.4.1.3.2 Web NTLM

    1. GetReportWebServiceWithAuthentication() ConfigureAuthentication()

    2. ConfigureAuthentication() True False3.

    4.

    5. NTLM Web

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 91

  • 6. Visual Studio

    Web Web RemoteReportProxy CrystalReportViewer ReportSource

    1.3.6.4.2 NT

    NT

    75 Crystal

    1.3.6.4.2.1

    Visual Studio

    :

    76 Visual Studio .NET 2003 78 Visual Studio 2005

    Hierarchical Grouping.rpt

    14

    92 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Web NT

    1. Web Windows

    2.

    3. 14 ConfigureCrystalReports() 4. ServerFileReport

    Dim myServerFileReport As ServerFileReport = New ServerFileReport() ServerFileReport serverFileReport = new ServerFileReport();

    5. ServerFileReport ReportPath

    Web.config

    Web ServerFileReportServer.asmx URL wsdl URL

    Hierarchical Grouping Sample Reports Feature Examples

    myServerFileReport.ReportPath = "Feature Examples\HierarchicalGrouping.rpt" serverFileReport.ReportPath = "Feature Examples\\HierarchicalGrouping.rpt";

    6. SAP Crystal Reports Web ServerFileReportService.asmx URL

    SAP Crystal Reports for Microsoft Visual Studio SAP Crystal Reports

    SAP Crystal Reports SAP Crystal ReportsMicrosoft Visual Studio 78 Visual Studio 2005 Web URL

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 93

  • 7. Web URL ServerFileReport WebService myServerFileReport.WebServiceUrl ="http://localhost/CrystalReportsWebServices/ServerFileReportService.asmx" serverFileReport.WebServiceUrl ="http://localhost/CrystalReportsWebServices/ServerFileReport.asmx";

    ServerFileReport CrystalReportViewer 8. ServerFileReport ReportSource CrystalReportViewer

    myCrystalReportViewer.ReportSource = myServerFileReport crystalReportViewer.ReportSource = serverFileReport;

    13

    1.3.6.4.2.2

    Internet (IIS)

    1.3.6.4.2.2.1 IIS

    1. Internet

    2. Internet

    3.

    4. ...

    5.

    6.

    7. Internet

    94 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • Web.config

    Web.config

    13

    1.3.6.4.2.2.2 Web.config identity

    1. Web.config

    Web.config Web identity Web.config identity

    2. identity

    3. Web.config

    4. Web identity Web Web.config

    Web Windows NT Web

    13

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 95

  • 1.3.6.4.2.2.3

    1. Visual Studio Web Windows

    2. ...

    3. .NET CTRL

    CrystalDecisions.ReportSource System.Web.Services

    4.

    5.

    6.

    7. NTServerFileRemoteReportSource8. "Imports" [Visual Basic] "using" [C#]

    Imports CrystalDecisions.SharedImports CrystalDecisions.ReportSourceImports System.Net using CrystalDecisions.Shared;using CrystalDecisions.ReportSource;using System.Net;

    9. NTServerFileRemoteReportSource RemoteReportSource Public Class NTServerFileRemoteReportSource : Inherits RemoteReportSourceEnd Class public class NTServerFileRemoteReportSource : RemoteReportSource{}

    RemoteReportSource RemoteReportSource

    10. C#

    11. ServerFileReport False

    Public Sub New(ByVal report As ServerFileReport) MyBase.New(report, False)End Sub public NTServerFileRemoteReportSource(ServerFileReport report) : base(report, false){}

    96 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 12. CredentialCache DefaultCredentials m_proxy Credentials

    MyBase.m_proxy.Credentials = CredentialCache.DefaultCredentials base.m_proxy.Credentials = CredentialCache.DefaultCredentials;

    13.

    Web Windows

    1.3.6.4.2.2.4

    1. Web Windows

    2.

    3. ConfigureCrystalReports() serverFileReport.WebServiceUrl CrystalReportViewer ReportSource ServerFileReport

    Dim myNTServerFileRemoteReportSource As NTServerFileRemoteReportSource = New NTServerFileRemoteReportSource(myServerFileReport)

    NTServerFileRemoteReportSource ntServerFileRRS = new NTServerFileRemoteReportSource(serverFileReport);

    4. NTServerFileRemoteReportSource ServerFileReport CrystalReportViewer ReportSource

    myCrystalReportViewer.ReportSource = myNTServerFileRemoteReportSource

    crystalReportViewer.ReportSource = ntServerFileRRS;

    NT

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 97

  • 1.3.6.4.2.2.5

    1.

    2. NTServerFileRemoteReportSource

    3. Visual Studio

    1.3.7

    Web Web Microsoft

    SAP Crystal Reports .rpt SAP BusinessObjects Business Intelligence

    1. 2. 3. 4. SAP Crystal Reports .NET SDK API API

    98 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • ActiveX .NET Web

    SAP Crystal Reports .NET Web PDF ActiveX PDF ActiveX ActiveX Web

    SAP BusinessObjects Business Intelligence

    SAP Crystal ReportsMicrosoft Visual Studio SAP BusinessObjects Business Intelligence SAP BusinessObjects Business Intelligence SAP BusinessObjects Business Intelligence

    119

    1.4 SDK

    SAP Crystal Reports .Net SDK

    1.4.1

    SAP Crystal Reports .NET SDK Windows Web

    SAP Crystal Reports .NET CrystalReportViewer

    SAP Crystal Reports .NET SDK SAP Crystal Reports UI ReportDocument PrintOptions PrintToPrinter

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 99

  • CrystalDecisions.CrystalReports.Engine.ReportDocument

    CrystalDecisions.CrystalReports.Engine.PrintOptions

    CrystalDecisions.Windows.Forms.CrystalReportViewer Windows CrystalReportViewer CrystalReportViewer UI

    CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer CrystalReportViewer UI

    108

    1.4.1.1 CrystalReportViewer

    SAP Crystal Reports .NET CrystalReportViewer CrystalReportViewer

    SAP Crystal Reports .NET SDK CrystalReportViewer CrystalDecisions.Web.CrystalReportViewer Windows CrystalDecisions.Windows.Forms.CrystalReportViewer

    CrystalDecisions.Windows.Forms.CrystalReportViewer

    Windows CrystalReportViewer Windows CrystalReportViewer.PrintReport

    Windows CrystalReportViewer.ShowPrintButton false

    CrystalDecisions.Web.CrystalReportViewer

    CrystalReportViewer PDF ActiveX

    100 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • PDF CrystalReportViewer SAP Crystal Reports PDF PDF

    ActiveX Windows ActiveX PrintControl.cab ActiveX

    CrystalReportViewer.HasPrintButton false

    104

    1.4.1.1.1 CrystalReportViewer

    SDK

    1. CrystalReportViewer

    2. false

    Windows CrystalReportViewer.ShowPrintButton false CrystalReportViewer.HasPrintButton false

    CrystalReportViewer

    Windows

    Private Sub ConfigureCrystalReports() CrystalReportViewer1.ShowPrintButton = FalseEnd Sub private void ConfigureCrystalReports(){

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 101

  • InitializeComponent(); crystalReportViewer1.ShowPrintButton = false;}

    99

    1.4.1.1.2 CrystalReportViewer.PrintReport

    Windows CrystalReportViewer.PrintReport CrystalReportViewer

    1. CrystalReportViewer Windows

    2. CrystalReportViewer

    3. PrintReport

    Private Sub PrintReport() CrystalReportViewer.PrintReport()End Sub private void PrintReport(){ crystalReportViewer.PrintReport();}

    102 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.4.1.1.3 ActiveX

    ActiveX ActiveX PrintControl.cab ActiveX

    1. CrystalReportViewer

    2. CrystalReportViewer ActiveX

    CrystalReportViewer1.PrintMode = PrintMode.ActiveX CrystalReportViewer1.PrintMode = PrintMode.ActiveX;

    3. Web.Config PrintControl.cab ActiveX

    Web localhost

    printControl .cab SAP Crystal Reports .NET

    CrystalReportViewer Windows PDF SAP Crystal Reports PrintControl.cab ActiveX

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 103

  • 18 Web.Config

    1.4.1.2

    ReportDocument PrintOptions PrintToPrinter

    CrystalReportViewer

    CrystalReportViewer

    ReportDocument CrystalReportViewer

    Web Web PrintToPrinter() Web Web

    SAP Crystal Reports Server SAP BusinessObjects Intelligence ReportDocument

    Web

    Web ReportDocument.PrintToPrinter Web CrystalReportViewer

    100 CrystalReportViewer

    1.4.1.2.1 ReportDocument

    PrintOptions PrintOptions

    104 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • ReportDocument PrintOptions PrintOptions

    PrintOptions.CopyFrom PrintOptions.CopyTo

    PrintOptions SAP Crystal Reports .NET API ReferenceSAP Crystal Reports .NET API

    Private Sub enableDuplex(ByVal rd As ReportDocument) rd.PrintOptions.PrinterDuplex = PrinterDuplex.VerticalEnd Sub private void enableDuplex(ReportDocument rd){ rd.PrintOptions.PrinterDuplex = PrinterDuplex.Vertical;}

    1.4.1.2.2

    ReportDocument.PrintToPrinter PrintOptions.PrinterName

    1. PrintDocument

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 105

  • PrintDocument PrinterSettings.PrinterName

    Dim localPrinter As System.Drawing.Printing.PrintDocument = New PrintDocument() System.Drawing.Printing.PrintDocument localPrinter = new PrintDocument();

    2. ReportDocument PrinterName PrinterSettings.PrinterName rd.PrintOptions.PrinterName = localPrinter.PrinterSettings.PrinterName rd.PrintOptions.PrinterName = localPrinter.PrinterSettings.PrinterName;

    3. ReportDocument.PrintToPrinter rd.PrintToPrinter(1, False, 0, 0) rd.PrintToPrinter(1, false, 0, 0);

    PrintToPrinter

    Private Sub printReport(ByVal rd As ReportDocument) Dim localPrinter As System.Drawing.Printing.PrintDocument = New PrintDocument() rd.PrintOptions.PrinterName = localPrinter.PrinterSettings.PrinterName rd.PrintToPrinter(1, False, 0, 0)End Sub private void printReport(ReportDocument rd) { System.Drawing.Printing.PrintDocument localPrinter = new PrintDocument(); rd.PrintOptions.PrinterName = localPrinter.PrinterSettings.PrinterName; rd.PrintToPrinter(1, false, 0, 0);}

    1.4.1.2.3

    PrinterSettings ReportDocument.PrintToPrinter

    106 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1. PrinterSettings PageSettings Dim printerSettings As New PrinterSettings()Dim pageSettings As New PageSettings() PrinterSettings printerSettings = new PrinterSettings();PageSettings pageSettings = new PageSettings();

    2. ReportDocument PrinterSttings PageSettings rd.PrintOptions.CopyTo(printerSettings, pageSettings) rd.PrintOptions.CopyTo(printerSettings, pageSettings);

    3. PrinterSettings PrintToFile true printerSettings.PrintToFile = True printerSettings.PrintToFile = true;

    4.

    printerSettings.PrintFileName = "c:\outputFile.prn" printerSettings.PrintFileName = "c:\\outputFile.prn";

    XPS PS

    5. ReportDocument.PrintToPrinter PrintToPrinter

    rd.PrintToPrinter(printerSettings, pageSettings, False) rd.PrintToPrinter(printerSettings, pageSettings, false);

    Private Sub printToFile(ByVal rd As ReportDocument) Dim printerSettings As New PrinterSettings() Dim pageSettings As New PageSettings() rd.PrintOptions.CopyTo(printerSettings, pageSettings) printerSettings.PrintToFile = True printerSettings.PrintFileName = "c:\outputFile.prn" rd.PrintToPrinter(printerSettings, pageSettings, False)End Sub private void printToFile(ReportDocument rd){

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 107

  • PrinterSettings printerSettings = new PrinterSettings(); PageSettings pageSettings = new PageSettings(); rd.PrintOptions.CopyTo(printerSettings, pageSettings); printerSettings.PrintToFile = true; printerSettings.PrintFileName = "c:\\outputFile.prn"; rd.PrintToPrinter(printerSettings, pageSettings, false);}

    108

    1.4.1.3

    1.

    2.

    3.

    4.

    65

    1.4.2

    SAP Crystal Reports SAP Crystal Reports

    /

    CrystalDecisions.CrystalReports.Engine.ReportDocument

    108 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • CrystalDecisions.Shared

    CrystalDecisions.Shared.ExportOptions

    99 781

    1.4.2.1

    SAP Crystal Reports

    SAP Crystal Reports (RPT) SAP Crystal Reports

    SAP Crystal Reports RPTR SAP Crystal Reports (RPT)

    SAP Crystal Reports RPTR RPTR SDK Crystal RPTR SDK RPTR RPTR

    HTML 4.0 HTML 4.0 DHTML

    Microsoft Excel97-2003 Excel Excel

    Microsoft Excel 256 256

    Microsoft Excel97-2003 Microsoft Excel

    Microsoft Excel Microsoft Excel Excel Crystal

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 109

  • SUMAVERAGECOUNTMIN MAX

    Microsoft Excel 2007 (XLSX) XLSX Microsoft Excel (97-2003) XLSX 16385 1,048,576

    Microsoft Word97-2003 RTFRTF

    Microsoft Word (97-2003) Microsoft Word Microsoft Word

    Microsoft Word

    Microsoft Word

    N M

    ODBC ODBC ODBC

    PDF PDF PDF TrueType TrueType Microsoft HKCS

    URI httphttps mailto

    ReportDefinition SAP Crystal Reports 5.0

    RTF RTF

    CSV

    , (CSV)Microsoft Excel

    TTX ""TTX Microsoft Excel

    110 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • XML SAP Crystal Reports XML XML

    SAP Crystal Reports CrystalReportViewer SAP Crystal Reports .NET SDK SAP Crystal Reports

    CrystalReportViewer SAP Crystal Reports .NET SDK

    SAP Crystal Reports

    SAP Crystal Reports (RPT) x x x

    SAP Crystal Reports RPTR

    x x x

    HTML 4.0 x x

    Microsoft Excel97-2003 x x x

    Microsoft Excel (97-2003)

    x x x

    Microsoft Excel 2007 (XLSX)

    x x x

    Microsoft Word97-2003 x x x

    Microsoft Word (97-2003)

    x x x

    ODBC x

    PDF x x x

    x

    x

    ReportDefinition x

    RTF x x x

    CSV x x

    TTX x x

    x x

    XML x x x

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 111

  • 1.4.2.2 CrystalReportViewer

    SAP Crystal Reports .NET CrystalReportViewer CrystalReportViewer

    SAP Crystal Reports

    SDK

    SAP Crystal Reports SAP Crystal Reports MSI SAP Crystal Reports

    781

    1.4.2.2.1 CrystalReportViewer

    SDK

    1. CrystalReportViewer

    2. false

    Windows CrystalReportViewer.ShowExportButton false CrystalReportViewer.HasExportButton false

    112 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • CrystalReportViewer

    Web

    Private Sub ConfigureCrystalReports() CrystalReportViewer1.HasExportButton = FalseEnd Sub private void ConfigureCrystalReports(){ InitializeComponent(); crystalReportViewer1.HasExportButton = false;}

    1.4.2.3

    CrystalReportViewer SAP Crystal Reports .NET SDK

    CrystalReportViewer

    CrystalReportViewer

    HTTP CrystalReportViewer

    ReportDocument

    ReportDocument.Export ReportDocument.ExportToHTTPResponse ReportDocument.ExportToDisk ReportDocument.ExportToStream

    ReportDocument.Export SAP Crystal Reports .NET SDK SAP Crystal Reports .NET SDK ReportDocument.Export ExportOptions

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 113

  • 1.4.2.3.1

    ReportDocument.Export ExportOptions

    ReportDocument.Export

    ExportDestinationType ExportDestinationOptions ExportFormatOptions ExportFormatType

    ExportDestinationType

    ExportOptions.ExportDestinationType ExportDestinationType ExportDestinationType.DiskFile ExchangeFolderMicrosoftMail NoDestination

    ExportDestinationOptions

    ExportOptions.ExportDestinationOptions ExportDestinationOptions ExportOptions.ExportDestinationType

    ExportDestinationType ExportDestinationOptions

    DiskFile DiskFileDestinationOptions

    ExchangeFolder ExchangeFolderDestinationOptions

    Exchange Server

    Exchange

    MicrosoftMail MicrosoftMailDestinationOptions

    ExportFormatType

    ExportFormatType SAP Crystal Reports

    114 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • SAP Crystal ReportsMicrosoft Visual Studio

    SAP Crystal Reports (RPT) SAP Crystal Reports RPTR PDF RTF Microsoft Word97-2003 Microsoft Excel97-2003 Microsoft Excel97-2003 Microsoft Excel (2007) HTML 4.0 CSV Microsoft Word RTF TTX

    ExportFormatOptions

    ExportOptions.ExportFormatOptions ExportFormatOptions ExportOptions.ExportFormatType

    ExportFormatOptions

    ExcelFormatOptions Microsoft Excel97-2003 Microsoft Excel97-2003

    HTMLFormatOptions HTML 4.0

    HTML HTML

    PdfRtfWordFormatOptions

    PDF RTF Microsoft Word97-2003 Microsoft Word RTF

    Microsoft Excel

    Microsoft Excel

    DiskFileDestinationOptions DiskFileDestinationOptions.DiskFileName

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 115

  • ExportOptions.ExportDestinationType ExportDestinationType.DiskFile ExportOptions.DestinationOptions DiskFileDestinationOptions

    ExportOptions.ExportFormatOptions null

    Private Function ConfigureExportToExcelRecord(ByVal filepath As String) As ExportOptions Dim exOptions As New ExportOptions() Dim dfDestinationOptions As New DiskFileDestinationOptions() dfDestinationOptions.DiskFileName = filepath exOptions.ExportDestinationType = ExportDestinationType.DiskFile exOptions.DestinationOptions = dfDestinationOptions exOptions.ExportFormatType = ExportFormatType.ExcelRecord exOptions.ExportFormatOptions = Nothing Return exOptionsEnd Function

    private ExportOptions ConfigureExportToExcelRecord(String filepath) { ExportOptions exOptions = new ExportOptions(); DiskFileDestinationOptions dfDestinationOptions = new DiskFileDestinationOptions(); dfDestinationOptions.DiskFileName = filepath; exOptions.ExportDestinationType = ExportDestinationType.DiskFile; exOptions.DestinationOptions = dfDestinationOptions; exOptions.ExportFormatType = ExportFormatType.ExcelRecord; exOptions.ExportFormatOptions = null; return exOptions;}

    HTML 4.0

    HTML 4.0

    HTML DiskFileDestinationOptions HTMLFormatOptions

    HTMLFormatOptions HTMLFormatOptions.HTMLFileName HTMLFormatOptions.HTMLBaseFolderName HTML

    ExportOptions.ExportFormatOptions HTMLFormatOptions

    Private Function ConfigureExportToHtml40(ByVal exportpath As String) As ExportOptions Dim exOptions As New ExportOptions() Dim html40FormatOptions As New HTMLFormatOptions() html40FormatOptions.HTMLBaseFolderName = exportpath html40FormatOptions.HTMLFileName = "default.html" html40FormatOptions.HTMLEnableSeparatedPages = True html40FormatOptions.HTMLHasPageNavigator = True exOptions.ExportFormatType = ExportFormatType.HTML40

    116 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • exOptions.ExportFormatOptions = html40FormatOptions Return exOptionsEnd Function

    private ExportOptions ConfigureExportToHtml40(String exportpath) { ExportOptions exOptions = new ExportOptions(); HTMLFormatOptions html40FormatOptions = new HTMLFormatOptions(); html40FormatOptions.HTMLBaseFolderName = exportpath; html40FormatOptions.HTMLFileName = "default.html"; html40FormatOptions.HTMLEnableSeparatedPages = true; html40FormatOptions.HTMLHasPageNavigator = true; exOptions.ExportFormatType = ExportFormatType.HTML40; exOptions.ExportFormatOptions = html40FormatOptions; return exOptions;}

    109

    1.4.2.3.2

    Crystal Microsoft Word SAP Crystal Reports 2008 SDK ExcelPDF RTF ReportDocument

    ReportDocument.ExportOptions ReportDocument.Export

    1. ReportDocument 2. DiskFileDestinationOptions

    DiskFileDestinationOptions.DiskFileName Dim dfDestinationOptions As New DiskFileDestinationOptions()dfDestinationOptions.DiskFileName = filepath DiskFileDestinationOptions dfDestinationOptions = new DiskFileDestinationOptions();dfDestinationOptions.DiskFileName = filepath;

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 117

  • 3. ExportOptions a. ExportDestinationType ExportDestinationType.DiskFileb. ExportDestinationOptions DiskFileDestinationOptions c. ExportFormatType ExportFormatType.WordForWindowsd. ExportOptions.ExportFormatOptions null Dim wordExportOptions As New ExportOptions()wordExportOptions.ExportDestinationType = ExportDestinationType.DiskFilewordExportOptions.ExportDestinationOptions = dfDestinationOptionswordExportOptions.ExportFormatType = ExportFormatType.WordForWindowswordExportOptions.ExportFormatOptions = Nothing ExportOptions wordExportOptions = new ExportOptions();wordExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;wordExportOptions.ExportDestinationOptions = dfDestinationOptions;wordExportOptions.ExportFormatType = ExportFormatType.WordForWindows;wordExportOptions.ExportFormatOptions = null;

    4. Export ExportOptions

    Private Sub ExportToWord_RD(ByVal rd As ReportDocument, ByVal filepath As String) Dim dfDestinationOptions As New DiskFileDestinationOptions() dfDestinationOptions.DiskFileName = filepath Dim wordExportOptions As New ExportOptions() wordExportOptions.ExportDestinationType = ExportDestinationType.DiskFile wordExportOptions.ExportDestinationOptions = dfDestinationOptions wordExportOptions.ExportFormatType = ExportFormatType.WordForWindows wordExportOptions.ExportFormatOptions = Nothing rd.Export(wordExportOptions)End Sub private void ExportToWord_RD(ReportDocument rd, String filepath){ DiskFileDestinationOptions dfDestinationOptions = new DiskFileDestinationOptions(); dfDestinationOptions.DiskFileName = filepath; ExportOptions wordExportOptions = new ExportOptions(); wordExportOptions.ExportDestinationType = ExportDestinationType.DiskFile; wordExportOptions.ExportDestinationOptions = dfDestinationOptions; wordExportOptions.ExportFormatType = ExportFormatType.WordForWindows; wordExportOptions.ExportFormatOptions = null; rd.Export(wordExportOptions);}

    118 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.4.2.3.3 ReportDocument.ExportToDisk PDF

    Crystal PDF SAP Crystal Reports 2008 SDK ExcelPDF RTF ReportDocument

    1. ReportDocument 2.

    3. ExportToDisk

    Private Shared Sub ExportToPDF_RD(ByVal rd As ReportDocument) Dim exportPath As String = "C:\\Exported\\" If Not System.IO.Directory.Exists(exportPath) Then System.IO.Directory.CreateDirectory(exportPath) End If rd.ExportToDisk(ExportFormatType.PortableDocFormat, exportPath + "PortableDoc.pdf")End Sub

    private static void ExportToPDF_RD(ReportDocument rd) { String exportPath = "C:\\Exported\\"; if (!System.IO.Directory.Exists(exportPath)) { System.IO.Directory.CreateDirectory(exportPath); } rd.ExportToDisk(ExportFormatType.PortableDocFormat, exportPath + "PortableDoc.pdf");}

    34 ReportDocument

    1.4.3

    SAP Crystal Reports

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 119

  • CrystalDecisions.CrystalReports.Engine.DataDefinition

    CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition

    CrystalDecisions.Web.Parameter

    1.4.3.1

    608 610 609

    120 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK

  • 1.4.3.1.1

    ParameterField

    1"Jill"3.141 True [1..45](4..6]["",""]

    ParameterField DefaultValues CurrentValues

    SAP Crystal Reports for Visual Studio .NET SDK SAP Crystal Reports .Net SDK 2015 SAP 121

  • /

    CrystalReportViewer.ViewTimeSelectionFormula

    ParameterType

    ReportParameterStoredProcedureParameterQueryParameter

    1.4.3.1.2

    SAP Crystal Reports 2008

    myCrystalReportViewer.ToolPanelView = ToolPanelViewType.ParameterPanel

    crystalReportViewer.ToolPanelView = ToolPanelViewType.ParameterPanel;

    myCrystalReportViewer.ShowParameterPanelButton = False

    crystalReportViewer.ShowParameterPanelButton = false;

    122 2015 SAP SAP Crystal Reports for Visual Studio .NET SDK

    SAP Crystal Reports .Net SDK