Anfang des Inhaltsbereichs

Vorgehensweisen Customizing SAP Proxies Dokument im Navigationsbaum lokalisieren

There is design time support for modifying and updating the generated proxies. To see the design view, simply double click on the generated SAPProxy WSDL file in the Visual Studio designer Solution Explorer.

The proxies should be customized from within Visual Studio designer. There is no need to rerun the proxy generation wizard unless the RFC signature has changed.

 

Type of Object

Example in Designer

RFC functions (shown as method icon)

Diese Grafik wird im zugehörigen Text erklärt

SAP table class (shown as SAP table icon)

Diese Grafik wird im zugehörigen Text erklärt

SAP structure class (shown as class icon)

Diese Grafik wird im zugehörigen Text erklärt

 

Solution Customizing

These options may be set on the SAPProxy sapwsdl file in the designer. Based on this input the SAP proxy C# classes will be updated automatically.

Beautify

If turned on, all identifiers that do not have custom names are “beautified” to mixed case

ClassName

The name of the class that is generated

CreateAsyncs

Controls if the generator should create Microsoft style asynchronous methods

CreateTRFC

Controls if the generator should create methods for Transactional RFC

CreateQRFC

Controls if generator should create methods for Queued RFC

ProxyType

Whether the generator should create a client proxy or server stub

 

Method Customizing

These options may be changed on the RFC function (proxy methods):

Name

The name used in the code to identify the RFC

Custom Parameter order

In the parameters collection editor you can customize the parameter order. If you do so, this property is set to true. If you set it to false, the parameter order is set back to default

Exceptions

Use the collection editor to see and customize the ABAP exceptions that this method might throw

Parameters

Use the collection editor to see and customize the parameters of the method

UseIOStructs

When turned on, the generator will create an additional version of the method that takes an input structure and returns an output structure (similar to the SAP Java Connector). You cannot have removed parameters with this option

 

These parameters of the method are provided as informational:

AbapName

Contains the original name of the object as it is called in ABAP

OptionalParameters

Shows you the number of optional parameters in the function

RemovedParameters

Shows you the number of parameters that have been removed and will not be generated

TotalParameters

Shows you the total number of parameters of the function

 

SAPStructure Customizing

These parameters may be changed on the SAP Structures:

Name

The name of the SAP structure

Fields

Uses the collection editor to customize the fields in the structure

Filename

Specifies the filename that is used to create the type into

 

These parameters are provided as informational:

AbapName

Contains the original name of the object as it is called in ABAP

 

SAPTable Customizing

These parameters may be changed on SAPTables:

BaseStruct

For implicitly defined tables, the property contains the name of the structure that the table is based on

Filename

Specifies the filename that is used to create the type into

 

These parameters are provided as informational:

AbapName

Contains the original name of the object as it is called in ABAP

 

Ende des Inhaltsbereichs