[英]Error in SAP Gateway service : Method Zx_xSet_GET_ENTITYSET is not declared or inherited in class ZCL_Z_xx_DPC_EXT
I have created an entity in Data Model and did the service implementation in gateway service Builder. 我已经在数据模型中创建了一个实体,并在网关服务构建器中进行了服务实现。 later I deleted the
entity
and entityset
and created new entity
and entityset
. 后来我删除的
entity
和entityset
,并创造了新的entity
和entityset
。 In service implementation after coding GetEntitySet(Query)
when I try to activate getting the following error: 在我尝试激活
GetEntitySet(Query)
进行编码后的服务实现中,出现以下错误:
"Method Zxxxx_xxxSet_GET_ENTITYSET is not declared or inherited in class ZCL_Z_xxxx_DPC_EXT."
“未在类ZCL_Z_xxxx_DPC_EXT中声明或继承方法Zxxxx_xxxSet_GET_ENTITYSET。”
Also showing the 同时显示
'deleted method/function 'Zxxxx_xxxSet_GET_ENTITYSET' does not exist.'
'删除的方法/功能'Zxxxx_xxxSet_GET_ENTITYSET'不存在。
Try regenerating the service in SEGW. 尝试重新生成SEGW中的服务。
The ZCL_Z_xxxx_DPC class gets re-created when you click regenerate and your ZCL_Z_xxxx_DPC_EXT class is a subclass of the generated class. 单击重新生成时,将重新创建ZCL_Z_xxxx_DPC类,并且您的ZCL_Z_xxxx_DPC_EXT类是生成的类的子类。
My thought is that your class is trying to redefine the method which was deleted in the generated superclass. 我的想法是您的类正在尝试重新定义在生成的超类中删除的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.