Message type: E = Error
Message class:  CNV21500 - Messages for HR conversions basis 
Message number: 040
Message text: Structure of RELID <&1,&2> defined in DDIC, however exp. routine is macro
Structure of RELID <&v1&,&v2&> is defined in DDIC, however export
routine indicated in CNV_INDX_MACROS is not function module, which is
the preferred form of exporting data for such RELIDs.
Search for relevant fields in this case is always done on the basis of
DDIC. This means, that our knowledge about RELID's structure is somehow
different from structure in DDIC - some of fields might not have been
found during the search process.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Please make sure you really don't want to use default function modules
for this RELID and check if the knowledge gathered in CNV_INDX_STRUC
table is correct.
Compare results of following query:
SELECT s~cluster_name s~relid s~versn s~tabst s~structure
s~struc_type
INTO CORRESPONDING FIELDS OF TABLE gt_cnv_indx_struc1
FROM cnv_indx_struc AS s JOIN t52relid AS t
ON
s~cluster_name = t~tabname AND
s~relid = t~relid AND
s~versn = t~version
WHERE
s~cluster_name = '&v1&' AND s~relid = '&v2&'.
and output of function module CNV_21500_T52RELID_DEFINED:
DATA  lt_struct TYPE STANDARD TABLE OF cnv_indx_struc.
CALL FUNCTION 'CNV_21500_T52RELID_DEFINED'
EXPORTING
,,,,p_cluster_name     = '&v1&'
,,,,p_relid            = '&v2&'
TABLES
,,,,pt_struct          = lt_struct
EXCEPTIONS
,,,,no_typename        = 1
,,,,no_structure       = 2
,,,,struct_not_in_ddic = 3
,,,,OTHERS             = 4.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message CNV21500040 indicates a problem related to the structure definition in the Data Dictionary (DDIC) for a specific RELID (Release ID) during a data conversion or migration process. The error suggests that the structure is defined in the DDIC, but the expected routine is a macro, which can lead to inconsistencies or issues during the execution of the conversion program.
Cause: Mismatch in Definitions: The error typically arises when there is a mismatch between the expected structure definition and the actual implementation in the DDIC. This can happen if the structure is defined as a standard structure but is being treated as a macro in the conversion routine. Incorrect Configuration: The configuration for the data migration or conversion process may not align with the definitions in the DDIC, leading to this error. Versioning Issues: If there are different versions of the data structures or routines being used, it can lead to
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
CNV21500039 Structure of RELID <&1,&2> defined in DDIC, however imp. routine is macro
What causes this issue?  Structure of RELID <&v1&,&v2&> is defined in DDIC, however import routine indicated in CNV_INDX_MACROS ...
CNV21500038 Export routine is fun. mod., but structure of RELID <&1, &2> not in DDIC
What causes this issue?  Export routine indicated in CNV_INDX_MACROS for RELID <&v1&,&v2&> is function module, but structure of ...
CNV21500041 No imp. rout. entry in CNV_INDX_MACROS for <&1,&2>. Using function module
What causes this issue?  No entry in CNV_INDX_MACROS indicating import routine for RELID < &v1&,&v2&>. Structure of this cluster...
CNV21500042 No exp. rout. entry in CNV_INDX_MACROS for <&1,&2>. Using function module
What causes this issue?  No entry in CNV_INDX_MACROS indicating export routine for RELID < &v1&,&v2&>. Structure of this cluster...
Click on this link to search all SAP messages.