Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IMPORT_ALIGNMENT_MISMATCH

Former Member
0 Likes
1,737

Hello Friends,

Kindly Help me to solve the ABAP Runtime Error: IMPORT_ALIGNMENT_MISMATCH

I am not getting to their soluction.

Transaction: "VC05 "

Program Name: "SDCAS75C "

Error when importing object "P_CLASS".

What happened?

The current ABAP/4 program "SDCAS75C " had to be terminated because

one of the statements could not be executed.

This is probably due to an error in the ABAP/4 program.

Error analysis

When importing object "P_CLASS", the structure did not match the

structure of the target object. The error occurred in component

no. "4-29".

This may be due to one of the following reasons:

- the structure is actually different (the next field has, for

example, a different data type) or

- the same sequence of components were exported and imported,

but the fields were from other include units.

Source code extract

000750 ELSE.

000760 MESSAGE S420.

000770 LEAVE.

000780 ENDIF.

000790 ENDIF.

000800

000810 CALL FUNCTION 'SD_CAS_CONTACT_LIST'

000820 EXPORTING

000830 FI_INCL_ADDRESSLIST = P_ADRESS

000840 TABLES

000850 FT_VBKPA = GT_VBKPA

000860 FT_VBKA = GT_VBKA

000870 FT_VBPA = GT_VBPA

000880 FT_KNA1 = GT_KNA1

000890 FT_KNVV = GT_KNVV

000900 FT_VBADR = GT_VBADR

000910 FT_VBFA = GT_VBFA

000920 FT_VBAK = GT_VBAK

000930 CHANGING

000940 FC_KIND_OF_LIST = P_LVARI-KIND

000950 FC_TABNAME_HEADER = P_LVARI-TABNAME_HEADER

000960 FC_TABNAME_ITEM = P_LVARI-TABNAME_ITEM

000970 FC_VARIANT = P_DVARI

000980 EXCEPTIONS

000990 OTHERS = 0.

001000

001020 INCLUDE SD75CF0L.

001030 INCLUDE SD75CF0R.

001040 INCLUDE RVREUSE_FORMS.

1 REPLY 1
Read only

Mark_von_Wilmowsky
Participant
0 Likes
685

Just to inform people, who have the same problem here:

Check, if transaction is called with an variant (maybe a system variant called CUS&XXX). If you cannot adjust the variant delete and recreate it.

This error might occur after a system upgrade or support package implementation where variants get corrupted.