cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter , Data type ?

Former Member
0 Kudos

Hi Friends,

I am working on file adapter ,I am picking file from one folder and placing it into another folder. For this I had not used IR, I had configured in ID alone for this purpose with dummy interface name.

Now I want to use some java mapping for encoding file to BASE64, So I need to configure IR, but I am really confused how to configure IR in case when we are using file adapter. I mean, if we want to use java mappaing ,we have to specify in IR under mapping program ,type as JAVA CLASS , and that mapping is between some source and target message.

So my question is , for using java mapping for file adapter what should be the data type of source and target message.? Or is it possible to use java mapping without data type also.

Thanks...

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I will try it do do it with dummy data type.. thanks

Former Member
0 Kudos

Hi,

You can use an Adapter module to encode the payload.

Please refer the below blog:

/people/farooq.farooqui3/blog/2008/09/24/sap-xipi-encode-outgoing-payload-using-adapter-module

Regards,

Manjusha.

Former Member
0 Kudos

My Question is which data type should I use..for that

Shabarish_Nair
Active Contributor
0 Kudos

if its java mapping, just create a DT with any structure as you wish.

ex.

DT_Dummy
 |__ Dummy_field

java mapping does not validate the xml against the DT you created