I have a flat file that contains and IDOC (we batch outbound data from SAP in our current environemnt). Anyhow, the flat file has a different IDOC segment every record (EDI_DC40 , E1EDKA1, etc.) all in order. I created a new document type in Designer and had it connect to our SAP DDIC and pull down the IDOC definition. I’m just starting my first outbound EDI map (940 from IDOC) and I’m not able to load the input file when I try to run the flow service. I get “Unable to parse input file.” I’m suspecting or wondering if it’s because the definition pulled in by WM from SAP has a top node of the IDOC type with a couple indented nodes (DELVRY03 --> IDOC --> EDI_DC40, all the records after that in a hierarchical-looking foramt) and my flat file from SAP isn’t written like that. As I said, it’s just one record after the other starting with the EDI_DC40 record. Would that cause this issue?
Also, I’m doing the individual segment mappings and in the header segment, there’s a value I’m needing to pull from later on in the IDOC. On the input side of the segment maps, I assume I load the entire doc reference pointing to the IDOC document as the input and then the entire 940 DT created by WM on the output. Is that correct? I don’t seem to be able to map over the fields later on in the IDOC to the EDI document in the map. I can drag the mapping link but it doesn’t stay and the mapping button isn’t available either.
I know these are a lot of questions but if anyone could nudge me in the right direction, that would be great.