‎2008 Jul 03 7:32 AM
Hi Idoc Experts !
The error pasted in subject is what i'm getting when i'm calling function module MASTER_IDOC_DISTRIBUTE.
THE IDOC IS GETTING GENERATED BUT HAS SYNTAX ERRORS WITH STATUS/ERROR CODE :26.
I'm tryin to generate an IDOC with following details:
Direction 1 Outbox
Current status 26
Basic type WMMBID02
Extension
Message type WMMBXY
Partner no. XEROX
Partn.Type LS
Port 170_INVRPT
Can anyone be of some help?
Points guaranteed for authentic answers !
Thanks,
Sachin Soni
‎2008 Jul 03 7:35 AM
Hi,
MOstly the error 26 raises, when there is mismatching of the fields in segment level.
Check out ones, in passing the data to the segments.
Regards,
Naveen
‎2008 Jul 03 7:35 AM
Hi,
MOstly the error 26 raises, when there is mismatching of the fields in segment level.
Check out ones, in passing the data to the segments.
Regards,
Naveen
‎2008 Jul 03 7:41 AM
hi naveen ,
thanks for replyin,
can u be clear about 'mismatching of fields' ?
‎2008 Jul 03 7:45 AM
Hi,
In ur logic u may be trying to populate the IDOC type with data, by validating with segment names followed by Fields.
Check the statements where u will be assigning the values to the fields in Segmenst.
Regards
Naveen
‎2008 Jul 03 7:49 AM
thanks naveen , i'm workin on VPN so will have to get disconnected from the internet.i'll get back to you in 15 minutes if you wud be still here,
thanks,
sachin soni
‎2008 Jul 03 7:59 AM
Hi,
While passing the idoc data, you are not passing the mandatory segment and passing the child segment. Try to add the data for the mandatory segment.
Check and find the mandatory segments on the IDoc through WE30 .And check if all this segments are populated in the IDoc which failed ( WE02).
Regards,
Soumya.
‎2008 Jul 03 8:38 AM
Thanks soumya,
i'll follow your answer and check in my system for the mandatory segments.
‎2008 Jul 31 6:44 AM