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

incompatible error

Former Member
0 Likes
511

CALL FUNCTION 'PRICING_DIALOG_TABSTRIPS'

EXPORTING

COMM_HEAD_I = TKOMK

COMM_ITEM_I = TKOMP

COMM_TEXT = BILDTEXT

T185_I = T185

T185F_I = T185F

T185V_I = T185V

TAXI_TABSTRIP_CAPTIONS_I = TAXI_TABSTRIP_CAPTIONS

TAXI_PROGRAM_I = TAXI_PROGRAM

TAXI_HEADER_SUBSCREEN_I = TAXI_HEADER_SUBSCREEN

TAXI_GUI_PROGRAM_I = TAXI_GUI_PROGRAM

TAXI_GUI_STATUS_I = TAXI_GUI_STATUS

TAXI_GUI_TITLE_I = TAXI_GUI_TITLE

IMPORTING

COMM_HEAD_E = TKOMK

COMM_ITEM_E = TKOMP

T185_E = T185

T185F_E = T185F

CALCULATION_TYPE = GLOBAL_PRICING_TYPE

TABLES

TKOMV = XKOMV

SVBAP = UVBAP

CHANGING

TAXI_TABSTRIP_C = TAXI_TABSTRIP_HEAD.

In the above function module where as I define "CONTROLS:TAXI_TABSTRIP_HEAD TYPE TABSTRIP." but while dealing with code inspector am getting a syntax error issue as u201CIn PERFORM or CALL FUNCTION "PRICING_DIALOG_TABSTRIPS", the actual parameter "TAXI_TABSTRIP_HEAD" is incompatible with the formal parameter "TAXI_TABSTRIP_C".

In this case how can I proceed to resolve this problem?

Thanks in Advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
440

Hello Sunny,

Always define the variable as per function module parameter data type.

Thank You,

Nishikant.

2 REPLIES 2
Read only

abdul_hakim
Active Contributor
0 Likes
440

Hi

Make the data type of TAXI_TABSTRIP_HEAD as follows

DATA TAXI_TABSTRIP_HEAD type TABSTRIP,

Cheers,

Hakim

Read only

Former Member
0 Likes
441

Hello Sunny,

Always define the variable as per function module parameter data type.

Thank You,

Nishikant.