cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy to File Scenario..

Former Member
0 Kudos

Hi All,

I am working on a scenario where I receive data from SAP in a proxy. This data from proxy has to be written as a file. The file should be in a formated file structure like;

Claim Number# 1232144

Invoice Number# 123232412

Invoice Date# 2006/06/22

-


Line# Description Amount

-


Material: 1 Material 2,9634

2 Expense 3424

Labor: 3 Charge 123

Is it possible to write a file in a format as shown above. Please advice.

Thanks & Regards,

Manohar.

Accepted Solutions (0)

Answers (2)

Answers (2)

ravi_raman2
Active Contributor
0 Kudos

You can also do a java fileCreater that will write the file the way you want it.

so then it would be something like....

OutputStream os;

os.writeln(" ");

regards

Ravi

Former Member
0 Kudos

Dubbaka,

Is the format of the file is fixed or dynamic. If it is fixed then I would suggest to write the entire one record as one field.

In mapping you concat with the texts and the value coming from proxy.

Regards,

---Satish

Former Member
0 Kudos

Manohar

You can do as Satish said...or a weird idea i have, in which we write a report which does what ever you want and place it on apps server of ecc..then transfer the file to FTP using XI or FTP client...