Syntax validation failed for primary key <primary key> and corresponding generated document number <document number> because mandatory segment is missing: <segment name>.
You configured the session to validate inbound IDocs before writing them to the SAP system. The Integration Service determined that a value for the mandatory segment in the IDoc is missing.
Verify that the SAP/ALE IDoc Prepare transformation for the inbound IDoc contains values for the mandatory segment.