on 03-26-2019 6:24 PM
Hi Expert,
when I try to send a PO Confirmation, PI returns an error while mapping PurchaseOrderConfirmation into ORDERS02 IDoc.
The error is:
Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: Illegal value "2" for attribute SEGMENT in <E1EDPT2 SEGMENT="1"> tag within IDoc-XML for type <ORDERS02>: state=READING_ATTRIBUTE_VALUE, charPosition=1988, lineNumber=1, columnNumber=1989
PI Mapping:
If I confirm only one PO item, I don't have any errors, instead, if I confirm more than one PO Item, the field E1EDPT2-SEGMENT will be increased (1, 2, 3... ).
Any suggestion?
Thank You
Best Regards
Alessandro
we solved it by updating the Software Component
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Map this attribute with constant "1".It should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think so it is possible to enhance standard mappings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alessandro leva Why do you want to edit a SAP standard mapping?
It's always better to copy this mapping in your own software component version and edit it.
If you edit any SAP standard contents,any changes you do would make will be overridden when you apply new support packs or update SAP contents,besides this SAP won't provide you any support for those changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alessandro!
The "SEGMENT" attribute of any segment in IDoc (except for "IDOC" segment) is used to distinguish element with same name (if one exists occasionaly) from segment (data record in SAP terms) in IDoc structure. Its value should always be set to 1. The same way "IDOC" segment is marked with attribute "BEGIN".
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alessandro, You can also try using index function with the input same as E1EDPT2 with split by value function.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.