cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter module configuration

Former Member
0 Kudos

The message that reaches the file receiver channel is

<EDI_DC40>

structure1

</EDI_DC40>

<EK1NA1M>

structure 2

</EK1NA1M>

So i wanna write a module configuration which will rename the first tag as <ek1na1m>. Plz help

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sumaya,

you are creating the adapter module using the document i told or not...

if you are using that document, then see in the process method you will write all your code......you will take the message as a string........then you can manipulate your string as you want - means you can rename your node..........then you can set this string as your XMLpayload.....

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Hi,

If all you need is a renaming of some nodes, then you needn't write an Adapter Module for it.

Just write a simple Java/ABAP Mapping program, and it after your Message Mapping in the Interface Mapping.

In the Java/ABAP mapping, you can convert the InputStream to String, andover-write the tag.

No need to deploy your module on the server.

Regards,

Puloma.

Former Member
0 Kudos

Can u please explain in detail

prabhu_s2
Active Contributor
0 Kudos

u can make use of a java maaping where u will be able to have th tag renamed as per ur requirement

Shabarish_Nair
Active Contributor
0 Kudos

[original link is broken]

you will find the how to guide on adapter module there. See if that will help.