How to export temp table to txt using xmlport

Hi expert.

I want to use xmlport to import data from web service, So I create a xmlport file , then create a codeunit to call this xmlport .

UpdateVehicle(VAR BaseVehicle : XMLport "Import Vehicle";VAR ErrMsg : Text) : Boolean

IF NOT (BaseVehicle.IMPORT) THEN BEGIN //WS1.78 TEST
ErrMsg := 'failed.';
EXIT(FALSE);
END;

BaseVehicle is a xmlport based on Temp table, 

i want to check the imported data, how can i export the transfered-in data ? 

I mean , if xmlport.import is false, how can i save the data to txt for debuging?

Any suggestion will be warmly appreciated.

Related
Recommended