cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc segment sequence

abhishek37373
Participant
0 Kudos

Hi Folks,

I am extending a standard Idoc and want to add a segment as a  child node.But the problem i am facing is the child comes at the first level by default whereas i want it to be in specific sequence.

For example

This is the current standard IDoc:

Parent Segment 1

   E1EDP08 --- Child Segment 1

   E1EDP09 ---  Child Segment 1

I want to make a new custom segment ZE1EDP09 after the E1EDP09 (Not sub-segment),Like:

Parent Segment 1

   E1EDP08 --- Child Segment 1

   E1EDP09 ---  Child Segment 1

   ZE1EDP09 ---  Custom Child Segment 1


But when i try adding it comes on the top,Like:

Parent Segment 1

   ZE1EDP09 ---  Custom Child Segment 1

   E1EDP08 --- Child Segment 1

   E1EDP09 ---  Child Segment 1

Please let me know how to change the sequence of the segments in the Extended Idoc type.Thanks in Advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192109
Participant
0 Kudos

Hi Abhishek,

     i checked some of the extended idoc types in my system and all of them seem to have the Zsegment on top of the hierarchy.

     Guess there is no way unless you want to add it under a segment as child node.

i would like know if there is an option.

Although a work around for this (as i figured) is, to create a new idoc type with the required sequence and use it as your basic idoc type instead of an extension.

Regards,

Umar

abhishek37373
Participant
0 Kudos

Hi Umar,

Even i believe the same "Guess there is no way unless you want to add it under a segment as child node."Will sure let you know if i find anythng on that.Thanks a Lot!

Answers (1)

Answers (1)

nabheetscn
Active Contributor
0 Kudos

Abhishek the postion depends whose child you want to create. It you choose segment E1EDP09 and create a child segment for it It will come under segment E1EDP09

Nabheet

abhishek37373
Participant
0 Kudos

Yes Nabheet but here i dont want to create a child node for E1EDP09.Just the new custom segment under it in the sequence .(Child node for Parent Segment 1)

nabheetscn
Active Contributor
0 Kudos

Hi Abhishek

I dont think there is any way out. Any particular reason for searching for this position? What is the background..?

Nabheet

abhishek37373
Participant
0 Kudos

Hi Nabheet,

The purpose if just to maintain the sequence as they are to be filled in.

-Abhishek

nabheetscn
Active Contributor
0 Kudos

Hi Abhishek

the sequence wont be an issue. When you will fill the data in custom segment in an exit you will have to determine the position anyhow. So it does not matter where it gets inserted

Nabheet