Skip to Content
avatar image
Former Member

Mapping in sap pi

From an IDOC we are getting multiple SubLineItems in POSNR field and HIPOS field has one value i.e., 1st value of POSNR. When POSNR is equals to HIPOS the fields should not populate in the output. In my case the fields are populating with empty values. Basically the POSNR has multiple values it has to skip the first value. What are the logics i can use and implement in the mapping SAP PI.

Please suggest me to do this

Regards,

Kalpana

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 20, 2017 at 02:15 PM

    Hello Kalpana,

    Can you post a source XML and target XML what it should look like? Also, what mapping are you using - graphical or XSLT (I presume one of these two)?

    Best regards,
    Peter

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2017 at 11:36 AM

    Peter,

    Source is an IDOC and target is an XML file. I'm using graphical mapping.

    I have attached the target schema in text format.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your response peter.

      I want to know how to do in graphical mapping, because i'm using graphical mapping here.

      Please help me out how to resolve this.

      Regards,

      Kalpana