on 04-13-2007 4:20 PM
Hi
I have a module in file adapter (sender). when the module will be executed. is it before the file is polled or it is after the file polling? any broader view on this will be highly appriciated.
thkx
Prabhu
Prabhu,
As soon as it reads the file it executes If you put your adapter module before the file adapter then first it executes your logic in the adapter module and then in the file adapter like content conversion. If you put adapter module after the file adapter then it executes in the other way round.
It depends on the processing sequence of how your configured in the module tab of your communicaiton channel.
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prabhu,
Check this how to document. If you see the introduction part it should answer your query.
---Satish
thks guys for your intrest in this thread. i close this thread on my understanding that though the module is placed first , the file adapter calls triggers first on converting the message to xml format and this might be acheived either by calling a shell script or by a custom adapter module. thkx once again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
See the above links to get an idea
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prabhu,,
Once the file is read by the file adapter the message is converted into XI specific format with approporiate Header informtion is added - like the sender service/system sender interface , namespace etc .
after this the message is send to the module processor in which the appropraite modules are gettin executed based on their sequence of arrangement.
the module processor performs structure conversion and also adapter specific and communication channel specific conversion in the message .
regards,
Rahul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if we will be able to have the module processed first before pooling happens how to get the file name? and what does module key signify?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
my req is to read a file before the file adapter polls it. i want to have a module created for it. and here i need to know if the module that is created executes before or after the pooling starts.
also:
1. what does parameter name and parameter value signify
2. if we can control the flow of the module how to set to execute first before pooling?
Prabhu,
as explained here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/f13341771b4c0de10000000a1550b0/frameset.htm
- for async sender/receiver adapters, you use modules before the adapter module.
- for sync sender/receiver adapters, you can wither use modules before the adapter module (they will affect the request message) or after the adapter module (affecting the response message).
Regards,
Henrique.
Hey Prabhu,
some adapters, like SOAP, wont support custom modules on sender side.
So, I really cant say to you for sure that file adapter will support that.
My guess is that it will, but you will have to test that to be sure.
Also, to get filename in your custom module, check this blog:
/people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
I can't say for sure that the filename ASMA will already be populated at your custom module runtime (again, my guess is that it will be). You will also have to test if it will work to be sure.
Regards and good luck,
Henrique.
Hi Prabhu ,
Very nice to see your question here ...
After pick the file from sender side the file native format message into XI message format will be done in Adapeter and message id will be generated for the XI message format , later this XI message will be send it Module processor, here generic AF modules and Adapter spcific modules will be executed here
see the below links to helps you lot
http://help.sap.com/saphelp_nw2004s/helpdata/en/fd/16e140a786702ae10000000a155106/content.htm
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi
http://help.sap.com/saphelp_nw2004s/helpdata/en/6a/a12241c20af16fe10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/e4/6019419efeef6fe10000000a1550b0/content.htm
Regards
Chilla
hi all
thks for ur replies.
<b>- for async sender/receiver adapters, you use modules before the adapter module.</b>
1.how to use the custom module before adapter modules? can u take the example of a file adapter and let me know on how to use it?
2. also i'm confused on what is adapter module and module u r refering to?. i'm aware of the module tab in the fiel adapter,for example, does the adapter module refer to the std module that exists in ur context?
> my req is to read a file before the file adapter polls it. i want to have a module created for it. and
> here i need to know if the module that is created executes before or after the pooling starts.
This is not possible. The first step of the file adapter and most other adapters (besides SOAP) consists in creating the whole XI message in XML format. After this step the customer module is called, even when this is maintained at first in the module sequence.
When you want to execute anything before the file is read by the file adapter, you can only du this with a (shell) script that you add to the adapter configuration.
Regards
Stefan
> This is not possible. The first step of the file
> adapter and most other adapters (besides SOAP)
> consists in creating the whole XI message in XML
> format. After this step the customer module is
> called, even when this is maintained at first in the
> module sequence.
>
> When you want to execute anything before the file is
> read by the file adapter, you can only du this with a
> (shell) script that you add to the adapter
> configuration.
There you go, Prabhu.
Workaround would be trying to create your own custom adapter.
Regards,
Henrique.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.