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

IDOC status error

Former Member
0 Likes
1,781

Hi,

I have created a new basic type of IDOC , with new segments . When i send the data in the Idoc i get the error with code 02 , and the message is that 'Segment Z1MATLAL in release 46C is unknown' . I have checked the segmnt in WE31 and the segment has been released . Please help.

Kunal

13 REPLIES 13
Read only

Former Member
0 Likes
1,566

Hi Kunal,

Have you attached your new segments to the basic type in we30 and released the same?

Ravi

Read only

0 Likes
1,566

Yes , the segments has been attached to the basic type and released.

Read only

0 Likes
1,566

What SAP version are you on?? Is it 46C ??

Check in table EDISDEF if your segment exists in this table for 46C. Try restting the release on segment in WE31 and release it again.

Cheers.

Sanjay.

Read only

0 Likes
1,566

Hi Kunal,

How are you trying to send the IDOC? Are you using we19? or something else?

Ravi

Read only

Former Member
0 Likes
1,566

Usually we get the error when the segment is not activated

and released. Pls check it once more.

Read only

0 Likes
1,566

hi,

To send the Idoc i have a Z program which uses MASTER_IDOC_DISTRIBUTE FM. Also how do we activate segments , i created it and then relased it..

Kunal

Read only

0 Likes
1,566

Put a break point in FM IDOC_SEGMENT_READ and run your custom program . In this FM the exception NO_SEGMENTDEFINITION is being triggered causing the error . Debug the FM and find the reason.

Cheers.

Sanjay

Read only

0 Likes
1,566

The IDOC_SEGMENT_READ never gets called in the MATERIDOC_DISTRIBUTE FM.

Read only

0 Likes
1,566

I ran the IDOC_SEGMENT_READ but it gave no exception , it shows the segment is created.

Z1MATLAL | | |Specific segment for ZMMATLAL |U189595 |U189595 |T117334 |Z2MATLAL000 |000|Z2MATLAL000 |620 |X|27.10.2005|06:01:02|09.11.2005|17:16:01|0007|0031|

Read only

0 Likes
1,566

When i send the data in the Idoc i get the error with code 02 , and the message is that 'Segment Z1MATLAL in release 46C is unknown' .

Where do you get above error , in your Z program ???

What is the sy-subrc after call to MASTER_IDOC_DISTRIBUTE???

By code "02" do you mean IDOC status . Can you see the IDOC in WE05 or is that the IDOC does not get generated at all .

Cheers.

Sanjay

Read only

0 Likes
1,566

The error i get when i see the IDOC status in WE02/WE05. The sy-subrc afer MASTERIDOC_DISTRIBUTE is 0.

i.e. The IDOC gets created but is not sent to the port correctly.

Read only

0 Likes
1,566

Hi,

Anyon out there who can help ???'

Read only

0 Likes
1,566

Hi Guys,

I had gotten this same problem for my IDOC - the solution is simple enough.

In WE82 - where you maintain the data for the Message type and extension there is a field for Release.

You have to make sure that this release number and the release number you put for your partner profile(WE20) is the same. The field is available right below the field for your extension in WE20. Search for - 'Seg. release in IDOC type' - & make sure that this is the same value as you have given in WE82 for your extension.

Thanks & Regards- Aditya