cancel
Showing results for 
Search instead for 
Did you mean: 

how is an idoc metadata read in PI?

Former Member
0 Kudos

Hello,

I am a bit confused. Suppose ECC is sending an idoc to pi. We know that we have to convert this idoc to soap-xml. soap-xml is the format which PI will processed right?

Then how come in sxmb_moni in  the main section, we have the namespace for the header. I mean we do not have namespace in ECC. how pi know i should assign this particular namespace for that message?

I know idx2 read the metadata from the idoc. Then how is it related to sxmb_moni. is idx2 building the structure which we are seeing in sxmb_moni?

Thank you very much for helping me out understanding this basic part.

Regards,

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184619
Active Contributor
0 Kudos

Hi Nousha,

In simple terms this happens like this:

1. When you import the IDOC in PI, PI gets the namespace associated with IDOC.

2. IDX2 loads the metadata (IDOC segments and data) into PI, when the scenario is run for first time. IDX2 can be done manually as well, prior to first run.

I hope that answers.

Regards,

Sachin Dhingra

nabendu_sen
Active Contributor
0 Kudos

Hi Nousha,

PI can process any XML, it does not have to be SOAP XML. In your case PI will have IDoc XML as Source and after transformation (as per your own Mapping) it will generate SOAP XML as Target.

To know more about XML :

IDX2 holds the metadata for any IDoc (through IDoc Type and Port).

IDX2:

Check below blog for information about ALE IDoc to IDoc XML conversion:

SAPTechnical.COM - Conversion of IDOC's to XML format

Regards,

Nabendu.

Former Member
0 Kudos

you need to import the idocs to PI system and perform the design part.

Refer teh below wiki.

Step by Step Procedure of IDOC to File Scenario using BPM - Process Integration - SCN Wiki