cancel
Showing results for 
Search instead for 
Did you mean: 

How to extend RDS based Gateway service which includes custom fields?

xyla
Participant
0 Kudos

Hello all!

I'm trying to extend the GW-Service PLMI_CHANGE_RECORD_MANAGEMENT with another RDS.

Requirement: add the custom field "Project" to the "Manage Change Records" app. The field must provide a value help. A number of further custom fields need to be added, some of them with a code list.

Approach:

  1. I added the custom fields as per requirement, with the Custom Fields app. This worked without problems.
  2. As described by andre.fischer in his blog post, I am trying to redefine the original service and extend it, to include the RDS (CDS) which will provide the value help for the Project field.

Problem:

I'm getting errors directly after redefining the original service. The problems seem to come (among others) from the custom fields I included in step 1 with the Custom Fields app. These seem to be specifically the fields with a code list. I have zero idea what the errors in the Function Imports are about...

The entities for the custom fields have no attributes. I guess that they are needed to provide the value help with the code list defined while creating the custom fields.

Any ideas how I can solve this issue?

Kind regards,

Szilamer

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

1. On which release of SAP S/4HANA are you working?

2. Do the errors in SEGW already occur directly when you redefine the OData service of PLMI_CHANGE_RECORD_MANAGEMENT ?

3. Or do the errors only occur after you have added the additional entity that should act as a value help for the field projects?

Whether the errors shonw in the screen shots occurs after step 2 (redefinition) or step 3 (extension) is of interest for our support.

xyla
Participant
0 Kudos

Thank you, andre.fischer for looking into this! Your help is much appreciated! 🙂

To answer your questions:

  1. The errors occur immediately after redefining the service (after selecting all entities from the original service, clicking next and waiting for the system to create the redefinition). Only in the next step would I try to include the additional entity, first I would like to see that the redefined service works.
xyla
Participant
0 Kudos

Hi andre.fischer,

did you have a chance to look into this?

Accepted Solutions (0)

Answers (0)