Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dump - Error CONNE_IMPORT_WRONG_COMP_TYPE

Hi, Please I need some help! When a I execute Transaction F-02 and I choose Apart document then I put an user and I press List when I pick some elements appears the error:

CONNE_IMPORT_WRONG_COMP_TYPE

The problem is in this part:

FUNCTION FI_WT_READ_TEMP_DOCUMENT.

*"----


""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(I_UF05A) LIKE UF05A STRUCTURE UF05A

*"----


*--- with_item: withholding data

DATA: X_WITH_ITEM LIKE WITH_ITEMX OCCURS 1 WITH HEADER LINE.

DATA: BEGIN OF TMP,

UNAME LIKE SY-UNAME, " User

TEMPN LIKE UF05A-TEMPI, " temp doc. number

END OF TMP.

TMP-UNAME = I_UF05A-UNAMD.

TMP-TEMPN = I_UF05A-TEMPD.

IMPORT X_WITH_ITEM FROM DATABASE RFDT(WT) ID TMP.

DESCRIBE TABLE X_WITH_ITEM LINES SY-TFILL.

IF SY-TFILL <> 0.

XWITHHELD = 'X'.

ENDIF.

*----


write data back to global memory

CALL FUNCTION 'FI_WT_PUT_X_WITH_ITEM'

TABLES

T_WITH_ITEM = X_WITH_ITEM

EXCEPTIONS

OTHERS = 1.

ENDFUNCTION.

and de dump says:

When importing the object "X_WITH_ITEM", the component no. 68 in the

dataset has a different type from the corresponding component

of the target object in the program "SAPLFWTD ".

The data type is "P" in the dataset, but "C" in the program.

I would like to know how to resolve this problem, thanks in advance.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question