SAP Note
3433621 - SAP Data Intelligence - ABAP Integration (S/4HANA) - Syntax errors after
implementing TCI note 3373436
Component: CA-DI-IS-ABA (Cross-Application Components > Data Intelligence > Integration Services > ABAP
Integration), Version: 4, Released On: 28.02.2024
Symptom
After implementing TCI note 3373436, there is a syntax error in class cl_rsdh_odp_metadata
Other Terms
ODP, S/4HANA, SAP Data Intelligence, ABAP Integration, metadata browsing
Reason and Prerequisites
System is an S/4HANA 2020 system using SAP NetWeaver 7.55 and SAP_ABA 75F FPS00-SPS07
Solution
Implement this note - please follow the manual steps - otherwise you will get syntax errors:
1. Pre implementation step: Implement the mentioned interfaces and exception class manually
2. DO NOT ACTIVATE
3. Implement the code automatically WITHOUT activation
4. Post implementation step: Activate all
Manual Activities
------------------------------------------------------------------------
|Manual Pre-Implement. |
------------------------------------------------------------------------
|VALID FOR |
|Software Component SAP_ABA SAP Application...|
| Release 75F Until SAPK-75F07INSAPABA |
------------------------------------------------------------------------
Caution: You have to perform this manual pre-implementation step manually and separately in each system before
you import the Note to implement.
Precondition: if you implement following code, you need basic ABAP implementation skills and understand how to
implement interfaces and classes.
----------------------------------------------------------
Create interface IF_DHBAS_WHITELIST manually:
- Use transaction SE80
- Go to package LT_DHBAS_DEPRECATED
- Create new ABAP interface:
- right click on package entry LT_DHBAS_DEPRECATED->
Create->
Class Library->
Interface
- Interface: IF_DHBAS_WHITELIST
Description:
"Do not remove - that is required for BW class
cl_rsdh_odp_me"
- Press Save button
- Menu: Goto -> Interface section or ADT - if available
If not possible, create interface and parameters
manually using the information below
- Copy & paste following code:
interface IF_DHBAS_WHITELIST
public.
METHODS check
IMPORTING
!iv_scenario TYPE dhbas_scenario
!iv_obj_type TYPE dhbas_obj_type
!iv_obj_name TYPE dhbas_value
RAISING
cx_dhbas_whitelist.
endinterface.
- Save
----------------------------------------------------------
Create interface IF_DHAMB_WHITELIST manually:
- Use transaction SE80
- Go to package LT_DHAMB_BASE
- Create new ABAP interface:
- right click on package entry LT_DHAMB_BASE->
Create->
Class Library->
Interface
- Interface: if_dhamb_whitelist
Description:
"Do not remove - that is required for BW class
cl_rsdh_odp_me"
- Press Save button
- Menu: Goto -> Interface section or ADT - if available
If not possible, create interface and parameters
manually using the information below
- Copy & paste following code:
INTERFACE if_dhamb_whitelist
PUBLIC.
INTERFACES if_dhbas_whitelist.
CONSTANTS:
BEGIN OF gc_scenario,
metadata TYPE dhbas_scenario VALUE 'MD_BROWSE',
data TYPE dhbas_scenario VALUE 'MD_PREVIEW',
END OF gc_scenario.
METHODS check_definition
IMPORTING
iv_artifact_type TYPE csequence
iv_artifact_name TYPE csequence
RAISING
cx_dhamb_whitelist.
METHODS check_preview
IMPORTING
iv_artifact_type TYPE csequence
iv_artifact_name TYPE csequence
RETURNING
VALUE(rv_checked_artifact_name) TYPE string
RAISING
cx_dhamb_whitelist.
ENDINTERFACE.
- Save
----------------------------------------------------------
Create exception class CX_DHAMB_WHITELIST manually:
- Use transaction SE80
- Go to package LT_DHAMB_BASE
- Create new ABAP class:
- right click on package entry LT_DHAMB_BASE ->
Create->
Class Library->
Class
- Class: CX_DHAMB_WHITELIST
Description:
"Do not remove - that is required for BW class
cl_rsdh_odp_me"
Class Type: Exception class
Final
Superclass CX_DHBAS_WHITELIST
- Press Save button
- Tab Properties:
Superclass must be CX_DHBAS_WHITELIST
- Check tab texts:
NO_SUCH_SCENARIO "Scenario &MV_MSGV1& is invalid for datahub"
FAILED_INITIAL_RANGE "Failed to get configured range"
FAILED_NOT_IN_RANGE "Input object not in range"
FAILED_SECURITY_ISSUE "Security issue detected: whitelist must
contain at least one entry with I"
DEPRECATED "Whitelisting is deprecated"
- Save
------------------------------------------------------------------------
|Manual Post-Implement. |
------------------------------------------------------------------------
|VALID FOR |
|Software Component SAP_ABA SAP Application...|
| Release 75F Until SAPK-75F07INSAPABA |
------------------------------------------------------------------------
Caution: You have to perform this manual post-implementation step manually and separately in each system after
you have imported the Note to implement.
Activate the code e.g. in SE80 => "Inactive Objects"
Software Components
Software Component From To
SAP_ABA 75F 75F
Correction Instructions
Software Component Number of Correction Instructions
SAP_ABA 1
Prerequisites
Software From To SAP Note/ Title Component
Component KBA
SAP_ABA 75F 75F 3373436 SAP Datasphere - ABAP Integration - TCI for SAP_BASIS 7.55 - CA-DI-IS-
October 2023 ABA
SAP_ABA 75F 75F 3433621 SAP Data Intelligence - ABAP Integration (S/4HANA) - Syntax errors CA-DI-IS-
after implementing TCI note 3373436 ABA
Support Package
Software Component Version Support Package
SAP_ABA 75F SAPK-75F08INSAPABA
This document solves side effects
SAP Note/KBA Title
3373436 SAP Datasphere - ABAP Integration - TCI for SAP_BASIS 7.55 - October 2023