on 2023 Dec 22 3:03 AM
Hi Team,
I'm trying to Extend Standard Table PRPS using "Custom Fields" Fiori app part In-App Extensibility in SAP S/4HANA 2022 SPS01 version.
1. created a Custom Business Object using Custom Business Object Fiori app.
2. created a Custom CDS View on top of table created in above step in ADT tool with annotations as below.
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'View for CDS Value Help Code List'
@ObjectModel.supportedCapabilities: [#CDS_MODELING_DATA_SOURCE]
@Search.searchable: false
@Metadata.allowExtensions: true
@AbapCatalog.dataMaintenance: #DISPLAY_ONLY
@DataAging.noAgingRestriction: true
@ObjectModel.representativeKey: 'BusinessPartner'
define view entity <CDS ViewName>
as select from <Table Name created via CBO in Custom Business Object Fiori App>
{
key SubType,
SAP_UUID,
SubTypeDescription,
Type,
SAP_Description
}
3. Now trying to create custom field using "Custom Fields" fiori app as below
Here I'm not able to see the Value Help View in F4 list in Value Help View column.
Can anyone help me to solve the above issue.
Thanks in advance.
Regards,
Ramana.
Request clarification before answering.
Dear Ramana,
When publishing the Custom CDS View, have you received any error message?
Can you please change the restrictions in the Custom CDS View to "Write: Unrestricted"?
From the annotations it seems to be read only.
Kind regards,
Tayane.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
10 | |
6 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.