Skip to Content
avatar image
Former Member

Error while passing a table to a function module

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 07, 2008 at 07:19 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded