Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting this error in function module.Please advice

Former Member
0 Likes
374

"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,

2 REPLIES 2
Read only

Former Member
0 Likes
347

Both the structures should be fo same type , can you show the declarations?

Read only

0 Likes
347

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