2011 Nov 04 6:11 AM
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!!!
2011 Nov 04 8:40 AM
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.
2011 Nov 04 12:24 PM
Thanks for the reply...I made the necessary changes so that E1EDL26 has parent segment E1EDL24 and it appears only once
for every E1EDL24.
2011 Nov 17 3:10 PM
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
2011 Nov 18 3:42 AM
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,