Skip to Content

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

regarding print program in smartform

Type conflict when calling a function module.

Error in the ABAP Application Program

The current ABAP program "ZHOME_TEST_CNG" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

hi all,

am getting this when the print program is executed..please sugest me ASAP

A function module was called incorrectly.

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was

not caught in

procedure "%_SEL_SCREEN" "(FORM)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

The call to the function module "/1BCDWB/SF00000212" is incorrect:

The function module interface allows you to specify only

fields of a particular type under "LT_AFKO".

The field "LT_AFKO" specified here is a different

replied

>The call to the function module "/1BCDWB/SF00000212" is incorrect:

>The function module interface allows you to specify only

>fields of a particular type under "LT_AFKO".

>The field "LT_AFKO" specified here is a different

the error related to passing the incorrect parameters to the function module(smartform).

LT_AFKO defined differently than the interface parameter LT_AFKO, try to check it once.

LT_AFKO = LT_AFKO[]  "<---try this also..

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question