Netweaver Gateway – Beware of changing versions

Home / Blog / Netweaver Gateway – Beware of changing versions

I recently ran into a new error when working through the Netweaver gateway.  Because it was occurring on a new service, it left the door wide open to possible pieces I may have missed on the service.  Well, after some digging, I realized that I had developed the service in one system, and was deploying it to a newer system.  Since I had used structures, I bad the bad assumption that it would automatically update if the structure changed.

Well, it turns out, this is wrong.  When SAP generates the service, it creates interfaces that take a snapshot of the structure, but they don’t use the structure itself.  In the newer system, the structure contained 8 new fields, and until I generated the service in the new system, the service kept failing.

So, remember, structures used within a type in a Gateway Service are snapshots, not dynamic.  So if you are having a strange error, sometimes it pays to regenerate the whole package.

Thanks for reading,

As always, thanks for reading and don't forget to check out our SAP Service Management Products at my other company JaveLLin Solutions,
Mike

Leave a Reply

Your email address will not be published. Required fields are marked *