Skip to content

/AWS1/CL_BDI=>UPDATETRANSFORMER()

About UpdateTransformer

Updates the specified parameters for a transformer. A transformer describes how to process the incoming EDI documents and extract the necessary information to the output file.

Method Signature

IMPORTING

Required arguments:

IV_TRANSFORMERID TYPE /AWS1/BDITRANSFORMERID /AWS1/BDITRANSFORMERID

Specifies the system-assigned unique identifier for the transformer.

Optional arguments:

IV_NAME TYPE /AWS1/BDITRANSFORMERNAME /AWS1/BDITRANSFORMERNAME

Specify a new name for the transformer, if you want to update it.

IV_FILEFORMAT TYPE /AWS1/BDIFILEFORMAT /AWS1/BDIFILEFORMAT

Specifies that the currently supported file formats for EDI transformations are JSON and XML.

IV_MAPPINGTEMPLATE TYPE /AWS1/BDIMAPPINGTEMPLATE /AWS1/BDIMAPPINGTEMPLATE

Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.

IV_STATUS TYPE /AWS1/BDITRANSFORMERSTATUS /AWS1/BDITRANSFORMERSTATUS

Specifies the transformer's status. You can update the state of the transformer, from active to inactive, or inactive to active.

IO_EDITYPE TYPE REF TO /AWS1/CL_BDIEDITYPE /AWS1/CL_BDIEDITYPE

Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.

IV_SAMPLEDOCUMENT TYPE /AWS1/BDIFILELOCATION /AWS1/BDIFILELOCATION

Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BDIUPDATEXFORMERRSP /AWS1/CL_BDIUPDATEXFORMERRSP