Application Development 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: 

copy segment in idoc_data internal table

Bharath84
Participant
0 Kudos

Hi All,

I have 20 records in idoc_data internal table with 10 segments. Where the last two segments are E1EDL24 which contains 5 child segments each. When I debug using WE19, it is showing each segment as a single record. The E1EDL24 is at 9th and 15th position. The child segments are at 10th to 14th and 16th to 20th. Now I want to manipulate the idoc_data internal table by adding one more ELEDL24 segment along with the child segments.So that the new ELEDL24 is at 21st position and from 22nd to 26th are child segments of ELEDL24.

I tried with copying the ELEDL24 into wa_ELEDL24 but I am struck with identifying the child segments.Please help me.

Thanks,

HT

1 ACCEPTED SOLUTION

Tomas_Buryanek
Active Contributor
0 Kudos

Hello, I had similar problem here:

https://answers.sap.com/questions/38437/index.html

Basically use WE30 to display IDOC structure as a guide which segment is where (and which are mandatory or not, etc.).

-- Tomas --
2 REPLIES 2

kjyothiraditya
Participant
0 Kudos

Hi

Try to reprocess the idoc in WE19 by adding additional segment and the corresponsing child segments along with the data.

Tomas_Buryanek
Active Contributor
0 Kudos

Hello, I had similar problem here:

https://answers.sap.com/questions/38437/index.html

Basically use WE30 to display IDOC structure as a guide which segment is where (and which are mandatory or not, etc.).

-- Tomas --