cancel
Showing results for 
Search instead for 
Did you mean: 

Custom development in SAP Netweaver Gateway Service

Former Member
0 Kudos

Hi gurus,

I'm currently configuring a SAP Netweaver Gateway Service using SEGW. Our gateway version is 7.02.

As per the requirement we have to add custom codes into the _DPC_EXT class in our services. But when we re-generate the project, our custom codes were overwritten and lost.

Our temporary work-around  is to backup the codes/generate temporary version in SAP repositories but this becomes troublesome overtime as the gateway service grows bigger.

Is there any other way for us to preserve the custom codes?

Regards,

Nhan

Accepted Solutions (1)

Accepted Solutions (1)

kammaje_cis
Active Contributor
0 Kudos

Hi Nhan, Code written in *DPC_EXT will not be overwritten. But the code in *DPC (parent of *DPC_EXT) will be overwritten each time you generate runtime artefacts.

Answers (1)

Answers (1)

arunchembra1
Participant
0 Kudos

Hi Nhan,

You have to write all custom development inside DPC_EXT not DPC, as krishna told if you are writing custom code inside DPC_EXT your custom codes will not  overwritten and lost. So make sure you are writting the code inside DPC_EXT instead of DPC .

Thanks,

Arun

Former Member
0 Kudos

Thank you so much Krishna, Arun for your helpful and fast answers.

I didnt realize that I was edit the method in _DPC classes all the time(well, may I blame the Repository Browser which showed the _DPC_EXT).

I redefinite the method in _DPC_EXT, now things work well