Skip to Content
0

PI service - backend server proxy drops 1 element from XML but SPROXY test does provide element

Nov 09, 2016 at 03:11 PM

65

avatar image

We have a SAP ECC system (PI_BASIS 731) that has an ABAP server proxy implemented.

In development all works fine.
In UAT the service seems to drop 1 element from the XML response message.
When I test the proxy in the backend (SPROXY - test proxy) then that same backend does provide the full XML including the element that is dropped when making a normal call.


We have tried to transport the proxy again from development and do a regenerate in UAT.
Neither of them seem to resolve the issue.
A check proxy also reports an all OK.

Any tips on how we can correct the situation ?
Can somebody explain me where this element can be lost ?

10 |10000 characters needed characters left characters exceeded

Make sure to use the same authorizations when executing through different paths.
(proxy test or actual call)
It avoids a lot of testing and searching that can be avoided.

0
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Nov 10, 2016 at 03:06 AM
0

Hi

Make sure you transported the proxy objects and repository objects to UAT system. I think check the repository objects in PIQ which is pointing to UAT contain the latest objects with the field missing?

Regards,

Praveen.

Share
10 |10000 characters needed characters left characters exceeded
Sammy Van Noten Nov 10, 2016 at 06:54 AM
0

Hello,

I checked the message definitions (PI repository) between Dvlp and UAT and they are the same.
UAT seems to have the complete message definition.
When executing SPROXY test then the complete message is generated in UAT. But when we make the same call (same data) using SOAPUI -> PI -> Backend then the XML response generated in the Backend seems to be missing an element.
We notice the missing element in the Backend (SXI_MONITOR).
I also looked at the ABAP/XML transformation programs but they seem OK and are mentioning the field in question. Besides the proxy test generates a correct XML.

Share
10 |10000 characters needed characters left characters exceeded
Raghuraman S Nov 10, 2016 at 12:27 PM
0

Hello Sammy,

Can you check the XML in the receiver channel of SAP PI whether that field is present.

If not it could be some issue of mapping or cache.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

The XML definition is OK in PI (repository).

The missing field we can already notice in the Backend system (using SXI_MONITOR).
So the response by the Backend is already missing the field in question before we arrive in SAP PI and any mapping that happens there.

0