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

Mandatory Segment is Missing

Former Member
0 Likes
699

Hi!

I have a problem with an Idoc of type DEBMAS with an extension.

My extention includes a mandatory segment. According to what i have read, the whole IDOC should be deleted if the mandatory segment does not exist. Instead in BD87 the error "Mandatory Segment is Missing" appears.

It looks like some of the IDOCs were deleted correctly while others show this error.

Does anyone have a clue where the problem might be?

3 REPLIES 3
Read only

Former Member
0 Likes
587

Hi Markus,

Even if there is no data in mandatory segement, i mean it's missing idoc will be created and remains with the error 'Missing mandatory segment'.

In the same status you can get details about the missing segment. check and corrected it.

--

Reddy

Read only

0 Likes
587

Hi Reddy!

So it is not possible to prevent the creation of an IDOC by not creating a mandatory segment?

Read only

0 Likes
587

It's not possible by standard process. You can forcefully delete the idoc# in the exit, where you can check whether mandatory segment is having values or not. BUT I am not sure how much the idea is suggestable.

--

Reddy