Application Development 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: 

IDOC Filter Objects in Custom Message Type

Former Member
0 Kudos

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

10 REPLIES 10

Former Member
0 Kudos

May be u have used the filter at segment level and ur segment is mandatory segment..pl. check.

Regards,

Joy.

Former Member
0 Kudos

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

0 Kudos

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.

0 Kudos

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.

0 Kudos

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.

0 Kudos

ZE1STKO is not set as mandatory segment. Checked in WE31.

0 Kudos

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.

0 Kudos

Thanks Joy.

I will update once i get a solution to this.

Former Member
0 Kudos

Any ideas or hints on this issue?

Former Member

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.