Create an Import Definition with Manual Field Mapping Using AMPscript and the SOAP Web Service API
Use AMPscript contained in an email message or landing page to interact with the web service API to create an import definition with manual field mapping. Use this sample AMPscript as a model to create your own script:
Status = %%= v(@StatMessage) =%% - %%= v(@ErrorCode) =%%