cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance proxy ReplenishmentOrderNotification_In in SNC

0 Kudos

Dear experts,

My reuqirement is:

 

When ever a PO fails creation in SNC – the error can be found in the XML monitor, an email should be send to SAP OFFICE user to let them know the errors.

Should i enhance 'ReplenishmentOrderNotification_In' ?

How to debug this proxy when PO be sended from ECC to SNC ?

thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

shekhar_gupta3
Explorer
0 Kudos

Dear Summer,

On #1 (Email for PO Failures)

Nikhil has already answered.  Alert 7035 might not work always and will also not give you detailed information on failure.

Another generic solution is here:

It works for all XML messages flows. Create a Z report (Details in the link below). It pulls out all the messages that have failed. You can restrict it to pull only PO XML Failures (ReplenishmentOrderNotification_In XML messages).

http://wiki.scn.sap.com/wiki/display/Snippets/Massive+proxy+errors+monitor

You can tweak it as per your requirement to share the same the result via email.


On #2 (How to debug this proxy when PO be sended from ECC to SNC ?)

2-3 different ways to do it. Use SPROXY (the easiest one) by following below steps

1) Take the XML Message from SXI_MONITOR in SNC

2) Go to SPROXY

3) Click on ESR View to see the local interfaces

4) Look for Service Interfaces"ReplenishmentOrderNotification_In". It should be available under http://sap.com/xi/SNC/Global

5) Look for Provider Class (/SCA/CL_BIF_REPLORDER_IN) and method (/SCA/II_BIF_REPLORDER_IN~EXECUTE_ASYNCHRONOUS). Put your break points in this method.

6) Come back to the Service Interface. Execute.

7) It will take you into debugger.

Hope this helps!

Let me know, if you face any issues.

Regards

Shekhar

0 Kudos

Dear Shekhar,

Thanks for your answer, very aprreciate it.

I'am new in SNC, I got a mesage when I try to go to SNC using transaction code /SCA/ICH, the message is 'User *** is not assigned to a partner'.

Could you please tell me what authorization I am missing?

How should I do with this?

Thanks in advance.

Former Member
0 Kudos

Hi,

Your user id should be assigned to BP person & BP person should be assigned to BP organization.

Check below link:

https://scn.sap.com/thread/1678924

BP organization must be assigned to location.

Go to /N/SAPAPO/LOC3 enter the location then go to general tab in that enter BP organization.

Regards,

Nikhil

0 Kudos

Thank you for your quick reply.

Former Member
0 Kudos

Hi,

There is a standard alert type 7035

"Exception during validation of purchase order"

in SNC .

Activate the alert type 7035 & you can have email notification whenever PO is failed:

1) To activate alert type follow below steps:

Go to SPRO >> Supply Network Collaboration >> Exceptions >> Alert Type Activation >> Activate Alert Types

Click on New entries then alert type=7035 and save.

2) To send email notification click below link for more details:

http://scn.sap.com/docs/DOC-5572

Regards,

Nikhil