/AWS1/CL_BDI=>CREATETRANSFORMER()
¶
About CreateTransformer¶
Creates 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_NAME
TYPE /AWS1/BDITRANSFORMERNAME
/AWS1/BDITRANSFORMERNAME
¶
Specifies the name of the transformer, used to identify it.
IV_FILEFORMAT
TYPE /AWS1/BDIFILEFORMAT
/AWS1/BDIFILEFORMAT
¶
Specifies that the currently supported file formats for EDI transformations are
JSON
andXML
.
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.
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.
Optional arguments:¶
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.
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.