Skip to main content

Multi Files Importer: How to import SAP/AIS files

Hello!
 
I found this code:
 
 
    For i = 0 To x   
 
           ' Set-up the XML import task
     Set task = Client.GetImportTask("ImportXML")
     task.InputFileName = picked_folder & "\" &  listbox2$(i)
 
          sample_prefix  = Left(listbox2$(i), (Len(listbox2$(i))   - Len( mylist2(extension)) - 1)) ' Removes Extension     task.OutputFileName = task.UniqueBaseFileName(sample_prefix)
 
     ' Execute the XML import task
     task.PerformTask
     Set task = Nothing
         Next
 
 
What do I have to change to use the code for SAP/AIS files?
Thanks in advance!
Best regards,Martin

Brian Element Thu, 11/15/2018 - 12:32

In reply to by MaxK

Hi MaxK,

Unfortunately I have never worked with these files so I don't have any first hand experience importing them.  Is there any chance you can share some with me so I can figure out the best way to incorporate them into the multi file importer.

Thanks

Brian