Can you do me a favor out attach a screenshot of the imported IDOC as seen from the DS Designer? I failed to import an IDOC as I have no test system at hand that contains that (and then forgot).
I might have an idea where the misunderstanding comes from. The IDOC screen of SAP does not show that you have a structure with multiple times the same schema, all it wants to say is that there are multiple rows containing this schema.
How many rows you want in each schema of a nested structure is controlled by the from/where clause of each. But you tried to create multiple fields of same name, did you?
When I create a configurable material using BD10, attached structure of the IDOC generates to populate all the VC values.
Same thing I’m trying to achieve using DS, by taking the same config data in a flat file and trying to map to MATMAS05 IDOC, but I could not create multiple segments of E1MARDM, E1CUCFG, E1CUVAL, etc…
Please suggest how I need to do this using nested logic.