I am creating MAG using Integration advisor for a mapping scenario where my target structure is an EDIFACT D.93A and source structure is IDOC.
The mapping requirement is to generate sequence number for LIN_1082 field. For example, if there are 3 LIN segments, LIN_1082 should be 1,2,3 and so on.
Using the below code but getting this error during simulation "Failed to simulate MAG: The context item for axis step xsl:document/element() is absent"
<xsl:value-of select="count(preceding-sibling::LIN)+1"/>
Please advise on how do we address this issue.
