cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Displaying of RAP View using v4 service

SowmyaSurekha
Explorer
0 Kudos

HI SCN People,

The below picture shows ADT Business Services ODATA V4,
What’s the problem is selection of
First Input – Model, Data is present it’s fine
Second Input – Request, should display List of Requests based on First Input Model, the request which user giving if not present in list, it should be created but it’s not happening

What’s the thing need to be done to perform the require scenario ?

Thanks and Regards,

sowmya.

View Entire Topic
Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sowmya,

unfortunately your problem description does not contain any source code, so it is hard to judge what you are really looking for.

I can only guess that you want to have something like what is called "additional binding".

So when as in this case you define a list of flights as a value help for the AirlineID by selecting a flight the field AirlineID will be filled with the ID of the Airline.

In addition the fields FlighDate, ConnectionID, FlightPrice and CurrencyCode will be prefilled based on values for the selected flight.

For further questions I would recommend to provide source code as well and not only a screen shot.

Kind regards,

Andre

      @Consumption.valueHelpDefinition: [ 
{ entity: {name: '/DMO/I_Flight_StdVH', element: 'AirlineID'},
additionalBinding: [ { localElement: 'FlightDate', element: 'FlightDate', usage: #RESULT},
{ localElement: 'ConnectionID', element: 'ConnectionID', usage: #RESULT},
{ localElement: 'FlightPrice', element: 'Price', usage: #RESULT},
{ localElement: 'CurrencyCode', element: 'CurrencyCode', usage: #RESULT } ],
qualifier: 'FlightVH1',
label: 'Flights' }
]
AirlineID,