Skip to Content
avatar image
Former Member

Problem with Idoc segment maximum length

Hi friends,

We are now creating a new Idoc type. We have started to create the first segment but we encountered a major problem.

The problem is that we have a field of 4000 characters but the limit of all segment fields together is 1000 characters.

Is there any way to change this limitation or another way to define Idoc?

Thanks in advanced,

Udi Dekel.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 22, 2010 at 06:00 AM

    Hi,

    When you create a segment that exceeds the max length, SAP automatically creates a child segment for the exceeded length. For your problem though, you can create 4 segments of length 1000 each and split the data in these 4 segments and then concatenate the data later in the idoc processing function module. On the other hand if it is an outbound idoc, you can ask the receiving system to do the same.

    Best regards,

    Advait

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 18, 2010 at 10:37 AM

    Tolal length of all fields in a segment should not exceed 1000 char otherwise u cannot move it EDIDS-SDATA as length of this field is only 1000 char . As in ur case lotal length is more than 1000 char so it is better to create 2 separate segments rather than 1 segment.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 18, 2010 at 08:21 PM

    need to do coding in user exit of process code..

    let me now order type and process codeand segment ..i ll tell you exact user exit..

    madan

    Add comment
    10|10000 characters needed characters exceeded