07-18-2008 2:58 PM
Hi Friends,
I have a Custom Message Type ZBOM in which i'm setting a filter objects in BD64. I want to send only certain Plant related information to other system.
I Maintained settings in BD59 and Added the Filter objects in BD64.
When i run BD21 against ZBOM to create the IDOCS, I get error message "Segment ZE1STKO does not exist for message type ZBOM".
If i remove the filter objects from BD64, IDOCS are triggered from BD21.
Did any one faced this issue? Any solutions / hints ?
Thanks in Advance,
Arun
07-18-2008 3:06 PM
May be u have used the filter at segment level and ur segment is mandatory segment..pl. check.
Regards,
Joy.
07-18-2008 3:08 PM
Hello Arun,
It seems that u have filtered one of the segment which is mandatory or which does not exist.
check the filter once!
Regards,
Subbu
07-18-2008 3:21 PM
Hello Joyjit / Subba,
I want to send the ZBOM for plant 40 only. I'm doing filter on Plant.
ALE Object Type - WERK
Segment Type - E1MASTM
I've copied and pasted the BD59 setting for BOMMAT to bd59 settings in ZBOM.
BOMMAT is working with the same settings.
Thanks,
Arun.
07-18-2008 8:22 PM
Check whether segment ZE1STKO is set as mandatory or not..if it set a mandatory then in uncheck the check box.
Also check whether ZE1STKO is released or not.
Regards,
Joy.
07-18-2008 9:45 PM
Thanks Joy.
How to check whether the segment ZE1STKO is set as mandatory or not? Any transaction for this?
This segment is released in We31.
Arun.
07-18-2008 9:51 PM
07-19-2008 1:53 AM
The message u r getting is from msg class B1 and msg no 95.
Here is the detail description of the message:
Short Text
Segment & does not exist for message type &
Diagnosis
The segment type could not be read for the message type .
System Response
Either there is an error in the program that created the IDoc, or some of the settings in the ALE distribution model or the ALE segment filter are incorrect.
Procedure
Make sure that no filter objects have been specified in the ALE distribution model for this message flow and that there are no entries in the ALE segment filter for it either.
If this does not fix the problem then you should at least now get an IDOC with a syntax error. You can obtain more information about this from the status records of the IDoc.
When u r executing BD21, execute it in debug mode and set a break point at message statement. Then may be u can understand
the problem in more details.
Regards,
Joy.
07-21-2008 7:17 PM
07-18-2008 7:44 PM
08-01-2008 4:33 PM
Solution to this issue
In our system Basic Type BOMMAT03 is extended to ZBOM with new segments and the message type name is ZBOM.
Filling of Data to the new segments is happening in BTE - Transaction FIBF.
Following are the two events and you have to create a function module to manipulate the logic you want.
CS000100 - Changing Control Records
CS000110 - Changing Data Records
When you set Filter Objects to the custom Message Type ZBOM,
You have to populate the Extension Name in IDOC Control Structure , otherwise system is not recognizing and throwing the error message which i received.
idoc_control-cimtyp = 'ZBOM'.
This did the trick.