Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to regenerate ABAP Proxy in SAP ECC and use existing Class.

0 Kudos

Hi All,

Let me brief of the scenario.

SAP PI system is migrated from 7.0 to 7.3.1(Its a New system).

There is Proxy Interfaces from and to SAP ECC and SAP PI.

As a part of migration there is few changes in Name and Namespace in PI system. There is no structure changes.

To get the Name spaces updated I will need to regenerate Proxy in SAP ECC.

When I do it I am forced to create New Proxy Class which I do not want to do. I would like to continue to use existing class which was created when developing interface with PI 7.0. to avoid code migration/changes of class methods.

basically I get error

Class  with the name/using ZCO_XXXXXXXXXXX already exists

      Message no. SPRX017

Is there any way to bypass this validation and continue to use existing class?

Thank you.

Lokesh Naik

1 REPLY 1

PeterJonker
Active Contributor
0 Kudos

New namespace will always mean new proxy.

The idea of a namespace is to differentiate between two objects with the same name.

Your requirement is therefore not possible, it would go against the principle of using namespaces.

You will have to use exactly the same namespaces to be able to regenerate the same proxy.