cancel
Showing results for 
Search instead for 
Did you mean: 

Message mappings after importing Idocs

Former Member
0 Kudos

Hi-

In my scenario i get Vendor master Idoc and i need to send the same Idoc to a ftp location.

So i actually imported my idoc type and i created two message interfaces(InboundIdoc and outBoundXML) which are of type Vendor master(chose from the imported objects).Should i create a Message Type here??

Then i created a message mapping with source and target also from imported IDOCS(i did not reference my Message Interface).Then in interface mapping what should be my source interface and target interface,should they be the same Idoc object i imported?

If so, is it correct to say that i need not have any message interfaces,message types when i am dealing with idocs?

I don't know if its a dumb question ,but i am new to XI,so i am having trouble understanding it.

Thank you

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Venkat,

Go through the below URL's

Also send me your mail id so that I can send you a step by step procedure of how you should configure IDoc-XI-File scenario

---Mohan

Former Member
0 Kudos

Hi Mohan-

here is my email id faqsap@yahoo.com, Can you also please send any additional documents or tutor files that you have.

Looking at the responses ,is it correct to say that even though iam sending the same idoc as xml to the receiver system that the scenario is Idoc to file scenario.

Thank you

Venkat

Answers (3)

Answers (3)

STALANKI
Active Contributor
0 Kudos

the solution to you problem :/people/sravya.talanki2/blog/2005/11/03/cache-refresh-errors--new-phenomena

Do you want to understand cache by yourself?

then read this /people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off

Get back to me if it doesnot help.

moorthy
Active Contributor
0 Kudos

Hi Venkat,

To get more info , pls look into following blog-

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

In my scenario ,the inbound and outbound document types are the same ,i.e. Vendor master,So if i use the imported idoctypes for my message mappings and interface mappings ,how will i be able to do the receiver determination etc? because the inbound Interface and outbound Interface will be the same.

I have uploaded my work to <a href="http://www.geocities.com/faqsap">http://www.geocities.com/faqsap</a> can someone PLEASE take a look at it and let me know where i am doing wrong.Because the message is coming in and its failing at Receiver Identification.

Can someone please clarify

Thanks

Venkat

Former Member
0 Kudos

Hi,

First of all, your idoc will act as a message interface. So you need not create a seperate message interface(as you have done. InboundIdoc_vendormaster is not required)

Next, in your receiver(file) communication channel, you need to specify the target directory.

Next, in your receiver agreement, the receiver interface must be outboundxml_vendormaster.

Make these corrections and let us know if you have any other problems.

Regards,

Smitha.

Former Member
0 Kudos

Smitha-

Thank you very much for your reply.I forgot to add the message mappings and Interface mappings screen shot, In message mapping also i have taken the Idoc structure from the imports object(Because its asking only Message types for its inputs and i don't have any message types).Then in Interface mappings i took the Idoc structure from Imports as input and for the target i chose the Interface OutboundXML_VendorMaster.(Is this correct? because per my understanding the Interface mapping actually calls my message mapping and in message mapping i took the source and target from the imports and not from Message Interface ).

Thank you

Venkat

Former Member
0 Kudos

Yes. You are on the right track.

Revert back if you have any more problems.

Regards,

Smitha.

Former Member
0 Kudos

I have sent a Vendor master from R/3 and in Monitor i am getting the error below,i have gone thru some forums and i went to SXI_CACHE and cleared the delta cache.

I have added the screen shot of my SXI_CACHE after i ran the delta ,please scroll down on the webpage <a href="http://www.geocities.com/faqsap">http://www.geocities.com/faqsap</a>

And below is the error i am getting in Monitor.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Receiver Identification

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="XICACHE">COMMUNICATION</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>if_http_client receive http_communication_failure</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>An error occurred when refreshing the XI runtime cache</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Thank you

Venkat

moorthy
Active Contributor
0 Kudos

HI Venkat,

Check this SAP Note- 906435

Go to SM59 -> HTTP R3 destination->

INTEGRATION_DIRECTORY_HMI

Check this guide for more-

https://websmp201.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

I have checked SM59 on the XI system.

I do have

HTTP Connections to R/3 System

INTEGRATION_DIRECTORY_HMI

I double clicked on it and tested the connection. Then i got a message saying "Response from webserver contains Cookies ,do you want to accept?" ,i accepted the cookies and the Test was successfull.

I went to the SXI_Cache and still get the error "Unable to refresh Cache" and the error is "if_http_client receive http_communication_failure"

moorthy
Active Contributor
0 Kudos

Did u go thru Cache Refresh Guide,

Also try if there is any error in Tcode -ST22

Have you checked the SAP Note?

Also Check with SICF services?

Links-

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

Hope this helps,

Regards,

Former Member
0 Kudos

Hi,

In SXI_CACHE double click on the communication channels, and check if your receiver communication channel is present. Also check if the receiver determination, and receiver agreement are present in SXI_CACHE.

Regards,

Smitha.

Former Member
0 Kudos

Smitha-

I don't see my communication channel,receiver determination and receiver agreement in SXI_Cache.

Thanks

Venkat

Former Member
0 Kudos

Hi,

If you are not able to view these objects in the cache, then go to the Integration directory->change lists and activate all your objects.

The same is to be done in the integration repository also.

Regards,

Smitha.

Ps mark the helpful answers.

Message was edited by: Smitha Rao

Former Member
0 Kudos

no offense guys, i did not reward the points only because i have done all the things you have said but it did not work for me, i am still getting a HTTP error.

moorthy
Active Contributor
0 Kudos

Hi Venkat,

<i>created two message interfaces(InboundIdoc and outBoundXML) which are of type Vendor master(chose from the imported objects).Should i create a Message Type here??</i>

If you are using Idoc then no need of creating Message Interface for that. Idoc itself acts as a Message Interface.

Then Create a Mapping between Idoc (from the Imported) to the File message types.

Then create a Interface Mapping between Idoc InterFace and File Type Message Interface.(Inbound, Async of File Message type).

Hope this helps,

regards,

Moorthy