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: 

Multiple line item Idoc Error.

Former Member
0 Kudos
2,083

Hi..

We have a requirement to generate an idoc when a delivery order is created and saved . The idoc is getting generated without

any errors if the delivery order contains only 1 item . But if the delivery order contains more than 1 item , it throws up an error

for the segment 'E1EDL26' alone as below :

"According to the syntax description of the basic type DELVRY03 (customer enhancement ZGEO_DEL03), the segment group E1EDL26 can be repeated a maximum of 0000000001 times. However, this segment group occurs more frequently in the IDoc."

My requirement is E1EDL26 has to appear more than once as the data picked for this segment differs for each line item . E1EDL26 has a child segment E1EDL27 .

Please help me with this.

Thanks!!!

4 REPLIES 4

JL23
Active Contributor
0 Kudos
465

E1EDL26 has a itself a header segment which is the delivery item E1EDL24

you can only have one E1EDL26 per E1EDL24

it sounds like you put the additional data from several delivery items just to the first item, instead to each indivdual item.

Former Member
0 Kudos
465

Thanks for the reply...I made the necessary changes so that E1EDL26 has parent segment E1EDL24 and it appears only once

for every E1EDL24.

Former Member
0 Kudos
465

Hi..

I am reopening this thread because i m facing a similiar problem...

We have a parent segment E1EDL24 for the outbound idoc and a custom child segment ZE1EDL24X for EIEDL24.

ZE1EDL24X contains the serial nos for the items in delivery .

If the quantity of the item is more than 1 it should populate ZE1EDL24X as many times and appear under E1EDL24 .

The data is getting populated right twice under E1EDL24 but when generating the idoc it goes into red status throwing up the error :-

According to the syntax description of the basic type DELVRY03 (customer enhancement ZGEO_DEL03), the segment ZE1EDL24X can be repeated a maximum of 0000000001 times. However, this segment occurs more frequently in the IDoc.

Since its at item level m looping at E1EDL24 and ZE1EDL24X under E1EDL24 because there can be more than 1 serial no.

Its working fine for 1 serial no.

I think there is some hierarchy issue.

Can someone please help me with this

<< Moderator message - The answers in the forum are provided by volunteers. Please do not ask for help quickly. >>

And you'll do better if you open a separate question of your own.

Thanks!!!!

Edited by: Rob Burbank on Nov 17, 2011 10:20 AM

0 Kudos
465

Hi,

Go to transaction "WE30". Type your extension name "ZGEO_DEL03" and select "Extension" radio button. Click on change.

This will display your custom IDOC extension. Double click on your custom segment, there you can change the property e.g. maximum number.

But there is no point using custom segment for Serial Number because SAP provides segement "E1EDL11" for serial numbers.

Cheers,