‎2008 Jul 11 11:33 AM
Sending out material master
extended the idoc MATMAS03
Created one segment with one field
added it to the idoc
populated that segment in the Customer Exit
'CAll function 002' of FM:Masteridoc_create_matmas
On sending the materials via bd10
I get errors with status 26
1. 26 error during syntax check of idoc(outbound)
Get details from previous status records with status 26
2. 26 error during syntax check of idoc(outbound)
EDI:Idoc has more than one syntax errors
2. 26 error during syntax check of idoc(outbound)
Syntax error in idoc (mandatory group missing)
Inspite of all these errors Data records are correctly populated.
Please advice
‎2008 Jul 11 9:54 PM
Data records are obviously not populated "correctly", if you're getting a syntax error. I think that error description is pretty clear - you have some fields/segments in the IDoc that are mandatory and they are not populated in your IDoc. If you have created an extension of the IDoc you might have incorrectly specified a segment as mandatory when you didn't mean to.
‎2008 Jul 11 9:54 PM
Data records are obviously not populated "correctly", if you're getting a syntax error. I think that error description is pretty clear - you have some fields/segments in the IDoc that are mandatory and they are not populated in your IDoc. If you have created an extension of the IDoc you might have incorrectly specified a segment as mandatory when you didn't mean to.
‎2008 Jul 11 11:10 PM
Syntax error in Idoc comes generally two special cases:
1. Missing mandatory segments
2. The segment sequence is not proper
while coding in enhancement you must have did some changes which have effected one of this.
To find it out open the Idoc type in WE30 and open your Errored Idoc in WE02 and comparing both check whether the sequence of the segments are proper or any mandatory segment is missing.
‎2008 Jul 13 12:37 AM