Application Development and Automation 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: 
Read only

Replacement Object / Proxy Object - How to create?

dmitry_sharshatkin
Product and Topic Expert
Product and Topic Expert
0 Likes
3,621

Hello Gurus,

I have a stupid question, but I could not easily find an answer.

SAP Help says about Replacement Object:

http://help.sap.com/abapdocu_750/en/index.htm?file=abenddic_replacement_objects.htm

https://help.sap.com/saphelp_nw75/helpdata/en/12/01f8d4b3e54e6abe111f9f96f19c99/content.htm

"A CDS view can be assigned (using the name of its CDS entity) as a replacement object to a transparent database table and to a classic database view in ABAP Dictionary"

But for me, it's not really clear how it (CDS) can be created or assigned to the table.

If i'm navigating: SE11 --> Extras --> Proxy Object (in fact should be called Replacement Object as per documentation), this field is not changeable for me. I'm on 750 SP3. No failed authorizations checks ( in fact i have SAP_ALL).

Thanks for your help!

BR, Dima

1 ACCEPTED SOLUTION
Read only

dmitry_sharshatkin
Product and Topic Expert
Product and Topic Expert
0 Likes
1,644

Yes, this was a correct way to assign CDS to the table of view, but as per F1 help: "In customer systems, however, this function is only allowed for database views."

To check this, set a breakpoint in the function TR_SYS_PARAMS. This function can be used to check if your system is CUSTOMER or SAP. In most of the cases i guess it will be a CUSTOMER one.

2 REPLIES 2
Read only

dmitry_sharshatkin
Product and Topic Expert
Product and Topic Expert
0 Likes
1,645

Yes, this was a correct way to assign CDS to the table of view, but as per F1 help: "In customer systems, however, this function is only allowed for database views."

To check this, set a breakpoint in the function TR_SYS_PARAMS. This function can be used to check if your system is CUSTOMER or SAP. In most of the cases i guess it will be a CUSTOMER one.

Read only

pandachencheng
Associate
Associate
0 Likes
1,644

In addition to the system requirement, you would also need the super ddic authorization 'S_DDSTCAUT' to perform such task.