on 2024 Dec 15 5:03 PM
The Focused Build defect priority is set to equal the setting of the test script. The test script defaults to very high which causes the defect to also default to very high. The business users neglect to adjust the defect priority to medium or low; therefore, the objective is to default the defect priority to medium. The default BAdi: /SALM/IF_TM_TWL_DEFECT_DEFAULT seems to be the correct place to complete this change; however, the coding for the BAdi is unclear.
The setting on the method GET_DEFECT_VALUES that was tested:
Does not properly match the Type required for the interface attributes:
What is the correct way to code the BAdi to default to Medium for the Defect Priority.
Request clarification before answering.
Hi Steve,
there is an example implementation available for this BaDI (class /SALM/CL_TM_TWL_DEF_DIA_SAMPL) which contains following code:
" overwrite priority to use value '2: High' as default
ch_default_values-priority = '2'.
So for your requirement to always set it to Medium, you would need to add the following code in your implementation:
" overwrite priority to use value '3: Medium' as default
ch_default_values-priority = '3'.
Best regards,
Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.