Skip to Content

New Field added in IDoc custom segment - issue with Segment Definition

Hi,

We already have a custom segment ZE1EDK99 with few fields. Segment Defintion : ZE1EDK99000

Now, we have added a new field to the custom segment by following the steps :

1. Cancelled the current Released version of the segment definition in WE31.

2. Added the new field, and Released the new version.

This created a new version of the Segment Definition - ZE1EDK99001.

Since we are not making any change on the IDoc Basic type or its Extension, we did not make any changes to the partner profile of the partner.

Now, the third party partners who consume this IDoc output, are getting an error that the mandatory segment ZE1EDK99000 (previous version) is missing.

Are we missing something or the new segment definition mapping needs to be done by the Partner consuming the Idoc?

Thanks and Regards

Ashish

Add a comment
10|10000 characters needed characters exceeded

  • partner profile outbound parameters: see the SAP help of the field "Seg. release in IDoc type". Fine if it's empty, it will use the latest segment definition.

    But can you explain how the external system is aware of names of segment definitions? Those names (ZE1EDK99000) are not transmitted in the IDoc. Only the segment types are transmitted (ZE1EDK99). Can you provide more details concerning the error message please? (and what kind of system it is, etc.) If the external system is SAP PI/XI, did you replicate the IDoc types?

  • screenshot2-seg-def-versions.pngpartner-profile-outbound.png

    Hi Sandra,

    Adding the error details:

    The error pops up at the EDI integrator itself , here they map the Idoc segments and are probably expecting the old segment definition name.

    This throws the error - Mandatory record ZE1EDK99000 is missing.

    As for the partner profile outbound parameters - here we maintain only the Idoc Basic type and its extension, if any, right?

    We have not made any changes to that. Our change is only on one of the segments within the already existing segment extension.

    I have attached a screenshot1 from the Partner Profile Outbound Parameters. Are you talking about the highlighted fields?

    As to why did I cancel the previous definition -

    The ask was to add a field to an already released Idoc segment and from a previous ABAP component version. Screenshot2 attached.

    Hope this helps. Looking forward to your reply.

    Thanks

    Ashish

  • I'm surprised that the "third-party partners are getting an error" about the segment definition (ZE1EDK99000), and not the segment type (ZE1EDK99), because an IDoc transmits no information about the name or version of the segment definition, there's only the segment type.

    Anyway, if it says that a mandatory segment is missing, I guess that the segment ZE1EDK99 is really missing (missing because defined as mandatory in its parent segment).

    Can you provide more details about the exact error please?

    NB: there's an ABAP version in the partner profile outbound parameters (I don't know if you have released the two definitions in ). By the way, why did you "cancel" the previous segment definition?

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.