cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle -> XI -> SAP ( Using RFC )

Former Member
0 Kudos

Hi,

My scenario is Oracle -> XI -> SAP ( Using RFC ), the message in SXMB_MONI is showing success. But iam getting an error on the RFC Side which is as follows.

2006-04-19 00:21:39 Error Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>

2006-04-19 00:21:39 Error Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>.

If anybody has the right idea plz let me know.

Thanks,

Kittu.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

RFC should be imported in XI repository.

Thanks,

Prateek

Former Member
0 Kudos

Hi Pratik,

The object is already in the XI repository.

Thanks,

kittu.

Former Member
0 Kudos

Hi Kittu,

Please can you check:

1. The payload for RFC call is well formed when making a request to SAP R/3.

2. The metadata has not been changed after you imported it.

3. The client that you are making a call to has this RFC.

4. The parameters of the RFC Adapter for fetching hte matadata are correct.

The error is because of the metadata structure making a call to the SAP system.

Regards

Vijaya

Former Member
0 Kudos

Hi Vijaya,

after importing my RFC we had included a field in the RFC and i had reimported that RFC again.

Is that because of that change which i had done to my RFC.If so Shall i delete that and reimport the RFC again or tell me the exact thing which needs to be done.

Thanks,

Praveen.

Shabarish_Nair
Active Contributor
0 Kudos

It would be ideal to delete and reimport the RFC in XI so that the changes are reflected.

Former Member
0 Kudos

Hi,

While creating Receiver Communcation Channel in RFC adapter one parameter called.

Application Server : here you pass the your target system IP Addres not Host name...try once.

Regards,

venugopal.

Former Member
0 Kudos

Hi Kittu,

If you have already reimported it then activate your message mapping and Interface mapping once again where its being used and see the changed field is reflected.

Then run the scenario

Regards

Vijaya

Former Member
0 Kudos

Hi Vijaya,

I had deleted and Reimported the RFC,I had activated the IM, MM that but the error still persists.

Can u tell me why this sort of situation occurs?

Regards,

Kittu.

Former Member
0 Kudos

hi,

My payload looks like this .Is that OK or do u find any thing missing in that?

<?xml version="1.0" encoding="utf-8" ?>

- <ns:MTI_BOM xmlns:ns="urn:cts:xi:manufacturing:lean:bom">

- <row>

<MATERIAL_NUM>100-02</MATERIAL_NUM>

<BOM_COMPONENT>115100-01</BOM_COMPONENT>

<CONFIGURED_BOM />

<COMPONENT_QUANTITY>1</COMPONENT_QUANTITY>

<CHANGE_NUMBER>500111</CHANGE_NUMBER>

<VALID_FROM_DATE />

<BOM_ITEM_NUMBER>10</BOM_ITEM_NUMBER>

<COMPONET_UOM>EA</COMPONET_UOM>

<IND_SUB_ITEM_EXIST />

<IND_RELEVENCY_TO_COSTING />

<INSTALATION_POINT_SUBITEM />

<SUB_ITEM_QUANTITY />

<STATUS>UPD</STATUS>

</row>

Regards,

Kittu.

Shabarish_Nair
Active Contributor
0 Kudos

Your Payload seems fine ...

by the by ... did you have a look at these threads ?

Answers (4)

Answers (4)

Former Member
0 Kudos

alguna persona tendra guia para la implementacion pero en español

Former Member
0 Kudos

Hi,

Refer this thread to understand about the error and possible reasons for it.

Regards,

Uma

udo_martens
Active Contributor
0 Kudos

Hi Kittu,

plz check, if your RFC was load to the repository. Second check, if the message send to the RFC adapter (SXMB_MONI) was RFC-XML. That means, well formed XML with the namespace urn:sap-com:document:sap:rfc:functions. The error is described in note 730870.

Regards,

Udo

Former Member
0 Kudos

Hi UDO,

Thanks for the reply.

Repository means which one?

the Business object repository in the SAP R/3 or the repository in the Integration Repository of the XI Box?

the configuration in the Communication Channel is done and the message is getting delivered with the status DLNG but the RFC is not getting triggered..

Kindly Advice.

Thanks,

Kittu.

udo_martens
Active Contributor
0 Kudos

Hi Kittu,

the IB repository. Everything is described in the note. You have to load the RFC as Interface (what is a XML Schema) to the Repository.

Look to the message which has gone to the adapter. Is it RFC-XML?

Your adapter cant accept the message. Because of no repository meta data or because of no RFC XML.

Regards,

Udo

Shabarish_Nair
Active Contributor
0 Kudos

Check you Conf. Channel at the RFC side.

Make sure you give all the parameters as required.

Ref: http://help.sap.com/saphelp_nw04/helpdata/en/33/c6e63b60c25767e10000000a11402f/frameset.htm & SAP Note : 730870