cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module Question

Former Member
0 Kudos

Hi All,

I am implementing a File receiver Adapter Module.

1. Where should i place my module in the module tab of the communication channel?

a)before localejbs/CallSapAdapter

b) after localejbs/CallSapAdapter

c) Doesn't matter.

2. I am trying to access the file name with the following code?

Hashtable mp=(Hashtable)moduledate.getSupplementalData("module.parameters");

String fileName = (String) mp.get("FileName");

I am getting null. What am i doing wrong?

3. I tried to see all the values in the above HashMap.

It is empty. Why?

I appreciate your help

Thank you

Ganges Leaves

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>> Where should i place my module in the module tab of the communication channel?

a)before localejbs/CallSapAdapter

>>>2. I am trying to access the file name with the following code?

you can only access the name in the file sender and not receiver

Regards,

michal

Former Member
0 Kudos

Michale,

Thank you for your help.

1. If i am writing Module for sender adapter, Whare am i going to place my module? before/after ?

2. How do i know key values like

"module.parameters", "FileName" etc.

Thank you

Ganges Leaves

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

1. before

2. there is only one: FileName

and nothing more

Regards,

michal

moorthy
Active Contributor
0 Kudos

Hi Ganges-

Just to add Michale's help, go thru this guide from service market place to get the flow.

https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=011000358700000002...

Hope this helps,

Regards,

Moorthy

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ganges Leaves,

Did you set the <b>Adapter-Specific Message Properties</b> like

1.FileName

2.Directory

3.FileType

in Sender File Adapter?

Regards,

Ananth