‎2009 Aug 04 1:16 PM
Dear all,
I am getting an error in outbound processing as follows(I have extended the BD12 IDOC for customer master).
The issue is that there is no hierarchie of segments in IDOC transaction we05.(Thogh the hierarchie can be observed in WE30)
*******************
EDI: Syntax error in IDoc (segment cannot be identified)
Message no. E0078
Diagnosis
The segment Z1KNA1M_ADRC does not occur at the current level of the basic type DEBMAS06 (extension ).
This error can have several reasons:
u2022 The segment Z1KNA1M_ADRC is assigned to a group whose header segment does not occur.
u2022 The segment Z1KNA1M_ADRC does not exist in the syntax description of the basic type DEBMAS06 (extension ).
u2022 The sequence of segments in the group in which the segment appears is incorrect.
Previous errors ('mandatory' segment or group missing) may be due to this error.
Procedure
Please check the IDoc or the syntax description of the basic type DEBMAS06 (extension ).
*******************
I will be thankful if anybody can help resolve the issue.
thanks.
Edited by: sanjivrd on Aug 4, 2009 2:17 PM
‎2009 Aug 04 1:29 PM
HI,
Whenever u extend any stanard basic type
1>U can assign the new segment under the main segment only(means as a child segment only)..Before that once u create a new zsegement u need to release it.
2>Once u create extened iodc basic type u need to release.
Let me know if u have done these things.
U can check the syntax error in WE02/WE05 by clicking synatx check..It will indicate which segment is wrong
Regards,
Nagaraj
‎2009 Aug 04 1:27 PM
the structure of your extended idoc type is not correct , go to we30 do an syntax check ( ctrl+F2 )on your extended idoc type . Alline them in correct hierarchy level.
‎2009 Aug 04 1:41 PM
‎2009 Aug 04 1:29 PM
HI,
Whenever u extend any stanard basic type
1>U can assign the new segment under the main segment only(means as a child segment only)..Before that once u create a new zsegement u need to release it.
2>Once u create extened iodc basic type u need to release.
Let me know if u have done these things.
U can check the syntax error in WE02/WE05 by clicking synatx check..It will indicate which segment is wrong
Regards,
Nagaraj
‎2009 Aug 04 1:30 PM
Hi,
Did you create the IDOC extension and release it.
While creating an extension did you give the basic type as DEBMAS06.
Check the segment fields once more in WE31.It should be some problem in the way of extension or the segment.
Just check once.
Regards,
Subhashini
‎2009 Aug 04 1:40 PM
hi,
after adding those segments you need to release it.
check it menu you can see the release option, you need to release it.
then only it will work
In the menu edit-> set release
click on it and release
Even check If the Hierrarchy of the segment is correct. This also will result in Syntax Errors.
thanks & Regards,
ShreeMohan
‎2009 Aug 04 1:42 PM
‎2009 Aug 04 2:06 PM