cancel
Showing results for 
Search instead for 
Did you mean: 

Changing sequence of modules in File Adpater

former_member204873
Contributor
0 Kudos

hi all,

I am using file adapter in one of the scenario's.

Can sequence in which modules are called be changed so that file from FTP location is read after one of the module is executed in file adapter.

As of now calling sequence in channel is:

localejbs/ReadExcel

CallSapAdapter

MDT from channel monitoring is

2009-11-10 15:06:27 Information Send binary file "mayank.xls" from ftp server "poc890:/input", size 17408 bytes with QoS EO

2009-11-10 15:06:27 Information MP: entering1

2009-11-10 15:06:27 Information MP: processing local module localejbs/ReadExcel

2009-11-10 15:06:27 Information Excel Module called

2009-11-10 15:06:27 Information MP: processing local module localejbs/CallSapAdapter

2009-11-10 15:06:27 Information The application tries to send an XI message asynchronously using connection File_http://sap.com/xi/XI/System.

What i want to do is to call one more module before reading from ftp location.

Please Help!

Mayank

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

What is the module you like to use...?

you can use another module before that also..but it should make sense...

HTH

Rajesh

former_member204873
Contributor
0 Kudos

Requirement is like we need to use custom module that will decrypt the encoded file (located on server) & decrypted file will be placed on server only. After this module we need to read file using adapter processing i.e by using ftp location parameters in channel.

former_member187339
Active Contributor
0 Kudos

Hi Mayank,

>>we need to use custom module that will decrypt the encoded file (located on server) & decrypted file will be placed on server only.

No it is not possible.... But why you are decrypting the file in FTP server location and want to place it back there?? The file is encoded for security reason right??

Instead, have one more module in PI adapter which will decrypt it and then your XLS module will convert it into XML and later callsapadapter module will come..

1. Decrypt module

2.. Excel module

3. CallSAP adapter

Regards

Suraj

former_member204873
Contributor
0 Kudos

hi suraj,

Which module is called to read from ftp location.

What is the use of CallSapAdapter module?

Thanks,

Mayank

former_member187339
Active Contributor
0 Kudos

Hi Mayank,

>>Which module is called to read from ftp location.

Your FTP Adapter will read the file, then a module (this shoudl be created) will decrpyt the content. The decrypted content will be the input to your Excel Module and finally output of Excel module will be going to PI through CALLSAP module.. hope now it is clear

>>CallSapAdapter

Check this blog: http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417300%29ID1708152450DB0192469670244962826...

Regards

Suraj

Former Member
0 Kudos

Hi,

What i want to do is to call one more module before reading from ftp location.

You mean to say that you want to execute another module before reading this excel file, right? And what exactly you want to achieve with that module?

I don't see any problem in doing this.

Please explain more so that someone can help you out.

Regards,

Neetesh