on 06-30-2011 4:40 PM
Hello Experts,
we're going to implement AS2 Communication with a partner who isn't able to send the XML message with a subject in AS2 HTTTP headerfield but a different dtAS2FileName per message.
We have configured the scenario and it works as long as the partner only sends one message type (e.g. ORDER-XML). But of course there will be more than ORDERS and I don't know how to configure the scenario because I have to use only one Sender agreement with the same PARTNER-IDs (as mentioned in Seeburger AS2 Adapter Configuration Guide)
Can you please provide me the required configuration to deal with different Message-Interfaces from the same Partner.
We are an NW 7.0, Seeburger is on 1.8.1
Thanks in advance
Christian Sperlich
Hi,
Please put * in place of subject in Sender AS2 Adapter.
so AS2 adapter will pick all the messages regardless of subjects.
i have used it in case of same kind of requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Configure your sender AS2 with subject '*'.
and on receiver side take file adapter and add following module.
no mapping required.
1 localejbs/Seeburger/AttribMapper Local Enterprise Bean attribMapper
module key Parameter name Parameter Value
attribMapper http://sap.com/xi/XI/System/File/FileName @http://seeburger.com/xi/AS2/dtAS2FileName
then files will be created with the filenames mentioned in the dtAS2FileName.
later poll the files based on the files and map it accordingly.
Regards,
Suresh
Hi Suresh
thanks for your answer. Exactly this scenario cames to our mind and was also suggested by another SAP Consultant. I'm sure this will work but (sorry!) this can't be the solution. Not only the additional configuration but also the monitoring of the EDI-Messages is more difficult if there were more than 1000 messages per day.
Any other possibility / configurations?
Kind regards
Christian
Hi,
You can easily maintain condition at receiver as well as interface level based on dtAS2Filename.
You need t route it to different interface based on filename.
you dont need to create another file interface for this.
You will find this default context object (dtAS2FileName) under seerburger namespace.
Debashish
Hi Suresh
>
> thanks for your answer. Exactly this scenario cames to our mind and was also suggested by another SAP Consultant. I'm sure this will work but (sorry!) this can't be the solution. Not only the additional configuration but also the monitoring of the EDI-Messages is more difficult if there were more than 1000 messages per day.
>
> Any other possibility / configurations?
>
> Kind regards
>
> Christian
Hi
You dont need to create another file channel to poll the files from a folder. This will be a additinal overhead to the system.
You can directly route the file on the fly based on dtAS2FileName to different receivers as well as interfaces.
You need to use condition in receiver/interface detyermination.
Your condition type shound be context object(not XPATH).
Then search for context object dtAS2FileName.
Hi experts,
I see the question as answered - and i think the above option is possible only when we want to route xmls. (Correct me if i am wrong here!)
If there was content conversion to be performed for the various input files, how can this be resolved under the constraints?
Diya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately the SEEBURGER AS2 adapter does not support an explicit setting of the filename.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lucas
thanks for your answer. I know that there is only the subject in den CC to get the topic of a message. But I'm sure there must be a solution. I've also played with the splitter - but no success. Perhaps Prateek Srivastavis reads this message and has a tipp for us.
Thanks again for your help.
Christian
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.