cancel
Showing results for 
Search instead for 
Did you mean: 

PI node with recursive mapping

Former Member
0 Kudos

Hi,

Not sure if this is possible but thought I would ask the experts. I have a an IDOC --> XML mapping for orders scenario where our Products have multiple BOM levels, and our target mapping should have all the BOMs collected under the parent product, meaning

Source context

Product 123 - (parent item -000)

..........Bom 111 (parent item - 123)

..........Bom 222 (parent item - 123)

.................. Bom ABC (parent item - 222)

.......................... Bom xyz (parent item - ABC)

.................. Bom DEF (parent item - 222)

.......................... Bom +++ (parent item - DEF)

.......................... Bom ###(parent item - DEF)

It can have upto 15 levels max like this

Target context

Product 123

- BOM 111

- BOM 222

- BOM ABC

- BOM DEF

- BOM xyz

- BOM +++

- BOM ###

The target application don't care how BOM's are configured in SAP and they just want this for Total net value per product.

Since I cannot change the IDOC structure on SAP side or come up with some custom mapping in ABAP I have to either do this mapping in PI or we should use some other middle ware too or ask the target application to develop the logic on their side from IDOC.

so I would like to know if this is even possible to do in PI before I venture to start mapping this IDOC .

Thanks!

Sunil

<< Moderator message - Please do not offer points >>

Edited by: sunil kumar on Nov 18, 2010 4:48 PM

Edited by: Rob Burbank on Nov 19, 2010 4:54 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi sunil kumar,

Target content can be achived using PI message mapping !!

Thanks & Regards

Harsha Paruchuri

Former Member
0 Kudos

I ended up changing the input/output structure in PI and external Middleware to a more simpler format. The target structure is not possible very easily. Don't try to build a recursive mapping like this unless you have to absolutely build that.

Closing this thread and changing this to answered.

Thanks

Sunil

Edited by: sunil kumar on Jan 13, 2011 8:46 PM

Edited by: sunil kumar on Jan 13, 2011 8:47 PM