Skip to Content
0
Apr 26, 2011 at 03:33 PM

IMPORT x TO y FROM DATABASE dbtab(ar) ID Key

4839 Views

Hi Experts,

I'm upgrading me version of SAP to ECC6, so when I execute a program an error triggered when importing object "ADDONS".

I got this message :

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_IMPORT_MIS not caught in procedure "ISU_BILLPRINT_INTERVALS_CLOSED"

"(FUNCTION)", no by a RAISING clause.

Since the caller of the procedure could not have anticipate exception would occur, the current program is terminated.

The reason for the exception is: When attempting to import data, the structure of the complex object h1 _ "ADDONS"_h1 was not compatible with the target object. The error occurred with component no. 0.

When I launch the ABAP Debugger, It stops at this part of code :

* Read basics and addons from database
  import basics to l_basics
         addons to RED_PARAMS
         from database rfdt(kk) id l_runkey.

I realised a small research on the net to get an idea about The ABAP statement IMPORT x TO y FROM DATABASE dbtab(ar) ID Key, I found this :

TABLES INDX.
DATA: INDXKEY LIKE INDX-SRTFD,F1(4),
F2 TYPE P,BEGIN OF TAB3 OCCURS 10, CONT(4),
END OF TAB3.
INDXKEY = 'INDXKEY'.
IMPORT F1 F2 TAB3 FROM DATABASE INDX(ST) ID INDXKEY.

But I didn't understand what's ST?

So can any guru tell me what's the meaning of ST, and how can I resolve the above problem.

I know that my problem consists on a difference between the structure of ADDONS and RED_PARAMS.

NB: The structure of RED_PARAMS is as follows :

R_VKONT

R_PARTNER

R_PORTION

R_ABRVORG

R_FIKEY

R_ERGRD

R_DRUCKDAT

SIMU

INVOICED

TOBRELSD

GENPARA

TEST_PR

XSTR_PRINTPAR

EXLOG

PS: I don't have access to ADDONS (Which I don't know what is it?!!!)

Regard

SMAALI Achraf