cancel
Showing results for 
Search instead for 
Did you mean: 

How to process .DAT files

Former Member
0 Kudos

Hi Experts,

I am working on XML to Proxy scenario, but the bank in sending xml file in .dat extension. So how can I process it in sap pi. Is it possible to process using file adapter.

Getting the file name as below.

File_170820161248263038.dat.GLN37424D11471427323021976S

Regards,

Mohammad

Accepted Solutions (1)

Accepted Solutions (1)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Mohammad,

                         As long as content of the file is xml , file extension does not matter.

You can use sender file adapter to read the file.

You can use source filename as *.dat.* in sender file adapter.

Regards

Anupam

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Hello Mohammad,

Normal file channel will do as you already have XML in place.

manoj_khavatkopp
Active Contributor
0 Kudos

Usually the .dat file content will be fixed-length content so :

  • In case if it is fixedlength then apply FCC in you sender file adapter to convert it to xml.
  • If the content is already an xml then no need of FCC.

Dont go by file extension , first check the content and then proceed.

br,

Manoj