cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with SUS2MMOrderResponse E1EDPT2 SEGMENT

alessandroieva
Active Participant
0 Kudos

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

alessandroieva
Active Participant
0 Kudos

Hi,

thank you for your feedback.

This is a standard scenario. I can't change the mapping.

There is an alternative solution in order to change the value in E1EDPT2-SEGMENT ?

Thank You

Best Regards

Alessandro

0 Kudos

Hi Alessandro,

Facing same issue.

Please let me know the solution if fixed.

Thanks

Pranay

0 Kudos

Hi Alessandro,

Facing same issue.

Please let me know the solution if fixed.

The same is working fine in SAP PI 7.1.

After migrating to PO 7.5, issue started for PO confirmations with multiple items .

Thanks

Pranay

Accepted Solutions (1)

Accepted Solutions (1)

alessandroieva
Active Participant
0 Kudos

we solved it by updating the Software Component

Answers (6)

Answers (6)

manoj_khavatkopp
Active Contributor

Map this attribute with constant "1".It should work.

suchitatomar
Participant
0 Kudos

I don't think so it is possible to enhance standard mappings.

suchitatomar
Participant
0 Kudos

@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.

alessandroieva
Active Participant
0 Kudos

Hi Suchita,

our goal is not change the AS-IS flow on PI system but to find a workaround.

I know that if I update SAP PI system I resolve my issue. I would like to know if there is a way to enhanced the standard mapping.

Thank You

Best Regards

Alessandro

suchitatomar
Participant
0 Kudos

Map Segment ###/E1EDPT1/E1EDPT2 to Constant 1 and if you have a parent ####/E1EDPT1 then map it same as per below mapping. Hopefully it will work

Do let me know if this resolve your issue.

alessandroieva
Active Participant
0 Kudos

Hi Suchita,

how I can change the standard mapping in order to implement your suggestion?

Thank You

Best Regards

Alessandro

former_member190293
Active Contributor
0 Kudos

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.

Harish
Active Contributor
0 Kudos

Hi Alessandro, You can also try using index function with the input same as E1EDPT2 with split by value function.

regards,

Harish