Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Redefining Services

$
0
0

Hi,

in the Service Builder (SEGW) I try to redefine one of our services. The redefinition itself works quiete well. If I try to add new entities to the service and generate the MPC and DPC classes the methods for this new entity are not created by the Service Builder. Example:

Service 1:

Entity1

Entity2

In the DPC-Class methods for Entity1 and Entity2 are generated:

- entity1_get_entity

- entity1_get_entityset

- entity1_create_entity

- entity1_delete_entity

- entity1_update_entity

- entity2_get_entity

- entity2_get_entityset

- entity2_create_entity

- entity2_delete_entity

- entity2_update_entity

 

Service 2 (redefines Service 1):

Entity1 (redefined from Service 2)

Entity 2 (redefined from Service 2)

Entity 3 (new Entity in Service 2)

On generation the above mentioned methods (entity3_get_entity etc.) are not generated for the new entity. I would have to redefine method GET_ENTITY etc., which is normally done by the Service Builder during generation and create the GET, QUERY, CREATE, UPDATE and DELETE methods by myself.

Is this a bug or a feature? Is there a way I can get the Service Builder to generate my CRUD-methods for the new entities?

 

Thanks in advance

Holger


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>