Skip to Content
0
Former Member
Jun 29, 2007 at 02:27 PM

Dump while importing an internal Table to a BADI method.

123 Views

Hi All,

We came across an issue where if we are Importing an Internal Table(BAN)

from Main Program "SAPFM06B" through a memory ID 'ZYX' to BADI "ME_SOURCE_CHECK" it is giving Dump as:

Runtime Errors: CONNE_IMPORT_WRONG_STRUCTURE

Exceptn : CX_SY_IMPORT_MISMATCH_ERROR

whwere as in the same export one structure "COM" is passed with same memory ID 'ZYX' and we are able to import this in the BADI "ME_SOURCE_CHECK".

We checked the structure of both the internal table its acjectly same.

Could you please assist in identifying the issue.

Below is the Internal Table for BAN and Structure for COM.

DATA: BEGIN OF ban OCCURS 100.

INCLUDE STRUCTURE eban.

DATA: updk1 LIKE t16la-updkz, "Status der Zuordnung

updk2 LIKE t16la-updkz, "Status der Zuordnung (alt)

updk3 LIKE t16la-updkz, "Sicherungsstatus

selkf(2) TYPE p, "Kz. für Sammelfreigabe

selkz, "Selektiert ja/nein

szeil LIKE sy-curow, "Zeilennr. des Selektionskz.

zeile LIKE sy-curow, "Zeilennr. der Zuordnungsinfo

page LIKE sy-pagno, "Seite

aenda, "Kz. Berecht. für Änderungsbeleg

bukrs LIKE ekko-bukrs, "Buchungskreis für Buchungskreisüb.

slief LIKE eban-flief, "Lieferant für Sortierung

bkmkz, "Art der Kontierung "4.0C

kont1(24), "Kontierungsfeld 1 "4.0C

kont2(8), "Kontierungsfeld 2

bkuml, "Kz. Bukrs-übergreifende Umlagerung

az_pos TYPE i, "Anzahl Pos. pro Banf

sl_pos TYPE i, "Anzahl selektierter Pos. pro Banf

arch_date LIKE sy-datlo, "Archivierungsdatum "TK 4.0B EURO

END OF ban.

DATA: BEGIN OF COM,

FRGAB LIKE RM06B-FRGAB,

SRTKZ,

BKMKZ,

LSTUB LIKE T16LL-LSTUB,

ZPFKEY LIKE SY-PFKEY,

ZFMKEY(3),

GPFKEY LIKE SY-PFKEY,

GFMKEY(3),

CALLD LIKE SY-CALLD,

END OF COM.