11-26-2014 7:56 AM
Hi
I’m trying to send idoc for purchase orders using Basic type ORDERS05.
Initially we received error in BD87 “EDI: Syntax error in IDoc (too many repetitions of a segment)”
The error was caused due to limit that segment E1EDP19 can be repeated (SAP standard = 5)
We then found “how to” note 1860347 which referred us to note 370021.
After implementing note 370021, we changed the default from 5 to 20.
We are now stuck with new error in SM58 for function module IDOC_INBOUND_ASYNCHRONOUS:
"Out of range: size 5 exceeded max size limit 5.""
Are there additional changes/settings that must be performed? Why would FM still pick up the setting for 5?
We are using standard SAP when generating PO iDOCs. Most PO iDOCs are processed successfully to external system. Only a few are failing.
Any help would be highly appreciated.
Best regards
11-28-2014 4:29 PM
Hello Werner,
Did you release the IDOC type after enhancing the maximum number from 5 to 20.
If not go to transaction WE30 --> give IDOC type --> edit --> set release.
Regards,
Tp
12-01-2014 9:47 AM
Hi Thanga
Thanks for your reply.
I did check release status on Segment (WE31: E1EDP19) & Basic type (WE30: ORDERS05).
Both were "Released" during our tests.
Kind regards
Werner
12-01-2014 1:46 PM
Hello Werner
What is the message type? Is it inbound idoc?
Regards,
Tp
12-01-2014 1:48 PM
Regenerate the inbound function module assigned and check.
Regards,
Tp
12-01-2014 1:58 PM
Hi;
Message type: ORDRSP
|It's for Outbound (PO iDOC sent from SAP to external system).
Do you mean "Activate IDOC_INBOUND_ASYNCHRONOUS" (i.e. SE37 and Ctrl +F3)?
Regards
12-01-2014 3:57 PM
Hello Werner,
IDOC_OUTPUT_ORDRSP is the function module which creates outbound idocs of message type ORDRSP.
Inside the function module we have below user exits. check in the user exits whether there is any logic restricting to the number of segments.
EXIT_SAPLVEDC_004
EXIT_SAPLVEDC_001
EXIT_SAPLVEDC_003
Regards,
TP