Skip to Content
0
Apr 30, 2009 at 07:10 AM

Multipe Nodes Problem

46 Views

Hi All,

Multiple ARTMAS05 IDOCs sent from SAP to PI and to be sent to a flat file (All idocs data in one flat file) (EHP1 for PI 7.0 is applied)

output should be 3 target nodes

but I am getting 4 target nodes as there are 4 plants

I mapped like this PLANT collapse contexts  Fixvalues(MM31 or MM32 = true) EQUALS Constant(true)

If

Then

IDOC.

e.g-->

Source

ARTMAS05

IDOC

E1BPE1MARCRT (0u2026..Unbounded)

PLANT = MM31

E1BPE1MARCRT

PLANT = MM32

E1BPE1MARCRT

PLANT = MM35

E1BPE1MARCRT

PLANT = MM38

IDOC

E1BPE1MARCRT (0u2026..Unbounded)

PLANT = MM30

E1BPE1MARCRT

PLANT = MM39

E1BPE1MARCRT

PLANT = MM40

E1BPE1MARCRT

PLANT = MM42

IDOC

E1BPE1MARCRT (0u2026..Unbounded)

PLANT = MM21

E1BPE1MARCRT

PLANT = MM31

E1BPE1MARCRT

PLANT = MM32

E1BPE1MARCRT

PLANT = MM38

Source

E1BPE1MARCRT (0u2026..Unbounded)

Target

node (not field) say FDETAIL (0u2026Unbounded)

Please help me how to correct it.

For Each IDOC just check the Plant (MM31 & MM32), If any one of it is found then one IDOC for the target node should be created.

But my case I am getting the target node for each occurrence of the plant which I should notu2026

Please Suggest meu2026

Regars

Sridhar