cancel
Showing results for 
Search instead for 
Did you mean: 

File Sender Adapter Configuration

Former Member
0 Kudos

Hi,

can I configure the File sender adapter in a way that it ignores certain strings in a file.

Example file:

*†H†÷

‚ . All the rest should not be loaded.

I know this is odd, but is it possible?

Thanks in advance.

Alex

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

of course it is

it requires a very very small adpater module

that will cut everything before the first <

and after the last >

inside this adapter module you can

put the XML into string and search for first <

and last > and take only the values from the inside

that's all

Regards,

michal

Former Member
0 Kudos

Hi Michal,

sounds promissing. Any reference how to develop such adapter modules?

Thanks for the prompt answer.

Alex

MichalKrawczyk
Active Contributor
0 Kudos

hi Alex,

sure:

https://websmp210.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf

you only have to add the cutting in java

to the code above

Regards,

michal

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Incase you do not have access to service market place, this doc is available on SDN itself

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac2...

Regards,

Bhavesh