cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in synchronous interface

sherin_jose4
Participant
0 Kudos

Hi All,

I am doing a synchronous interface without using BPM and i am facing some issues with it.

It is a synchronous interface with HTTP to PROXY scenario, where the source system is E-Sourcing system and the target system is an SRM system. We are receiving an XML payload from an E-Sourcing system and it has to be sent to the SRM system to create a PO and the SRM system should send back an acknowledgement which has to be sent back to the E-Sourcing system. The url produced from the source system has the QOS as "BE" which means that i requires a response. Currently i am receiving the xml from the e-Sourcing system and the message mapping processes successfully and two entries are made in the SXMB_MONI, where the first entry is the original request and the second one is the response. The response says " <UNIQUE_DOC_NAME>No approval workflow found. Inform system administrator</UNIQUE_DOC_NAME> ".

I have checked the SXMB_MONI of the SRM system, and it did not show up any message there. But when tested by making the interface as asynchronous, it indeed reached the SRM system and i could see the message in the SXMB_MONI ( Just for testing purposes ).

Could anyone help me in this issue where i need the response to be sent back to the source system.

Regards,

Sherin Jose P

Accepted Solutions (1)

Accepted Solutions (1)

sherin_jose4
Participant
0 Kudos

Hi,

Actually, i contacted the SRM person to check whether the PO is created from the proxy. They have confirmed that they are able to create the PO from the proxy and even the response is generated it seems. Am i missing something in the PI configuration or anything that is related to that.

Kindly help me.

Thanks & Regards,

Sherin Jose P

Shabarish_Nair
Active Contributor
0 Kudos

did you implement this?

in the SRM system, go to tcode SXMB_ADM -> Integration Engine configuration -> Specific configuration and provide the Runtime parameter -> LOGGING_SYNC with the value as 1

also check in SM59 of SRM system to verify the logs

Answers (4)

Answers (4)

sherin_jose4
Participant
0 Kudos

Hi Vijay & Jitesh,

Thanks for your help. The mistake was in the mapping where i have mapped a wrong constant value to a field which in turn fails to create a PO in the SRM system. I found this by logging it as mentioned by you.

Thanks & Regards,

Sherin Jose

sherin_jose4
Participant
0 Kudos

Hi,

I tried giving a different user id and password in the Receiver channel for proxy which has all the permissions in the SRM system. Now the "Workflow not found" message is gone and not the response payload is empty. Still the XML did not create a PO in the SRM system or there is no sign of data reaching the SRM system.

Could anyone help on this.

Regards,

Sherin Jose

Former Member
0 Kudos

Hi sherinjosep1985,

If you are not getting any error in moni, I would not think that there is any issue with communication. However as I mentioned earlier, Sync messages are not logged because of performance issues but still you can enable the logging for checking purpose by following the configuration as suggested by Vijay above.

Rather I would say put the break-point in proxy to check how the execution happens when XML is posted to proxy. From there you will get the idea as to what is happening and why PO is not being created.

Alternatively, take the XML after mapping and use the transaction SPROXY to execute the proxy directly and see what happens.

Regards.

Edited by: Jitesh Kumar Sinha on Apr 26, 2010 11:39 AM

Shabarish_Nair
Active Contributor
0 Kudos

in the SRM system, go to tcode SXMB_ADM -> Integration Engine configuration -> Specific configuration and provide the Runtime parameter -> LOGGING_SYNC with the value as 1

Former Member
0 Kudos

Hi sherinjosep1985,

Sync messages are not logged by default in PI unless it generates some system error during processing. And it does not seems to be communication issue by going through the detail you provided.

It seems the response you are getting "No approval workflow..." is coming from SRM system only and could be a configuration issue on SRM box. I would suggest you to discuss this message with SRM functional guy. They should be able to help you.

Regards.