Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
REMINDER: Qlik Cloud: Removing the deprecated Developer role and Enable API keys toggle: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Abdelhak
Contributor
Contributor

issue with mapping EDI

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.

Labels (2)
1 Reply
Rahul_Kale
Support
Support

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,