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 help

Former Member
0 Likes
419

FM: SD_EDI_INVOIC_INV_ID01 is creating a new idoc with error status 26. the next two stages required are 25 and 30.

How can I process an idoc with ERROR status 26 and get status records 25 and 30.

Please suggest.

Thanks

1 ACCEPTED SOLUTION
Read only

ashok_kumar24
Contributor
0 Likes
377

Hi KVC,

<b>Check following things.

[1]. All of your segments are released. Check this in transaction WE31. The release flag should be set. If it is not released, select the segment version and go to menu "Edit ---> Set release".

[2]. If all segments are released, then go to transaction WE30 and display your IDOC ( not to mentioned again, IDOC should be released too ). Here if you double-click any segment, it will show the small screen with details like,

- mendatory flag

- minimun number

- maximum number

- parent segment

- Hier level.

Here, you check that 'Maximum number" for segments SEGMENT1 / 2 / 3 are define with the max possible segments you are creating in your system.

[3]. Also, check your code that may be you have mispelled the idoc segment name somewhere ( EDIDD-SEGNAM ).

Please let me know if you still get the error.</b>

Good Luck and thanks

AK

3 REPLIES 3
Read only

ashok_kumar24
Contributor
0 Likes
378

Hi KVC,

<b>Check following things.

[1]. All of your segments are released. Check this in transaction WE31. The release flag should be set. If it is not released, select the segment version and go to menu "Edit ---> Set release".

[2]. If all segments are released, then go to transaction WE30 and display your IDOC ( not to mentioned again, IDOC should be released too ). Here if you double-click any segment, it will show the small screen with details like,

- mendatory flag

- minimun number

- maximum number

- parent segment

- Hier level.

Here, you check that 'Maximum number" for segments SEGMENT1 / 2 / 3 are define with the max possible segments you are creating in your system.

[3]. Also, check your code that may be you have mispelled the idoc segment name somewhere ( EDIDD-SEGNAM ).

Please let me know if you still get the error.</b>

Good Luck and thanks

AK

Read only

ashok_kumar24
Contributor
0 Likes
377

Hi KVC,

Check the following,

<b>Status - 26 stands for IDoc structure error.

If an IDoc in the IDoc queue has the above status, the entries are transmitted to the external system. If it has any other status, a transactional RFC is sent. It is not enough to check only the IDoc Queue because although an IDoc may have been created correctly, a problem could have occurred during transmission. Transmission problems are checked in table TRFC Queue

It is NOT mandatory for custom segment to release.

The release mechanism is for in order to be able to create a new successor, you must have released the predecessor. The object cannot be changed again after being released. The release can be canceled if no successors for the development object have been created.

Segment definitions which have NOT been released are assigned the default value "000" as a version number.

Have a look at the idoc structure in WE30 and see whether

1) the mandatory segments are filleds

2) repitative logic is filled, ( if a segment allowed for max 2 times, it should not be filled with more than 2)</b>

Good Luck and thanks

AK

Read only

Former Member
0 Likes
377

.