Skip to Content
0
Former Member
Nov 18, 2010 at 03:48 PM

PI node with recursive mapping

141 Views

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