cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR:Passing ITAB through form interface in smartform

sachin_soni
Active Participant
0 Kudos

hi all,

i'm fetchin the data frm multiple sources into my itab for PO and declaring the same in the smartform although i'm using the same structure for declaration in both Print program as well as the smartform.I'm getting the following shortdump when i execute the print program:

rror analysis

An exception occurred. This exception will be dealt with in more detail

below. The exception, assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was

not caught, which

led to a runtime error. The reason for this exception is:

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

In the function module interface, you can specify only

fields of a specific type and length under "POTAB".

Although the currently specified field

" " is the correct type, its length is incorrect.

DESPERATELY NEED GUIDANCE TO TRACK THE ISSUE.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member673464
Active Contributor
0 Kudos

hi sachin...

These type of errors occurs when formal parameters have different types and lengths.You can use deep strcute lbbil_inovice to transfer data from program to smart form which is a preferable method.

regards,

veeresh

Former Member
0 Kudos

r u calling the SSF_fucnction_module bafore calling the Snmartform.. to get the active Function module..?

If yes .. then check once all the import and export and table paramaters maching or not.. i hope the interface u r usongin in print porgram iand the FM is different..

once goto smartform and check the FORM INTERFACE

Answers (1)

Answers (1)

sachin_soni
Active Participant
0 Kudos

hey guys prob is solved actually ,my work area was not declared.