R3TR OBJA &1: Table &2 read by Switch Badi &3 cannot be set to read only.

Message type: E = Error

Message class: SZDM_CC_CHKS_DETAILS - Detailed messages related to check classes

Message number: 098

Message text: R3TR OBJA &1: Table &2 read by Switch Badi &3 cannot be set to read only.



What causes this issue?

INCLUDE SZDM_CC_LAT_DET_INTRO_PROC OBJECT DOKU ID TX
In this case<(>,<)> the owner of the Switch-BADI implementation &v3& has
specified that the Switch Badi implementation accesses table &v2& and
that this table shall be read-only for the productive application during
the ZDO upgrade. (See ABAP transaction SLAPI. Choose the "Position..."
button to find your Switch-BADI implementation metadata definition &v1&.
Select this entry and choose "Used Database Tables".)
INCLUDE SZDM_CC_LAT_DET_RO_IMPOSSIBL OBJECT DOKU ID TX


How to fix this error?

As an alternative to setting the complete table to read-only the
application needs to make sure that only the key ranges accessed by the
Swich-BADI implementation has become read-only while all other table
entries are still writeable for the productive application.

Error message extract from SAP system. Copyright SAP SE.