Hi,
I have a similar question like Franz in the previous post:
I generated an ORDERS02-IDoc and it arrives successfully in SAP BC. I have the UNEDIFACT and EDI-Module installed and copied the EDIFACT ORDERS93A-Template as described in the EDI-Manual. But how should the flow look like?
Is it like:
- [IDoc arriving in Business-Connector and routed to flow]
- transformFlatToHierarchy
- getTemplate
- convertToString
???
Has anybody ever created an EDI-Doc out of a SAP-IDoc? So far it seems like there is no experience on this 
Thanks a lot in advance,
Gunter
Hi Gunter
We send invoices(INVOIC93A) and delivery orders(INSDES96A).
e.g. The invoices’ map looks like:
-
[IDoc arriving in Business-Connector and routed to flow]
-
decodeSDATA
-
transformFlatToHierarchy
-
maps the IDoc to a service that has a Record
Reference to INVOIC01 record (that I created in
SAP BC using the DTD file generated by SAP →
WE60 → Documentation → Generate DTD) like
Service in. Then the service (and sub-services)
fill a Record Reference of a INVOIC93A record
mapping values
e.g.
INVOIC01/IDOC/E1EDK01[0]/BELNR →
→ INVOIC93A/UNH/BGM/BGM02
and so on…
-
addICEnvelopeEDIFACT
…
Best regards,
Sebastian Miranda
Pastas Gallo / Barcelona, Spain