on 01-20-2021 1:46 PM
Hi Team,
In restful ABAP, I am using value help for a location field. The requirement is when I select value for location at the same time country related to the location should auto populate in the next field in the screen immediately.
Is there any other way to achieve this in restful ABAP.
Regards,
Bhuvana.
In case your value help view provides the country information too, you can use the property "additionalBinding" for the Consumption.valueHelpDefintion annotation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have coded as below, let me know if anything i need to do to work as you mentioned.
@UI: { lineItem: [ { position: 70, label: 'Location', importance: #HIGH }], identification: [{ position: 150, label: 'Work location' }],
fieldGroup: [ { qualifier: 'Fieldgroup4', position: 140 } ] }
@Consumption.valueHelpDefinition: [{entity:{element: 'location', name: 'ZP_GCT_LOC' },
additionalBinding: [{ localElement: '_loc.loc_name', element: '_loc.loc_name', usage: #RESULT }] }]
@EndUserText.label: 'Work Location Code'
gpd.work_loc,
@UI: { identification: [{ position: 160, label: 'location Name' }],
fieldGroup: [ { qualifier: 'Fieldgroup4', position: 150 } ] }
// @EndUserText.label: 'Work Location Name'
_loc.loc_name,
Regards,
Bhuvana.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.