如何为SOLMAN_WORKCENTER的List UIBB Schema添加未预设列?
Hey there, let's walk through how to add that missing column to your Defect Analysis List UIBB in the Test Suite Analytics workcenter—since the preset options don't cover what you need, we'll need to dig into the underlying data source and configurations:
First, jump back into the Component Configuration for your List UIBB. Head to the Data Binding tab—here you'll see the feeder class and the data source it relies on (usually a CDS view, BOPF node, or DDIC structure). For Defect Analysis in Test Suite Analytics, it's typically a CDS view like I_DefectTestAnalysis or a similar one. You can double-check by opening the feeder class in SE24 (look for something like CL_FPM_GUIBB_LIST_SOLMAN_DEFECT) and reviewing how it pulls data.
Since your desired column isn't in the preset list, we need to add it to the underlying data source:
- If the data source is a CDS view:
- Either create an append structure for the view's underlying DDIC structure (use transaction
SE11) or build a CDS extension view (use Eclipse ADT orSE16to locate the base CDS view first). - Map your new field to the correct database table—think
DEFECTor related tables likeTESTDEFECTdepending on the data you need. - Activate your extension/append structure once done.
- Either create an append structure for the view's underlying DDIC structure (use transaction
- If the data source is a BOPF node:
- Open the relevant Business Object in transaction
BOPF(e.g.,SOLMAN_DEFECT), extend the node's structure with your custom field, then update the node's query method to include this new field in the result set.
- Open the relevant Business Object in transaction
Sometimes the feeder class won't automatically pick up the new field. If that's the case:
- Open the feeder class in
SE24, go to the Methods tab. Look for methods likeGET_DATAorGET_FIELD_CATALOG. - Add an implicit enhancement or post-exit to include your new field in the field catalog. Configure properties like the column label, visibility, and whether it supports sorting.
Now return to the Component Configuration:
- Navigate to the Column Configuration tab and click the (+) Column button.
- Your new field should now appear in the list of available fields. Select it, adjust settings like label and position, then save the configuration.
Head back to the SOLMAN_WORKCENTER -> TEST SUITE ANALYTICS -> Defect Analysis view, refresh the page, and verify your new column is displayed. If it's missing, double-check that your data source extension and feeder class changes are activated correctly—transport requests or activation errors can sometimes cause delays.
- If you're working in a managed system, ensure all changes are captured in a transport request to move them to other environments properly.
- For calculated columns (like counts or derived values), define the calculation directly in the CDS view extension before adding it to the UIBB.
内容的提问来源于stack exchange,提问作者user8220047

