Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding SAP PI mapping

Hi Experts,

  I have a following situation. Please help.

Sender structure:                                                                                  

Records                                                                                                    

    Record                                 0.. unbounded

         ShipmentLegs                  0.. unbounded

                   ShipmentLeg          0.. unbounded

                              Name        0..1

                   ShipmentLeg          0.. unbounded

                              Name        0..1

                   ShipmentLeg          0.. unbounded

                              Name        0..1

                                          

so on.....


FYI: ( ShipmentLeg node has the same hierarchy. It might get disturb after posting the query, In case)


Receiver Structure:

Records                                                                                                    

    Record                                 0.. unbounded

         name1                             0.. unbounded

      

Name of sender structure is mapped to name1 of Receiver structure       

I need to get all the Name field values of sender structure in my receiver in one stretch. I tried with many options but it did not work.

Could anyone please help.

Former Member
Former Member replied

Hi Veer,

Don't need to map the root node.

Map like below.

ShipmentExtractRecord   ---->  Records

ShipmentLegId   ---->  ShipmentLeg  (Don't do remove context , instead change the context of ShipmentLegId to ShipmentExtractRecord.)

Regards,

Santhi

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question