cancel
Showing results for 
Search instead for 
Did you mean: 

AS2 Sender Adapter -- Need clarity.. Very Very Urgent...!!!

Former Member
0 Kudos

Hi AS2 experts,

Regarding AS2 sender adapter:

We will provide the details

TP: HTTP

MP: AS2

*Message Subject = **

1. Can anyone please clarify what is this message subject ??

Its the incoming file name we need to provide?

According to few blogs,

2. We will be providing the below URl to the partner system to send there messages.

HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server

Consider im having partner systems A,B,C .

and we will be creating 3 communication channels(CC1 ,CC2 ,CC3) to three partner systems.

If i provide same URL to all the three partner systems.

Then how it will differentiate like which file is belongs to which interface (from which partner it is coming)?

And im not providing anything specific in all the AS2 sender comunication channels to differentiate these files.

What is this AS2ID which we will provide in Party Configuration.

WIll it makes any difference to above problem?

Kindly suggest me if anyone has idea about this asap.

Its Very very urgent.

ThankYou.

Regards

Deepthi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hai deepthi,

AS2 uses two different message types

1. Message payload

2.MDN

The Message Payload encapsulates an EDI file that can be

transmitted via HTTP protocal.

MDN is to acknowledge the receipt of the payload message.

MDN is optionally signed.

U need to configure the Module in sender communication channel..

There u need to give the module name and module parameters...

In the Module level u need to meansion the seeburger mapping name...

Before the AS2 adaptor the conversion will be finished...

AS2 adaptor comes in adaptor Framework.....

like...

Runtime---Adapter Engine SAP J2EE-AS2 Adapter---EDI Partner

After that the converted EDI formated file transmitted through HTTP protocal ...

AS2 adaptor used to monitoring the message sender or receiver communication channel in seeburger ...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0bfb959-b10b-2a10-b590-9e36a8f3...

this link will more helpfull for u..

Regards,

Prakasu

Answers (3)

Answers (3)

dineshhome1361_7
Participant
0 Kudos

Hi Team,

I have a doubt on how to differentiate any incoming data whether I need to send MDN or not? Is it mandatory to send MDN?

Could anyone clarify

Thanks,

Dinesh

Former Member
0 Kudos

By AS2ID and message subject , we can differentiate the inbound channel.

aashish_sinha
Active Contributor
0 Kudos

Hi,

The message which are coming to XI will be picked up based on two things:

1) AS2 ID of the partner and the second one is

2) Message subject :

Message Subject

This subject will be compared with the subject in the received message. This is used to find the correct channel for the inbound message. Wildcards are allowed.

There is a defined order in which the matching inbound channel is looked up. First the adapter looks for a sender channel with a message subject configured.

• If there is one channel with a matching subject configured, the channel is used for forwarding the received payload to the XI system.

• If there is no channel configured with an matching subject the received payload is rejected.

• If there is one channel configured with a matching subject and another channel with a wildcard –both channels will match. In this case the received payload is forwarded to the channel without wildcard configured.

• If there is more than one channel configured with a matching subject, the payload is rejected.

Sender AS2 configuration:

We need to give the AS2ID in the party identifier tab,AS2ID that is entered here will be used for identifying the sender and receiver of the document.

1)The value of the Agency field must be Seeburger.

2)The value of the Schema field must be AS2ID.

Every partner is assigned the WAN no which is provided by the WAN service provider. That WAN no we need to configure in the party identifier tab.

Hope this will clarify you.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi Aashish & prakash,

Thanks for the reply.

Few more doubts:

1. We need to provide the below URl and Port to the partner to receive the messages??

HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server

2.Is it possible to do content based routing by using Message Subject?

Example :

UNBUNOA:39313938000631:ZZ9300676000009:ZZ070726:1149547+++1'

By using Receiverid(9313938000631) in the above EDI line,we need to send to the corresponding communication channel.

Kindly let me know.

Thank You.

Regards

Deepthi.

aashish_sinha
Active Contributor
0 Kudos

Hi,

>>>>1. We need to provide the below URl and Port to the partner to receive the messages?? HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server

I guess yes . you need to provide this URI.

>>>>>2.Is it possible to do content based routing by using Message Subject?

yes it is possible to determine the receiver depending upon ur condition. Please provide the context object at design time and at the time of Configuration , using XPATH you can determine conditional receiver.

please look in to this links u will come to know about seeburger adapter.

/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact

/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield

/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield

http://www.stylusstudio.com/edi/XML_to_X12.html

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2...

/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact

http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf

http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf

http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf

http://www.seeburger.com

http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf

http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf

http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf

http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf

http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf

http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt

http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integratio...

http://www.seeburger.com

http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf

http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf

http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf

http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt

Hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi Aashish,

Please clarify below points.

I will be getting 2 files for ORDERS and REMADV information from partner.

then i will be creating two communication channels for two interfaces.(CC_AS2_1 for orders & CC_AS2_2 for remadv).

