cancel
Showing results for 
Search instead for 
Did you mean: 

*messege interface* concept!

0 Kudos

Hi every1,

Pls tell me when I am sending Idocs from *SAP to Xi * why is it that in the messege interface I assign the attribute as inbound and asynchronous, instead of outbound.

Points would be rewarded.

Thks and Regards,

Arnab

Accepted Solutions (0)

Answers (6)

Answers (6)

0 Kudos

answered!

Former Member
0 Kudos

Hi,

You use a message interface to describe a platform-independent or programming-language-independent interface, which you want to use to exchange messages between application components using SAP Exchange Infrastructure. Depending on the communication parameters defined for a message interface, it can either have the task of sending a request (outbound) or receiving a request (inbound). Assigning an outbound interface to an inbound interface enables multiple communication parties to exchange messages with each other (see also: Communication Parties (Case Examples)). The following connections are possible for message interfaces:

· A message interface with another message interface

· A message interface with an imported interface

· A message interface with an interface configured by an adapter

While doing an File -> XI -> IDoc scenario, The Points to noted are:

1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.

2. You import the IDOC and use the same in your mapping.

3. In this configuration note that you will need a sender agreement for the file.

4. In this configuration note that you will also need a receiver agreement for the IDOC.

For any File -> XI -> IDoc scenario ref:

File to IDOC

I hope it helps.....

For trouble shooting :

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

Check the link for more details:

http://help.sap.com/saphelp_nw04/helpdata/en/55/c5633c3a892251e10000000a114084/frameset.htm

File to IDOC (Creating PO)

/people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi

File-to-Idoc

/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping

File To IDOC - Part1 (SLD and Design)

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/fileToIDOC&

Troubleshooting File-to-IDOC Scenario in XI

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/main&;

Reward points if helpful

Regards,

Soumya.

0 Kudos

Reply to all

Hi every body,

I think I got the correct answer.

My query was, when it is idoc - xi - file senerio, why do we make the messege interface as inbound?

and when it is a file - xi - idoc, we take it as outbound messege interface!!

The reason being, the moment we consider idocs in this XI senerio, which ever end it may be , we must keep in mind we need not to make messege Interfaces, Data types or Messege Types . So then we have to think from the file perspective only.

So in the idoc - xi - file senerio , messege interface is made for the file, so from file perspective,this is inbound as here FILE is at the RECEIVER end.

Similarly in file - xi - idoc again messege interface is made for the file, so now from file perspective,this is outbound as here FILE is at the SENDER end.

Lastly in case of any senerio, where there is no idocs in either end, say JDBS to file and file to JDBD , we have to make MI MT and DT in both the ends, 1 for JDBC nad another for FILE. So when

JDBS to file senerio, while making MI for JDBC, we make the MI as outbound.And when making the MI for File , it is inbound.

The senerio is just the opposite when we consider as FILE - xi - JDBC case!!

Thanks to all of you.

Thanks and Regards,

Arnab

vijay_b4
Active Contributor
0 Kudos

Hi Mohd,

Reward points if this helps

I understood your doubt in this way......let me know if am wrong....

If it File to Idoc....file is outbound and idoc is set to be inbound.

To be more clear as file is sending the data it is set to be outbound and Idoc is receiving the data it is set to be inbound.No way it is considered to 3rd party systems.

Idoc to file : Idoc is set to be outbound and file is set to be inbound.

Go through this link:

http://help.sap.com/saphelp_nw04s/helpdata/en/7e/77a8af020ffa4596aad94019de8de7/frameset.htm

Reward points if this helps

Regards

Pragathi.

Former Member
0 Kudos

hi

Messages of imported interfaces or external definitions cannot be changed and are therefore not visible in the navigation tree of the Integration Builder

You reference only The message schema of an imported IDoc.

Note: reward points if solution found helpfull

Regards

Chandrakanth.k

Former Member
0 Kudos

Hi,

As u r doing R/3 to xi to file scenario there is no need of outbound interface because u already downloaded idoc in export objects acts like an abstract interface which can be used for both inbound and also out bound.

why is it that in the message interface I assign the attribute as inbound and asynchronous

I think u r referring inbound interface.

Regards,

Pradeep A.

Former Member
0 Kudos

Hi,

(To be clear.........and with out using any XI terminology.....)

here you need to consider that you are in XI. As you are receiving the message into XI it is Inbound and you are not expecting any response you nees to select ASYNCHRONOUS.

if you expect any response from XI then it should be synchronous.

Thanks,

Madhu.

0 Kudos

Hi Madhu ,

As I am very new to XI , I have a further query. Had this been a file to XI senerio, what would it would hav been, and why....beacase then also I am sitting in XI system and working for some other system

????

Hi Pradeep,

can u explain the inbound conceept in detail.

So I just wnat to know an answer, when to select an inbound , and when to select an outbound.?

When we do file to idoc senerio, we go for outbound,

when we go for idoc to file senerio, we go for inbound?

If there is a 3rd party to 3rd aparty senerio, the what to use???

Points will be rewarded.

Thnaks in advance!!!

Arnab

Former Member
0 Kudos

Hi,

sorry for the earlier answer.....

if the sender is R/3 i'm not sure that you can select eaither direction.as you need to use the imported idoc as the interface.

if you use file to idoc, then file interface is outbound.

thanks,

Madhu