Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
When we change the Model or implement the Service in GW Service builder, every time run time object gets generated, hence DPC and MPC existing code gets replaced with new sets of code. If we implement any code in DPC/MPC while generating runtime object the code gets deleted.

Tcode: SEGW

Created new project z_demo_dpc_exte.

Importing DDIC structure zemployee







Key is employee id.



Generation of run time object.





we are writing code in ZCL_Z_DEMO_DPC_EXTE_DPC (DPC class)







We will regenerate the run time object.



The code gets deleted.  The reason is whenever u change the Model or Service implementation in your GW Service builder, again run-time object should be regenerated in-order to incorporate the latest changes. During this time your MPC & DPC will be loaded with the new code.
6 Comments
dilipkkp2412
Contributor
0 Kudos
Hi 1388263l

Nice info...thanks....

 

Regards

Dilip

 
Former Member
Thanks for the blog Urvashi...very informative....
shubhambathla94
Explorer
Nice Blog..

 
rudramani
Participant
0 Kudos
Great blog! Thanks for sharing
johnsonjos16
Participant
0 Kudos
Great Blog Urvashi. You have explained the concept in a simple and elegant manner. Thank you very much for the concept
ravi_rajput
Participant
0 Kudos
Great example of finding things by actually doing it. There is a life lesson on this blog post. 😄