Skip to Content
avatar image
Former Member

Structure mismatch in PI

Hello friends,  I am getting a problem on structure mismatch in PI.I am generating an xml file from an IDOC in PI.But the client is saying the xml structure they want is different from the structure what I am generating in PI.  So, the structure I am generating is like this :

353. . .  But the client want it in this way :

353. . . Thanks in advance !!  Regards, Sambaran

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    May 15, 2013 at 07:06 AM

    use namespace name as NemProjectAttributesNamespace

    as rohan said use message type name as "ProjectAttributeSet" and use ABAP/XSLT/Java mapping if you want XML node/element prefix as "pan:". you will get this XML very easily.

    Add comment
    10|10000 characters needed characters exceeded

  • May 06, 2013 at 09:09 AM

    Hi,

    this is actually what PI was made for 😊

    You need to map the IDoc xml structure to the client expected structure.

    /Udo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 06, 2013 at 09:16 AM

    Hi Sambaran,

    let the client specify what structure they want, best would be an XSD. This you import to PI and then you define a mapping from IDOC to that XSD. As Udo said, that's what PI is for!

    Regards,

    Jörg

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 06, 2013 at 09:23 AM

    Hello the target structure should be :    32  35  33  18  22  19  21  20  28  23  24  26  25  1  31  30  17  13  14  16  15  8  9  10  12  11  2  3  4  6  5  7  27  34  but What i am generating is in this format :

    09396ADAMI COMPLEXE SPORTIF HEILLECOURTRUE DE LANEUVEVILLE5418006284755596 RUE CAMILLE FLAMMARION543000383732248EST CONTROLE NANCY16 AVENUE MARECHAL JUIN540000383411663EST CONTROLE NANCY16 AVENUE MARECHAL JUIN5400003834116630000000000ARCHITECTE & OPC11 RUE D'EGERSHEIM6700003882723330388272323 Please suggest a solution !  Thanks !!

    Add comment
    10|10000 characters needed characters exceeded