Skip to content

/AWS1/CL_BDI=>CREATECAPABILITY()

About CreateCapability

Instantiates a capability based on the specified parameters. A trading capability contains the information required to transform incoming EDI documents into JSON or XML outputs.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/BDICAPABILITYNAME /AWS1/BDICAPABILITYNAME

Specifies the name of the capability, used to identify it.

IV_TYPE TYPE /AWS1/BDICAPABILITYTYPE /AWS1/BDICAPABILITYTYPE

Specifies the type of the capability. Currently, only edi is supported.

IO_CONFIGURATION TYPE REF TO /AWS1/CL_BDICAPABILITYCONF /AWS1/CL_BDICAPABILITYCONF

Specifies a structure that contains the details for a capability.

Optional arguments:

IT_INSTRUCTIONSDOCUMENTS TYPE /AWS1/CL_BDIS3LOCATION=>TT_INSTRUCTIONSDOCUMENTS TT_INSTRUCTIONSDOCUMENTS

Specifies one or more locations in Amazon S3, each specifying an EDI document that can be used with this capability. Each item contains the name of the bucket and the key, to identify the document's location.

IV_CLIENTTOKEN TYPE /AWS1/BDISTRING /AWS1/BDISTRING

Reserved for future use.

IT_TAGS TYPE /AWS1/CL_BDITAG=>TT_TAGLIST TT_TAGLIST

Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BDICRECAPABILITYRSP /AWS1/CL_BDICRECAPABILITYRSP