Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Idocs Failed

Former Member
0 Likes
1,403

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

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
826

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.

3 REPLIES 3
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
827

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.

Read only

0 Likes
826

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.

Read only

Former Member
0 Likes
826