Skip to content

/AWS1/CL_BDIOUTPUTCONVERSION

Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).

CONSTRUCTOR

IMPORTING

Required arguments:

iv_toformat TYPE /AWS1/BDITOFORMAT /AWS1/BDITOFORMAT

The format for the output from an outbound transformer: only X12 is currently supported.

Optional arguments:

io_formatoptions TYPE REF TO /AWS1/CL_BDIFORMATOPTIONS /AWS1/CL_BDIFORMATOPTIONS

A structure that contains the X12 transaction set and version for the transformer output.

io_advancedoptions TYPE REF TO /AWS1/CL_BDIADVANCEDOPTIONS /AWS1/CL_BDIADVANCEDOPTIONS

A structure that contains advanced options for EDI processing. Currently, only X12 advanced options are supported.


Queryable Attributes

toFormat

The format for the output from an outbound transformer: only X12 is currently supported.

Accessible with the following methods

Method Description
GET_TOFORMAT() Getter for TOFORMAT, with configurable default
ASK_TOFORMAT() Getter for TOFORMAT w/ exceptions if field has no value
HAS_TOFORMAT() Determine if TOFORMAT has a value

formatOptions

A structure that contains the X12 transaction set and version for the transformer output.

Accessible with the following methods

Method Description
GET_FORMATOPTIONS() Getter for FORMATOPTIONS

advancedOptions

A structure that contains advanced options for EDI processing. Currently, only X12 advanced options are supported.

Accessible with the following methods

Method Description
GET_ADVANCEDOPTIONS() Getter for ADVANCEDOPTIONS