Skip to Content
avatar image
Former Member

PurchaseOrderProcessingOrderingIn - Exeption condition "REFERENCE_IS_INITIAL" raised

Hello,

If we are Using the Webservice PurchaseOrderProcessingOrderingIn we are getting sometimes the following error: "Exeption condition "REFERENCE_IS_INITIAL" raised.

We are Using the Service with an external System to push Purchase Order Acknowledgments into the system.

Could you please help us to fix that issue?

Thanks a lot and kind regards,

Stefan Zumbach

See the following PAYLOAD:

<?xml version="1.0"?>
<ns1:PurchaseOrderConfirmation xmlns:ns1="http://sap.com/xi/SAPGlobal20/Global">
<MessageHeader>
<ID>6DEFF2D7FA3F4ABB846F956D925FEF36</ID>
<CreationDateTime>2017-01-04T13:09:42.351484Z</CreationDateTime>
<SenderParty>
<InternalID schemeID="CommunicationPartyID" schemeAgencyID="_LOCAL_SYSTEM_ALIAS_SAP_INTERNAL_CONSTANT_VALUE_">L00000129</InternalID>
<StandardID schemeAgencyID="16">101649385</StandardID>
</SenderParty>
<RecipientParty>
<InternalID schemeID="CommunicationPartyID" schemeAgencyID="_LOCAL_SYSTEM_ALIAS_SAP_INTERNAL_CONSTANT_VALUE_">0000001000</InternalID>
<StandardID schemeAgencyID="16">107380827</StandardID>
</RecipientParty>
<BusinessScope>
<TypeCode listID="25201" listAgencyID="310">2</TypeCode>
<ID schemeID="10555" schemeAgencyID="310">92</ID>
</BusinessScope>
<BusinessScope>
<TypeCode listID="25201" listAgencyID="310">3</TypeCode>
<ID schemeID="10555" schemeAgencyID="310">97</ID>
</BusinessScope>
</MessageHeader>
<PurchaseOrder>
<ID>57</ID>
<AcceptanceStatusCode>AP</AcceptanceStatusCode>
<Item>
<ID>1</ID>
<SellerID>20354</SellerID>
<AcceptanceStatusCode>AP</AcceptanceStatusCode>
<Product>
<BuyerID>297</BuyerID>
<TypeCode>1</TypeCode>
</Product>
<ProductCategory>
<BuyerID>1</BuyerID>
</ProductCategory>
<ConfirmedPrice>
<NetUnitPrice>
<Amount currencyCode="CHF">10</Amount>
<BaseQuantity unitCode="EA">1</BaseQuantity>
</NetUnitPrice>
</ConfirmedPrice>
<ConfirmedScheduleLine>
<DeliveryPeriod>
<StartDateTime timeZoneCode="CET">2017-01-10T12:19:47Z</StartDateTime>
<EndDateTime timeZoneCode="CET">2017-01-10T12:19:47Z</EndDateTime>
</DeliveryPeriod>
<Quantity unitCode="EA">5</Quantity>
</ConfirmedScheduleLine>
</Item>
<Item>
<ID>2</ID>
<SellerID>20354</SellerID>
<AcceptanceStatusCode>AP</AcceptanceStatusCode>
<Product>
<BuyerID>297</BuyerID>
<TypeCode>1</TypeCode>
</Product>
<ProductCategory>
<BuyerID>1</BuyerID>
</ProductCategory>
<ConfirmedPrice>
<NetUnitPrice>
<Amount currencyCode="CHF">10</Amount>
<BaseQuantity unitCode="EA">1</BaseQuantity>
</NetUnitPrice>
</ConfirmedPrice>
<ConfirmedScheduleLine>
<DeliveryPeriod>
<StartDateTime timeZoneCode="CET">2017-01-10T12:19:47Z</StartDateTime>
<EndDateTime timeZoneCode="CET">2017-01-10T12:19:47Z</EndDateTime>
</DeliveryPeriod>
<Quantity unitCode="EA">10</Quantity>
</ConfirmedScheduleLine>
</Item>
</PurchaseOrder>
</ns1:PurchaseOrderConfirmation>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 26 at 08:36 AM

    Hi Stefan,

    I am not sure if your problem already been solved. But I still would like to provide a possible solution for other users for further usages.

    The error "Exception condition "REFERENCE_IS_INITIAL" generally happens when a default fall back template has not been maintained.
    To resolve this issue, please go to WoC Application and User management --> Input and Output Management -->Form Template Selection.
    Show Rules For Changed Purchase Order ->hit go.
    In the rule table that shows up, click add row.
    Under form template selection click the hyperlink for <ADD> and value as S1001. click OK to save the settings.
    With this fallback, the dumps/unexpected error should not happen anymore.

    You can also refer to KBA

    2397196 - Dump encountered when trying to Order or Approve a Purchase Order for more details.

    Regards,

    Chenlu

    Add comment
    10|10000 characters needed characters exceeded