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:
The problem is in this part:
*" 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'.
write data back to global memory
CALL FUNCTION 'FI_WT_PUT_X_WITH_ITEM'
T_WITH_ITEM = X_WITH_ITEM
OTHERS = 1.
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.