cancel
Showing results for 
Search instead for 
Did you mean: 

load metadata for idoc

Former Member
0 Kudos

hi,

how to load metadata for idoc..

I hope IDX2 is for to check whether metadata is loaded or not..

thanks

guna

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

use :

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.

Using an RFC connection, metadata of this type can be either called directly at runtime or loaded to the Integration Server beforehand.

The system containing the metadata is either the sender or receiver SAP system or, if the sender or receiver system is a subsystem, the SAP reference system where the metadata is saved.

You can display metadata that has already been loaded, or if you are upgrading the application system then you can delete the metadata and reload it.

Prerequisites

To access the metadata in the sender system, you must establish an RFC connection to this system using the port maintenance in the IDoc adapter.

Procedure

...

1. To find out what metadata has already been loaded, call the transaction Metadata Overview for IDoc Adapter (IDX2).

The system displays a screen with the directory of all systems connected with the IDoc adapter (including a description) for which metadata has already been loaded. Choose Port Maintenance in IDoc Adapter () to call the corresponding transaction and to create additional ports.

2. Expand the individual systems to display the IDoc types and clients including a description for each system. The system displays the metadata for each connected system for which metadata has already been loaded.

3. To apply the metadata structure loaded from a particular system to another system (for example, to an SAP reference system), select the link to the corresponding IDoc type and choose Copy ().

The system displays a dialog box in which you can copy the IDoc type description to another system (Target Port).

4. To delete metadata that has already been loaded, select the link to the corresponding IDoc type and choose Delete ().

The system asks you if you really want to delete the selected structure.

5. To delete the metadata structure, choose Yes.

6. To load additional metadata, choose Create ().

The system displays a dialog box where you can enter the IDoc Type including Extension and the system (Source Port).

7. Make the required entries and choose Continue.

The new structure is inserted in the tree structure as follows:

¡ If the structure originates from a system from which metadata has already been loaded, it is inserted below the structures already loaded from this system.

¡ If the structure originates from a system from which no metadata has already been loaded, it is inserted together with the system below the already listed systems.

8. To display details about a metadata structure that has already been loaded, choose the link to the corresponding IDoc type. To display this structure in detail, choose Display (). The system displays the structure in a hierarchy tree.

9. To display the corresponding system (port) and the basic type from the detailed display, choose Header Information ().

10. To display the segment versions of all segment types in the structure, choose All Segment Versions ().

11. Select a segment to display all its fields.

and also refer these article

http://help.sap.com/saphelp_erp2004/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm

http://publib.boulder.ibm.com/infocenter/wtxdoc/v8r2m0/index.jsp?topic=/com.ibm.websphere.dtx.packsa...

Regards,

Suryanarayana

Former Member
0 Kudos

Hello Guna,

When an IDoc type is sent to the Integration Server for the first time, the corresponding metadata is loaded from the source system. If metadata for an IDoc type changes, it must be deleted by executing the program IDX_RESET_METADATA (or by using transaction IDX2). The automatic mechanism described above will then ensure that metadata is reloaded as soon as an IDoc of this type is sent.

http://help.sap.com/saphelp_nw70/helpdata/EN/8a/b8b13bb3ace769e10000000a11402f/content.htm

Check this blog :

Regards

Prasad

Former Member
0 Kudos

Hi,

in idx2 you could check already loaded metadata and also load new one:

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

Regards

Patrick

Former Member
0 Kudos

Hi,

IDX2 is used to load the meta data of an IDoc.

Regards,

Venu V

Former Member
0 Kudos

HI,

If you have created a port in ABAP stack of PI by using IDX1,

then use IDX2 to load meta data for an IDoc. Click on create; enter IDoc Type (MATMAS05) and Source Port.

Regards,

Venu V