Skip to content

/AWS1/CL_BDI=>TESTMAPPING()

About TestMapping

Maps the input file according to the provided template file. The API call downloads the file contents from the Amazon S3 location, and passes the contents in as a string, to the inputFileContent parameter.

Method Signature

IMPORTING

Required arguments:

IV_INPUTFILECONTENT TYPE /AWS1/BDITESTMAPINPUTFILECONT /AWS1/BDITESTMAPINPUTFILECONT

Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.

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_FILEFORMAT TYPE /AWS1/BDIFILEFORMAT /AWS1/BDIFILEFORMAT

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_BDITESTMAPPINGRSP /AWS1/CL_BDITESTMAPPINGRSP