Skip to content

/AWS1/CL_ERN=>CREATESCHEMAMAPPING()

About CreateSchemaMapping

Creates a schema mapping, which defines the schema of the input customer records table. The SchemaMapping also provides Entity Resolution with some metadata about the table, such as the attribute types of the columns and which columns to match on.

Method Signature

IMPORTING

Required arguments:

IV_SCHEMANAME TYPE /AWS1/ERNENTITYNAME /AWS1/ERNENTITYNAME

The name of the schema. There can't be multiple SchemaMappings with the same name.

IT_MAPPEDINPUTFIELDS TYPE /AWS1/CL_ERNSCHEMAINPUTATTR=>TT_SCHEMAINPUTATTRIBUTES TT_SCHEMAINPUTATTRIBUTES

A list of MappedInputFields. Each MappedInputField corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/ERNDESCRIPTION /AWS1/ERNDESCRIPTION

A description of the schema.

IT_TAGS TYPE /AWS1/CL_ERNTAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags used to organize, track, or control access for this resource.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ERNCREATESCHMAPOUTPUT /AWS1/CL_ERNCREATESCHMAPOUTPUT