简体   繁体   English

SAP Gateway Service中的错误:类ZCL_Z_xx_DPC_EXT中未声明或继承方法Zx_xSet_GET_ENTITYSET

[英]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 . 后来我删除的entityentityset ,并创造了新的entityentityset 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.

相关问题 SAP中的C#Web服务使用错误 - C# Web service consuming error in SAP 在类型“服务”中的方法“方法”上声明的OperationContractAttribute无效。 在wcf中 - The OperationContractAttribute declared on method 'method' in type 'service' is invalid. in wcf 当引用抽象类时,C#WCF服务参考公开具体类而不是继承的抽象类 - C# WCF Service Reference exposes concrete class instead of inherited abstract class when abstract class is referenced 子类未在SOAP文档中显示继承的属性(ASMX Web服务) - Child class not showing inherited properties in SOAP document (ASMX web service) SAP Web 服务抛出“访问引用节点时出错” - SAP Web Service throwing “Error during access to the ref node” REST Web服务:响应状态为4XX时可接受的HTTP响应内容类型(客户端错误) - REST Web Service: Acceptable HTTP response content-type when responding with status 4XX (Client Error) 如何将Web服务中声明的类保存到文件系统 - How to save a class declared in a web service to file system .NET使用SAP Web服务 - .NET consume SAP web service Web服务中的错误和执行方法 - error in web service and execute method 使用jQuery调用Web服务方法时,出现“无效的Web服务调用,缺少参数值”错误 - Get “Invalid web service call, missing value for parameter” error when calling a web service method using jQuery
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM