cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR when processing Delivery Schedule Notification (DSN) in SNC

Former Member
0 Kudos

Hello All:

We are unable to process DSN on SXMB_MONI due to the following error : "Partner assigned to goods rec. loc. differs from goods rec.".

In our case the ordered materials are been shipped to a sub contractor (Good recipient).

Any particular validation check needs to inactive? appreciate your help in advance.

Thank you

Sadat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sadat

Can you check the following things

1.check whether a location master is created in SAP SNC for the ship-to location(sub contractor aliaz Good recipient)

2.check whether the DeliveryScheduleNotification contains the ID of the ship-to location

3.Check whether a business partner is created in SAP SNC for the Goods Recipient

Goods Recipient can be entered in two ways

1.enter the Goods Recipient business partner(Organization) in the location master of the ship-to location in SAP SNC. In this case, SAP SNC can determine the business partner ID of the goods recipient using the ship-to location ID from the DeliveryScheduleNotification.

2.In the DeliveryScheduleNotification make sure it contains the ID of the Goods Recipient business partner

Now regarding the address determination in ship to location and goods recipient view

There are Settings for Address Determination in spro --snc- basic settings-processing inbound and outbound xml messages

-addresses

Make sure you define according to your need

In general, the addresses are picked from xml, if it is not available they are picked from SNC master data

In your case

lets say you have plant XYZ ordering goods from supplier SUP1 and they are deliverying it to GOODS (subcontractor)

Respective business partner are having the same nomenclature

now in XML goods recipients Partner is GOODS

But in ship to location master the business partner , it should be GOODS

Or else the above error message pop up

Best Regards

Vinod

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sadat,

You can deactivate the validation check REL_SHIPTOLOC_ASSIGN_FROM_GRLOC to resolve your issue.

Go to SPRO>Supply Network Collaboration>Basic Settings>Validation>Own Settings-->Maintain Settings in Validation Profiles

Enter validation profile=RELH

Validation check=REL_SHIPTOLOC_ASSIGN_FROM_GRLOC

Check status=Inactive

and save.

If goods recipient in DSN XML is not created as BP as a organization then you have two option either create as BP organization or deactivate validation check for Goods Recipient is Business Partner in SNC

To deactivte validation check for Goods Recipient is Business Partner in SNC

Go to SPRO>Supply Network Collaboration>Basic Settings>Validation>Own Settings-->Maintain Settings in Validation Profiles

Enter validation profile=RELH

Validation check=REL_PARTY_GR_ID_INVALID

Check status=Inactive

and save.

Regards,

Nikhil

Former Member
0 Kudos

Vinod/ Nikhil:

Thank you so much for your resposnse, I tried according to both of your suggestions, the success is still at large.

1. All 3 parties organization are created as BP and assigned to there respective location masters.

2. Deactivated both validations:

REL_SHIPTOLOC_ASSIGN_FROM_GRLOC and REL_PARTY_GR_ID_INVALID

3. DSN do have ID for ship to location.

4. Tried Settings for Address Determination.

On reprocessing the XML the error remains the same, appreciate any other suggestions.

Thank you

Sadat

Former Member
0 Kudos

Sadat

The validation check in question is "SHIPTOLOC_GRPARTNER_RELATION".

I deactivated this check and the error was resolved.

The system is processing the messages incorrectly. I am going to open an OSS message for this. We started getting this error only after applying SP08 recently.

It is populating the Ship To Location as the plant and trying to match it with the Goods Recipient. If you look at the same scenario for the PO, then you will find that the Ship To Location is blank and teh address is of the Goods Recipeint.

Only the Customer Loctaion should be populated as Plant.

Hope thsi helps.

Kedar

Former Member
0 Kudos

Hi Sadat,

Go to SPRO>Supply Network Collaboration>Basic Settings>Processing Inbound and Outbound Messages>Addresses-->Define Address Source

Process Type:Supplier Collaboration

XML message:DeliveryScheduleNotification_In

Address source:USE Transferred GR Addresses,Other from Master Data

Check whether it is working or not.

regards,

Nikhil

Former Member
0 Kudos

Hi Sadat

So there are three location master created

PLANT

VENDOR

SUBCONTRACTOR(GOODS RECIPIENT)

and their respective bp organization added in the field BP Partner

Now when you create release

just ensure these steps are covered

Go to ta ME32L, enter SA number 550000XXXX. press enter.

Select the item, and navigate to item-> morefunctions-> delivery address.

In the Delivery address window, enter subcontractor (Goods Recipient)in the vendorfield and press Adopt button.Save the Scheduling Agreement

ME84---create release

Me9l-message output

Also make sure you maintain the address settings /SCMB/BIF_ADRI_V in TA SE16

Use All Transferred Addresses, Others from Master Data ---Adress source for DELSCHED_I, SUPPLIER COLLOBARATION

Check the respective idoc and xml messages whether Subcontrator details are filled

Make sure your location masters are assigned to active model-/n/sapapo/loc3 and Badi's Completing master data in xml messages are active in sprosnc-business addin for sap snc-processin inbound and outbound messagesbadi for mapping master data

It should work this time.

Or else try to create the same using test data transaction

/n/SCMB/TESTBOLMES3

Which will give idea, whether incoming xml meets the requirement

Best Regards

Vinod