Skip to Content
avatar image
Former Member

how is an idoc metadata read in PI?

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,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 19, 2015 at 08:25 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 19, 2015 at 08:52 PM

    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 : XML concepts/pre-requisites of XSLT mapping in SAP PI.

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 19, 2015 at 11:07 PM

    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

    Add comment
    10|10000 characters needed characters exceeded