cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy Error for outbound interface PurchaseOrderERPRequest_Out_V1

Muniyappan
Active Contributor
0 Kudos

Hi All,

we are using outbound proxy PurchaseOrderERPRequest_Out_V1 to send the purchase order to PI.

xml message is getting generated when ever purchase order is created. it works fine.

But for some Purchase order when there is no account assignment present, it is throwing error in work flow and no outbound xml is generated.

After checking the messages type, the field <xsd:element name="OrdinalNumberValue" type="OrdinalNumberValue"/> is set mandatory under node AccountingCodingBlockDistribution.

Getting below error in tcode SWIA.

SERIALIZE_APPLICATION_DATA Conversion error ABAP =

> XML: Request Message; CX_ST_SERIALIZATION_ERROR

in /1SAI/SAS0BB1DA907D04FB6D54BF Line 44 An error

occurred during serialization in the simple transf

work flow error.

work flow error when account assignment is missing.

PO xml generation is successful when account assignment data is present.

Message type

Functional team is telling that account assignment is not mandatory. but proxy xsd ordinal value is set mandatory.




Please let me know if anyone faced similar error. if this is program error or any note is there to resolve this.

Regards,

Muni

Accepted Solutions (1)

Accepted Solutions (1)

Muniyappan
Active Contributor
0 Kudos

Raised ticket to SAP. SAP asked to implement note.

2175153 - PurchaseOrderCreatedInformation_Out XML not triggered when creating PO


now it is working fine. po xml is getting generated.

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Muni,

As per my knowledge the serialization error comes in Moni when the mandatory element is not sent.

If the OrdinalNumberValue is not mandatory, why don't you try Enhancement data type and make it optional

Muniyappan
Active Contributor
0 Kudos

i believe enhancement is meant for adding some customized fields. if the issue is in standard content SAP has to fix it.