cancel
Showing results for 
Search instead for 
Did you mean: 

Use Of IDX2

Former Member
0 Kudos

Hi all,

While configuring ALE for Idoc scenarios, we are creating Metadata using Idx2 tcode.

But I don't know what is the use of that meta data exactly. We are anyway giving port and RFC destinations right.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184619
Active Contributor
0 Kudos

Hi Pavani,

<b>Transaction: IDX2</b>

There are a couple of situation where IDX2 can be useful on the XI system.

1. When we want to test connection between the XI and SAP backend system.

2. When an IDoc has changed, and the meta data stored in XI needs to be update.

When an IDoc is sent from the SAP backend system to XI, XI will first check to see if the

meta data for the IDoc is already in its persistent cache. If not, then XI will use the

configuration in IDX1 to retrieve the IDoc meta data from the backend system. If the

meta is already in cache, then it will NOT do so. Therefore, when an IDoc has changed,

it is necessary to manually update the new meta data on XI, or delete it from the cache, so

that the latest version can be retrieved. IDX2 is used for this purpose.

check this link for detail:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6f...

Sachin

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello Pavani,

It is used during translation from IDOC to XML format and in opposite direction from XI XML message to IDOC.

IDX2 contains only a CACHE (one more !) of IDoc metadatas (structures!).

It's NOT necessary to have it and you don't configure it, because this cache will be automaticaly filled by XI when an idoc will be sent/received.

With Regards,

Raju.

Please give points if useful...

Former Member
0 Kudos

Hi Raju,

But what will happen if we do not configure MetaData

prateek
Active Contributor
0 Kudos

Manually configuring metadata is useless. The data will be loded during the first message flow.

Metadat is used during translation from IDOC to XML format and in opposite direction from XI XML message to IDOC.

Also see this

http://help.sap.com/saphelp_nw04/helpdata/en/8a/b8b13bb3ace769e10000000a11402f/content.htm

Regards,

Prateek

Former Member
0 Kudos

Hi ,

Also if we change the IDOC structure. We need to go to IDX2 and delete the IDOC structure from Cache.

Regards,

Sumit

Former Member
0 Kudos

Hi,

No probz if we dont configure metadata. Itz automatically done by the IDOC adapter.

Regards,

Sumit

Former Member
0 Kudos

Hey

see when u shoot an IDOC from R/3 towards XI,there should be some information with XI as to what that IDOC is,what are its parameters and how to handle that specific IDOC.

IDOC metadata is maintained in IDX2 to make sure that the IDOC structure is most current and is in sync with the IDOC structure in R/3.

you explicitly need to maintain the IDOX metadata in IDX2 if you make any changes to IDOC on R/3 side.once these changes are made,you need to re-import IDOC in IR and then use it

Thanx

Ahmad

Former Member
0 Kudos

Typically use this when your metadata has changed.

IDX1 - config your ports using corresponding RFC destination.

IDX2 - import the metadata - if you dont do this step, the metadata will be loaded initially and subsequently referenced via caching. However, if the structure changes on the SAP system, you should reload the metadata via IDX2 so that XI has the new version.

Sincerely,

--NM

former_member431549
Contributor
0 Kudos

The idoc meta-data is cached on the integration server instead of being accessed from the source/target SAP system each time it is referenced. It should happen automatically, but IDX2 is where you see evidence that it has happened.