We will be receiving the messages though http to the URL

HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server

Once configuration is done, files will start coming..

But how can we know like which is Orders & which is Remadv files??

1. Do we specify anywhere ?

I need to ask my client to provide any file names to include in Message subject like ORDERS.txt or REMADV.txt?

2. How we can monitor whether files are coming or not?Can we monitor in RWB for Communication channel monitoring or any other option is available?

Kindly provide the answers.

Thanks

Deepthi.

aashish_sinha
Active Contributor
0 Kudos

Hi Deepti,

I hope, you must be created two Communication Channel for both of IDocs and also you are done with all the configuration related to Target file name and sender file name. Here you go. This is the place where you set the names for Source and Target. In Orders CC you must have provided the sender file name and also at the receiver side u must have provided the target file name. Suppose if AS1 CC takes Orders Idoc , did something depending upon your logic and as you provided the path, it putted it with filename Orders_timestamp.txt to desired location. Same with Remadv in other AS2 CC.

>>>>But how can we know like which is Orders & which is Remadv files??

I hope i answered you.

>>>1. Do we specify anywhere ?I need to ask my client to provide any file names to include in Message subject like ORDERS.txt or REMADV.txt?

Same with this also.

>>>>2. How we can monitor whether files are coming or not?Can we monitor in RWB for Communication channel monitoring or any other option is available?

You can moniter it in RWB and also at AS2 adapter you configured. for success, pending, error, and retry.

Also refer this link.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2...

Hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi Aashish,

Im pretty clear about Idoc to EDIFile scenario.

The questions which i posted are for EDIfile to IDoc scenario.

Where sender CC will be AS2 adapter.

So i will be getting 2 files for purchaseorders and remittance information from partner.

then i will be creating two communication channels for two interfaces.(CC_AS2_1 & CC_AS2_2).

We will be receiving the messages though http to the URL

HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server

Once configuration is done, files will start coming..

But i dont know which file is hitting to which adapter.. Did we mention anywhere as such this is the file name which has to go to this adapter..?

1. how can we know like which is for Orders & which is Remittance files??

Do we specify anywhere ?

whether I need to ask my client to provide any file names to include in Message subject like Purchaseprders_EDI.txt or REMADV_EDI.txt?

Do we follow any specific format for EDI files and these file names we will mention in the Message Subject of AS2 Sender adapter??

First time working with AS2.. So many doubts arising in my mind..

Kindly let me know.

Regards

Deepthi.

Former Member
0 Kudos

1) how can we know like which is for Orders & which is Remittance files??

Do we specify anywhere ?

A) The files which are coming to AS2 adapter is for specific partner. So every partner will send the different files and based in the configuration which is done in the identifier tab of party, ur file will be picked up and that scenario will run by that configuration.

whether I need to ask my client to provide any file names to include in Message subject like Purchaseprders_EDI.txt or REMADV_EDI.txt

A) U can write * in message subject.

Do we follow any specific format for EDI files and these file names we will mention in the Message Subject of AS2 Sender adapter??

A) Format of Every EDI message is standard one. Answered u for message subject.

Thnx

Chirag

Former Member
0 Kudos

Hi CHirag,

Few queries from your answers.Pls clarify.

1. The files which are coming to AS2 adapter is for specific partner. So every partner will send the different files and based in the configuration which is done in the identifier tab of party, ur file will be picked up and that scenario will run by that configuration.

We are not going to use AS2ID in party.We are not using any Van network to connect to target .

We are going to get the files thorugh http transport protocol.So its not mandatory that we need to use AS2ID.

2. U can write * in message subject.

*If i put * , then it will get all the files which are coming to URL*

HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server.

3. Format of Every EDI message is standard one.

Please let me know what is the standard one for puchaseorders?

My main question is we are going to provide same URL to retrieve all the information from different partners.Then how it will get differentiate for each interface.??

How each AS2 adapter will differentiate among themselves like which file has to goto which adapter..??

pls clarify.

Regards

Deepthi.

Former Member
0 Kudos

which is done in the identifier tab of party, ur file will be picked up and that scenario will run by that configuration.

We are not going to use AS2ID in party.We are not using any Van network to connect to target .

We are going to get the files thorugh http transport protocol.So its not mandatory that we need to use AS2ID.

A) I am not sure how this can be achieved using HTTP protocole. As far as I know for B2B scenarios we need to go for third party adapter like seeburger.

2. U can write * in message subject.

*If i put * , then it will get all the files which are coming to URL*

HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server.

A) Yes u r correct.

3. Format of Every EDI message is standard one.

Please let me know what is the standard one for puchaseorders?

A) Refer the standard provided:

http://www.edifactory.de/index.php?p=unedifact/main

My main question is we are going to provide same URL to retrieve all the information from different partners.Then how it will get differentiate for each interface.??

IT will differentiated from the message subject and ur partner no which is configured in party.

How each AS2 adapter will differentiate among themselves like which file has to goto which adapter..??

Thnx

Chirag