cancel
Showing results for 
Search instead for 
Did you mean: 

Error while passing a table to a function module

Former Member
0 Kudos

Hi Iam passing a table g_tab of length 376 flat structure to the function module..under TABLES section parameter.

Changedocument_read_headers.

iam getting a complile time error like the below displayed thing. Can u tell me how to solve this ?

In the function module interface, you can specify only

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

Although the currently specified field

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

Edited by: kiran kumar on Jul 7, 2008 8:53 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

probably u making a mistake while declaring the table

declare it like this in the tables section:

S_JOB LIKE RNGE_OBJID

where s_job is the internal table name and RANGE_OBJID is a structure type and NOT an internal table type.