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: 

SAP ABAP Proxy Unable to add Prefix to structures

0 Kudos

Hi Guru's

I am trying to generate ABAP Proxy using SPROXY tcode, I have been able to change the Prefix of the Proxy Class but unable to change/add prefix to the underlying DB structures/Messages.

Looking forward for quick help in this.

6 REPLIES 6

former_member593648
Active Participant
0 Kudos

Hi Swati,

The prefix that you choose while creating the proxy will automatically flow in to your proxy class and underlying structure. As these are generated proxy types you would not be able to change it. And if you think about it, what is the use of changing it ?

Thanks,

Piyush

0 Kudos

Hi Piyush,

Thanks for responding, I did change the Prefix while generating the proxy class, but it only gets applied to the class name, rest of the structure names are as it is.

I need to get the proper naming for the structures cause of naming standards are strictly followed by the clients here.. The code will be rejected while review.

Thanks,

Swati

0 Kudos

matt
Active Contributor

It would be nice to have an example of what's generated and what is wrong with the name.

I need to get the proper naming for the structures cause of naming standards are strictly followed by the clients here.. The code will be rejected while review.

Then there is an issue with the standards and the review process. Objects which are generated through standard SAP processes are effectively standard SAP objects, and so cannot and should not be subject to client standards. Objects that are generated through standard SAP processes should not even be subject to review!

I've worked in many places with strict standards and when such issues have arisen, guess what? The standards were changed to accomodate reality.

0 Kudos

Hi Matthew,

The thing is, when I see other proxy objects/structures, I find the naming conventions followed as per client standards. That's the reason if I do not follow the same, I will be questioned.

Moreover, there is a provision to add prefix to the class/underlying structures, but somehow I am unable to add that to the structures.

matt
Active Contributor
0 Kudos

It would be nice to have an example of what's generated and what is wrong with the name.

At the moment it's not really clear what the problem is. What are you getting, and what do you want to get?