Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to create a EDI route for ORDERS. I have a sample file .edi in iput and trying to mapping it to a xml file. but it seems that the loop is not so good. I'm stuck.
Impossible de trouver un segment correspondant à "BGM[220,CMD-2026-009,9]"
Élément de map: /ORDERS/Loop-UNB
could someone help me please.
Hello Abdelhak,
Thank you for reaching out to the Qlik community.
Your error means the mapper cannot find the BGM segment at the expected place in the EDI hierarchy (under UNB loop). So your ORDERS structure / loop definition does not match your input EDI file.
The root cause is that in EDIFACT, UNB = interchange header, and BGM belongs to the message (inside UNH…UNT), NOT directly under UNB.
The error: Impossible de trouver un segment correspondant à "BGM[...]" /ORDERS/Loop-UNB ⇒ Talend is expecting BGM in the wrong loop (UNB instead of UNH).
To fix this issue,