Skip to content

/AWS1/CL_CWE=>CREATECONNECTION()

About CreateConnection

Creates a connection. A connection defines the authorization type and credentials to use for authorization with an API destination HTTP endpoint.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/CWECONNECTIONNAME /AWS1/CWECONNECTIONNAME

The name for the connection to create.

IV_AUTHORIZATIONTYPE TYPE /AWS1/CWECONNECTIONAUTHTYPE /AWS1/CWECONNECTIONAUTHTYPE

The type of authorization to use for the connection.

IO_AUTHPARAMETERS TYPE REF TO /AWS1/CL_CWECRECXNAUTHREQPARMS /AWS1/CL_CWECRECXNAUTHREQPARMS

A CreateConnectionAuthRequestParameters object that contains the authorization parameters to use to authorize with the endpoint.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/CWECONNECTIONDESCRIPTION /AWS1/CWECONNECTIONDESCRIPTION

A description for the connection to create.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWECREATECONNRESPONSE /AWS1/CL_CWECREATECONNRESPONSE