cancel
Showing results for 
Search instead for 
Did you mean: 

Question on IDoc and RFC

Former Member
0 Kudos

Hi Folks,

I have few questions on SAP XI.

1) For IDoc and RFC, why we need to import the metadata again even though we import RFC and IDoc in intergration Repository?

2) Why we don't need to create Message interface and Message type for IDoc and RFC?

3) Why RFC and IDoc comes in different namesapce, not in the namespace in which they are impoeted?

4) For IDoc we need to import metada in tran IDX2. Why the same is not in case of RFC? In case of RFC we need to specify metadata repository parametes in Communication Channels.

Thanks,

Punit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answer 1) IDoc (Intermediate Document) metadata comprises structures for the corresponding IDoc types that are required by the IDoc adapter to convert these IDocs to IDoc XML format and the other way around

Answer 4) The adapters are configured in the configuration part of the Integration Builder, or in the configuration part of the PCK. You use the SAP Java Connector (JCo), which enables you to manage metadata. This in turn enables you to map RFC data generically to RFC XML and the other way around.

http://help.sap.com/saphelp_nw2004s/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm.

Regards

Abhishek Mahajan

**Reward points if helpful**

Former Member
0 Kudos

Hi Abhishek,

Thanks for the reply. Why we need to import Idoc and RFC metadata again. Why can't it use the one imported in Integration Repository.

Thanks,

Punit

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

2) Why we don't need to create Message interface and Message type for IDoc and RFC?

These are predefined in the SAP so it can understand what it is and its acts as both Message interface and Message type.

3) Why RFC and IDoc comes in different namesapce, not in the namespace in which they are impoeted?

These are predefined so it comes to one standard namespace.