‎2007 Mar 07 3:50 PM
"T_DRIVER" and "RECORD_TAB" are not mutually convertible. In Unicode systems, "T_DRIVER" must have the same structure layout (fragment view) as"RECORD_TAB", regardless of the length of the Unicode character.
Comparison of Structure Layout of T_DRIVER and RECORD_TAB:
==> C(66) C(1000)
P(2) F(8)
C(322) C(2)
Rules for Converting to Unicode
Thanks & Regds,
‎2007 Mar 07 3:56 PM
Both the structures should be fo same type , can you show the declarations?
‎2007 Mar 07 4:00 PM
FUNCTION Z_EXIT.
*"----
""Local interface:
*" TABLES
*" SHLP_TAB TYPE SHLP_DESCR_TAB_T
*" RECORD_TAB STRUCTURE SEAHLPRES
*" CHANGING
*" VALUE(SHLP) TYPE SHLP_DESCR_T
*" VALUE(CALLCONTROL) LIKE DDSHF4CTRL
*" STRUCTURE DDSHF4CTRL
*"----
DATA: FIELDDESCR_LN LIKE LINE OF SHLP-FIELDDESCR.
DATA: BEGIN OF T_TABLE OCCURS 0.
INCLUDE STRUCTURE Z_TABLE.
DATA: END OF T_TABLE.
IF CALLCONTROL-STEP = 'DISP'.
T_TABLE[] = RECORD_TAB[].
ENDIF