cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ASN Creation Issues in SRM-SUS

Former Member
0 Kudos
1,359

Hello All,

We are on SRM 7 Ehp1 with ECC 6.0 Ehp5 and PI 7.1.

In my case Vendors are replicated to SUS with all the details. Purchase Order is successfully getting transferred to SUS with PurchaseOrderERPRequest_Out_V1 service interface. Vendor gets email notifications for create/change. Now my issues start after this.

  • When supplier confirms PO in SUS I don't find an XML for this event however when I check PO in ECC "Delivery" Tab is updated with any refrence to a document. I don't if this is an expected behaviour.
  • After this SUS allows Vendor to create an ASN. Vendor creates an ASN and an ASN number is generated as well in SUS. But again NO XML in SXMB_MONI for this in any of the 3 systems. Nether an IDOC. ASN gets saved in SUS. But I don't see an IBDN for this.

I have hunted a lot in SDN and Service Marketplace for this. But failed to find anything as to what should be the right config for this. Let me know if you can get me out of this situation.

Thanks in Advance!

Accepted Solutions (1)

Accepted Solutions (1)

former_member208244
Active Participant
0 Kudos

Hello,

I assume you have done all standard configuration, transaction types, event schemas, etc in your SA SUS system.

When XML is not triggered, you need to understand how it gets triggered and where is the template and class which fill them up.

Please check next configurations in SAP SUS System

SAP SUS

1. You need to have configured the ESR with your servers. If you want to check it, is simple, just run transaction SPROXY and verify if an error is raised, if not ESR is connected to server.

2. You must configure your Integration Engine trhu SXMB_ADM, the steps are the next:

+ Run transaction SXMSIF and add your necessary XML messages and Receiver.

+ Add your message ID to "Configure Integration Engine" for RUNTIME specific parameters, you also need to maintain there your PI system URL with appropiate Integration Engine RFC.

3. If everything is OK, searche the XML message you want in transaction SPROXY and check if that is active, with the appropiate CLASS, and anyone has changed it from standard.

If you have any question, please reply my message.

Regards,

Sebastián

Former Member
0 Kudos

Hello Sabastian,

Thanks a lot for your guidance. You are right these are the required settings to trigger the XML however I got stuck on exactly which interfaces to be mapped in PI. My XMLs for PCO and ASN now get generated but they PCO/ASN fail in SUS. PCO shows me the below error in MONI.

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

  <SAP:Category>XIProtocol</SAP:Category>

  <SAP:Code area="PARSER">ITEM_UNEXPECTED</SAP:Code>

  <SAP:P1><></SAP:P1>

  <SAP:P2><Fault></SAP:P2>

  <SAP:P3 />

  <SAP:P4>ST: ST_XMS_MSGHDR30_SOAP_FAULT</SAP:P4>

  <SAP:AdditionalText>System expected the element 'Fault'</SAP:AdditionalText>

  <SAP:ApplicationFaultMessage namespace="" />

  <SAP:Stack>Unexpected XML element <>; <Fault> was expected System expected the element 'Fault'</SAP:Stack>

  <SAP:Retry>M</SAP:Retry>

  </SAP:Error>

Please let me know if you can get some some idea.

Regards

former_member208244
Active Participant
0 Kudos

Hello again,

Could you please provide namespace and XML interface name used in that case to understand something?

Im seeing that you received an error about "Unexpected XML element", did you try to debug it by SPROXY test program? Just breakpoint at error messages and check which one raise one SPRX message type.

Regards,
Sebastián

Former Member
0 Kudos

You are right again....Issue seems to be with the namespace........I attaching SUS MONI and PI Recvr screen shots for you....This for PCO....

Regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello All,

I have found an SAP Note pertaining to this issue and also seen some forum topics on this which talk about maintaining SENT event for BUS2232, BUS2234 etc.

I maintained the same in SPRO. But to my surprise in SWO1 when I Opened the objects BUS2232 or 2234; the BOs don't have SENT mentod in it. Moreover none of the methods are implemented

What can be the reason. The SAP Note Note 1473888 - XML Message for Purchase Order Response and Invoice missing talks about this issue in a lower version. My system 3-levels up.

What Can be the issue? Please help.

Regards

0 Kudos

HI,

In SRM 5.0 we had a setting in SPRO " Enable Use of Exchange Infrastructure".

Could you please check if this is still there in SRM 7.01 and if so activated.

Regards,

Nishant

Former Member
0 Kudos

Guys I am still not able to navigate further and resolve this mystery. PCO and ASN get created but no hint of XML. Few more observations....

While confirming the PO in SUS I say Process and then Goods Delivered buttons. This says changes adopted and document status is set to confirmed. In BBP_PD for the SUS PO I find a link to the PCO created. Still NO XML genarated.

I could see some posts of Nikhil Gupta and Malay who seem to have worked in this area.

Guys request you to throw some light.

Thanks