cancel
Showing results for 
Search instead for 
Did you mean: 

ProductActivityNotification error message-BuyerParty is missing or invalid

Former Member
0 Kudos

Hi

We have just gone live with SNC, but are ´facing problems when transfering PROACT Idoc from ECC 6.0 to SNC 7.0. We get an error in SXI_MONITOR stating :

BuyerParty is missing or invalid 011(/SCA/DM_SV_PROACT)

BOL processing failed. XML-message inbound processing has been terminated 002(/SCA/DM_BOL_CON)

BuyerParty is missing or invalid

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Henrik,

Looks like you've wrong ReceipientParty filled in the corresponding IDoc and hence in the PAN_IN xml. The recipient party can't be that of a supplier. I guess it should be your customer location where supplier will supply.

<RecipientParty>

<InternalID schemeAgencyID="DD70">0000180705</InternalID>

</RecipientParty>

</MessageHeader>

- <ProductActivity>

- <VendorParty>

<InternalID schemeAgencyID="DD70">0000180705</InternalID>

</VendorParty>

- <Item>

Regards,

Rohan

Former Member
0 Kudos

Hello Henrik,

My earlier answer was incorrect. You will indeed have the Vendor and Receipient party same.

When I see the code behind this error in the method /SCA/CL_SV_PROACT->GET_HEADER_PARTIES, I see that the system is looking for BP id of buyer i.e. ship to loaction whether it is assigned or not. In your case the Ship-to-location 0001 needs to have a BP assigned to it in location master > General tab > partner frame. Please check that whether it really has any BP assigned to it or not.

  • Determine BuyerParty and VendorParty

LOOP AT is_proact-party ASSIGNING <party>.

CASE <party>-type.

WHEN /scmb/cl_c_dm=>gc_scmb_dm_party_type_buyer.

mv_buyer = <party>-guid.

WHEN /scmb/cl_c_dm=>gc_scmb_dm_party_type_seller.

mv_vendor = <party>-guid.

ENDCASE.

ENDLOOP.

Hope this will resolve your issue.

Regards,

Rohan

Former Member
0 Kudos

Posted a bit early - anyway further information below.

We have checked the BP setup, Locations and transportation lanes, but have not found any difference to the quality assurance system where it works.

XML can be found below:

<?xml version="1.0" encoding="utf-8" ?>

- <ns1:ProductActivityNotification xmlns:ns1="http://sap.com/xi/SAPGlobal20/Global" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

- <MessageHeader>

<ID>0000000102362011</ID>

<CreationDateTime>2011-12-01T14:10:43</CreationDateTime>

- <RecipientParty>

<InternalID schemeAgencyID="DD70">0000180705</InternalID>

</RecipientParty>

</MessageHeader>

- <ProductActivity>

- <VendorParty>

<InternalID schemeAgencyID="DD70">0000180705</InternalID>

</VendorParty>

- <Item>

- <ShipToLocation>

<InternalID schemeAgencyID="DD70">0001</InternalID>

</ShipToLocation>

- <Product>

<InternalID schemeAgencyID="DD70">633X0099</InternalID>

</Product>

- <Inventory>

<StatusDateTime>2011-12-01T14:10:36</StatusDateTime>

<UnrestrictedUseQuantity unitCode="PCE">0.000</UnrestrictedUseQuantity>

<QualityInspectionQuantity unitCode="PCE">0.000</QualityInspectionQuantity>

<BlockedQuantity unitCode="PCE">0.000</BlockedQuantity>

</Inventory>

- <ConsignmentInventory>

<StatusDateTime>2011-12-01T14:10:36</StatusDateTime>

<UnrestrictedUseQuantity unitCode="PCE">0.000</UnrestrictedUseQuantity>

<QualityInspectionQuantity unitCode="PCE">0.000</QualityInspectionQuantity>

<BlockedQuantity unitCode="PCE">0.000</BlockedQuantity>

</ConsignmentInventory>

<SalesTimeSeries />

<SalesForecastTimeSeries />

- <OrderForecastTimeSeries>

- <Item>

- <ValidityPeriod>

<StartDateTime>2012-01-24T00:00:00</StartDateTime>

<EndDateTime>2012-01-24T23:59:59</EndDateTime>

</ValidityPeriod>

<Quantity unitCode="PCE">90000.000</Quantity>

</Item>

- <Item>

- <ValidityPeriod>

<StartDateTime>2012-02-23T00:00:00</StartDateTime>

<EndDateTime>2012-02-23T23:59:59</EndDateTime>

</ValidityPeriod>

<Quantity unitCode="PCE">90000.000</Quantity>

</Item>

- <Item>

- <ValidityPeriod>

<StartDateTime>2012-04-03T00:00:00</StartDateTime>

<EndDateTime>2012-04-03T23:59:59</EndDateTime>

</ValidityPeriod>

<Quantity unitCode="PCE">90000.000</Quantity>

</Item>

- <Item>

- <ValidityPeriod>

<StartDateTime>2012-05-10T00:00:00</StartDateTime>

<EndDateTime>2012-05-10T23:59:59</EndDateTime>

</ValidityPeriod>

<Quantity unitCode="PCE">90000.000</Quantity>

</Item>

- <Item>

- <ValidityPeriod>

<StartDateTime>2012-06-21T00:00:00</StartDateTime>

<EndDateTime>2012-06-21T23:59:59</EndDateTime>

</ValidityPeriod>

<Quantity unitCode="PCE">90000.000</Quantity>

</Item>

- <Item>

- <ValidityPeriod>

<StartDateTime>2012-08-02T00:00:00</StartDateTime>

<EndDateTime>2012-08-02T23:59:59</EndDateTime>

</ValidityPeriod>

<Quantity unitCode="PCE">90000.000</Quantity>

</Item>

- <Item>

- <ValidityPeriod>

<StartDateTime>2012-09-06T00:00:00</StartDateTime>

<EndDateTime>2012-09-06T23:59:59</EndDateTime>

</ValidityPeriod>

<Quantity unitCode="PCE">90000.000</Quantity>

</Item>

</OrderForecastTimeSeries>

<ConsumptionTimeSeries />

<ConsumptionForecastTimeSeries />

<OnOrderTimeSeries />

</Item>

</ProductActivity>

</ns1:ProductActivityNotification>